Panel/modules
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
..
addonsmanager Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
administration feat: move panel update UI to Update module, add backup-only button & DB logging, fix password input exposure 2026-05-01 21:34:49 +00:00
backup-restore Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
billing refactor(billing): clean architecture with payment gateway abstraction 2026-05-02 12:17:36 +00:00
circular Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
config_games update xml 2026-04-29 20:29:08 -04:00
cron fix: PHP 8 compatibility warnings and fatal errors 2026-05-01 12:56:23 +00:00
dashboard fix: PHP 8 compatibility warnings and fatal errors 2026-05-01 12:56:23 +00:00
dsi Fix all PHP 8 deprecated/removed function usage across the repository 2026-04-30 13:47:38 +00:00
editconfigfiles Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
extras Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
faq Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
fast_download Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
ftp Address code review feedback: improve error handling and clean up no-op function signature 2026-04-30 13:49:28 +00:00
gamemanager fix: null handling in realEscapeSingle, init $map, add billing upgrade for created_by_admin 2026-05-01 13:16:04 +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 Fix undefined constant "back" in fm_dir.php line 77 2026-04-30 12:17:31 +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 Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
mysql Address code review feedback: improve error handling and clean up no-op function signature 2026-04-30 13:49:28 +00:00
news Fix false-positive replacements from compatibility sweep 2026-04-23 14:08:38 +00:00
rcon Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
register Fix all PHP 8 deprecated/removed function usage across the repository 2026-04-30 13:47:38 +00:00
server Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
settings fixed debug level 2026-04-29 18:35:19 -04:00
status debugging help 2026-04-29 18:22:40 -04:00
steam_workshop fix: address code review feedback 2026-04-30 18:06:05 +00:00
subusers Fix all PHP 8 deprecated/removed function usage across the repository 2026-04-30 13:47:38 +00:00
support local edits 2026-04-29 17:49:28 -04: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 all PHP 8 deprecated/removed function usage across the repository 2026-04-30 13:47:38 +00:00
tshock Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +00:00
update fix: replace deprecated zip_* functions and string interpolation in unzip.php (PHP 8.3) 2026-05-01 23:06:56 +00:00
user_admin Fix false-positive replacements from compatibility sweep 2026-04-23 14:08:38 +00:00
user_games feat: move panel update UI to Update module, add backup-only button & DB logging, fix password input exposure 2026-05-01 21:34:49 +00:00
util Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +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.