3678 Commits
Author SHA1 Message Date
Adam Daley d4e4207d83 Update locations with extension manager naming (#1169)
Update remaining locations with new `extension_manager` naming.
0.4.3
2023-04-26 02:46:56 +02:00
Belle Aerni b7308405cd Update the patch to remove old classes (#1168) 2023-04-26 00:25:47 +01:00
Adam Daley a3764ea435 Update Product promotion handling to fix various bugs (#1167)
Update the Product service promotion handling to fix various errors. Resolves #1055.
2023-04-25 15:51:07 -07:00
Belle Aerni c5c85d7e97 Fix the MassMailer error (#1166)
* Fix the MassMailer error

* Shh. There was no extra space here
2023-04-25 21:17:43 +02:00
Adam Daley e01c601d6b Fix SQL error on cancelling invoice (#1162)
* Fix SQL error on cancelling invoice

Update Invoice service to check for empty string when setting `gateway_id` to fix SQL error.

* Update Invoice `gateway_id` check

Update Invoice `gateway_id` check to simplify by just checking for `empty()`.
2023-04-25 11:29:51 -07:00
Adam Daley 04dd00259b Update Currency service to check for no API key (#1165)
Update the Currency service to check if Currencylayer API key null to prevent undefined array key error.
2023-04-25 11:28:49 -07:00
Adam Daley 93d76996a3 Fix owndomain TLD handling to include period (#1163)
Fix handling of owndomain TLDs to always include the leading period (.), as is required.
2023-04-25 06:08:15 +02:00
Adam Daley 4a4b9dbf64 Update DirectAdmin server Manager with various fixes (#1161)
Update DirectAdmin server manager to fix username generation, password updating, and some minor other improvements.
2023-04-25 06:06:13 +02:00
Adam Daley 795d59b752 Fix error on client creation when no group selected (#1164)
Fix SQL error when creating a new client with no group selected by checking `group_id` for an empty string.
2023-04-25 06:04:24 +02:00
Adam Daley e86a681004 Revert "Redact commonly used credential parameters during logging (#1154)" (#1160)
This reverts commit 650136070e.
2023-04-25 06:03:31 +02:00
Adam Daley 404dc9caae Fix server Manager extension logging (#1159)
Update the DI to set the logger on server manager object creation to fix manager inability to set logger as no access to DI.
2023-04-24 22:49:54 +02:00
Jaap Marcus a712dbf84d Update GOVERNANCE.md (#1156)
Added @admdly
2023-04-24 06:25:15 -07:00
dependabot[bot] a2d3298ff5 Bump @melloware/coloris from 0.19.0 to 0.19.1 (#1157) 2023-04-24 13:27:33 +03:00
dependabot[bot] 5c5f4b4847 Bump webpack-cli from 5.0.1 to 5.0.2 (#1158) 2023-04-24 13:27:16 +03:00
Adam Daley 7b5d12be2b Remove Box\Config in favour of native functionality (#1150) 2023-04-24 10:31:47 +01:00
Yağızhan 650136070e Redact commonly used credential parameters during logging (#1154) 2023-04-23 22:38:29 +03:00
Adam Daley 67fd972efd Repace DI http-client with direct calls to symfomy/http-client (#1153) 2023-04-22 22:29:42 -07:00
YağızhanandAdam Daley 63d5847da2 New ExtensionDirectory class (#1141)
* Caught a typo

* New ExtensionDirectory class

* Tests

* Tests and error handling

* Stuff

* Literally the same outcome anyway. Will write this in the future.

* Removed tests for a function that does nothing

* "stable" -> "release"

* Fix misnamed exception errors

* Update class name to ExtensionManager

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2023-04-22 23:45:24 +01:00
Adam Daley 7d7183e4fe Fix Box\Update by replacing file_get_contents (#1148)
Replace Box\Update file_get_contents with symfony/http-client and add better error handling.
2023-04-22 23:17:43 +01:00
Yağızhan 191233ff86 Renamed Box_Requirements and Box_Version (#1146)
* Renamed Box_Requirements and Box_Version

* Fixed the reference in the GitHub workflow
2023-04-22 18:55:48 +02:00
Yağızhan a406876cb7 Minor PHPDoc update (#1145)
* Dropped Box_FileCacheException

* Minor PHPDoc update
2023-04-22 17:40:11 +01:00
Belle Aerni c4036473fc Minor improvements to the locale detection (#1140) 2023-04-22 09:32:07 -07:00
Belle Aerni 0c822244d7 Ensure the next invoice # is interpreted as an int (#1139) 2023-04-22 09:31:39 -07:00
Yağızhan 7be4cce17b Dropped Box_FileCacheException (#1144) 2023-04-22 18:16:37 +02:00
Yağızhan 98b8a804ab Minor changes to the extension directory templates (#1130) 2023-04-22 14:24:52 +03:00
Adam Daley 69193e402f Remove Box/Zip in favour of library (#1123)
Remove custom Box/Zip class in favour of nelexa/zip library.
2023-04-22 07:21:34 +02:00
Adam Daley 511898ff8f Fix ResellerClub registrar HTTP response handling error (#1137)
Update ResellerClub registrar extension to fix a bug in handling of HTTP responses. Resolves #1132.
2023-04-22 07:20:47 +02:00
Adam Daley 52bfaca190 Fix HTTP response error code bug (#1136)
Update index to fix bug in error code handling introduced in #1122 by restoring default $_GET value for errcode to null.
2023-04-21 20:26:20 -07:00
Yağızhan 57444aa0c7 A little overhaul for the SEO module (#1030) 2023-04-21 09:57:02 -07:00
Adam Daley ca67aeb44f Refactor request handling to use native functionality (#1122)
Refactor request handling to remove custom library/Box/Request class where possible and instead use native PHP functionality.
2023-04-21 15:07:59 +02:00
dependabot[bot] 919178327b Bump @melloware/coloris from 0.18.0 to 0.19.0 (#1134)
Bumps [@melloware/coloris](https://github.com/melloware/coloris-npm) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/melloware/coloris-npm/releases)
- [Commits](https://github.com/melloware/coloris-npm/compare/0.18.0...0.19.0)

---
updated-dependencies:
- dependency-name: "@melloware/coloris"
  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-21 13:54:50 +03:00
Belle Aerni 3c0ef5b4da Remove a few more useless classes (#1129)
* Remove a few more useless classes

* Fix a small typo

* Fix that test

Unless I am missing something, this must have never worked correctly.
2023-04-21 02:35:21 -07:00
Belle Aerni b96caa2cd8 Remove the FTP layer (#1128) 2023-04-20 12:27:10 +02:00
dependabot[bot] c4fcc30347 Bump postcss from 8.4.22 to 8.4.23 (#1127)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.22 to 8.4.23.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.22...8.4.23)

---
updated-dependencies:
- dependency-name: postcss
  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-20 03:22:29 -07:00
dependabot[bot] 4244437a54 Bump webpack from 5.79.0 to 5.80.0 (#1126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 13:21:22 +03:00
dependabot[bot] 594e0f5a63 Bump @symfony/webpack-encore from 4.2.0 to 4.3.0 (#1125)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 13:20:58 +03:00
Belle Aerni 861c32ab9a Display a user-friendly error message if proc_open is disabled. (#1124) 2023-04-20 10:27:32 +02:00
Adam Daley f5fc940ae6 Update Product links fields to be read only (#1121) 2023-04-19 21:33:46 -07:00
FOSSBilling BotandFOSSBilling Bot 3c6dec8e04 Update CKEditor and Related Dependencies (#1120)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-04-19 14:26:38 +02:00
Belle Aerni 6c872d01f6 Allow server manager-defined username generation (#1118) 2023-04-19 11:09:08 +01:00
dependabot[bot] 018548f691 Bump phpstan/extension-installer from 1.2.0 to 1.3.0 in /src (#1119)
Bumps [phpstan/extension-installer](https://github.com/phpstan/extension-installer) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/phpstan/extension-installer/releases)
- [Commits](https://github.com/phpstan/extension-installer/compare/1.2.0...1.3.0)

---
updated-dependencies:
- dependency-name: phpstan/extension-installer
  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-19 11:07:22 +01:00
dependabot[bot] 66cd2f5e5b Bump cypress from 12.9.0 to 12.10.0 (#1117)
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.9.0 to 12.10.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.9.0...v12.10.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-04-18 17:04:24 -07:00
Adam Daley a2abdbddfa Refactor Box/Tools to remove unnecessary functions (#1115)
* Refactor Box/Tools to remove unnecessary functions

Refactor Box/Tools to remove functions which essentially duplicate PHP functionality, or provide a thin wrapper around such functions.

* Move config migrate/update to relevant class

Move config update functionality from Box/Tools to Box/Update.

* Move Gravatar function to class where used

Moved Gravatar function to Twig filter where it is used, rather than in a custom Box/Tool function.
2023-04-17 20:48:49 -07:00
Adam Daley 1360b4d81c Move system update functionality to System module (#1116)
Move system update, and config update, config migration/update to relevant System module.
2023-04-17 20:48:28 -07:00
Jaap Marcus f8c59e21b0 Default time out for the https check is 60 sec (#1071)
That is way to long for this check
2023-04-17 17:00:43 -07:00
dependabot[bot] bca9a83c9c Bump postcss from 8.4.21 to 8.4.22 (#1111)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.22.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.21...8.4.22)

---
updated-dependencies:
- dependency-name: postcss
  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-17 12:51:21 +02:00
dependabot[bot] e568150da9 Bump apexcharts from 3.37.3 to 3.39.0 (#1113)
Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 3.37.3 to 3.39.0.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](https://github.com/apexcharts/apexcharts.js/commits)

---
updated-dependencies:
- dependency-name: apexcharts
  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-17 12:51:12 +02:00
dependabot[bot] 8a4b614cbd Bump imask from 6.5.1 to 6.6.0 (#1112)
Bumps [imask](https://github.com/uNmAnNeR/imaskjs) from 6.5.1 to 6.6.0.
- [Release notes](https://github.com/uNmAnNeR/imaskjs/releases)
- [Commits](https://github.com/uNmAnNeR/imaskjs/compare/v6.5.1...v6.6.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-17 12:50:52 +02:00
Belle Aerni 16c929f5e7 Automatically select locale based on browser info (#1109)
* Detect browser locale

* Workaround for two char locales being detected
2023-04-16 19:28:03 +02:00
Belle Aerni 0a5fb92b05 Various improvements to translatable strings (#1108)
* Various improvements to translatable strings

* Tests
2023-04-15 03:51:18 -07:00