Commit Graph

55 Commits (1f5adf16007751af83b088b6ac79911b2a8c8894)

Author SHA1 Message Date
Andrew Dolgov 31b29e0a56 log applied migrations 4 years ago
Andrew Dolgov 8f8ca49e4b migrations: refuse to apply empty schema files 4 years ago
Andrew Dolgov 4ede76280b migrations: don't try to use transactions on mysql 4 years ago
Andrew Dolgov 5eb0f3d640 bring back web dbupdate using new migrations system 4 years ago
Andrew Dolgov c0fb0a5ec0 wip for db_migrations for core schema 4 years ago
Andrew Dolgov 921569e5da support loading base schema as latest version 4 years ago
Andrew Dolgov 8256ab5dd9 wip: initial for db_migrations 4 years ago
Andrew Dolgov d6629ed188 move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class 4 years ago
Andrew Dolgov 2621fe7955 fix get_pref always using default profile; remove unneeded code from db_prefs 4 years ago
Andrew Dolgov 5c4223992f db-prefs: minor cleanup, add warnings if unknown prefs are requested 4 years ago
Andrew Dolgov 5d42ce553f drop legacy DB interface and related sanity checks 4 years ago
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 4 years ago
Andrew Dolgov dee1614d0a db_prefs: return null if requested key is unset 6 years ago
Andrew Dolgov e31e9ae04d db_prefs: don't report missing prefs if die_on_error is false 6 years ago
Andrew Dolgov 197e80add6 fix several issues related to profile being set to a non-numeric value 6 years ago
Andrew Dolgov 22366ccc5b db_prefs: fix cache never being used on read(); remove unnecessary
sprintf()s to integer
6 years ago
Andrew Dolgov 7c6f7bb0aa fix some minor issues found by code analyzer 7 years ago
Andrew Dolgov cc9450c309 ccache, misc: fixes
feeds: start PDO transition
7 years ago
Andrew Dolgov fbde19580c db_prefs: PDO 7 years ago
Andrew Dolgov ca82bb03c8 rm db_stmt 7 years ago
Andrew Dolgov 99bda9cc12 add some starting pdo glue 7 years ago
Andrew Dolgov ab8daa0389 use mysqli_set_charset() to set MYSQL_CHARSET 7 years ago
Andrew Dolgov e130b283a7 db prefs: ignore cache when preference requested for specified UID (in case cached value of a different profile is stored)
prefs: show (and set) enabled plugins for default profile only
8 years ago
Andrew Dolgov 891df34637 add some basic API unit tests 8 years ago
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 8 years ago
Andrew Dolgov 7b55001eee fix various issues reported by static analysis
update gitlab-ci config
8 years ago
Andrew Dolgov 3c11159776 return result codes if DB connection or --debug-feed fails 8 years ago
Andrew Dolgov e54eb40a8c remove support for legacy mysql driver 8 years ago
Andrew Dolgov a005ebb693 remove classes/db/api.php (shouldn't be there) 8 years ago
Heiko Adams 94e3a9ab44
Merge with master 9 years ago
Andrew Dolgov 977cea1438 actually check for failures properly in the dbupdater 9 years ago
Andrew Dolgov cc43e19b44 error handler: do not log last query, truncate error message to a smaller length 9 years ago
Andrew Dolgov 475d762872 logger: record last query before logged error 9 years ago
Andrew Dolgov ad9928a5cb adjust cpu_tuple to 0.5 9 years ago
Andrew Dolgov 981059fd1f postgresql: adjust cpu_tuple (experimental) 9 years ago
Andrew Dolgov 415a3b50c9 fix some minor typos and stuff 10 years ago
Andrew Dolgov 38f439708c rollback current transaction before trying to report SQL query errors, properly save database error messages when logging query errors 11 years ago
Jonathan Bither fbe135fb36 mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysqli_error() 12 years ago
Andrew Dolgov 6a51939ee6 db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users 12 years ago
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 12 years ago
Andrew Dolgov b20b6af0dc only pass port to mysqli_connect when it is set 12 years ago
Andrew Dolgov 52d88392da move db-prefs to OO 12 years ago
Andrew Dolgov 73663db316 support pgsql in pdo 12 years ago
Andrew Dolgov 9ee90455b8 add experimental support for PDO (_ENABLE_PDO) 12 years ago
Andrew Dolgov e441b5837b initial 12 years ago
Andrew Dolgov ae35bb87eb support mysqli when available 12 years ago
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 12 years ago
Andrew Dolgov eefaa2df38 remove db_connect, db_close; CLI fixes 12 years ago
Andrew Dolgov 6322ac79a0 remove $link 12 years ago
Andrew Dolgov aca75cb5cb reinstate error handlers; better DB error reporting on failed queries 12 years ago