Commit Graph
3713 Commits
Author SHA1 Message Date
dependabot[bot] 62ba0612d8 Bump php-actions/phpunit from 3 to 9 (#1205)
Bumps [php-actions/phpunit](https://github.com/php-actions/phpunit) from 3 to 9.
- [Release notes](https://github.com/php-actions/phpunit/releases)
- [Commits](https://github.com/php-actions/phpunit/compare/v3...v9)

---
updated-dependencies:
- dependency-name: php-actions/phpunit
  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-05-02 06:50:06 +02:00
Adam Daley 778e40f461 Update Github workflows (#1203)
* Update labeler workflow

Update labeler workflow to remove old labels and paths, fix path patterns, and include more labels.

* Update release drafter workflow config

Update the release drafter workflow config to remove autolabeler options as unnecessary and currently broken.

* Update Dependabot workflow config

Update Dependabot workflow config with new Composer manifests location.

* Update spellcheck workflow

Update spellcheck workflow to change filename, also run on push, and to only check changed files.

* Merge PHP build and tests into one PHP CI workflow

* Update CKEditor workflow

Update CKEditor workflow to change file name and to only run on repos owned by the FOSSBilling organisation.

* Fix Preview double zip issue
2023-05-02 05:40:34 +01:00
Belle Aerni 9e8d196ebb Prevent float to int conversion warning (#1204)
In recent versions of PHP, converting from a float to an int causes deprecation warnings. This PR cleans up a situation I came across where that was happing.
2023-05-02 00:46:04 +02:00
Belle Aerni d9e69d4146 Implement a custom autoloader (#1194)
* Implement a custom autoloader

* Remove unreachable line

* Spelling

* I missed that

* Just use the latest version of PHPStan

* Also setup the autoloader in the installer

* Implemented classmap capabilities

* Remove debug line, add PHPDocs

* Typo 7 removing dead code

* Fix the installer after the most recent commit

* Remove outdated installation steps

And link to the website instead

* Excuse me. Formatting please?
2023-05-01 13:19:55 -07:00
Yağızhan 950e4dccef Type hinting the DI methods and variables (#1201) 2023-05-01 21:01:35 +03:00
Yağızhan a3369124ea Look for PATH_INFO (#1197) 2023-05-01 06:22:04 -07:00
Belle Aerni b3f7e155c3 Fix product order not respecting configured priority (#1195) 2023-05-01 06:03:49 -07:00
dependabot[bot] 3f76eed9a1 Bump apexcharts from 3.39.0 to 3.40.0 (#1198) 2023-05-01 10:27:58 +00:00
dependabot[bot] 1dfaf4d69c Bump postcss-loader from 7.2.4 to 7.3.0 (#1199) 2023-05-01 10:27:57 +00:00
Yağızhan 884e66aa4b Removed getSettingsRoutes & hasSettingsRoutes (#1196) 2023-05-01 13:27:39 +03:00
Adam Daley e43069026d Bump PHPStan action version to latest (#1200) 2023-05-01 12:23:36 +02:00
Adam Daley 053f22a8bb Remove Box DI class in favour of native dependencies (#1193) 2023-04-30 08:47:52 +01:00
Belle AerniandAdam Daley e3d6bc9ad9 Introduce a cspell workflow (#1192)
* Introduce a cspell workflow

* Update cspell.yml

* Update cspell.yml

* Why is it seemingly ignoring the config?

* Waiit a min

* Fixed a bunch of spelling mistakes

* And set it back to incremental mode

* That is actually supposed to be spelled wrong..

Because BoxBilling :)

* Capitalization

* I swear I fixed this as well

* Update cspell.json

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2023-04-30 00:05:25 -07:00
Adam Daley e3967dfe96 Move composer files to project root (#1191) 2023-04-30 07:17:06 +01:00
YağızhanandAdam Daley 0392fa8c44 Central Alerts System (#1143)
* +Central Alerts System

* Added a link to the pull request

* Bugfix

* Refactored to use symfony/cache

* Reverted the database patch

* Update foss-update.php

* Reverted the table structure

* Restore src/install/sql/structure.sql

* Fixed the HTTP client

* Restore src/foss-update.php

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2023-04-29 13:07:51 -07:00
Belle AerniandAdam Daley ed404202a6 Remove broken and poorly implemented feature (#1190)
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2023-04-29 12:58:29 -07:00
Belle Aerni 273dc3bf65 Fix load.php and minor error handler issues (#1188)
* Fix load.php and minor error handler issues

* Re-enable the installer check

* Final few fixes
2023-04-29 20:56:14 +01:00
Yağızhan 03dc677304 Fix for SEF-enabled instances (#1189) 2023-04-29 12:54:09 -07:00
Yağızhan 54f4f40f2c Removed tests for the Zend Framework (#1187) 2023-04-29 13:46:36 +01:00
Belle Aerni fbb3478ebb Fix Orderbutton JS error (#1186) 2023-04-29 13:45:15 +01:00
Yağızhan ef7e060525 Implemented symfony/cache (#1184) 2023-04-29 14:38:53 +03:00
Belle Aerni d2e1a6434e A few small fixes (#1185) 2023-04-29 10:43:29 +02:00
Belle Aerni 47dffabac2 Replace the error page and start work on #195 (#1006)
* Redesigned error page + specialized error messages

* Improvements / fixes to strings
2023-04-28 14:20:14 -07:00
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