3606 Commits
Author SHA1 Message Date
Adam Daley b08fc53d72 Update rewrite rules, improve error handling, and some related cleanup (#1075)
* Rename htaccess to be applied automatically

Rename the htaccess file, improve handling when .htaccess is missing, and remove from .gitignore so that rules are automatically applied on supported web servers.

* Clean up .gitignore file

* Update .htaccess to improve security

Update .htaccess file to improve general security, handle missing mod_rewrite, and to simplify the required rules.

* Improve HTTP and generic error handling

Improve handling of HTTP errors, and make the error handling code more generic to permit catching more errors.

* Remove outdated example web server config files

Remove the outdated and unmaintained example web server configuration files in favour of FOSSBilling/config-generator.

* Remove support for non-search engine friendly URLs

Remove support for non-search engine friendly URLs as these are depreciated.

* Revert "Remove support for non-search engine friendly URLs"

This reverts commit 724b1eb274.

* Update config migration backup handling
0.4.2
2023-04-06 21:59:25 +02:00
Belle Aerni 7b6fde3768 Quick fix to make CKEditor usable in dark mode (#1078) 2023-04-06 13:36:28 +01:00
dependabot[bot] 564f22b2cf Bump imask from 6.4.3 to 6.5.0 (#1076)
Bumps [imask](https://github.com/uNmAnNeR/imaskjs) from 6.4.3 to 6.5.0.
- [Release notes](https://github.com/uNmAnNeR/imaskjs/releases)
- [Commits](https://github.com/uNmAnNeR/imaskjs/compare/v6.4.3...v6.5.0)

---
updated-dependencies:
- dependency-name: imask
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 13:35:25 +01:00
dependabot[bot] e144c3efd3 Bump webpack from 5.77.0 to 5.78.0 (#1077)
Bumps [webpack](https://github.com/webpack/webpack) from 5.77.0 to 5.78.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.77.0...v5.78.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 13:34:12 +01:00
Belle Aerni 116f55851f Revert fix for sub-folder installations (#1073) 2023-04-06 01:52:45 +01:00
Belle Aerni 2b3324dcb3 Add badges to the dashboard (#1049) 2023-04-05 08:21:26 -07:00
FOSSBilling BotandFOSSBilling Bot d597a2d855 Update CKEditor and Related Dependencies (#1067)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-04-05 08:19:34 -07:00
dependabot[bot] ec3df8cc6e Bump postcss-loader from 7.2.3 to 7.2.4 (#1066)
Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 7.2.3 to 7.2.4.
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases)
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v7.2.3...v7.2.4)

---
updated-dependencies:
- dependency-name: postcss-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 12:02:43 +01:00
dependabot[bot] b3dec589a0 Bump peter-evans/create-pull-request from 4 to 5 (#1065)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 12:02:06 +01:00
dependabot[bot] 129c756609 Bump stripe/stripe-php from 10.12.0 to 10.12.1 in /src (#1064)
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 10.12.0 to 10.12.1.
- [Release notes](https://github.com/stripe/stripe-php/releases)
- [Changelog](https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/stripe-php/compare/v10.12.0...v10.12.1)

---
updated-dependencies:
- dependency-name: stripe/stripe-php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 12:00:35 +01:00
Belle Aerni f291ad0dc7 Slightly improved twig locale handling (#1060)
* Better handle the lack of the intl extension

* Use cookies to set twig locale

This allows for more of the system to be translated to the user's locale
2023-04-05 10:02:54 +02:00
Belle Aerni 3672abf525 Fix order "history" tab responsiveness (#1062) 2023-04-05 10:02:00 +02:00
dependabot[bot] db0c7d5b61 Bump core-js from 3.29.1 to 3.30.0 (#1051)
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.29.1 to 3.30.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.30.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 12:53:37 +02:00
dependabot[bot] 4d1910d9de Bump postcss-loader from 7.1.0 to 7.2.3 (#1052)
Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 7.1.0 to 7.2.3.
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases)
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v7.1.0...v7.2.3)

---
updated-dependencies:
- dependency-name: postcss-loader
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 12:53:11 +02:00
Belle Aerni 5eb9452dc6 Fix unknown encore_entry_link_tags function (#1048) 0.4.1 2023-04-04 01:18:19 -07:00
Adam Daley 5a2dc6a542 Fix payment gateway logo access (#1040)
Fix issue with accessing payment gateway logos due to htaccess rules.
2023-04-03 20:13:43 +01:00
dependabot[bot] e50bebbf86 Bump friendsofphp/php-cs-fixer from 3.15.1 to 3.16.0 in /src (#1033)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 16:36:48 +03:00
dependabot[bot] e868d9d7de Bump apexcharts from 3.37.2 to 3.37.3 (#1034)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 16:36:26 +03:00
FOSSBilling BotandFOSSBilling Bot e173fcc0fc Update CKEditor and Related Dependencies (#1036)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-04-03 16:35:57 +03:00
Belle Aerni e8930f6246 Add symfony/polyfill-intl-icu (#1032) 2023-04-03 02:45:11 -07:00
dependabot[bot] 4d2e493c58 Bump @babel/preset-env from 7.20.2 to 7.21.4 (#1027) 0.4.0 2023-04-02 13:50:37 +01:00
dependabot[bot] f55331e6fd Bump stripe/stripe-php from 10.11.0 to 10.12.0 in /src (#1026) 2023-04-02 13:49:52 +01:00
dependabot[bot] d1c9194ddc Bump @babel/core from 7.21.3 to 7.21.4 (#1025) 2023-04-02 13:48:18 +01:00
Belle Aerni feab5f6b21 Fix sitemap content type header (#1031) 2023-04-02 13:34:01 +02:00
Jaap Marcus e487cc4ba9 Keep FOSSBILLING Global (#1024)
* Keep FOSSBILLING Global

* Update fossbilling.js

Remove boxbilling constant
2023-03-30 23:17:31 +01:00
Belle Aerni ca0c4ac723 Fix HestiaCP timeout (#1023) 2023-03-30 18:05:24 +01:00
dependabot[bot] c98746b5e5 Bump webpack from 5.76.3 to 5.77.0 (#1022) 2023-03-30 11:23:23 +01:00
dependabot[bot] 487b383764 Bump cypress from 12.8.1 to 12.9.0 (#1019)
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.8.1 to 12.9.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.8.1...v12.9.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 14:13:47 -07:00
FOSSBilling BotandFOSSBilling Bot 03818635d6 Update CKEditor and Related Dependencies (#1020)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-03-29 14:13:25 -07:00
Belle Aerni b883420cfa Fix HTTP error 500 with the installer (#1018)
Closes issue #1017 by reverting the installer back to using the original `date` filter, since the installer doesn't need the additional flexibility from the new installer, not is there a way to configure said flexibility
2023-03-29 10:13:25 +02:00
FOSSBilling BotandFOSSBilling Bot 2cb06d2727 Update CKEditor and Related Dependencies (#1011)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-03-28 15:20:47 +02:00
dependabot[bot] 934f0a0263 Bump phpunit/phpunit from 9.6.5 to 9.6.6 in /src (#1009)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.5 to 9.6.6.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.5...9.6.6)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 13:30:30 +01:00
dependabot[bot] dcddd27a8f Bump sass-loader from 13.2.1 to 13.2.2 (#1010)
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.2.1 to 13.2.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v13.2.1...v13.2.2)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 13:30:10 +01:00
John @ S4 f652b0d951 Removed references to Laravel (#1008)
* Removed references to Laravel

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2023-03-28 10:52:56 +03:00
Yağızhan f3930981a6 Bumped title sizes (#1007) 2023-03-28 00:21:49 -07:00
Shamshid 185466f374 Major and minor design improvements to modules (#999) 2023-03-28 07:46:59 +01:00
Belle Aerni 9faa981c58 Replace usage of array_get (#989)
* Replace usage of array_get

* Fixes

* And a few more

* Remove remaining references

* Update Service.php

* Few more fixes

* Fix.. I think?

* Fix Client / Invoice updates

* Fix stats

* Fix issues noticed during code review

* More fixes

* And some more fixes :)
2023-03-27 23:44:30 -07:00
Belle Aerni 94ada496f3 Fix reference to old config key (#1004) 2023-03-28 08:31:54 +03:00
Adam Daley 9bc5e06e95 Fix Servicelicense and Servicedownloadable product period bug (#1005)
Fix issue with the Servicelicense and Servicedownloadable modules when product configuration not defined causing cart/order data to be lost (resulting in invalid period exception).
2023-03-28 08:31:21 +03:00
Belle Aerni 48b16e6462 Prevent premium domains from being registered with Namecheap (#1002) 2023-03-28 00:06:29 +01:00
Belle Aerni 5516a81b9d Fix a few warnings with PHP 8.1 (#1003)
As the tin says. Just fixes a couple instances where warnings would be thrown because `null` was being passed
2023-03-28 00:05:26 +01:00
dependabot[bot] 937b97ea97 Bump league/commonmark from 2.3.9 to 2.4.0 in /src (#1000)
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.3.9 to 2.4.0.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/2.4/CHANGELOG.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/2.3.9...2.4.0)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 03:15:00 -07:00
Belle Aerni 4338aac628 Fix some server manager exceptions (#998)
* Fix some server manager exceptions

* Update phpstan-baseline.neon

* Also fixed a few errors in the Plesk adapter
2023-03-27 07:53:40 +02:00
Belle Aerni 6001c88e89 Fix patch class being duplicated (#996) 2023-03-25 08:17:36 +03:00
Adam Daley 9fb19e02d7 Improve date/datetime format handling and customisability (#948)
* Replace custom Twig bb_date/bb_datetime filters

Replace bb_date and bb_datetime Twig filters with format_date / format_datetime to better support i18n and customisability.

* Update templates to use format_date/format_datetime

Update all templates to use format_date/format_datetime (where appropriate and where not already used).

* Update locale configuration options

Update configuration options to include new locale settings, and ensure new options are used throughout.

* Add reset button to admin theme date picker

Add a reset button to the admin_default theme date picker to allow dates to be cleared, and fix an issue with Order module not allow blank dates. Resolves #938.
2023-03-24 23:16:07 +00:00
FOSSBilling BotandFOSSBilling Bot cf6f75cba1 Update CKEditor and Related Dependencies (#993)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-03-24 12:55:43 -07:00
dependabot[bot] 44b34bc143 Bump stripe/stripe-php from 10.10.0 to 10.11.0 in /src (#991) 2023-03-24 13:17:25 +03:00
dependabot[bot] ce7204c103 Bump sass from 1.59.3 to 1.60.0 (#992) 2023-03-24 13:17:00 +03:00
Adam Daley e40b2c4159 Fix Registrar adapter exception bug (#990)
Fix issue with Registrar_Exception in registrar adapters due to changes introduced in #750 / 5b232ce. Closes #988.
2023-03-24 09:00:37 +00:00
Belle Aerni ba51391731 Fix currencylayer (#985)
* Fix currencylayer

* Fix PHPStan and from currencies other than USD

* Add back European Central Bank

* Use placeholders
2023-03-24 00:56:28 -07:00