Commit Graph
4414 Commits
Author SHA1 Message Date
renovate[bot] 2f79ca91c8 Update dependency cypress to v13.6.3 2024-01-17 01:23:08 +00: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 BotandFOSSBilling Bot 8f3740b691 Apply PHP Code Styling & Quality Changes (#2073)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2024-01-16 04:25:38 -08:00
renovate[bot] 7af50bbdd5 Update dependency friendsofphp/php-cs-fixer to v3.47.0 2024-01-16 03:07:45 +00:00
renovate[bot] ade06f7754 Update dependency rector/rector to v0.19.1 2024-01-16 00:06:12 +00: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
renovate[bot] 12eb5b7b3f Lock file maintenance 2024-01-15 10:57:56 +00: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 83455bab35 Update labeler.yml (#2068) 2024-01-14 22:56:12 -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
renovate[bot] 7c1762b811 Update dependency phpunit/phpunit to v10.5.7 2024-01-15 01:06:58 +00:00
renovate[bot] 00950f58fa Update dependency stripe/stripe-php to v13.9.0 (#2062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-14 10:53:09 +01:00
renovate[bot] 47c931afaf Update dependency phpunit/phpunit to v10.5.6 2024-01-14 01:39:19 +00: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 ac0593d5e5 Update rectorAndCs.yml (#2059) 2024-01-09 07:40:51 -08:00
renovate[bot] e3af8d98f3 Update dependency rector/rector to ^0.19.0 (#2056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 07:34:40 -08:00
Belle Aerni 1bec1acabc Wording consistency (#2055) 0.6.9 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
renovate[bot] 76e04dd739 Lock file maintenance 2024-01-08 00:11:27 +00: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
renovate[bot] bb630852d9 Update dependency stripe/stripe-php to v13.8.0 (#2046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-07 01:53:22 +01: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
renovate[bot] b103526069 Update CKEditor to v39.5.1 2024-01-06 01:49:58 +00: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 BotandFOSSBilling Bot a86da9ad90 Apply PHP Code Styling & Quality Changes (#2038)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
0.6.8
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
renovate[bot] 50dde58963 Update dependency friendsofphp/php-cs-fixer to v3.46.0 2024-01-04 00:35:13 +00:00
FOSSBilling BotandFOSSBilling 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
renovate[bot] ade98cacf6 Update dependency sass to v1.69.7 2024-01-03 01:46:05 +00: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
renovate[bot] 6641625f8b Lock file maintenance 2024-01-01 00:42:04 +00: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
0.6.7
2023-12-31 00:58:04 -08:00
renovate[bot] 1d59797693 Update dependency friendsofphp/php-cs-fixer to v3.45.0 2023-12-31 04:50:16 +00:00
renovate[bot] 85e840b5da Update symfony packages to v6.4.2 2023-12-31 00:52:05 +00: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
renovate[bot] 5c465cf0d3 Lock file maintenance 2023-12-29 21:03:48 +00:00
renovate[bot] 36da4758b5 Update dependency friendsofphp/php-cs-fixer to v3.43.1 2023-12-29 20:44:11 +00:00
renovate[bot] f3a9c45be1 Update dependency core-js to v3.35.0 (#2021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-29 12:43:40 -08:00
renovate[bot] 9cbe9f76a1 Update dependency league/csv to v9.14.0 (#2025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-29 12:37:48 -08:00
renovate[bot] 96faf953f2 Update dependency friendsofphp/php-cs-fixer to v3.43.0 2023-12-29 05:58:01 +00:00
Belle Aerni c163c89a24 Prevent undefined array key errors (#2024)
Missed this in the initial version
0.6.6
2023-12-28 21:56:24 -08:00