diff --git a/autopost/public/autopost.js b/autopost/public/autopost.js index 76406c5..0e7205c 100644 --- a/autopost/public/autopost.js +++ b/autopost/public/autopost.js @@ -64,6 +64,9 @@ function updateTable(rows) { var tr = '' + + '' + + '' + + '' + '' + esc(row.nom) + '' + '' + statusText + '' + '' + row.id + '' + @@ -128,6 +131,8 @@ function loadPage(p) { currentPage = resp.page; currentTotalPages = resp.totalPages; updatePagination(currentPage, currentTotalPages); + // Mettre à jour les actions en lot après le chargement des nouvelles données + updateBulkActions(); }, error: function(jqXHR, textStatus, errorThrown) { if (textStatus !== 'abort') { diff --git a/autopost/server.js b/autopost/server.js index 99546a7..3fa512b 100644 --- a/autopost/server.js +++ b/autopost/server.js @@ -8,6 +8,7 @@ const convert = new AnsiToHtml(); const { exec } = require('child_process'); const os = require('os'); const crypto = require('crypto'); // CSRF +const argon2 = require('argon2'); // Pour l'authentification DB const config = require('./config'); const db = require('./db'); const chokidar = require('chokidar');