Latest commits for branch 22-mysql-cred-escaping https://codeberg.org/bookstack/system-cli/branch/22-mysql-cred-escaping A simple CLI to manage BookStack instances Tue, 14 Apr 2026 18:33:58 +0200 Added escaping for MySQL config options https://codeberg.org/bookstack/system-cli/commit/019b412d81b5305819df19de892c102657ff08ab Added escaping for MySQL config options Quotes string values and specifically escapes backslashes so they're not misintepreted as special chars in the config. For #22 Dan Brown 019b412d81b5305819df19de892c102657ff08ab Wed, 14 May 2025 12:12:02 +0100 Added test case for mysql usage with special chars https://codeberg.org/bookstack/system-cli/commit/86c680259923ce3675366585842890ca09004e10 Added test case for mysql usage with special chars Updated docker environment to support this. Updated compose volume mapping to support SELinux. Dan Brown 86c680259923ce3675366585842890ca09004e10 Wed, 14 May 2025 11:52:12 +0100 Updated PHP package versions https://codeberg.org/bookstack/system-cli/commit/7ae0f5a03c990c30c2df08d526905084f2af453a Updated PHP package versions Dan Brown 7ae0f5a03c990c30c2df08d526905084f2af453a Wed, 14 May 2025 10:47:57 +0100 Fixed compile consuming more files than desired https://codeberg.org/bookstack/system-cli/commit/e1583768b556dee2b2b9c925fc76c4eed00014bc Fixed compile consuming more files than desired Would add unwanted files to baloon phar sizes. Added check in build also to validate output is under 500kb. Dan Brown e1583768b556dee2b2b9c925fc76c4eed00014bc Wed, 12 Mar 2025 00:06:48 +0000 DownloadVendorCommand: Added check for ZIP file access https://codeberg.org/bookstack/system-cli/commit/2adfc62239a6c507f2553040dcf59c6e08d3553c DownloadVendorCommand: Added check for ZIP file access Dan Brown 2adfc62239a6c507f2553040dcf59c6e08d3553c Tue, 11 Mar 2025 23:42:54 +0000 Altered mysql config passing, fixed some test issues https://codeberg.org/bookstack/system-cli/commit/f9c8d259a9b7cac86b4b5e878e5ee95e545fb172 Altered mysql config passing, fixed some test issues Switched mysql config file use to be an extra file, so that existing system config files can be considered instead of being ignored. Does mean that user config files could take precedance, but hopefully that should not be a big concern. Dan Brown f9c8d259a9b7cac86b4b5e878e5ee95e545fb172 Tue, 11 Mar 2025 16:53:32 +0000 Bumped version and updated readme command list https://codeberg.org/bookstack/system-cli/commit/4b48d9bd24b09ffe3e61d01a6c2a303c627d7a1a Bumped version and updated readme command list Dan Brown 4b48d9bd24b09ffe3e61d01a6c2a303c627d7a1a Tue, 11 Mar 2025 15:51:17 +0000 Added test coverage for DownloadVendorCommand https://codeberg.org/bookstack/system-cli/commit/b48fe53b80e6383d6bd109d6bde1ce95d4e3ac93 Added test coverage for DownloadVendorCommand Dan Brown b48fe53b80e6383d6bd109d6bde1ce95d4e3ac93 Tue, 11 Mar 2025 14:31:32 +0000 Added DownloadVendorCommand https://codeberg.org/bookstack/system-cli/commit/6e6b8f0fdbc153b672dbbf6621bc56b310c4e3ea Added DownloadVendorCommand Dan Brown 6e6b8f0fdbc153b672dbbf6621bc56b310c4e3ea Mon, 10 Mar 2025 21:23:22 +0000 Added some CLI change handling to prevent errors https://codeberg.org/bookstack/system-cli/commit/64190bc3dd9ec02bcb4ebe55e1a03d02979b544c Added some CLI change handling to prevent errors Added proper detection of CLI changes, with early quite and output to tell user to re-run, instead of erroring with a stack trace. Used in scenario where the CLI will change itself as part of BookStack updates. Toyed with the idea of pre-compiling CLI PHP files, or handling the scenario to switch to the new CLI version, but those are a lot more complex and potentially error prone. Dan Brown 64190bc3dd9ec02bcb4ebe55e1a03d02979b544c Sun, 09 Mar 2025 16:00:51 +0000