Commit Graph

12 Commits

Author SHA1 Message Date
johnnyq
69fd43051f Keep collations at utf8mb4_general_ci going forward: functions.php now ends by calling databaseConnectionCollation, which runs SET collation_connection = 'utf8mb4_general_ci' on the connection config.php opened, so a string the server makes itself, CAST(x AS CHAR) for one, matches the tables where on MySQL 8 it came out utf8mb4_0900_ai_ci and failed beside a column with Illegal mix of collations, on a new install as much as an upgraded one; only the collation is set and not the character set, no SET NAMES and no mysqli_set_charset, because on a server that defaults to latin1 the connection has always been latin1 and changing it shows every accented letter already stored as two wrong ones, where setting collation_connection alone leaves what is stored and what is stored after the same; admin/database_updates.php calls databaseCollationRepair after a run that applied at least one database update and finished, so a table a migration creates without a COLLATE is given the collation db.sql has in the same run, with what it changed and what it could not going to App Logs and to the output of scripts/update_cli.php, a table it cannot change left as it was and never failing the update, and a run that stops at a failed migration leaving this for the run that finishes; run on MySQL 8.0 and MariaDB 10.11, on a latin1 server default and through update_cli.php --update_db with a migration written as 2.4.1 was; CONTRIBUTING.md and the 26.11.7 changelog section say so 2026-11-11 20:52:46 -05:00
johnnyq
069f587c1d Implemented Check for updates which removs the last shell exec from web ui, and reimplemented db_update switch to update_cli.php 2026-08-26 23:38:23 -04:00
johnnyq
d5ee0bff74 update_cli.php now does both db and forces app updates all in one go no more switches 2026-08-15 15:25:14 -04:00
johnnyq
77319f8fc1 update_cli.php now updates both the app and all database updates in one go and the switches --update only updates the app --db_update only updates the db 2026-08-15 15:12:45 -04:00
johnnyq
6b5be0f881 Rework Update UI and fix banch 2026-08-02 18:07:24 -04:00
johnnyq
2b756f6ea4 Split DB Updates into seperate files, with the cutoff being 2.0.0 2026-07-22 18:43:11 -04:00
johnnyq
7172c92f02 Update Database updates patch in update_cli 2025-08-08 15:09:03 -04:00
johnnyq
508af6a80f Fix some Database update logic 2025-03-14 17:15:10 -04:00
johnnyq
87e1371318 Move app_version.php and database_version.php to includes folder update all assocoiated links, remove 2 legacy php files maintence and legacy_debug 2025-01-24 21:25:04 -05:00
wrongecho
50371558c6 Adjust cron/cli scripts in subdir to load required scripts from parent 2025-01-02 21:27:14 +00:00
wrongecho
2d403415d4 Tidying per sonar recommendations 2025-01-02 21:09:27 +00:00
wrongecho
db6d2fb534 Move cron scripts
Move cron scripts to their own subfolder.
2025-01-02 20:59:05 +00:00