Commit Graph
277 Commits
Author SHA1 Message Date
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
renovate[bot] c0d7261e32 chore(deps): update github/codeql-action digest to 89a39a4 2026-02-21 01:15:40 +00:00
renovate[bot] 67957bcd44 chore(deps): update actions/checkout digest to 0c366fd 2026-02-20 00:20:53 +00:00
Belle Aerni 41b265bae6 And I forgot that 8.5 is out (#3256) 2026-02-19 13:37:58 -08:00
Belle Aerni ded40e562b oops. (#3255) 2026-02-19 13:31:41 -08:00
Belle Aerni fc540246c9 Cleaned up and replaced CS workflow (#3254) 2026-02-19 13:20:50 -08:00
renovate[bot] f2f7c89811 chore(deps): update github/codeql-action digest to 9e907b5 2026-02-14 00:56:51 +00:00
renovate[bot] cedfa4e4c4 chore(deps): update fossbilling/.workflows digest to 74c38ad 2026-02-09 01:51:27 +00:00
renovate[bot] e6cbe400da chore(deps): update github/codeql-action digest to 45cbd0c 2026-02-06 00:48:45 +00:00
renovate[bot] ff728dda77 chore(deps): update actions/checkout digest to de0fac2 2026-02-04 02:34:57 +00:00
renovate[bot] e51690664f chore(deps): update github/codeql-action digest to 6bc82e0 2026-02-03 02:26:29 +00:00
renovate[bot] 4d0a0d725c chore(deps): update actions/cache digest to cdf6c1f 2026-01-30 00:40:59 +00:00
30b6894600 Apply PHP Code Styling & Quality Changes (#3216)
* Apply PHP Code Styling & Quality Changes

* Remove unwnated file

* Apply PHP Code Styling & Quality Changes

* Remove unwnated file

* Update PHPUnit version to 12 in CI workflow

Bump the PHPUnit version from 10 to 12 in the GitHub Actions CI configuration to ensure tests run against the latest PHPUnit release.

* Refactor HTML sanitizer instantiation

* Refactor object instantiation

---------

Co-authored-by: FOSSBilling Bot <fossbilling-bot>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-01-28 20:15:28 +00:00
renovate[bot] ddd3dc52b0 chore(deps): update streetsidesoftware/cspell-action digest to d5d910b 2026-01-28 06:36:13 +00:00
renovate[bot] 40d1726e5e chore(deps): update github/codeql-action digest to b20883b 2026-01-27 02:03:23 +00:00
renovate[bot] 2f778cc32e chore(deps): update github/codeql-action digest to 19b2f06 2026-01-25 01:35:10 +00:00
renovate[bot] 6df840680f chore(deps): update release-drafter/release-drafter digest to 6db134d 2026-01-23 05:32:05 +00:00
renovate[bot] 3e9c0b44fd chore(deps): update peter-evans/create-pull-request digest to c0f553f 2026-01-22 01:30:50 +00:00
renovate[bot] 5b1b3d1e84 chore(deps): update release-drafter/release-drafter digest to 267d2e0 2026-01-20 05:50:50 +00:00
renovate[bot] bc0c64e71b chore(deps): update actions/cache digest to 8b402f5 2026-01-17 02:03:12 +00:00
renovate[bot] 668d651e9b chore(deps): update actions/setup-node digest to 6044e13 2026-01-16 02:36:27 +00:00
renovate[bot] b3c6e6a71a chore(deps): update github/codeql-action digest to cdefb33 2026-01-13 01:51:46 +00:00
renovate[bot]andAdam Daley 23641e1dde chore(deps): update streetsidesoftware/cspell-action digest to 24fa8d3 (#3134)
* chore(deps): update streetsidesoftware/cspell-action digest to 24fa8d3

* Update PHPStan config to ignore `ctype_alnum` argument count

Added a new ignore rule in `phpstan.neon` for the 'Function ctype_alnum invoked with 1 parameter, 0 required' message in src/modules/Extension/Service.php. Minor formatting change in `phpstan-baseline.neon`.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-01-09 15:03:10 +00:00
renovate[bot] b6b3b01021 chore(deps): update fossbilling/.workflows digest to 11c3d3b 2026-01-06 01:55:25 +00:00
8dc2d0f39b Migrate asset build system from Webpack Encore to esbuild (#3126)
* Migrate asset build system from Webpack Encore to esbuild

Replaces Symfony Webpack Encore with esbuild for frontend asset compilation. Updates documentation, removes related dependencies and config files, and adds esbuild configuration for themes. This modernizes the build process for improved speed and maintainability.

* Remove redundant comments and spinner from build scripts

Cleaned up code by removing unnecessary comments and the spinner utility from esbuild scripts in admin_default and huraga themes. Also simplified logic in API handler, currency entity, currency service, and profile client validator by removing redundant comments and streamlining null/empty checks.

* Add new terms to cspell custom dictionary

Added 'Spriter', 'spriter', 'dataurl', and 'tomselect' to the cspell custom words list to prevent false spelling errors for these terms.

* Potential fix for code scanning alert no. 422: Shell command built from environment values

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for pull request finding 'Unused variable, import, function or class'

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

* Potential fix for pull request finding 'Unused variable, import, function or class'

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

* Potential fix for pull request finding 'Unused variable, import, function or class'

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

* Refactor theme build to use custom SASS and PostCSS pipeline

Replaces direct SCSS imports in JS with a custom esbuild pipeline for both admin_default and huraga themes. Adds SASS and PostCSS (autoprefixer) processing via esbuild plugins, improves tilde (~) import resolution, and ensures CSS is post-processed and source maps are handled. This change modernizes and unifies the asset build process, making it more maintainable and extensible.

* Update sass import and flag-icons path in themes

Changed sass import to use namespace import in both admin_default and huraga esbuild.mjs files for consistency. Set $flag-icons-path in huraga _flags.scss to ensure correct path resolution for flag-icons assets.

* Refactor theme CSS build to use vendor bundles

Introduces separate vendor.css files for both admin_default and huraga themes, consolidating third-party CSS imports. Updates esbuild scripts to build and include these vendor bundles, removes tilde (~) importers, and adjusts SCSS to use CSS variables instead of direct SCSS variable imports. Twig templates are updated to load the new vendor.css files, and Huraga's theme variables are migrated to CSS custom properties for better maintainability.

* Update `package-lock.json` with new CKEditor 5 packages

Added and updated multiple @ckeditor/ckeditor5-* packages to version 47.3.0 and related dependencies. This change likely prepares the project for enhanced or new CKEditor 5 features and plugins.

* Refactor theme build scripts and add shared utils

Introduces a new `@fossbilling/frontend-build-utils` package with shared helpers and esbuild plugins for theme builds. Refactors admin_default and huraga esbuild scripts to use these utilities, improving maintainability and reducing code duplication. Removes unused `sprite.js` and updates asset handling. Updates workspace configuration in `package.json` and `package-lock.json`.

* Refactor theme asset build paths and add svg sprite helper

Migrates theme asset outputs to 'assets/build' directories for both admin_default and huraga themes, updating all references and build scripts accordingly. Adds a Twig function for inlining SVG sprites. Updates SQL defaults and patcher for new asset paths. Removes direct jQuery imports from theme JS entrypoints and uses an esbuild inject shim for global jQuery. Also includes minor CSS and manifest adjustments.

* Potential fix for pull request finding 'Unused variable, import, function or class'

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

* Add PurgeCSS plugin and integrate with theme builds

Introduced a new PurgeCSS plugin in frontend-build-utils to remove unused CSS from bundled files. Updated package.json and package-lock.json to include PurgeCSS and its dependencies. Integrated the plugin into the esbuild scripts for admin_default and huraga themes to enable CSS purging in production builds.

* Set NODE_ENV=production for frontend build

Ensures the frontend assets are built with production optimizations by explicitly setting NODE_ENV=production during the build step in the release workflow.

* Fix static analysis warning in module directory scan

Updated the type check in the module directory scan to use a null coalescing operator, improving compatibility with static analysis tools like PHPStan.

* Update PHPStan baseline for ctype_alnum argument count

Added a new baseline entry to ignore an argument count warning for ctype_alnum in src/modules/Extension/Service.php.

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2025-12-30 09:40:04 +00:00
Adam Daley 136480860b Raise minimum PHP version requirement to 8.3 (#3125)
* Raise minimum PHP version requirement to 8.3

Update all documentation, configuration, Composer requirements, and CI workflows to require PHP 8.3 or higher. Remove `symfony/polyfill-php83` and add `symfony/polyfill-php85`. Adjust installer and requirements checks accordingly.

* Update PHP version and dependencies

Remove PHP 8.5 from CI and workflows, standardizing on PHP 8.3 and 8.4. Update Composer dependencies in composer.json to latest compatible versions for both required and dev packages.
2025-12-30 08:13:04 +00:00
renovate[bot] 35bf1d3d72 chore(deps): update github/codeql-action digest to 5d4e8d1 2025-12-18 02:11:50 +00:00
renovate[bot] efb320c31a chore(deps): update fossbilling/.workflows digest to 684dd30 2025-12-18 00:02:34 +00:00