#219 - 15/03/2026 21:37:16
Update traducoes.json
Removida traduções duplicadas
Versão 1.0.0
Update traducoes.json
Removida traduções duplicadas
Update meta_head includes and i18n loaders
Rename meta_head.html to meta_head.php and update numerous PHP pages to include the new .php file (recorded as a rename). Add new translation keys ("apoie" and "download") to js/JSON/traducoes.json. Adjust JS loader calls to use version variables: aviso_cookie.js now builds traducao.js URL with TRAD_VERSION (with fallback) and traducao.js fetches traducoes.json using LANG_VERSION (with fallback). These changes unify meta include usage and add/prepare i18n/versioning support.
Correção e adição
Corrigido o caminho do webhook da criação do personagem;
Agora o painel pode editar o ID do proprietário de um personagem criado;
Add canonical tags sitewide and noindex topic
Insert rel="canonical" links into multiple pages (root index, comunidade/index, login, registro, recuperacao, various sobre/* pages and suporte/* pages) to standardize canonical URLs and improve SEO. Add a meta robots noindex to comunidade/topico.php to prevent indexing of individual forum topic pages. Changes are limited to meta/head markup and minor whitespace adjustments.
Alterações no painel
Retieri o adsense do local;
Correção de 4 dados obsoletos.
Adição do Discord para o partido
O partido político agora pode adicionar o próprio Discord na pagina do site, e também publicar no canal oficial do POLIHOS no Discord.
Alteração no HTML
O Require impedia o acordo incondicional
Standardize filter_INT and add error handling
Replace custom integer sanitizers with a single consistent implementation (return max(0, (int)$input)) to simplify and standardize input handling. Add minor style fixes (consistent function terminators) and a premature exit in contato-recebido.php. Harden complex DB logic by wrapping queries in try/catch, returning proper HTTP status codes (404/500), closing prepared statements, and improving error handling in municipal page. Overall: input-sanitization normalization, small cleanup, and safer DB error handling.
Update meta_head.html
Comentado o script do adsense no header
Switch password hashing to Argon2id
Replace PASSWORD_DEFAULT with PASSWORD_ARGON2ID using explicit options in registro.php and
recuperacao.php.
Update the login logic in form_login.php to rehash
passwords to Argon2id when password_needs_rehash() indicates it is
required.
Existing PASSWORD_DEFAULT calls were kept commented for reference.
This change ensures new and updated passwords are stored using the
Argon2id hashing algorithm.