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
This commit is contained in:
Robert Thomas authored and GitHub committed 2024-01-16 04:40:22 -08:00
1 parent 8f3740b691
commit 1bea222a26
14 files changed
+2759 -1542

No files matched your search

+1 -1
View File
@@ -1079,7 +1079,7 @@ CREATE TABLE `service_hosting_server` (
`username` text,
`password` text,
`accesshash` text,
`passwordLength` tinyint DEFAULT NULL,
`password_length` tinyint DEFAULT NULL,
`port` varchar(20) DEFAULT NULL,
`config` text,
`secure` tinyint(1) DEFAULT NULL,