Panel/modules
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
..
addonsmanager feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
administration Fix PHP 8.3 htmlentities null safety, remove unused themes, rename OGP_LANG_ to LANG_ 2026-05-04 17:31:16 +00:00
backup-restore feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
billing fix: standardize billing order status values and apply full-day expiry grace rule 2026-05-05 17:24:41 +00:00
circular Fix PHP 8.3 htmlentities null safety, remove unused themes, rename OGP_LANG_ to LANG_ 2026-05-04 17:31:16 +00:00
config_games fix: address code review - add aria-label to jump link, localize optional text, add LANG_optional key 2026-05-04 20:35:59 +00:00
cron Fix PHP 8.3 htmlentities null safety, remove unused themes, rename OGP_LANG_ to LANG_ 2026-05-04 17:31:16 +00:00
dashboard chore: remove 22 stray backup files (.bak/.BAK/.orig/.backup); update CHANGELOG and timestamp 2026-05-02 12:51:18 +00:00
dsi Fix all PHP 8 deprecated/removed function usage across the repository 2026-04-30 13:47:38 +00:00
editconfigfiles feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
faq fix: address code review feedback (comment clarity, remove redundant static array, add CSS class) 2026-05-04 00:13:49 +00:00
fast_download fix: consolidate module schemas to db_version=1, fix billing admin undefined vars and prefix 2026-05-02 19:41:22 +00:00
ftp feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
gamemanager fix: standardize billing order status values and apply full-day expiry grace rule 2026-05-05 17:24:41 +00:00
lgsl_with_img_mod Fix all PHP 8 deprecated/removed function usage across the repository 2026-04-30 13:47:38 +00:00
litefm feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
lostpwd Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
mods local edits 2026-04-29 17:49:28 -04:00
modulemanager fix: Steam Workshop module issues and modulemanager PHP 8.3 warning 2026-05-05 12:35:39 +00:00
mysql Fix SQL query syntax in monitor_buttons.php 2026-05-02 16:36:13 -04:00
news feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
rcon Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
register feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
server Fix PHP 8.3 htmlentities null safety, remove unused themes, rename OGP_LANG_ to LANG_ 2026-05-04 17:31:16 +00:00
settings feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
status debugging help 2026-04-29 18:22:40 -04:00
steam_workshop fix: Steam Workshop module issues and modulemanager PHP 8.3 warning 2026-05-05 12:35:39 +00:00
subusers Fix all PHP 8 deprecated/removed function usage across the repository 2026-04-30 13:47:38 +00:00
support fix: address code review - add aria-label to jump link, localize optional text, add LANG_optional key 2026-05-04 20:35:59 +00:00
teamspeak3 Fix all PHP 8 deprecated/removed function usage across the repository 2026-04-30 13:47:38 +00:00
tickets Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
TS3Admin Fix PHP 8.3 htmlentities null safety, remove unused themes, rename OGP_LANG_ to LANG_ 2026-05-04 17:31:16 +00:00
tshock Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
update feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
user_admin Fix PHP 8.3 htmlentities null safety, remove unused themes, rename OGP_LANG_ to LANG_ 2026-05-04 17:31:16 +00:00
user_games fix: standardize billing order status values and apply full-day expiry grace rule 2026-05-05 17:24:41 +00:00
util feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme 2026-05-03 23:31:07 +00:00
README.modules No changes 2025-09-11 13:29:15 -04:00
reseller.tar.gz From the panel site 2025-09-17 21:14:45 -04:00

Module directory consists of following files:

* module.php (REQUIRED):

Contains the information for the module, such as:
- version
- name
- menu entries
- sql installation queries

* navigation.xml (OPTIONAL):

Contains the navigation for the module. This file is optional and if not used,
the default page called <module_name>.php is loaded.

* Additional files:

In addition to the files above module can have as many extra files as you want.