Commit Graph
5740 Commits
Author SHA1 Message Date
Jaap Marcus 1fae114cd1 Fix: #1243 Change database password for user (#1244)
I don't see a reason why you don't want to update the password for mysql causing issues with login via Cpanel...
2023-05-18 10:43:16 -07:00
dependabot[bot] c71b86d512 Bump webpack from 5.82.1 to 5.83.1 (#1245) 2023-05-18 12:55:54 +01:00
dependabot[bot] e28b188b17 Bump stripe/stripe-php from 10.12.1 to 10.13.0 (#1235)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 14:11:00 +03:00
dependabot[bot] 7667727a35 Bump jquery from 3.6.4 to 3.7.0 (#1234)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 14:01:42 +03:00
dependabot[bot] 49f00c64aa Bump webpack from 5.82.0 to 5.82.1 (#1232) 2023-05-11 16:29:00 +03:00
dependabot[bot] bdd7cce46b Bump phpunit/phpunit from 9.6.7 to 9.6.8 (#1233) 2023-05-11 16:28:30 +03:00
Yağızhan 6553716827 Update partial_extensions.html.twig (#1230) 2023-05-10 22:20:41 +02:00
dependabot[bot] aeea6c0350 Bump cypress from 12.11.0 to 12.12.0 (#1231)
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.11.0 to 12.12.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.11.0...v12.12.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-05-10 14:02:41 +03:00
Belle Aerni 047db38ea2 Update SECURITY.md (#1216)
* Update SECURITY.md

* Also include outdated releases
2023-05-09 20:14:04 -07:00
Belle Aerni 048fd6bc6a Replace composer's dev autoloader with AntLoader (#1228)
* Replace composer's dev autoloader with AntLoader

This way, people don't need to specifically remember to remove dev deps before uploading to a server.

* Move to the tests bootstrap file
2023-05-09 23:32:32 +01:00
dependabot[bot] b8669ac471 Bump rector/rector from 0.15.25 to 0.16.0 (#1227) 2023-05-09 13:08:42 +00:00
dependabot[bot] 6abeea6e9e Bump webpack-cli from 5.1.0 to 5.1.1 (#1225) 2023-05-09 12:31:39 +00:00
dependabot[bot] 74c386816d Bump antcms/antloader from 1.0.1 to 1.0.2 (#1226) 2023-05-09 12:30:27 +00:00
Adam Daley 8708d9d895 Fix error with PHPUnit tests (#1217)
Fix error with PHPUnit tests introduced by changes to `FOSSBilling\Validate` class.
2023-05-08 14:06:09 -07:00
dependabot[bot] 7a6e1a0543 Bump core-js from 3.30.1 to 3.30.2 (#1221) 2023-05-08 11:15:41 +00:00
dependabot[bot] 8f0f1f42ed Bump webpack-cli from 5.0.2 to 5.1.0 (#1222) 2023-05-08 11:15:20 +00:00
Yağızhan d909d77f7e -Unnecessary whitespace in the class headers (#1219) 2023-05-07 13:24:29 -07:00
Yağızhan 412e4a9fbd Standardized the class headers (#1212) 2023-05-06 13:06:17 +01:00
Belle Aerni dded03b41d Replace custom autoloader with AntLoader (#1215)
* Replace custom autoloader with AntLoader

* Update install.php

* Bump antcms/antloader to v1.0.1
2023-05-05 14:17:56 -07:00
dependabot[bot] b4511e3136 Bump twig/intl-extra from 3.5.1 to 3.6.0 (#1213) 2023-05-04 12:22:35 +01:00
dependabot[bot] 55e96cb6cd Bump twig/twig from 3.5.1 to 3.6.0 (#1214) 2023-05-04 10:18:32 +00:00
Adam Daley e54569d2cd Introduce namespaces and strict typing for FOSSBilling library classes (#1206) 2023-05-04 01:02:06 +01:00
dependabot[bot] 0514483c40 Bump webpack from 5.81.0 to 5.82.0 (#1211)
Bumps [webpack](https://github.com/webpack/webpack) from 5.81.0 to 5.82.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.81.0...v5.82.0)

---
updated-dependencies:
- dependency-name: webpack
  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-05-03 21:17:02 +03:00
Adam Daley 97ca2491dd Update Dependabot config to ignore incorrect PHPUnit action versions (#1208)
Update Dependabot workflow config to ignore incorrect action versions due to php-actions/phpunit#49.
2023-05-03 11:13:30 -07:00
Adam Daley 8fdfbb2d0f Update PHP CI workflow with minor corrections (#1209)
* Update PHP CI workflow with minor corrections

* Update README to fix PHP CI workflow badge
2023-05-03 18:04:08 +01:00
Adam Daley 7c755eed6d Revert "Bump php-actions/phpunit from 3 to 9" (#1207) 2023-05-03 17:04:54 +03:00
YağızhanandAdam Daley 4928ebf932 Implemented Monolog (#1155)
* Implemented Monolog

* Doesn't need to look for BB_DEBUG. It won't be logged on prod anyway.

* Doesn't need to be an array

* -Box_LogStream

* Reverted squash

* Fixed a duplicate

* Type hinting

* This got lost in a merge commit

* Kind of distracted today. Good thing squash and merge exists.

* Cleaning

* Rebased composer.json & lockfile

* Enabled the check again

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2023-05-02 09:32:40 +01:00
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