Commit Graph
2312 Commits
Author SHA1 Message Date
FOSSBilling BotandFOSSBilling Bot 43874cab1e Update CKEditor and Related Dependencies (#1258)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-05-23 18:58:27 +01:00
FOSSBilling BotandFOSSBilling Bot bf15567cd4 Update CKEditor and Related Dependencies (#1254)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-05-23 14:14:10 +03:00
Belle Aerni 892f9a1485 Fix the Namecheap registrar config bug (#1253) 2023-05-23 03:12:36 -07:00
Belle Aerni 62f6feaef7 Minor improvements to the ticket view (#1251)
* Minor improvements to the ticket view

* Also make those only one table body

Makes the stripes more consistent and imo looks better this way
2023-05-20 14:20:50 +01:00
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] 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
Yağızhan 6553716827 Update partial_extensions.html.twig (#1230) 2023-05-10 22:20:41 +02: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
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
Adam Daley e54569d2cd Introduce namespaces and strict typing for FOSSBilling library classes (#1206) 2023-05-04 01:02:06 +01: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
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
Yağızhan 884e66aa4b Removed getSettingsRoutes & hasSettingsRoutes (#1196) 2023-05-01 13:27:39 +03: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
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] 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
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
Adam Daley d4e4207d83 Update locations with extension manager naming (#1169)
Update remaining locations with new `extension_manager` naming.
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