Commit Graph
304 Commits
Author SHA1 Message Date
Copilotandadmdly c7566e091e Stabilize Docker publish workflows by disabling fragile GHA cache imports (#3515)
Disable Docker GHA cache in preview/release workflows

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/07ce9c6d-cb2b-4bb5-9517-3aabe5276051

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-11 01:00:33 +01:00
renovate[bot] 9985584f1c Update docker/setup-buildx-action action to v4 (#3514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 00:12:29 +01:00
b82df887fe Enhance CI/CD with Docker optimizations and error handling (#3509)
* Bump Dockerfile syntax to 1.18

* Add getStatusCode to Response and update test

* Expect error code 740 for invalid theme action

* Use Docker-based CI/test image and live test script

* Add PHP 8.5 to CI matrix

* Add Buildx caching and optimize Docker build

* Add CI timeouts, quoting fixes, and release tree build

* Add concurrency, caching, and cleanup to CI

* Grant permissions for preview-build job

* Map error code 740 to HTTP 404 and update test

* Update cache-scope names in GitHub workflows

* Remove redundant status guard in theme admin test

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/b20f484f-0aaa-4afc-ae43-adb264bb05aa

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

* Grant cache export permissions to CI build job

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/a088c94f-a176-40fb-9e0b-ee3cac2aeb5b

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

* Disable cache for release artifact build

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@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 Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-10 22:43:16 +01:00
Adam Daley f7f7fbc3df Enhance security, validation, and configuration for various services (#3507)
* Use `\A` and `\z` anchors in Finder regex

* Run config patches before core patches

* Ensure cron log exists and owned by www-data

* Change numeric inputs to text for plan limits

* Invoke global listeners for fired event

* Sanitize PDF filenames in `createPdfResponse`

* Use `array_key_exists` for blacklist check

* Prefer custom package value for DirectAdmin

* Validate password argument type in isPasswordStrong

* Skip non-installed non-core modules in Hook Service

* Instantiate `DoctrinePaginator` after limits

* Validate guest message is a string

* Adjust mocks in Hook ServiceTest

* Validate currency conversion rate input

* Stop accepting CSRF header token

* Add `.dockerignore` and modernize CI/Dockerfile

* Mock `CurrencyRepository` in `ServiceTest`

* Add antispam hooks for client/admin login

* Move password reset captcha before rate limiting

* Add sandbox attribute to email preview iframe

* Skip reprocessing and include payment_intent check

* Check password reset captcha after rate limit

* Enhance testCreateAndProcess with DB and TX mocks
2026-05-10 16:46:22 +01:00
7a2c20e264 Fix merge-hold status updates on PR label changes (#3502)
* Fix CI merge-hold checks on PR label changes

* Avoid duplicate CI on PR label events

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/cfc116ce-5ae8-439f-acc0-fe5ecd868c89

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>
2026-05-10 14:19:22 +01:00
renovate[bot] 99424c82c3 Update release-drafter/release-drafter digest to c2e2804 2026-05-08 16:31:07 +00:00
renovate[bot] 0955f2311e Update github/codeql-action digest to 68bde55 2026-05-08 07:28:32 +00:00
Adam DaleyandCopilot Autofix powered by AI 2206119011 Fix for code scanning alert no. 423: Workflow does not contain permissions (#3492)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-05-06 23:25:12 +01:00
Adam Daley 1cd99f4fe4 Refactor CI workflow and integrate multi-language support (#3490)
* Make CodeQL workflow multi-language matrix

* Consolidate merge-hold check into CI

* Merge labeler workflow into CI and adjust triggers

* Integrate Release Drafter into CI workflow

* Embed live-tests job into CI workflow

* Refactor CI workflow: consolidate permissions

* Enable release-drafter autolabeler

* Rename CI job name to 'Live Tests'

* Add composite action to prepare application assets

* Enable workflow concurrency and fail-fast

* Run live-tests after spellcheck

* Add live-tests dependency to preview-build

* Make concurrency group include workflow/event/PR
2026-05-06 23:14:05 +01:00
renovate[bot] eb5ae0554c Update actions/labeler digest to f27b608 2026-05-06 08:09:59 +00:00
Yağızhan Burak Yakar e05ce7a7e2 Rate limit system improvements (#3461) 2026-05-04 16:53:28 +01:00
cdf1aa8329 Switch live-tests Apache setup to PHP-FPM (#3477)
* fix(ci): switch live-tests to PHP-FPM to avoid Ondrej PPA failures

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/f6ad9206-9be8-4447-ac64-86f1db428c60

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

* fix(ci): restart php8.4-fpm after pool config update to pick up APP_ENV=test

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/15bfabb2-a837-4d51-9e2b-9c016fe2ad7d

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

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@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>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-03 23:34:34 +01:00
renovate[bot] 032356d08c Update github/codeql-action digest to e46ed2c (#3471)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-02 03:38:08 +01:00
renovate[bot] b17092cba2 Update release-drafter/release-drafter digest to 563bf13 2026-04-30 11:31:37 +00:00
renovate[bot] 4333e4fcc7 Update actions/setup-node digest to 48b55a0 2026-04-21 00:37:31 +00:00
Adam Daley 601fb9536d Update CI workflow actions and remove cache step (#3422) 2026-04-17 08:08:51 +01:00
renovate[bot] e2a5d010c7 Update github/codeql-action digest to 95e58e9 2026-04-15 17:56:09 +00:00
renovate[bot] 5cffb4948a Update actions/cache digest to 27d5ce7 2026-04-14 00:58:08 +00:00
renovate[bot] c0c4eed5c1 Update actions/upload-artifact digest to 043fb46 2026-04-11 00:58:34 +00:00
renovate[bot] 024618ce79 Update peter-evans/create-pull-request digest to 5f6978f 2026-04-11 00:54:12 +00:00
renovate[bot] fd939ab718 Update release-drafter/release-drafter digest to 5de9358 2026-04-10 00:57:49 +00:00
renovate[bot] e573a872c1 chore(deps): update fossbilling/.workflows digest to 76b4af7 2026-04-08 09:46:32 +00:00
Copilotandadmdly c5f289082f Fix Docker CI by clearing scope/manifest GHA cache entries, not just blob entries (#3404)
Fix clear-docker-cache to also delete scope/manifest GHA cache entries

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/bc1342e9-112e-492f-bf58-7e9e92a67e5e

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-04-08 10:26:30 +01:00
Copilotandadmdly e9602e15a1 Clear stale BuildKit GHA cache entries before Docker preview CI build (#3402)
* fix: clear stale Docker BuildKit GHA caches before image build

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/92839a22-82fe-4dc0-8d8f-f7da211aa180

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

* fix: paginate cache listing to handle >100 entries

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/92839a22-82fe-4dc0-8d8f-f7da211aa180

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>
2026-04-08 10:07:27 +01:00
Adam Daley 3c5b679d15 Update action versions in CI workflow (#3401) 2026-04-08 08:49:28 +01:00
renovate[bot] 9c29e1fa8b chore(deps): update streetsidesoftware/cspell-action digest to de2a73e 2026-04-07 00:52:39 +00:00
renovate[bot] 0a5271103a chore(deps): update github/codeql-action digest to c10b806 2026-03-28 01:48:07 +00:00
renovate[bot] e12906cd8f chore(deps): pin dependencies (#3376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-27 09:05:35 +00:00
renovate[bot] c725910674 chore(deps): update fossbilling/.workflows digest to 14f9ee1 2026-03-24 00:34:46 +00:00
renovate[bot] 4f88416349 chore(deps): update github/codeql-action digest to 3869755 2026-03-21 00:51:54 +00:00
renovate[bot] 0adb6c4d45 chore(deps): update release-drafter/release-drafter digest to 139054a 2026-03-19 05:04:48 +00:00
renovate[bot] 6803255575 chore(deps): update actions/cache digest to 6682284 2026-03-19 00:52:04 +00:00
renovate[bot] 4a73d20b6a chore(deps): update release-drafter/release-drafter digest to 44a942e 2026-03-18 04:45:16 +00:00
Adam Daley bbdf1f8951 Bump actions/checkout to v6 (#3342) 2026-03-17 15:39:47 +00:00
renovate[bot] f74c08f569 chore(deps): update github/codeql-action digest to b1bff81 2026-03-16 23:48:39 +00:00
renovate[bot] 6a20628411 chore(deps): update fossbilling/.workflows digest to de41917 2026-03-16 23:23:59 +00:00
renovate[bot] a9251a88b8 chore(deps): update shivammathur/setup-php digest to accd612 2026-03-16 00:53:37 +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] 8be6411154 chore(deps): update actions/download-artifact digest to 3e5f45b 2026-03-12 00:36:45 +00:00
renovate[bot] e6a8dbac4a chore(deps): update fossbilling/.workflows digest to bdd8e32 2026-03-11 00:17:56 +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] d1298638f8 chore(deps): update release-drafter/release-drafter digest to 00ce30b 2026-03-07 00:58:31 +00:00
renovate[bot] 3ae97efde5 chore(deps): update github/codeql-action digest to 0d579ff 2026-03-06 03:01:21 +00:00
renovate[bot] 4b282a1674 chore(deps): update actions/setup-node digest to 53b8394 2026-03-05 02:00:30 +00:00
renovate[bot] 659326eabb chore(deps): update github/codeql-action digest to c793b71 2026-03-03 06:01:04 +00:00
renovate[bot] aea8ba62ca chore(deps): update fossbilling/.workflows digest to 1c26ea3 2026-03-03 01:25:24 +00:00
renovate[bot] 7dfcb1a95a chore(deps): update github artifact actions (major) (#3265)
chore(deps): update github artifact actions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-27 03:57:58 +00:00
renovate[bot] 27df09a1fe chore(deps): update streetsidesoftware/cspell-action digest to 9cd41bb 2026-02-25 08:39:54 +00:00
renovate[bot] 3e972fd5ca chore(deps): update fossbilling/.workflows digest to 5bb7dec 2026-02-24 00:14:41 +00:00
renovate[bot]andAdam Daley 628c4d2163 chore(deps): update fossbilling/.workflows digest to ea365b9 (#3259)
* chore(deps): update fossbilling/.workflows digest to ea365b9

* Remove explicit PHP tool version pins in CI

* Set php vendor dir in CI workflow

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-02-22 01:39:33 +00:00