Commit Graph
185 Commits
Author SHA1 Message Date
renovate[bot] e3554a7995 chore(deps): update fossbilling/.workflows digest to 3e9ace8 2025-03-01 19:16:29 +00:00
Adam Daley 2a4cd43a94 Bump CI reusable workflows to latest (#2619) 2025-03-01 18:34:44 +00:00
Adam Daley a3f0097b97 Update package-lock.json (#2607)
* Update package-lock.json

* Update release-build CI workflow
2025-02-19 23:51:39 +00:00
Belle Aerni fd1cfbe434 Fix: old translations were being downloaded (#2591) 2025-02-01 15:46:49 -08:00
Belle Aerni 3449537c92 Fixed CS / Rector workflow and ran both (#2580) 2025-01-20 16:19:45 -08:00
renovate[bot] 7ecdc48d26 chore(deps): update fossbilling/.workflows digest to 605d1f1 2024-12-03 06:42:35 +00:00
Belle Aerni e86174feff Update ci.yml (#2523) 2024-12-01 22:14:35 -08:00
Belle Aerni c0ee8d3fc5 Cleaned up some routing, simplified webserver conf (#2511)
* Cleaned up some routing, simplified webserver conf

* Update cspell.json

* Update cspell.json

* Fixes
2024-11-27 04:00:12 -08:00
Belle Aerni 45db4910a7 PHP 8.4 prep (#2464)
* Update CI for PHP 8.4

* Update composer deps for PHP 8.4

* Updates

* This is the default mode and this constant causes test failutes

* Explicily install the PDO extensions

* Temporarily downgrade the live tests to PHP 8.3

It would seem that there is some kind of problem with PHP 8.4 in regards to these tests. I believe it is outside of our control however as it installs fine for me with PHP 8.4 under DirectAdmin

* Update to address deprecations

* Make that nullable

* Fixed my typo

* Bump PHPunit to v11

* Also take care of two minor things

* Formatting fix
2024-11-21 23:16:29 -08:00
Adam Daley 41f5e84383 Fix PHPStan workflow (#2486)
Update PHPStan workflow to use composer version to fix error with PHP extensions.
2024-11-13 06:01:12 +00:00
d9859a6be4 Enable S3 but use R2 instead (#2445)
Enable S3 upload again but use R2 instead

Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2024-10-01 15:21:47 +02:00
renovate[bot] 88e591b008 chore(deps): update peter-evans/create-pull-request action to v7 (#2427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 19:01:53 +01:00
Jaap Marcus 8f6f2f6fcf CI Disable upload to S3 (#2360)
CI Disable upload to s3
2024-07-24 13:57:27 -07:00
Belle Aerni 32315e2ddb Remove additional hardcoded lists (#2346)
* Remove additional hardcoded lists (countries & phone codes)

Also fixed a few UI oddities I noticed

* Bugfixes

* Removed the old reference to the polyfill

* Fixed a typo
2024-07-12 00:46:03 +01:00
Belle Aerni 945a201572 Small Currency Improvements (#2311)
* Removed the hardcoded currencies list

Also streamlined the process of adding new currencies by allowing the title & exchange rate to automatically be determined.

* Use an existing translatable string

* Update the test workflows

* Dropped the legacy test, wrote two new ones

* Fixed a typo in my assert

* Whooooops
2024-06-27 09:48:37 -07:00
renovate[bot] 368a7de6ec chore(deps): update fossbilling/.workflows digest to 718e45c 2024-06-26 02:17:00 +00:00
renovate[bot] 41bc7d4d49 chore(deps): update fossbilling/.workflows digest to b350db4 2024-05-27 00:05:03 +00:00
renovate[bot] ee94b2c4b8 Update streetsidesoftware/cspell-action action to v6 (#2176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 14:00:10 -08:00
Belle Aerni 6fee361cdd Run APT update before install for live tests (#2149) 2024-02-16 16:32:30 -08:00
Belle Aerni ac67a8f930 Remove the locale submodule, replaced the release downloader action (#2136) 2024-02-13 13:02:25 +00:00
renovate[bot] 1cb32c4536 Update release-drafter/release-drafter action to v6 (#2119)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 18:19:26 -08:00
Belle Aerni c86d56c97f Fix translations (#2116)
Test revert
2024-02-02 17:53:34 -08:00
renovate[bot] dd719656b2 Update peter-evans/create-pull-request action to v6 (#2110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 16:37:39 -08:00
renovate[bot] e6abad1173 Update robinraju/release-downloader action to v1.9 (#2104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 13:36:46 -08:00
renovate[bot] 153be25dd9 Update FOSSBilling/.workflows digest to 8749327 2024-01-22 05:03:07 +00:00
Belle Aerni 8f4d0d4cac More tests and CI improvements (#2078)
* Wrote a few more tests, improvements

* Ran Rector & PHP-CS-Fixer

* Append a capital letter to the test client passwords

* Minor tweaks

* Display more info after the tests run

* Oops, I forgot to set the dir

* Fix cron behavior for test env, dropped legacy tests

* Rename the empty test suite so PHPUnit ignores it

* Update cspell.json

* Minor tweaks to the tests

* Fixes
2024-01-17 18:11:45 -08:00
renovate[bot] 1dfd868279 Update actions/cache action to v4 (#2081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 17:24:34 -08:00
Belle Aerni ccc97a3ec9 Initial implementation of CI against a live FOSSBilling Install (#2067)
* Rename tests to tests-legacy

* Groundwork for live tests

* Somewhat working tests on a live instance

* Hmmmmmm

* Fix

* Fixed the other bug

* Added a handful of various tests

* Typos, all these are admin endpoints

* Bypass this check for testing envs

* Disable it for now

* Mini cleanup

* Cleanup from debugging, ran PHP-CS-Fixer
2024-01-14 22:51:32 -08:00
Belle Aerni 7bb98f5ffd Re-run PHP-CS-Fixer and (Hopefully) Fix Rector for GHA (#2061)
* Changed Rector parallel config. Hoping to resolve GHA issue

* Re-run Rector and PHP-CS-Fixer
2024-01-12 16:43:45 -08:00
Belle Aerni ac0593d5e5 Update rectorAndCs.yml (#2059) 2024-01-09 07:40:51 -08:00
Belle Aerni 32d011225b Rector & PHP-CS-Fixer Improvements (#2047)
* Added the rector cache to the action

* Enabled PHP-CS fixer for the tests & library folder

* Use the PHP-CS-Fixer Cache

* Fix the tests

* Ensure the Sentry placeholder isn't messed up from CS changes

* Typo..
2024-01-08 00:10:00 +00:00
renovate[bot] e6194f92d7 Update FOSSBilling/.workflows digest to 8cdd61a 2023-12-18 01:08:15 +00:00
Adam Daley d0b3c1629c Set required permissions for Docker workflow changes (#1989) 2023-12-18 01:07:31 +00:00
Adam Daley dd0a3022d1 Update CI and release workflow to fix Docker builds (#1988) 2023-12-18 00:59:52 +00:00
renovate[bot] 948675c031 Update FOSSBilling/.workflows digest to fa4a4a4 2023-12-16 02:17:08 +00:00
Belle Aerni be9f4b9d64 Update artifact workflows (#1979) 2023-12-15 23:26:05 +00:00
renovate[bot] 21bd96f5ab Update github/codeql-action action to v3 (#1963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 16:08:03 -08:00
Adam Daley cf835b9691 Cleanup outdated and unmaintained files (#1936) 2023-12-08 05:45:20 +00:00
Adam Daley 3d3bcea0bf Update merge hold workflow to always return success or failure (#1935) 2023-12-07 17:32:04 +00:00
Adam Daleyandrenovate[bot] 2a14679d2e Move Docker file and add automated Docker builds (#1916)
* Rework reusable workflows to use composite actions (#1918)

* Update FOSSBilling/.workflows digest to 5c7b960

* Update dependency apexcharts to v3.44.2

* Update CKEditor to v39.3.0 (minor) (#1931)

Update CKEditor to v39.3.0

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency core-js to v3.34.0 (#1932)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency cypress to v13.6.1

* Update dependency flag-icons to v7.0.3

* Update dependency phpunit/phpunit to v10.5.2

* Bump lcharette/webpack-encore-twig to v1.2 (#1933)

Bump lcharette/webpack-encore-twig

Bump lcharette/webpack-encore-twig to ^1.2 and remove symfony/webpack-encore-bundle override as now fixed upstream.

* Move Dockerfile from Docker repo

* Add Docker preview build and push to CI

* Add workflow to build and tag Docker builds on release

* Update workflow to build and tag Docker builds on release

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 17:29:45 +00:00
renovate[bot] c3c79ff6d1 Update FOSSBilling/.workflows digest to fd29998 2023-12-07 16:37:48 +00:00
renovate[bot] d03183b7d7 Update FOSSBilling/.workflows digest to 5c7b960 2023-12-07 00:08:07 +00:00
Adam Daley 8aafe0ee40 Rework reusable workflows to use composite actions (#1918) 2023-12-06 20:12:38 +00:00
renovate[bot] c40078e80e Update actions/labeler action to v5 (#1920)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 15:34:01 -08:00
Adam Daley c6669bbf51 Fix CI preview downloadable archive name 2023-12-04 10:48:35 +00:00
Adam Daley 3ca602d5c6 Update CI to include preview build and upload steps (#1915) 2023-12-04 10:05:59 +00:00
Adam Daley b832cdee55 Update CI workflow 2023-12-04 00:41:47 +00:00
Adam Daley 3eeb48d9b0 Update CI workflows (#1908)
Update CI workflow to improve PHP build and test
2023-12-02 06:10:22 +00:00
Belle Aerni e39fad02b6 Fix tests (#1912) 2023-12-01 21:12:58 -08:00
Adam Daley fbf0e95714 Update PHP CI build dependency caching 2023-11-29 17:08:57 +00:00