#59 - 06/12/2025 17:29:16
Filter launched objects in orbit count query
Updated SQL query to count only entries that meet the launched condition, ensuring the total reflects only valid objects.
Versão 1.0.0
Filter launched objects in orbit count query
Updated SQL query to count only entries that meet the launched condition, ensuring the total reflects only valid objects.
Refactor agência espacial page and improve UI
Refactored pagina/mundo/paises/agencia-espacial.php to improve code structure, error handling, and UI. Added new executive section, jingle player, and updated meta tags. Enhanced pagination, mission cards, and overall layout for better user experience. Updated pagina-agencias-gov.css for new styles.
Add PIB history form with Cloudflare captcha
Introduces a new section for authenticated users to filter PIB historical data by date range, including a Cloudflare Turnstile captcha for validation. Updates backend logic to handle datetime-local input and adds corresponding CSS for responsive form styling.
Add check for shared free trade organization
Introduces a new field and logic to determine if two countries are members of the same international organization with an economic/free trade policy. Updates entry permission checks and adds related debug messages to improve transparency of trade access decisions.
Add detailed entry policy messages to empresa.php
Enhanced feedback for denied sector entry by outputting specific messages about bilateral free trade agreements and entry policies before the general denial message.
Remove error logging and topic approval logic
Problema da criação do tópico no forum arrumado. Variavel e conexão estavam errado.
Eliminates custom error logging and reporting code, as well as the logic for handling topic approval/disapproval via POST requests. Also refactors some SQL statement handling and error catching for improved consistency and resource management.
Set minimum input value to 1 for action forms
Changed the minimum value for several <input type="number"> fields from 0 to 1 in action forms to prevent users from submitting zero-value actions. This improves validation and ensures meaningful input for campaign, health, security, reputation, and loan-related actions.
Refactor military state logic and queries
Simplifies and restructures the logic for loading military state data, handling errors, and fetching unit information. Removes complex battle and group management code from the main file, focusing on data retrieval and error handling for each area type. Also removes an unused CSS file.
Update og:image meta tag in divisao.php
Replaced dynamic military group image with a static banner image for the Open Graph og:image meta tag to ensure consistent social sharing visuals.
Handle 404 and 500 errors with HTTP response codes
Replaces calls to the 404 error page with direct HTTP response codes for 404 and 500 errors in divisao.php. This improves error handling by setting the appropriate response code instead of immediately including the error page.