113 Commits
Author SHA1 Message Date
Shamshid 534b1ca4d7 set composer sort packages (#1094) 2023-04-10 02:07:14 -07:00
Belle Aerni a6e5ba88a0 Move to using symfony/mailer for emails (#1091)
* Move to using symfony/mailer for emails

* Is now working as intended

* Missed removals

* Fix front-end & allow usage of custom DSN

* Also remove the old package files

And fixed the fact that I put the admin_default cleanup under a patch that was for a previous release we made.
2023-04-09 02:11:08 -07:00
Belle Aerni e8930f6246 Add symfony/polyfill-intl-icu (#1032) 2023-04-03 02:45:11 -07: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
Adam de0bed20ec Replace various HTTP client implementations with symfony/http-client (#861)
* Replace guzzlehttp/guzzle with symfony/http-client

Replace guzzlehttp/guzzle with symfony/http-client to standardise around one globally available HTTP client.

* Replace Box\Curl library and native cURL with symfony/http-client

Replace the Box\Curl library and native cURL with symfony/http-client to standardise around one well supported HTTP client, reduce unnecessary code, and improve compatibility.

* Remove obsolete functionality from Spamchecker module

Remove obsolete functions from Spamchecker module which depended upon cURL.
2023-03-15 11:11:28 +01:00
Belle Aerni 7c2148fc28 Basic CSV export functionality (#925)
* Basic client CSV exporting

* Basic CSV export for orders

* Orders CSV export

* +inline doc
2023-03-13 17:44:25 +00:00
Shamshid a72cc30cc8 Replace Gulp with Webpack Encore (#827)
* remove Gulp deps, set Encore deps and move theme deps
* install webpack-encore-bundle for twig extensions
* set encore extension for themes using Encore
* remove Gulp tasks and add Webpack Encore config
* set purgecss for build and improve broswerlist coverage
* import svg icons for svg-sprite
* set main entrypoints for Encore
* fix undefined errors
* replace tags with Encore twig functions
* remove duplicate dev dependencies from Wysiwyg
* remove bundle included spectrum assets
* replace artifact build command
* set locale flag tom-select
* remove purgecss
2023-02-21 11:42:11 +02:00
Jaap Marcus dec064a00c Remove version in composer.json / update lock 2023-02-06 11:28:23 +01:00
evrifaessa 52303d7a25 reverting the composer.json change to let someone with PHP 8.x handle it 2023-02-06 13:08:05 +03:00
evrifaessa 3807a39eba Added basic Cypress tests 2023-02-06 12:52:34 +03:00
Belle Aerni 7ecaf786d5 Move RedBeanPHP to composer (#767)
* Move RedBeanPHP to composer

* Remove missed references to rb.php

* This *should* fix the tests

* Update DummyBean.php

* Remove payment adapter tests

They.. honestly didn't test much and are proving to cause issues when moving rb.php to composer
2023-02-05 08:43:37 -08:00
Belle Aerni 4d7b341e03 Removed / cleaned up deprecated functions (#755)
* Add PHPStan extension for deprecation function usage

* Removed some deprecated functions

* And a few more

* Also remove the deprecated API calls

* Fix references to deprecated API calls

* Oh, and this too
2023-02-01 03:36:02 -08:00
Anyx 0edee483a8 Update docs URL & enforce FOSSBilling naming
Update the documentation URL and replace instances of "fossbilling" with "FOSSBilling" where applicable.
2023-01-21 21:45:38 +02:00
Belle Aerni 1d7c460a97 Bring in the Stripe updates from evrifaessa 2023-01-17 14:02:09 -08:00
Belle Aerni 7acac92709 Replace php-markdown with commonmark and remove Spyc (#688)
* Remove spyc package

We aren't using it

* Replace php-markdown with commonmark

* update lockfile after rebase
2023-01-12 12:40:12 +01:00
Belle Aerni 354f53c640 Import rector 2023-01-12 00:25:59 -08:00
Jaap Marcus a8f06c38f5 Fix: #640 replace whois script with external library (#655)
* Add whois library instead our own

* Update Domain Custom and Email Adapters

* Add use Iodev\Whois\Factory;
2023-01-03 17:32:57 +01:00
Belle Aerni c1ceef8fbd Replace gettext with motranslator 2022-12-08 12:18:22 -08:00
Belle Aerni ee676ca33a Update file references 2022-11-28 17:22:50 +03:00
Belle Aerni 5665928143 Don't lock phpmailer and php-markdown to specific versions (#454)
* Don't lock phpmailer and php-markdown to specific versions

* Update composer.lock
2022-11-14 07:28:19 +01:00
evrifaessa 1c81943676 Updated Plesk's API library 2022-11-09 19:05:45 +03:00
evrifaessa 658358e481 Composer fix 2022-11-05 16:55:38 +03:00
evrifaessa 8d76391326 Completely rewritten the Plesk adapter 2022-11-05 16:53:51 +03:00
Belle Aerni ca005812b2 Introduce the ability to update preview releases (#418)
* Introduce the ability to update preview releases

* Grumble grumble tests

* More grumbles about tests
2022-11-02 18:15:48 +01:00
Belle Aerni 4d9fde7b04 Fix validateAndSanitizeEmail for international domains (#386)
* Fix validateAndSanitizeEmail for international

And write tests to prove it works as intended

* Update FOSS_Tools.php

* Update tests

* Update FOSS_ToolsTest.php

* This should fix it

* Disabled test

* Require intl polyfill
2022-10-26 22:31:40 +02:00
Belle Aerni 7d459edad3 Let's actually go with dompdf 2022-10-13 14:31:26 -07:00
Belle Aerni 518f38abf6 Going to temporarily drop PSR/log to 2.0.0 since mpdf requires it 2022-10-13 13:56:35 -07:00
Belle Aerni 9b484f0c42 Testing replacing TFPDF with mPDF 2022-10-13 13:44:26 -07:00
dependabot[bot] d76af5492c Bump phpmailer/phpmailer from 6.6.4 to 6.6.5 in /src
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.4 to 6.6.5.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.6.4...v6.6.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 09:45:36 +00:00
dependabot[bot] ba7e1a254d Bump michelf/php-markdown from 1.9.1 to 2.0.0 in /src (#289)
Bumps [michelf/php-markdown](https://github.com/michelf/php-markdown) from 1.9.1 to 2.0.0.
- [Release notes](https://github.com/michelf/php-markdown/releases)
- [Commits](https://github.com/michelf/php-markdown/compare/1.9.1...2.0.0)

---
updated-dependencies:
- dependency-name: michelf/php-markdown
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 05:08:09 +02:00
dependabot[bot] 75b3196b6e Bump phpmailer/phpmailer from 6.6.3 to 6.6.4 in /src
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.3 to 6.6.4.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.6.3...v6.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-23 09:49:14 +00:00
dependabot[bot] b7b68b46b6 Bump phpmailer/phpmailer from 6.6.2 to 6.6.3 in /src
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.2 to 6.6.3.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.6.2...v6.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 09:51:10 +00:00
dependabot[bot] 0f916c6d6b Bump phpmailer/phpmailer from 6.6.0 to 6.6.2 in /src
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.0 to 6.6.2.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.6.0...v6.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 09:46:15 +00:00
Yağızhan Burak Yakar ff197210d8 Follow-up 2022-05-18 20:23:15 +03:00
Yağızhan Burak Yakar 0c1db114aa Rename bb-vendor to vendor 2022-05-18 20:20:13 +03:00
Yağızhan Burak Yakar 2ce51936a0 Fix license code 2022-05-18 18:43:44 +03:00
Yağızhan Burak Yakar 1b7069dd19 Minor changes and some rebranding 2022-05-18 18:36:22 +03:00
Andrey Pavlenkoandandpavlenko 9b474dee89 Bump to Twig 3 (#1264)
* Bump to Twig 3 and update templates

* Update composer.lock

* Fix test Box\Mod\System\ServiceTest::testrenderStringTemplate

Co-authored-by: andpavlenko <lance@xosting.net.ua>
2022-04-09 11:02:17 +03:00
andpavlenko f4c4f6bac7 Mirgate to PSR12 and other small fixes 2022-04-01 09:32:55 +00:00
dependabot[bot] ce5e4b74ea Bump phpmailer/phpmailer from 6.5.4 to 6.6.0 in /src
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.5.4 to 6.6.0.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.5.4...v6.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:17:31 +00:00
dependabot[bot] 7349a26dde Bump phpmailer/phpmailer from 6.5.3 to 6.5.4 in /src
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.5.3...v6.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 01:13:36 +00:00
Timothy Webb c31d9b3efe Updated requirements for psr/log and symfony/deprecation-contracts 2022-01-31 09:33:18 -05:00
Timothy Webb e8311d5ff3 Completed composer update to resolve lock file issue. 2022-01-31 09:23:18 -05:00
Timothy Webb 13df26eee4 Added dependency requirements of guzzle and whoops. 2022-01-31 09:04:55 -05:00
dependabot[bot] e6355cf3c3 Bump squizlabs/php_codesniffer from 3.0.1 to 3.6.2 in /src
Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.0.1 to 3.6.2.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.0.1...3.6.2)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 12:08:26 +00:00
Timothy Webb 52359876f7 Updated composer.json for phpcodesniffer. 2022-01-27 23:38:17 -05:00
Timothy Webb 1eecbc9527 Updated composer 2022-01-27 22:37:17 -05:00
Timothy Webb ec2fe7e9f5 Updated composer for package dependences and updates for phpcodesniffer due to vunerability. 2022-01-27 22:33:00 -05:00
Timothy Webb 6c0eb522a0 Removed flip/whoops requirements due to security code fix for phpcodesniffer 2022-01-27 22:21:50 -05:00
Yağızhan Burak Yakar 975de817d4 Merge pull request #1100 from londry/maintenance-mode
🐎 Add feature [Maintenance Mode]
2021-12-04 09:25:36 +03:00