Commit Graph
5740 Commits
Author SHA1 Message Date
Yağızhan b3f48293fa Added types and fixed a typo (#1176)
* Added types and fixed a typo

* Types

* Types

* Types

* Update ExtensionManager.php
2023-04-28 08:14:20 -07:00
dependabot[bot] 736ab30709 Bump webpack from 5.80.0 to 5.81.0 (#1181)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-28 16:09:55 +03:00
dependabot[bot] 2d75668981 Bump imask from 6.6.0 to 6.6.1 (#1182)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-28 16:09:18 +03:00
dependabot[bot] 2a11f3c285 Bump cypress from 12.10.0 to 12.11.0 (#1183)
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.10.0 to 12.11.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.10.0...v12.11.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-28 13:02:14 +02:00
Adam Daley e047cd86d9 Fix links to client emails (#1178)
Update Client module template to fix links to emails sent.
2023-04-28 09:17:24 +02:00
Adam Daley 23858386e9 Clean up loader (#1177) 2023-04-28 07:29:30 +01:00
Belle Aerni 19277fbbcf Add generic loader support to the API wrapper (#1179)
* API Wrapper: show a spinner (loader)

* Whoops - that doesn't need to be there

* Improve the loader behavior / options
2023-04-28 07:09:54 +01:00
Adam Daley 3ec5462c2b Update System update message to link to updater (#1175)
* Update System update message to link to updater

Update the System module to provide a link to the updater in the update available message. Also update admin template to permit passing arbitrary HTML (such as links) in system messages.

* Improve system message handling with optional URL

Update System module message handling, and admin template, to better handle an optional URL for each message.
2023-04-28 01:32:35 +01:00
Belle Aerni 828c690c0b Remove the _sendmail function from the installer (#1173) 2023-04-27 19:06:00 +02:00
Adam Daley 1215674a99 Update WHM manager to use default port (#1172)
Use WHM server manager to use the default port when none set.
2023-04-27 18:18:08 +03:00
John @ S4 d0a3de04cc Update README.md (#1171) 2023-04-26 10:27:29 -07:00
dependabot[bot] dc7265b776 Bump sass from 1.62.0 to 1.62.1 (#1170) 2023-04-26 13:53:41 +01:00
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