Commit Graph
5951 Commits
Author SHA1 Message Date
renovate[bot] c19b98c1d4 chore(deps): update dependency sentry/sentry to v4.22.0 (#3328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 23:11:05 +00:00
renovate[bot] ae516b0259 chore(deps): lock file maintenance 2026-03-16 13:35:25 +00:00
renovate[bot] 538e1702ce chore(deps): update dependency esbuild to v0.27.4 2026-03-16 04:46:28 +00:00
renovate[bot] a9251a88b8 chore(deps): update shivammathur/setup-php digest to accd612 2026-03-16 00:53:37 +00:00
Adam Daley 9e33c2210c Fix free-domain config handling and propagation (#3311) 2026-03-15 14:50:24 +00:00
renovate[bot] c7bb325cee chore(deps): update release-drafter/release-drafter action to v7 (#3326) 2026-03-15 14:06:43 +00:00
renovate[bot] 4e36afb0ad chore(deps): update dependency sass to v1.98.0 (#3325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-15 16:16:59 +03:00
2e980e0a19 Add 'Due Date' column to invoice list (#3310)
* Add 'Due at' column to invoice list

* Update src/modules/Invoice/html_admin/mod_invoice_index.html.twig

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/modules/Invoice/html_admin/mod_invoice_index.html.twig

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Yağızhan Burak Yakar <yagizhan49@protonmail.com>
2026-03-15 16:15:46 +03:00
renovate[bot] 3eb6cefdac chore(deps): update dependency ckeditor5 to v47.6.1 2026-03-15 01:35:23 +00:00
34bb87882d Apply PHP Code Styling & Quality Changes (#3322)
* Apply PHP Code Styling & Quality Changes

* Fix Rector incorrectly renaming snake_case API test method to camelCase (#3324)

* Initial plan

* Fix Rector-renamed test method breaking _apiCall invocation

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: FOSSBilling Bot <fossbilling-bot>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-03-14 11:45:21 +00:00
renovate[bot] a1772b1457 chore(deps): update php:8.5-apache docker digest to 0a7f944 2026-03-14 01:48:08 +00:00
renovate[bot] bd07bea6c4 chore(deps): update php:8.5-apache docker digest to 8270b39 2026-03-13 02:43:12 +00:00
Adam Daley e77da2efc1 Stripe - refine invoice handling & status mapping (#3323) 2026-03-13 02:42:22 +00:00
renovate[bot] 8be6411154 chore(deps): update actions/download-artifact digest to 3e5f45b 2026-03-12 00:36:45 +00:00
Adam Daley 568a4926e6 Add 'msword' to cspell.json dictionary (#3320) 2026-03-11 01:09:41 +00:00
0d81f5d450 Enhance security and validation for sessions and file uploads (#3315)
* Sanitise email HTML; add session decoder

* Use signed session restore token for redirects

* Restrict invoice and service access to client

* Perform CSRF check regardless of session

* Validate uploaded files by extension/mime

* Use 32-byte random for reset hashes

* Use PBKDF2 SHA-256 for key derivation

* Add versioned encryption and migrate data

* Refactor Servicecustom API and update download validation

* Prefer token login when credentials present

* Update cspell word list with filetype terms

* Ignore token auth for guest requests

* Validate decrypted text and add fixed IV in test

* Bump `last_patch` setting to 50

* Update src/modules/Api/Controller/Client.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix CSRF/token auth interaction: token auth always bypasses CSRF regardless of session (#3318)

* Replace hand-rolled PHP session parser with unserialize() (#3317)

* Initial plan

* Replace buggy phpSessionDecode() with unserialize()

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>

* Fix migrateEncryptedColumn failing on tables without updated_at (#3316)

* Initial plan

* Fix migrateEncryptedColumn to skip updated_at when column doesn't exist

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>

* Guard `phpSessionDecode()` return type in `deleteSessionIfMatching` (#3319)

* Initial plan

* Guard phpSessionDecode() return type in deleteSessionIfMatching

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-03-11 00:59:05 +00:00
renovate[bot] e6a8dbac4a chore(deps): update fossbilling/.workflows digest to bdd8e32 2026-03-11 00:17:56 +00:00
FOSSBilling BotandFOSSBilling Bot 3f7add85d3 Apply PHP Code Styling & Quality Changes (#3312)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-03-10 14:26:34 +00:00
Adam DaleyandCopilot Autofix powered by AI bdc36e492b Fix for 1 code quality finding (#3309)
Apply suggested fix to src/modules/Profile/Api/Admin.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-10 08:50:14 +00:00
Adam Daley 96659a195c Refactor cookie management and clean up legacy (#3308)
* Remove manual unsetting of `BOXADMR` cookie

* Rename locale cookie `BBLANG` to `fb_locale`

* Rename session name to `fb_sid`

* Tidy comments in `config-sample.php`

* Remove legacy `bb-ipn.php` rewrite rule

* Remove legacy BB params and file migration check

* Remove header comments from `robots.txt`

* Update SQL dump header database name

* Use `FB_*` DB constants and add DB port
2026-03-10 08:42:11 +00:00
34df8c7c85 Fix JS code quality issues and Twig template bugs in admin theme (#3306)
* Initial plan

* Fix JS code quality issues and Twig template bugs in admin theme

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-03-10 07:54:07 +00:00
Adam DaleyandCopilot Autofix powered by AI d40e614208 Fix invoice handling and approval in payment adapters (#3307)
* Fixes for code quality findings

* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

Fixes for 3 code quality findings (#3300)

* Apply suggested fix to src/themes/admin_default/html/macro_functions.html.twig from Copilot Autofix

* Apply suggested fix to src/themes/admin_default/html/macro_functions.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/themes/admin_default/html/macro_functions.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

Fixes for 3 code quality findings (#3301)

* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

Fixes for 2 code quality findings (#3302)

* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

Fixes for 2 code quality findings (#3303)

* Apply suggested fix to src/modules/Invoice/Service.php from Copilot Autofix

* Apply suggested fix to src/modules/Invoice/Service.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

Fixes for 2 code quality findings (#3304)

* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix invoice handling and approval in payment adapters

Fixes #1053.

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-10 07:40:51 +00:00
Adam DaleyandCopilot Autofix powered by AI c91734312c Fixes for 3 code quality findings (#3305)
* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-10 07:28:28 +00:00
Adam DaleyandCopilot Autofix powered by AI e89a32df81 Fixes for 2 code quality findings (#3304)
* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-10 07:21:40 +00:00
Adam DaleyandCopilot Autofix powered by AI 0fdb8d1c5f Fixes for 2 code quality findings (#3303)
* Apply suggested fix to src/modules/Invoice/Service.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/modules/Invoice/Service.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-10 07:16:45 +00:00
Adam DaleyandCopilot Autofix powered by AI e21ebfcc4a Fixes for 2 code quality findings (#3302)
* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/themes/admin_default/assets/js/utils.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-10 07:12:39 +00:00
Adam DaleyandCopilot Autofix powered by AI 21de5d8d21 Fixes for 3 code quality findings (#3301)
* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/modules/Order/html_client/mod_order_product.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-10 07:08:16 +00:00
Adam DaleyandCopilot Autofix powered by AI 5a13f51144 Fixes for 3 code quality findings (#3300)
* Apply suggested fix to src/themes/admin_default/html/macro_functions.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/themes/admin_default/html/macro_functions.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/themes/admin_default/html/macro_functions.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-10 07:03:28 +00:00
renovate[bot] 791cbee4c2 chore(deps): lock file maintenance 2026-03-09 05:02:32 +00:00
Adam Daley 4f6b6d02a0 Show product title in order meta and breadcrumb (#3299) 2026-03-09 05:00:28 +00:00
Adam Daley 85a49089ad Add URL field type and validation (#3298) 2026-03-09 04:26:39 +00:00
Adam Daley 75a45a4b13 Show field descriptions and adjust form layout (#3297) 2026-03-09 03:43:03 +00:00
Adam Daley 14a9d69cf8 Generate renewal invoices for subscription payments (#3296) 2026-03-09 03:10:02 +00:00
Adam Daley bc5213e952 Add invoice PDF link and fix closing tags (#3295)
Add invoice PDF link and close <p> tags
2026-03-09 01:53:52 +00:00
Adam Daley 2f3590c102 Use utils for CSRF and base URL handling (#3294) 2026-03-08 21:26:48 +00:00
Adam DaleyandNamingo dbe2e69a97 Enable default WHOIS privacy status for domain registration (Tests) (#3293)
* Allow registrar modules to set default WHOIS privacy status on domain registration

Allow registrar modules to set WHOIS privacy status during domain
registration. Some registries (e.g. .ge) automatically enable privacy
protection or require it by default. This change allows modules to return the resulting privacy status via getPrivacyEnabled() so the domain model can store the correct value.

* Add tests for syncWhois privacy sync in Servicedomain module

Adds comprehensive tests for PR #3286:
- testSyncWhoisWithPrivacyEnabled(): Verifies privacy=true is persisted
- testSyncWhoisWithPrivacyDisabled(): Verifies privacy=false is persisted
- testSyncWhoisWithPrivacyNull(): Verifies privacy=null doesn't update model

These tests exercise the syncWhois() method directly via reflection to test
that getPrivacyEnabled() returns from Registrar_Domain are properly synced
to the Model_ServiceDomain's privacy field.

---------

Co-authored-by: Namingo <help@namingo.org>
2026-03-08 20:49:56 +00:00
NamingoandAdam Daley cd68d32d03 Allow registrar modules to set default WHOIS privacy status on domain… (#3286)
Allow registrar modules to set default WHOIS privacy status on domain registration

Allow registrar modules to set WHOIS privacy status during domain
registration. Some registries (e.g. .ge) automatically enable privacy
protection or require it by default. This change allows modules to return the resulting privacy status via getPrivacyEnabled() so the domain model can store the correct value.

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-03-08 20:45:11 +00:00
renovate[bot] b720c81229 chore(deps): update release-drafter/release-drafter digest to 6a93d82 2026-03-08 09:30:34 +00:00
renovate[bot] b8ea31aef5 chore(deps): update symfony packages to v7.4.7 2026-03-07 09:58:53 +00:00
renovate[bot] 78c24f61ee chore(deps): update dependency stripe/stripe-php to v19.4.1 2026-03-07 05:06:45 +00:00
renovate[bot] d1298638f8 chore(deps): update release-drafter/release-drafter digest to 00ce30b 2026-03-07 00:58:31 +00:00
renovate[bot] 84563b2635 chore(deps): update dependency postcss to v8.5.8 2026-03-06 04:40:32 +00:00
renovate[bot] 760f2eb767 chore(deps): update dependency league/commonmark to v2.8.1 2026-03-06 03:11:40 +00:00
renovate[bot] 3ae97efde5 chore(deps): update github/codeql-action digest to 0d579ff 2026-03-06 03:01:21 +00:00
renovate[bot] c9ad5de494 chore(deps): update dependency ckeditor5 to v47.6.0 [security] (#3288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-06 03:00:51 +00:00
renovate[bot] bd6b98b2c3 chore(deps): update dependency php-debugbar/php-debugbar to v3.5.1 (#3291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-06 02:56:58 +00:00
Yağızhan Burak Yakar 27900dfa9e Fixed flags and Coloris being stripped from automated artifacts (#3290) 2026-03-05 13:19:08 +03:00
Yağızhan Burak Yakar 0057c7753c Remove unused batch-delete in staff login history (#3289) 2026-03-05 12:40:59 +03:00
renovate[bot] 4b282a1674 chore(deps): update actions/setup-node digest to 53b8394 2026-03-05 02:00:30 +00:00
2f22c210ab Apply PHP Code Styling & Quality Changes (#3285)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-03-04 07:11:16 +00:00