Commit graph

18 commits

Author SHA1 Message Date
copilot-swe-agent[bot]
4babef08eb
fix: remove hardcoded Discord webhook URLs, centralize via discordmsg() helper
- Improve discordmsg() in includes/functions.php: add curl_init existence
  check, CURLOPT_TIMEOUT/CONNECTTIMEOUT, safe no-op when webhook is empty,
  correct false-return on curl_init failure
- index.php: replace hardcoded webhook URL + 15-line inline cURL block with
  discordmsg() using $settings['discord_webhook_admin']
- modules/user_admin/edit_user.php: same — role-change notification now
  uses discordmsg() + discord_webhook_admin setting
- modules/tickets/submitTicket.php: add global $settings; replace hardcoded
  webhook URL + inline cURL with discordmsg() using discord_webhook_main
- modules/billing/create_servers.php: replace $settings['webhookurl'] +
  inline cURL blocks (x2) with discordmsg() using discord_webhook_main

All modules now use the centralized discord_webhook_main / discord_webhook_admin
settings already managed in Admin > Settings. No DB migration needed.

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/e4d38343-77ed-4c7a-afac-a2a815a059fd

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-05 20:21:59 +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
ba3780931b
Update index.php 2026-05-01 11:39:43 -07:00
415f12e97c
Update index.php 2026-05-01 11:36:29 -07:00
copilot-swe-agent[bot]
e87eefaebc
Fix undefined array key warning for $_SESSION['user_id'] in index.php
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/a301a563-c83f-44f7-affb-422b2efccfe1

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-01 18:23:16 +00:00
49451d9ebb fixed debug level 2026-04-29 18:35:19 -04:00
b5e550cb5c debugging help 2026-04-29 18:22:40 -04: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]
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
b4f0e1edfe Fixed calls to old billing module 2025-11-24 09:42:03 -05:00
6f4515dbec php 8 fix to solve php loading 2025-11-24 07:47:29 -05:00
f79bec0a16 fix curl issue 2025-11-23 17:07:25 -05:00
9a06d1ff80 fixed some issues 2025-11-23 11:55:00 -05:00
copilot-swe-agent[bot]
978afc4819 Replace numeric status codes with descriptive words in billing system
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-10-23 22:35:29 +00:00
2fc04bcfac From the panel site 2025-09-17 21:14:45 -04:00
b6b398f5bf No changes 2025-09-11 13:29:15 -04:00
8680a02b13 Moved the Agents into their own repo. Kept the agent.pl just for reference 2025-09-11 13:27:32 -04:00
auto-sync
4f717c9ee8 force sync from /var/www/html/panel: 2025-09-08T20:36:30Z 2025-09-08 16:36:30 -04:00