Panel/modules/gamemanager
copilot-swe-agent[bot] 5b2162fb28
fix: standardize billing order status values and apply full-day expiry grace rule
- home_handling_functions.php: display expiration as Y-m-d only (not Y-m-d H:i);
  apply full-day grace by comparing date-only (midnight) in PHP so a server
  expiring on today's date remains Active the entire day
- cron-shop.php Step B & C: change server_expiration_date comparisons from
  < DATE_SUB(NOW(), ...) to DATE(server_expiration_date) < DATE_SUB(CURDATE(), ...)
  ensuring the full expiration day is honoured
- user_games/check_expire.php: change all three expiration queries from
  <= time() to < strtotime(date('Y-m-d')) (today-midnight) for full-day grace
- billing/test_integration.php: replace status='paid' (old order status) with
  status IN ('Active','paid') for backward compat during migration
- user_games/billing_integration.php: clarify comment that billing_invoices.status
  uses the payment lifecycle ('paid'/'unpaid'/'due'), separate from billing_orders.status
- Add modules/billing/sql/normalize_billing_order_status.sql migration script
  to convert installed->Active, paid->Active, suspended->Expired in existing rows
- Update CHANGELOG.md

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/439845e0-926e-4b49-9cd0-810457b73c12

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-05 17:24:41 +00:00
..
cfg_text_replace.php Fix PHP 8 fatal error: remove removed get_magic_quotes_gpc() call in cfg_text_replace.php 2026-04-30 13:24:34 +00:00
files.tar.gz From the panel site 2025-09-17 21:14:45 -04:00
game_monitor.css No changes 2025-09-11 13:29:15 -04:00
get_server_log.php No changes 2025-09-11 13:29:15 -04:00
home_handling_functions.php fix: standardize billing order status values and apply full-day expiry grace rule 2026-05-05 17:24:41 +00:00
log.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
MinecraftRcon.class.php No changes 2025-09-11 13:29:15 -04:00
mini_start.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
module.php fix: address code review nits - table name escaping, prefix fallback, gamemanager default, admin.php site vars 2026-05-02 19:43:35 +00:00
monitor_buttons.php feat: remove legacy rsync/manual install methods, standardize SteamCMD pipeline, fix Update button 2026-05-02 15:08:38 +00:00
navigation.xml feat: remove legacy rsync/manual install methods, standardize SteamCMD pipeline, fix Update button 2026-05-02 15:08:38 +00:00
rcon.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
rcon_presets.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
ref_servermonitor.php fix: null handling in realEscapeSingle, init $map, add billing upgrade for created_by_admin 2026-05-01 13:16:04 +00:00
restart_server.php Add PHP 8 array guards in gamemanager and addonsmanager modules 2026-04-20 12:39:25 +00:00
server_monitor.php Fix game monitor billing expiration display 2026-05-05 10:13:58 +00:00
start_server.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
stop_server.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
update_server.php fix: improve script-only install messaging and add error logging for exec() calls 2026-05-02 15:09:43 +00:00
upload_map_image.php No changes 2025-09-11 13:29:15 -04:00
view_server_log.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00