Commit Graph

160 Commits (ba86c64d38d9995d38af163ae4c51a42b21d5de7)

Author SHA1 Message Date
Andrew Dolgov d6629ed188 move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class 3 years ago
Andrew Dolgov 7ef72fe0dc move startup checks to Config, set a bunch of @deprecated annotations 3 years ago
Andrew Dolgov b05d4e3d9f speed up plugin updating a bit, fix some phpstan warnings 3 years ago
Andrew Dolgov a1ca62af50 cache schema version better 3 years ago
Andrew Dolgov dcf0135285 logger: shorter syntax 3 years ago
Andrew Dolgov 29ada58b4a move db-prefs shortcut functions to functions.php 3 years ago
Andrew Dolgov 12bcf826e4 don't include config.php everywhere 3 years ago
Andrew Dolgov 211f699aa0 migrate the rest into Config:: 3 years ago
Andrew Dolgov e4107ac952 wip: initial for config object 3 years ago
Andrew Dolgov 42173386b3 dirname(__FILE__) -> __DIR__ 3 years ago
Andrew Dolgov be4e7b1340 fix several issues reported by phpstan 3 years ago
Andrew Dolgov 9f55454f63 remove the rest of db.php; rename some leftover methods in feeds 3 years ago
Andrew Dolgov 6426ae559a dbupdater: unify naming 3 years ago
Andrew Dolgov 09e9f34bb4 add UserHelper::find_user_by_login() and rewrite some user checks to invoke it instead of going through PDO 3 years ago
Andrew Dolgov 7af8744c85 authentication: make logins case-insensitive (force lowercase) 3 years ago
Andrew Dolgov 1eb1629d9e pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both 3 years ago
Andrew Dolgov 942afb43a1 sanity checks: use better CLI detection, shorten most of the text 3 years ago
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 3 years ago
Andrew Dolgov 2abc434e26 daemon: clarify some task-related messages 3 years ago
wn 358bcdd881 Fix passing options to plugins in 'update.php'. 4 years ago
Andrew Dolgov 476be67ff9 updater: set --update-schema as optional-value 4 years ago
Andrew Dolgov 82bc740363 Logger::log - allow specifying errno
bump severity of PDO exception log messages to E_USER_WARNING
4 years ago
Andrew Dolgov 97d7e5a42a allow updating database schema in batch mode 4 years ago
Andrew Dolgov d4d0e976dc update-feed: exit with non-zero exit code if update_rss_feed() failed
daemon: log if per-feed update task terminated with non-zero exit code
4 years ago
Andrew Dolgov 528b387563 update individual feed in a separate process to prevent PHP fatal errors
(for example, OOM) from stopping the entire batch
this should also slightly increase memory budget for update processes
4 years ago
Andrew Dolgov 74568df4ff remove a lot of stuff from global context (functions.php), add a few helper classes instead 4 years ago
Andrew Dolgov 7a2e9bef77 add --opml-export to update.php 4 years ago
Andrew Dolgov 088fcf8131 move more globals to more appropriate places
set libxml to always use internal errors
5 years ago
Andrew Dolgov 3bd3324e5a update: add option to send digests 5 years ago
Andrew Dolgov a1f8322871 further update CLI schema updater layout to make it more readable 5 years ago
Andrew Dolgov e91223ec7d update CLI schema updater with newer warnings 5 years ago
Andrew Dolgov 0b74db5ad7 remove feedbrowser (other feeds) 5 years ago
Andrew Dolgov 54c1b5c611 fill in some missing doctypes; use short doctype where it wasn't 5 years ago
Andrew Dolgov c11f32ac38 center and rework some utility screens 5 years ago
Andrew Dolgov 6eccac95f2 fix 'logging to...' output line not respecting quiet setting 5 years ago
Andrew Dolgov 8d190d539b CLI tools: fix --quiet not working if --log is unset 6 years ago
Andrew Dolgov c10a43069e debug logging system rework:
* support various logging levels per-message
 * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
 * _debug() is kept as a compatibility shim for plugins
6 years ago
Andrew Dolgov e80d78d7f4 update.php: remove decrypt-feeds mention in help text 6 years ago
Andrew Dolgov 069aea5989 remove FEED_CRYPT_KEY and everything related to it
always assume auth_pass_encrypted is false
6 years ago
Andrew Dolgov 963c22646b pass tsvector data as a named parameter on article update, remove escaping hacks 6 years ago
Andrew Dolgov 09bc54c690 further stylesheet simplification related fixes 7 years ago
Andrew Dolgov 49a888ecce rssutils: forbid question marks in tsvector data, PDO gets confused sometimes even by quoted ?s 7 years ago
Andrew Dolgov a77a47332c opml host, update: use PDO 7 years ago
Andrew Dolgov 1d92297a96 dbupdater: use PDO 7 years ago
Andrew Dolgov 4fd0790804 fix DAEMON_SLEEP_INTERVAL not being defined when used
enforce minimum 60 sec spawn/sleep interval in update processes
7 years ago
Andrew Dolgov e6c886bf66 wrap rssfuncs into rssutils class 7 years ago
Andrew Dolgov 7b55001eee fix various issues reported by static analysis
update gitlab-ci config
7 years ago
Andrew Dolgov 3c11159776 return result codes if DB connection or --debug-feed fails 7 years ago
Andrew Dolgov e6d66fe55c fix update.php showing --help option with a single - 7 years ago
Andrew Dolgov 17a8e61d2a deprecate encrypted feed passwords because mcrypt is getting removed from php 7.1
1. transparent decryption for existing installs stays for the time being
2. new passwords are not going to be encrypted even if FEED_CRYPT_KEY is defined
3. added update.php --decrypt-feeds to bulk decrypt existing encrypted passwords
4. updated install to not auto-generate crypt key
5. added warning to config.php-dist
8 years ago