Commit graph

12 commits

Author SHA1 Message Date
08f07dca97 moved website outside of panel folder 2026-05-13 20:00:40 -04:00
copilot-swe-agent[bot]
1247e5e7ca
fix: harden billing module for standalone portability
- config_loader.php: prefer local billing config FIRST (root cause fix)
  - was: panel config loaded first, overriding local config with wrong db name
  - now: local modules/billing/includes/config.inc.php always wins when present
- config.inc.php: add $db_port="3306"
- config.example.php: new example config with all variables documented
- menu.php: add $db_port to mysqli_connect
- admin_auth.php: add $db_port; remove hardcoded /_website path detection
- bootstrap.php billing_get_db(): add $db_port
- login.php: fix /_website path detection
- adminserverlist.php: add $db_port; fix hardcoded /modules/billing/ URL
- All other mysqli_connect calls: add isset($db_port) port parameter
  (my_servers, forgot_password, serverlist, server_status, order, register,
   reset_password, payment_success, my_account, admin_invoices, admin_payments,
   diag_remote, admin_coupons, test_db_connection, tools/check_db_user,
   renew_server)
- timestamp.txt: updated

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/a3e1e4bb-8eb1-4e6e-b1f8-7f3952301231

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-02 13:15:50 +00:00
copilot-swe-agent[bot]
b03d9b2171
feat: simplify billing status to Active/Invoiced/Expired with new SQL migration and cron rewrite
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5dbd58e1-7aa0-41e2-8dd3-c56b69ede05e

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 22:17:22 +00:00
dc24d43921 site changes by codex 2025-11-20 08:10:31 -05:00
2160fba52e Merge branch 'Panel-unstable' of https://github.com/GameServerPanel/GSP into Panel-unstable 2025-11-10 07:23:04 -05:00
ba6b8d9e6b Fix tableprefix and cart mysql 2025-11-10 07:23:01 -05:00
copilot-swe-agent[bot]
f0dfa92bec Fix cart.php syntax error and add PHPDoc hints for VS Code
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-11-10 03:10:42 +00:00
7276af0d32 removed all hardcoded table prefixes 2025-11-05 13:33:45 -05:00
copilot-swe-agent[bot]
a16dfcd15f Fix code review issues
- Remove unnecessary mysqli_real_escape_string calls on prepared statement params
- Add validation for strtotime to handle invalid dates gracefully

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-10-29 02:21:33 +00:00
copilot-swe-agent[bot]
4397e67ccb Fix 4 critical billing module issues
- Fix path error in payment_processor.php for website deployment
- Add invoice creation when renew button is clicked
- Fix end_date comparison in create_servers.php for DATETIME type
- Add explicit input text colors in login.php for visibility

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-10-29 02:19:12 +00:00
2347205469 website fixes 2025-10-24 17:27:59 -04:00
437fbad5e6 Website is completed working, moved into billing module 2025-10-23 18:19:06 -04:00
Renamed from _website/renew_server.php (Browse further)