Banner do POLIHOS - Simulador de políticas e economia

Registros de alterações do POLIHOS.com

Versão 1.0.0

Registro público de alterações

21/01/2026

  1. #149 - 21/01/2026 23:28:00

    Refatora registro, validação e recuperação de conta

    Atualiza o fluxo de registro e validação de contas, melhorando o tratamento de erros, mensagens de retorno e validações de dados. Refatora o CSS de registro para recuperação de conta, adicionando novos estilos e componentes. Melhora o template de e-mail de recuperação de senha e ajusta o controle de etapas no frontend. Corrige e padroniza respostas JSON e aprimora a segurança e clareza do código PHP.

20/01/2026

  1. #148 - 20/01/2026 00:36:00

    Update painel.php

    Retirado a exceção que disparava o reporte ao atualizar a coluna do status de erro reportado para o mesmo valor;

  2. #147 - 20/01/2026 00:02:52

    Redesign cookie consent banners for modern UI

    Replaces legacy cookie consent banners in multiple JS files with a new, responsive design using modern styles and improved UX. Updates banner logic for cookie and ad consent, and changes the logo image in index.php. Enhances accessibility and consistency across cookie-related scripts.

19/01/2026

  1. #146 - 19/01/2026 23:09:52

    Update login.php

    o botão de manter sessão foi comentado;

18/01/2026

  1. #145 - 18/01/2026 17:56:21

    Ensure string type for nl2br usage across codebase

    Refactored multiple files to explicitly cast variables to string before passing them to nl2br, preventing potential type errors and ensuring consistent output formatting. Also added null coalescing operators to date handling in some files to avoid errors when date fields are missing.

  2. #144 - 18/01/2026 17:56:21

    Improve error handling and reporting in auth flows

    Refactored login, registration, and recovery scripts to use a centralized automatic error reporting mechanism. Standardized error responses to use 'aviso' and improved user feedback. Updated email footer links to use .php extensions. Removed unused backup files.

17/01/2026

  1. #143 - 17/01/2026 01:58:02

    Comment out AdSense loading and disable color toggle

    AdSense loading calls have been commented out in all cookie notice scripts to prevent automatic ad loading. The HTML color toggle logic is now disabled by wrapping it in an `if(false)` block, likely for debugging or to temporarily remove the feature.

  2. #142 - 17/01/2026 00:36:40

    Update favicon assets and manifest, improve icon usage

    Moved and expanded favicon assets to 'imagem/icone', added multiple icon formats and sizes, and updated .htaccess to serve the new PNG favicon. The manifest.webmanifest was enhanced with new metadata, icon references, and categories. Updated header.php to check for user ID before showing notifications, and improved icon display in sobre/polihos.php to reflect new assets.

16/01/2026

  1. #141 - 16/01/2026 20:58:23

    Security hardening: CSP headers, nonce support and image handler cleanup

    Implements centralized security headers using auto_prepend_file.

    Removes redundant onerror handlers from avatar and profile images across multiple PHP files.

    Adds nonce support to inline scripts to ensure full CSP compliance.

    Updates manifest.webmanifest icons and metadata.

    Cleans up unused duplicated error report files.

  2. #140 - 16/01/2026 20:58:23

    Improve text overflow handling and limit topic titles

    Added 'line-break: anywhere' to relevant CSS classes to improve word breaking and text overflow in topic and comment displays. Introduced a PHP function to limit topic title length in the topic list and updated the database insert to restrict title length to 120 characters.

Voltar ao topo ↑