Commit Graph
5740 Commits
Author SHA1 Message Date
Belle Aerni 4b53bff9e6 Improved backup patching (#1849) 2023-11-20 07:51:59 +02:00
Belle Aerni 64edea94c4 Cache extension configs (#1848)
* Cache extension configs

* Adjusted the tests

* Use ArrayAdapter
2023-11-19 01:24:36 +01:00
Belle Aerni 6a20f7cc06 Fix a logged error (#1847) 2023-11-18 19:27:19 +03:00
dependabot[bot] 1f869237c6 Bump sortable-tablesort from 3.0.0 to 3.1.0 (#1845)
Bumps [sortable-tablesort](https://github.com/tofsjonas/sortable) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/tofsjonas/sortable/releases)
- [Changelog](https://github.com/tofsjonas/sortable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tofsjonas/sortable/compare/3.0.0...3.1.0)

---
updated-dependencies:
- dependency-name: sortable-tablesort
  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-11-17 20:31:11 +03:00
dependabot[bot] 0348482cd4 Bump rector/rector from 0.18.8 to 0.18.10 (#1846)
Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.8 to 0.18.10.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/0.18.8...0.18.10)

---
updated-dependencies:
- dependency-name: rector/rector
  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-11-17 20:30:39 +03:00
Belle Aerni 6006bfa264 Resolve events being duplicated in Sentry (#1844)
* Resolve events being duplicated in Sentry

* Fixed a typo

* Aaaand restored the placeholder

* Also adjust the API code
2023-11-17 09:00:05 +02:00
Belle Aerni 60f1f5c155 Enable stock control for all product types (#1840) 2023-11-17 08:59:51 +02:00
Belle AerniandYağızhan 865b0b6159 Implemented PHP DebugBar (#1825)
* Brought in the debugbar extension

Co-Authored-By: Yağızhan <hi@yagiz.dev>

* Completely restructured

Redid the previous work to allow us to pass around a single instance of the debug bar, allowing us to leverage more types of data collection.

* Added some more time measurements

* Enabled HTML var dumper, added config collector

* Fix

---------

Co-authored-by: Yağızhan <hi@yagiz.dev>
2023-11-16 23:21:14 +00:00
FOSSBilling BotandFOSSBilling Bot a73c570abc Apply PHP Code Styling & Quality Changes (#1841)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-11-16 07:51:45 -08:00
dependabot[bot] 88a82a224a Bump cypress from 13.5.0 to 13.5.1 (#1838)
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.5.0 to 13.5.1.
- [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/v13.5.0...v13.5.1)

---
updated-dependencies:
- dependency-name: cypress
  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-11-15 15:43:00 +01:00
dependabot[bot] 55ecec8f2a Bump rector/rector from 0.18.7 to 0.18.8 (#1839)
Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.7 to 0.18.8.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/0.18.7...0.18.8)

---
updated-dependencies:
- dependency-name: rector/rector
  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-11-15 15:42:28 +01:00
Belle Aerni 0136740a9e Fix email resend option (#1833)
* Fix email resend option

* Return the testing check
2023-11-14 19:37:53 +00:00
Belle Aerni add20b6281 Resolve reported errors (#1836)
* Resolve reported errors

* Update ServicePayGatewayTest.php
2023-11-14 19:25:17 +01:00
FOSSBilling BotandFOSSBilling Bot 9f3fb51377 Apply PHP Code Styling & Quality Changes (#1834)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-11-14 04:43:14 -08:00
FOSSBilling BotandFOSSBilling Bot e315b1a23a Update CKEditor and Related Dependencies (#1835)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-11-14 04:42:28 -08:00
dependabot[bot] a46bec22a3 Bump streetsidesoftware/cspell-action from 4 to 5 (#1830)
Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) from 4 to 5.
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: streetsidesoftware/cspell-action
  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-11-14 03:28:59 -08:00
dependabot[bot] d0831a6441 Bump rector/rector from 0.18.6 to 0.18.7 (#1829)
Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.6 to 0.18.7.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/0.18.6...0.18.7)

---
updated-dependencies:
- dependency-name: rector/rector
  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-11-14 03:28:06 -08:00
dependabot[bot] a6403cad41 Bump friendsofphp/php-cs-fixer from 3.38.0 to 3.38.2 (#1828)
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.38.0 to 3.38.2.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.38.0...v3.38.2)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  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-11-14 03:27:18 -08:00
dependabot[bot] 189c405dab Bump sentry/sentry from 4.0.0 to 4.0.1 (#1827)
Bumps [sentry/sentry](https://github.com/getsentry/sentry-php) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/getsentry/sentry-php/releases)
- [Changelog](https://github.com/getsentry/sentry-php/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-php/compare/4.0.0...4.0.1)

---
updated-dependencies:
- dependency-name: sentry/sentry
  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-11-14 03:26:49 -08:00
Belle Aerni 7c36b25763 Remove the generate EU VAT rates button (#1826)
* Remove the generate EU VAT rates button

* Update AdminTest.php
2023-11-14 10:07:56 +01:00
Belle Aerni 7b91c63344 Direct people to the website for the system reqs (#1824) 2023-11-13 20:10:26 +00:00
Aziz Ozbek c5aa88628e Plesk server manager change password fix (#1809)
* htmlspecialchars password

Solution for
Warning: SimpleXMLElement::addChild(): unterminated entity reference

* Remove htmlspecialchars
2023-11-13 12:26:23 +02:00
dependabot[bot] d57ab42c66 Bump symfony/cache from 6.3.6 to 6.3.8 (#1822)
Bumps [symfony/cache](https://github.com/symfony/cache) from 6.3.6 to 6.3.8.
- [Release notes](https://github.com/symfony/cache/releases)
- [Changelog](https://github.com/symfony/cache/blob/6.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/cache/compare/v6.3.6...v6.3.8)

---
updated-dependencies:
- dependency-name: symfony/cache
  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-11-13 10:45:17 +01:00
dependabot[bot] 2fa804cd40 Bump symfony/phpunit-bridge from 6.3.6 to 6.3.8 (#1823)
Bumps [symfony/phpunit-bridge](https://github.com/symfony/phpunit-bridge) from 6.3.6 to 6.3.8.
- [Release notes](https://github.com/symfony/phpunit-bridge/releases)
- [Changelog](https://github.com/symfony/phpunit-bridge/blob/6.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/phpunit-bridge/compare/v6.3.6...v6.3.8)

---
updated-dependencies:
- dependency-name: symfony/phpunit-bridge
  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-11-13 10:45:10 +01:00
Belle Aerni d9d97c9a64 Allow clients to choose if they want a subscription (#1800)
* Allow clients to choose if they want a subscription

* Spelling

* Fixed it

* Improved wording

* I wish I had spellcheck in VS Code

* Made it configurable
2023-11-13 10:44:49 +01:00
dependabot[bot] edfe9ec417 Bump symfony/http-client from 6.3.7 to 6.3.8 (#1821)
Bumps [symfony/http-client](https://github.com/symfony/http-client) from 6.3.7 to 6.3.8.
- [Release notes](https://github.com/symfony/http-client/releases)
- [Changelog](https://github.com/symfony/http-client/blob/6.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/http-client/compare/v6.3.7...v6.3.8)

---
updated-dependencies:
- dependency-name: symfony/http-client
  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-11-13 10:43:03 +01:00
Belle Aerni 63b1e66caf Massmailer bugfixes & improvements (#1817)
* Prevent Massmailer from duplicating recipients

* Minor optimization

We don't need this info as it's actually fetched in a later step. All we need from this step is the ID of each client

* Further optimize using the DISTINCT SQL query option

Thanks to @evrifaessa for pointing out this is an option.
Should be more efficient to let the SQL engine do the worth rather than doing it via PHP

* Further optimization, fixed filter selection in the UI

* Added the ability to see the list of recipients

* Update cspell.json
2023-11-13 10:42:23 +01:00
dependabot[bot] 1f5e5aacc7 Bump symfony/twig-bridge from 6.3.5 to 6.3.8 (#1820)
Bumps [symfony/twig-bridge](https://github.com/symfony/twig-bridge) from 6.3.5 to 6.3.8.
- [Release notes](https://github.com/symfony/twig-bridge/releases)
- [Changelog](https://github.com/symfony/twig-bridge/blob/6.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/twig-bridge/compare/v6.3.5...v6.3.8)

---
updated-dependencies:
- dependency-name: symfony/twig-bridge
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 10:41:52 +01:00
Yağızhan 4bf62accec +question-mark.svg & clock.svg (#1819)
* +question-mark.svg

* Add files via upload
2023-11-12 21:02:47 +01:00
Yağızhan 3c11f9a97a Clear the cache after the patches are done (#1818) 2023-11-12 11:02:49 +01:00
Belle Aerni 50cc54ed4e Improved email validation & spam prevention (#1806)
* Improved email validation

* Fixed spelling & PHPDoc, updated module description

* Removed accidental leftovers from debugging

* Rremoved PHP 81 pollyfil, assume email valid if there's an error
2023-11-11 21:44:08 +02:00
Belle Aerni 50043e6211 Run Rector against our tests (#1761)
* Update rector config to include tests

* Run Rector against the tests

* Delete test-results

* Update .gitignore

* Correctly set the PHP min to 8.1, split the configs

* Corrected PHPDoc

* Deleted tests we can't really get to pass

PHPunit is hard-coded to fail when a class has a return type of `never`, which is the correct return type of our redirect function (and rightfully so).

No way to disable the exception as far as we can tell
2023-11-11 18:41:09 +00:00
Yağızhan 7762b12e32 Replace hardcoded slashes with DIRECTORY_SEPARATOR (#1816)
* +DIRECTORY_SEPARATOR

* +DIRECTORY_SEPARATOR
2023-11-11 09:56:24 -08:00
Belle Aerni 24eecb736c Fix extension installation (#1815) 2023-11-11 20:55:03 +03:00
Belle Aerni 33695f268e Remove the unused path_logs config key (#1784) 2023-11-11 20:47:19 +03:00
Duncan Bennie 3d207c085f Fix spelling & grammar (#1814)
* Fix spelling & grammar

* Fix typos
2023-11-11 02:17:30 -08:00
dependabot[bot] 958d062caf Bump stripe/stripe-php from 13.2.1 to 13.3.0 (#1810)
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 13.2.1 to 13.3.0.
- [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/v13.2.1...v13.3.0)

---
updated-dependencies:
- dependency-name: stripe/stripe-php
  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-11-10 19:48:57 +01:00
dependabot[bot] 62ed186dee Bump flag-icons from 6.14.0 to 6.15.0 (#1811)
Bumps [flag-icons](https://github.com/lipis/flag-icons) from 6.14.0 to 6.15.0.
- [Release notes](https://github.com/lipis/flag-icons/releases)
- [Changelog](https://github.com/lipis/flag-icons/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lipis/flag-icons/compare/v6.14.0...v6.15.0)

---
updated-dependencies:
- dependency-name: flag-icons
  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-11-10 19:48:22 +01:00
dependabot[bot] 32c749cad7 Bump cypress from 13.4.0 to 13.5.0 (#1803)
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.4.0 to 13.5.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/v13.4.0...v13.5.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-11-09 10:16:54 +00:00
Adam Daley 276df9a58e Update PHPUnit to version 10 (#1798)
* Update PHPUnit to version 10

Update composer and CI version of PHPUnit to 10, and migrate XML config to updated schema.

* Update tests for PHPUnit 10

Update tests to replace depreciated functions in PHPUnit 10. Also, remove risky tests which don't assert anything.
2023-11-09 10:43:30 +01:00
Belle Aerni 7b2def00e1 Fix the UpdatePatcher step (#1797) 2023-11-09 00:04:11 +03:00
Adam Daley b0e10cd404 Update monolog/monolog to version 3 (#1801)
* Update monolog/monolog to version 3.5

* Update Monolog priority levels to use Level enum

Update Monolog library class to use Level enum for priority levels, as previous constants depreciated.
2023-11-08 15:27:23 +01:00
dependabot[bot] 007b06247f Bump ramsey/uuid from 4.7.4 to 4.7.5 (#1799)
Bumps [ramsey/uuid](https://github.com/ramsey/uuid) from 4.7.4 to 4.7.5.
- [Release notes](https://github.com/ramsey/uuid/releases)
- [Changelog](https://github.com/ramsey/uuid/blob/4.x/CHANGELOG.md)
- [Commits](https://github.com/ramsey/uuid/compare/4.7.4...4.7.5)

---
updated-dependencies:
- dependency-name: ramsey/uuid
  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-11-08 09:39:10 +00:00
Belle Aerni 104553bf7f Error reporting bug fixes (#1785)
* Error reporting bug fixes

* This is honestly a better way to do this
2023-11-08 07:08:58 +00:00
FOSSBilling BotandFOSSBilling Bot 9e85bcecef Apply PHP Code Styling & Quality Changes (#1793)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-11-08 06:51:20 +00:00
Belle Aerni a64b5e6821 Improve email queue behavior (#1789)
* Improve email queue behavior

* Also ensure it works from oldest -> newest

* Update the tests to reflect the changes

* Whoops
2023-11-08 06:49:56 +00:00
Adam DaleyandBelle Aerni b3321a8dd3 Update to Sentry v4 (#1780)
* Bump minimum PHP version to 8.1

* Missed these too

* Shit's broke and stupid as fuck

* Update SentryHelper.php

* Update package-lock.json

* I did the fixing

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-11-07 17:49:16 -08:00
Belle Aerni 371fa59f70 Minor changes / improvements (#1783)
* Make IDs links in the order management screens

* Remove messages about version 0.0.1

* Fix spelling mistake. Closes #1794
2023-11-07 17:46:13 -08:00
Belle Aerni f8d1e90d78 Drop the Queue module (#1777)
* Remove the Queue module and update massmailer

Queue module was only used by the massmailer module & it duplicated the functionality of the email service, resulting in added complexity for no real benefit.

This commit removes the Queue module outright and points the massmailer to the email service instead, which already implements queing, retires, and time limits.

* Added the ability to view the email queue

* Minor front-end improvements, added removal patch

* Cleanly handle a client being removed
2023-11-07 17:45:46 -08:00
Belle Aerni b8de2c1dc9 Fix & improve client search (#1786)
* Fix & improve client search

* And fix a bug that was introduced
2023-11-07 23:07:58 +02:00