Guillaume ARNOUX and Jaap Marcus
a0323e8da2
🎨 Maintenance page renovation ( #2102 )
...
update maintenance page
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com >
2024-02-03 14:07:59 +01:00
Belle Aerni
b8451313c3
Fix WHM for access hash usage ( #2115 )
...
Update Whm.php
2024-02-02 14:51:26 -08:00
Belle Aerni
6e438b1a59
Add a option to disable public tickets ( #2113 )
...
* Add a option to disable public tickets
* Replaced legacy test, written a new one
* Fix an unrelated error that appeared in the error log
2024-02-02 12:18:46 -08:00
Belle Aerni
1d1c1745f4
PDF Fixes ( #2111 )
...
* Misc PDF generation fixes
* Set the default font
* Ensure the footer can't cover the breakdown
2024-02-01 15:01:05 -08:00
Guillaume ARNOUX and Jaap Marcus
d22b7b224d
✨ Add prefix for generated users (continuation) ( #2101 )
...
* user prefix for overrided methods (see #1378 )
* warning about cpanel on config page
* update maintenance page
* Revert "update maintenance page"
This reverts commit 5ce7f5f522 .
* add warning about usernames handling
* fix typo
---------
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com >
2024-01-31 09:15:41 +01:00
Belle Aerni
4d3926720f
Fix the password length field while adding a server ( #2108 )
2024-01-30 16:48:00 -08:00
FOSSBilling Bot and FOSSBilling Bot
21b4422921
Apply PHP Code Styling & Quality Changes ( #2107 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2024-01-30 15:38:57 -08:00
Belle Aerni
b729da69fc
Improve CLI check, added PHP dev server to sentry helper ( #2105 )
2024-01-28 13:32:25 -08:00
FOSSBilling Bot and FOSSBilling Bot
33cfc4f793
Apply PHP Code Styling & Quality Changes ( #2097 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2024-01-24 05:36:10 -08:00
Belle Aerni
c94730c7d5
Strip the CSRF Token before calling API endpoints ( #2094 )
2024-01-21 21:02:43 -08:00
Belle Aerni
0044b2ac99
Fix some incorrect typehints ( #2093 )
...
* Fix incorrect typehints
* Also fix the default value I set in my last PR
* I missed this..
2024-01-21 20:44:56 -08:00
Belle Aerni
5b919c17d8
Added some debugging for session fingerprinting ( #2092 )
...
* Added some debugging for session fingerprinting
* Fix wording
2024-01-21 20:22:59 -08:00
Belle Aerni
ebe3083741
Revert the added server manager typehints ( #2091 )
2024-01-21 19:24:20 -08:00
Belle Aerni
cca0515491
Transfer carts when logging in ( #2083 )
...
* Transfer the cart when logging in
* Wrote a test for it
* This should at least fix one of the tests
* Oops
* Wrong spot...
* Ah-ha!
2024-01-21 16:00:41 +01:00
Belle Aerni
7b77426baf
Ignore ext config / uninstall errors in the update patcher ( #2089 )
2024-01-19 13:23:03 -08:00
Belle Aerni
bc72de3103
Improve clarity when marking unpaid invoices without a set gateway ( #2088 )
...
* Improve clarity when marking unpaid invoices without a set gateway
* Remove the quotes
* Update AdminTest.php
2024-01-19 13:11:18 -08:00
Christoph Schlaepfer
6efa361c2d
Fixed missing Semi-Colons ( #2085 )
2024-01-18 05:23:01 -08:00
Christoph Schlaepfer
a1625c07ea
Fixes an error when saving a plaintext textarea field when CKEditor is loaded and there are no textareas it initialized. ( #2084 )
...
Fixes Issue with textarea fields, if ckeditor is loaded but there is not textarea with the class it has assigned.
2024-01-18 00:58:58 -08:00
Belle Aerni
8f4d0d4cac
More tests and CI improvements ( #2078 )
...
* Wrote a few more tests, improvements
* Ran Rector & PHP-CS-Fixer
* Append a capital letter to the test client passwords
* Minor tweaks
* Display more info after the tests run
* Oops, I forgot to set the dir
* Fix cron behavior for test env, dropped legacy tests
* Rename the empty test suite so PHPUnit ignores it
* Update cspell.json
* Minor tweaks to the tests
* Fixes
2024-01-17 18:11:45 -08:00
renovate[bot]
b6f16956aa
Update CKEditor to v41 (major) ( #2080 )
...
Update CKEditor to v41
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 02:12:39 +01:00
Christoph Schlaepfer and Christoph Schläpfer
0fde9e3843
Changed ID to Client-ID where applicable ( #2077 )
...
* Changed ID to Client-ID where applicable
* Removed dash
---------
Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch >
2024-01-17 11:08:15 +01:00
Belle Aerni
76b32a6026
Feat: allow selection of the default network interface ( #2065 )
...
* Feat: allow selection of the default network interface
* Update cspell.json
* Wrote some tests, moved the setting to the config file
* Cleanup, fixes, include Sentry in the bind setting
* Use JS to update the IP rather than reload, minor tweaks
* UI tweaks
* Removed leftover incomplete sentence, mention interface names
2024-01-17 01:46:32 -08:00
Robert Thomas
1bea222a26
Refactor Server Library + Improve Docs ( #2063 )
...
* Refactor `Server` library component + improve docs
* Refactor `Server` library component + improve docs
* More meaningful documentation
* Allow null strings
* Generate new PHPStan baseline
* Address comments + Rector and PHP-CS-Fixer
* Handle converting package bandwidth and disk quota into bytes
* Remove previous PHPStan baseline change
* Fix `password_length` bug caused by previous PR
It seems that the database code automatically converts camel case (`passwordLength`) into snake case (`password_length`)
* Rectify migration
* Resolve merge issue
2024-01-16 04:40:22 -08:00
FOSSBilling Bot and FOSSBilling Bot
8f3740b691
Apply PHP Code Styling & Quality Changes ( #2073 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2024-01-16 04:25:38 -08:00
Belle Aerni
b061d5da04
Implemented a new class for config management ( #2066 )
...
* Implemented a new class for config management
* Run Rector & PHP-CS-Fixer
* Spelling
* Pointed a bunch of code to the new class
* Fix tests, removed 2 broken ones that did nothing
* Quick run of PHP-CS-Fixer
* Fixed issues noticed in self review
* Updated remaining old methods. Fixed minor error page issue
* Very minor code tweak
* Fixes, added a related test
* Check for OPCache functions being defined
* I don't think this timeout is needed
2024-01-15 14:12:53 -08:00
Jaap Marcus
946da4fa8e
[Hestia] Implement Rule for valid username ( #2071 )
...
Implement Rule for valid username
https://github.com/hestiacp/hestiacp/pull/4195
2024-01-15 02:56:36 -08:00
Belle Aerni
1b0fba1922
Various additional tests ( #2069 )
...
* Various additional tests
* Fixes
* More fixes
* Fixed my other mistakes
* Final fix
2024-01-15 00:46:19 -08:00
Belle Aerni
ccc97a3ec9
Initial implementation of CI against a live FOSSBilling Install ( #2067 )
...
* Rename tests to tests-legacy
* Groundwork for live tests
* Somewhat working tests on a live instance
* Hmmmmmm
* Fix
* Fixed the other bug
* Added a handful of various tests
* Typos, all these are admin endpoints
* Bypass this check for testing envs
* Disable it for now
* Mini cleanup
* Cleanup from debugging, ran PHP-CS-Fixer
2024-01-14 22:51:32 -08:00
Belle Aerni
7bb98f5ffd
Re-run PHP-CS-Fixer and (Hopefully) Fix Rector for GHA ( #2061 )
...
* Changed Rector parallel config. Hoping to resolve GHA issue
* Re-run Rector and PHP-CS-Fixer
2024-01-12 16:43:45 -08:00
Robert Thomas
a69cdf7350
Implement passwordLength field for service hosting generated accounts ( #2040 )
...
* Implement `passwordlength` field for service hosting generated accounts
Fix testing DirectAdmin connections (it previously did nothing)
* Revert unintended change from the previous PR
* Fix changes not saving to db
* Fix `passwordlength` not showing everywhere
* Remove stray debug line
* Fix: passwords being incorrectly set to 7 asterisks when an order is uncancelled
* Requested changes + typo fix
* Include `passwordlength` as ignored term
* Fix typo change oversight
* Minor code clarity improvements
* Type safety for the `passwordlength` and `port` fields
* Fallback to the original model value
* Remove default value for new servers, to show the placeholder
* Improve customer UI
Increase padding for service hosting management tabs
Include missing badge styling for `canceled` orders
* More consistent button colours for orders
* Rename `passwordlength` to `passwordLength`
Remove `activate` and `uncancel` tests for now as they don't really work
* Remove spelling ignore for `passwordlength`
* Restore missing `$httpClient` variable
* Resolve comments
* More thorough port validation
* Fix errors caused by fixing the previous merge conflicts through the GH web interface
2024-01-13 00:35:06 +01:00
Jaap Marcus
c8cc0af02e
Make Curl mandatory again ( #2060 )
...
HTTP Client still depends on PHP Curl to be present
2024-01-09 15:39:01 -08:00
Belle Aerni
1bec1acabc
Wording consistency ( #2055 )
2024-01-08 17:58:06 -08:00
Belle Aerni
da3cf52f86
Minor front-end improvements & fixes ( #2052 )
...
Front-end improvements & fixes
2024-01-08 14:09:43 +01:00
Belle Aerni
fca565522b
Prevent the generation of invalid usernames for WHM ( #2054 )
...
* Prevent the generation of invalid usernames for WHM
* Missed a "substr" there
* Ensure we aren't making the usernames longer
* Fixed my typo
2024-01-08 04:32:28 -08:00
Belle Aerni
b346aaeda2
Minor logging improvements & session class cleanup ( #2053 )
...
* Misc session class cleanup + fingerprint config option
* Send email errors to their own channel
* This is an informative exception
2024-01-08 04:27:44 -08:00
Belle Aerni
32d011225b
Rector & PHP-CS-Fixer Improvements ( #2047 )
...
* Added the rector cache to the action
* Enabled PHP-CS fixer for the tests & library folder
* Use the PHP-CS-Fixer Cache
* Fix the tests
* Ensure the Sentry placeholder isn't messed up from CS changes
* Typo..
2024-01-08 00:10:00 +00:00
Robert Thomas
e6a93dc3a8
Improved Customer Mobile Navigation ( #2031 ) + Auth Flow Design ( #2044 )
...
Moved sidebar navigation buttons into top menu for mobile users
Improved auth flow buttons
2024-01-06 11:33:30 -08:00
Belle Aerni
c054d6e2fa
Added a basic blacklist for error reporting ( #2032 )
...
* Introduce a blacklist system for error reporting
* Spelling
2024-01-05 17:08:47 +00:00
Robert Thomas
e62e582d2f
Minor: Enforce better consistency in the customer dashboard ( #2039 )
...
* Enforce better consistency in the customer dashboard
* Update mod_servicehosting_manage.html.twig
Improved UX (clarity)
2024-01-04 10:49:33 -08:00
FOSSBilling Bot and FOSSBilling Bot
a86da9ad90
Apply PHP Code Styling & Quality Changes ( #2038 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2024-01-04 05:27:59 -08:00
Belle Aerni
53fcee87b3
Extend the language cookie expiration date ( #2037 )
2024-01-03 21:06:22 -08:00
Belle Aerni
cf0cc98d76
Fixed exception placeholders ( #2036 )
2024-01-03 20:22:39 -08:00
FOSSBilling Bot and FOSSBilling Bot
384a411f0f
Apply PHP Code Styling & Quality Changes ( #2034 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2024-01-03 15:04:39 -08:00
Belle Aerni
f71f972d7a
Define PATH_LOG in the installer ( #2035 )
2024-01-03 15:02:46 -08:00
Anyx
3f9fdcce94
Enable custom domain area by default when domain registration is disabled ( #2033 )
...
Enable custom domain area when registration is disabled
2024-01-02 05:11:30 +01:00
Belle Aerni
15840d5780
Resolved certain PGs logging out clients ( #2030 )
...
* Resolved certain PGs logging out clients
* Update index.php
* Also fixed the thank you URL and switched PayPal to it
* Adjusted the thank you page
2023-12-31 00:58:04 -08:00
2cfc00a42a
Fix how negative prices are formatted ( #2029 )
...
* Fix how negative prices are formatted
* Doing it better
* Remove unneeded assignment
* Simplified a bit
* Minor formatting change
Co-authored-by: Anyx <anyxp@protonmail.com >
---------
Co-authored-by: Anyx <anyxp@protonmail.com >
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com >
2023-12-30 20:41:28 +01:00
Belle Aerni
e48fe84efd
We shouldn't be converting the prices on PDFs ( #2027 )
...
We shouldn't be concerting the prices on PDFs
2023-12-30 06:48:33 -08:00
Belle Aerni
c163c89a24
Prevent undefined array key errors ( #2024 )
...
Missed this in the initial version
2023-12-28 21:56:24 -08:00
Belle Aerni
ec4210997d
Skip the queue when sending email verification emails ( #2023 )
2023-12-28 18:06:12 -08:00