copilot-swe-agent[bot]
fcc54cb2da
style: clean up string concatenation in config_loader.php
...
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:16:40 +00: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]
d4332808e6
chore: remove 22 stray backup files (.bak/.BAK/.orig/.backup); update CHANGELOG and timestamp
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/fe14a5ef-8993-48c4-a867-17971b58ac92
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-02 12:51:18 +00:00
copilot-swe-agent[bot]
3066d9c75c
fix(billing): address code review issues - ALTER TABLE syntax, null period handling, type detection
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/e8da2cb7-dbf1-4296-b25d-766f8e099581
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-02 12:23:23 +00:00
copilot-swe-agent[bot]
4a1b5bc725
fix(billing): address code review feedback
...
- Use DECIMAL instead of FLOAT for monetary columns in ALTER TABLE
- Simplify bind_param type string from concatenated to single literal
- Validate payment_status against ENUM values before CSS class injection
- Add provisioning failure logging when panel bootstrap fails
- Add comment explaining total_due/amount legacy fallback
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-02 12:19:32 +00:00
copilot-swe-agent[bot]
986a4e53b4
refactor(billing): clean architecture with payment gateway abstraction
...
- Add PaymentGatewayInterface contract for all payment providers
- Add PayPalGateway (reads credentials from config, not hardcoded)
- Add ManualGateway for admin-triggered payments
- Add StripeGateway stub for future implementation
- Add GatewayFactory for gateway instantiation by name
- Add BillingRepository: parameterized-SQL data layer
- Add BillingService: pricing, invoice creation, payment processing
- Add gsp_billing_transactions table (DB version 2) for audit trail
- Add new columns to gsp_billing_invoices (home_id, rate_type, players, period_start/end, subtotal, total_due, payment_status)
- Add gsp_billing_service_remote_servers mapping table
- Move PayPal credentials from api files into config.inc.php
- Fix double session_start() bug in capture_order.php
- Replace raw SQL with prepared statements throughout
- Refactor admin_invoices.php to use billing_invoices + BillingRepository
- Refactor admin_payments.php to read from gsp_billing_transactions
- Update admin.php with links to Transaction Log and Manage Invoices
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-02 12:17:36 +00:00
copilot-swe-agent[bot]
b4cadbe30f
fix: replace deprecated zip_* functions and string interpolation in unzip.php (PHP 8.3)
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/cc7d8d98-a257-470e-aa29-dff276024b1f
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 23:06:56 +00:00
copilot-swe-agent[bot]
79d78f074b
fix: address code review comments (grace_days in Step B, simplified rate_map, spelling, comments)
...
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:19:17 +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
copilot-swe-agent[bot]
1a7502952c
feat: move panel update UI to Update module, add backup-only button & DB logging, fix password input exposure
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/a08c8b94-1b12-4eec-86c6-770cb435bb06
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 21:34:49 +00:00
copilot-swe-agent[bot]
480d3872d7
fix: rewrite panel backup system — tar gzip, proper mysqldump, backup.log, and full metadata
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/7f8dfeb1-bb3a-4dfc-a2fa-524a5ac201bf
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 19:21:08 +00:00
copilot-swe-agent[bot]
6edfa36235
fix: store backups inside panel directory; revert dev testing heading
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/33417aee-aecb-44de-9008-5b1008b4e3dc
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 19:02:36 +00:00
copilot-swe-agent[bot]
c0e63b45bc
fix: improve panel update system with version.json, git-first updates, and footer version display
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/cce5f75b-a5b6-4b28-8f92-1f8197231a0a
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 18:50:42 +00:00
copilot-swe-agent[bot]
ed0b9298c0
fix: explicit SSL verification, refactor CSRF token generation to helper
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/63f4e381-38d6-4fcf-b084-409cb4d2138c
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 14:23:41 +00:00
copilot-swe-agent[bot]
aeb1399024
fix: address code review issues (SSL verification, credential exposure, random_bytes safety)
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/63f4e381-38d6-4fcf-b084-409cb4d2138c
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 14:21:59 +00:00
copilot-swe-agent[bot]
feebfea702
feat: add safe panel update system to administration page
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/63f4e381-38d6-4fcf-b084-409cb4d2138c
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 14:19:40 +00:00
copilot-swe-agent[bot]
2d2fc496d5
fix: remove created_by_admin from billing INSERT and schema
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/2ce89b8b-fa50-40b9-aa38-4ebbc44a9770
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 13:52:38 +00:00
copilot-swe-agent[bot]
facd1f0269
fix: declare FormTable::$i property and consolidate created_by_admin into INSERT
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/f945ff87-7135-4e6f-bbdb-f3ec276ac89b
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 13:28:02 +00:00
copilot-swe-agent[bot]
8a6823186a
fix: null handling in realEscapeSingle, init $map, add billing upgrade for created_by_admin
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/77c3c429-fc35-4f66-9d78-900be575b81a
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 13:16:04 +00:00
copilot-swe-agent[bot]
7551567354
fix: cast mod_name to string in preg_match; add created_by_admin to billing_orders schema
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/15c9652a-a4a6-4f02-bcc2-15f8fed708b1
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 13:04:31 +00:00
copilot-swe-agent[bot]
7a16fb299f
fix: PHP 8 compatibility warnings and fatal errors
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5ac91d14-7688-4ab2-9065-10d4a361750f
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 12:56:23 +00:00
copilot-swe-agent[bot]
9d1999f374
feat: admin billing integration + migrate system (replaces clone)
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/8940e39d-4aaa-4154-874b-74ab24d74da3
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-30 20:54:08 +00:00
copilot-swe-agent[bot]
fd860963d1
fix: address code review feedback
...
- Fix toggle/load_order handlers to use page-reload (not JSON) responses
- Remove dead jsonResponse helper method from WorkshopModController
- Fix robocopy exit code detection using ROBOCOPY_EXIT: sentinel (not text parsing)
- Fix rsync dry-run change detection using RSYNC_EXIT: sentinel
- Remove agentIdFromRemote() stub; pass agentId directly to triggerSteamCmdDownload() logging
- Fix 'enabled' checkbox default in profile_form to use ($profile['enabled'] ?? 1)
- Add missing error_toggle_failed / error_order_failed lang strings
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/dbeebd0e-e7a5-469d-8a8c-e63193d1ebb0
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-30 18:06:05 +00:00
copilot-swe-agent[bot]
8eff063a93
feat: add database-driven Steam Workshop system
...
- Create 3 new DB tables: workshop_game_profiles, workshop_cache, server_workshop_mods
- Add WorkshopRepository (DB access layer for all 3 tables)
- Add WorkshopInstaller (rsync/robocopy/custom_script copy logic, SteamCMD download via agent exec)
- Add WorkshopUpdater (scheduled cache update functions grouped by agent)
- Add WorkshopPreStart (pre-start mod sync helper)
- Add WorkshopProfileController (admin CRUD for profiles)
- Add WorkshopModController (user install/remove/toggle/load_order/sync)
- Add admin views: profiles list + profile_form
- Add user views: user_workshop_index + user_workshop_mods
- Add cron_update.php CLI entry point (--all/--agent-id/--home-id/--profile-id/--workshop-id)
- Add prestart_sync.php CLI helper for XML pre_start hook
- Update workshop_admin.php to route to profile management
- Update main.php to route to new mod management (legacy fallback preserved)
- Update module.php with DB migration SQL and version bump to 2.1
- Update lang/en_US.php with all new strings
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/dbeebd0e-e7a5-469d-8a8c-e63193d1ebb0
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-30 18:01:33 +00:00
copilot-swe-agent[bot]
f94f830cbb
Address code review feedback: improve error handling and clean up no-op function signature
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/209fe796-9a38-47c1-a6b7-992ce11d038b
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-30 13:49:28 +00:00
copilot-swe-agent[bot]
c0bd0a0bb5
Fix all PHP 8 deprecated/removed function usage across the repository
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/209fe796-9a38-47c1-a6b7-992ce11d038b
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-30 13:47:38 +00:00
copilot-swe-agent[bot]
a3935df69c
Fix PHP 8 fatal error: remove removed get_magic_quotes_gpc() call in cfg_text_replace.php
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/8cb6b77b-f926-4eaf-91db-37d989febd39
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-30 13:24:34 +00:00
copilot-swe-agent[bot]
184c0bbfd7
fix: resolve three server-start errors (home_id warning, cfg_text_replace TypeError)
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/9cc2a00d-58ae-48d6-91e3-e52fae97426c
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-30 12:38:13 +00:00
copilot-swe-agent[bot]
164132c4f3
Fix undefined constant "back" in fm_dir.php line 77
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/91764d0c-a31b-4328-b85e-cc2b4e201bf1
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-30 12:17:31 +00:00
1e8ad7a10f
update xml
2026-04-29 20:29:08 -04:00
c64c3acc1a
xml edits
2026-04-29 20:12:28 -04:00
72db4fe9ba
fix db issued
2026-04-29 19:44:07 -04:00
5b28e721c8
edit dayz xml and debug param
2026-04-29 19:03:43 -04:00
da60f8b9b4
edit mysql mod
2026-04-29 18:47:18 -04:00
49451d9ebb
fixed debug level
2026-04-29 18:35:19 -04:00
b5e550cb5c
debugging help
2026-04-29 18:22:40 -04:00
1881c07860
fixed dayz xml
2026-04-29 18:15:11 -04:00
ea75fef77b
local edits
2026-04-29 17:49:28 -04:00
copilot-swe-agent[bot]
0f975350ef
Fix PHP 8.3 array_key_exists null fatal in game monitor
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/9fb7c34b-5560-4acf-99ee-3c0cf49e2473
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-28 13:51:54 +00:00
copilot-swe-agent[bot]
b8543dfbc5
feat: add GSP customized install.php with port support, auto-admin, and ogp_ migration
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/4b32e3c2-afec-458b-bf16-48e58045cc8b
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-27 19:57:03 +00:00
copilot-swe-agent[bot]
97010974d7
Fix false-positive replacements from compatibility sweep
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/89922108-1604-44ae-949d-358d32b9d70a
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-23 14:08:38 +00:00
copilot-swe-agent[bot]
6c0ca40e09
Update timestamp and docs for PHP8 compatibility sweep
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/89922108-1604-44ae-949d-358d32b9d70a
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-23 14:04:13 +00:00
copilot-swe-agent[bot]
e44519c030
Apply automated PHP8 safety transforms
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/89922108-1604-44ae-949d-358d32b9d70a
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-23 14:01:37 +00:00
aca850b6cd
fixed issues with date
2026-04-22 20:20:27 -04:00
copilot-swe-agent[bot]
4d1b87b697
Adjust array-count guards after validation feedback
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/88949fe0-8891-483a-b5c5-952bc209748d
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-20 12:41:55 +00:00
copilot-swe-agent[bot]
54e7f07aa0
Add PHP 8 array guards in gamemanager and addonsmanager modules
...
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/88949fe0-8891-483a-b5c5-952bc209748d
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-20 12:39:25 +00:00
5b80f144e4
changed the server listing
2026-03-13 17:47:00 -04:00
copilot-swe-agent[bot]
5af47cdcd1
Address Steam Workshop search review notes
...
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-01-31 20:23:40 +00:00
copilot-swe-agent[bot]
18b6bc1a14
Fix Steam Workshop search scraping flow
...
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-01-31 20:16:28 +00:00
copilot-swe-agent[bot]
d8ad1aa924
Fix workshop search appID lookup and checkbox picker
...
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-01-31 19:01:46 +00:00