Commit Graph

157 Commits (c1cd3324e3986967d4210e6e36bf068417b7cd13)

Author SHA1 Message Date
Andrew Dolgov a1ca62af50 cache schema version better 4 years ago
Andrew Dolgov dcf0135285 logger: shorter syntax 4 years ago
Andrew Dolgov 29ada58b4a move db-prefs shortcut functions to functions.php 4 years ago
Andrew Dolgov 12bcf826e4 don't include config.php everywhere 4 years ago
Andrew Dolgov 211f699aa0 migrate the rest into Config:: 4 years ago
Andrew Dolgov e4107ac952 wip: initial for config object 4 years ago
Andrew Dolgov 42173386b3 dirname(__FILE__) -> __DIR__ 4 years ago
Andrew Dolgov be4e7b1340 fix several issues reported by phpstan 4 years ago
Andrew Dolgov 9f55454f63 remove the rest of db.php; rename some leftover methods in feeds 4 years ago
Andrew Dolgov 6426ae559a dbupdater: unify naming 4 years ago
Andrew Dolgov 09e9f34bb4 add UserHelper::find_user_by_login() and rewrite some user checks to invoke it instead of going through PDO 4 years ago
Andrew Dolgov 7af8744c85 authentication: make logins case-insensitive (force lowercase) 4 years ago
Andrew Dolgov 1eb1629d9e pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both 4 years ago
Andrew Dolgov 942afb43a1 sanity checks: use better CLI detection, shorten most of the text 4 years ago
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 4 years ago
Andrew Dolgov 2abc434e26 daemon: clarify some task-related messages 4 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 5 years ago
Andrew Dolgov 088fcf8131 move more globals to more appropriate places
set libxml to always use internal errors
6 years ago
Andrew Dolgov 3bd3324e5a update: add option to send digests 6 years ago
Andrew Dolgov a1f8322871 further update CLI schema updater layout to make it more readable 6 years ago
Andrew Dolgov e91223ec7d update CLI schema updater with newer warnings 6 years ago
Andrew Dolgov 0b74db5ad7 remove feedbrowser (other feeds) 6 years ago
Andrew Dolgov 54c1b5c611 fill in some missing doctypes; use short doctype where it wasn't 6 years ago
Andrew Dolgov c11f32ac38 center and rework some utility screens 6 years ago
Andrew Dolgov 6eccac95f2 fix 'logging to...' output line not respecting quiet setting 6 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 7 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
8 years ago
Andrew Dolgov e6c886bf66 wrap rssfuncs into rssutils class 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 e6d66fe55c fix update.php showing --help option with a single - 8 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
tsimmons 9973b13e19 Make sure we are running on Windows before fclose() to avoid race condition possible in Nix. 8 years ago
tsimmons 8231c039ed Close lockfile handle before trying to unlink during update. 8 years ago
Andrew Dolgov 977cea1438 actually check for failures properly in the dbupdater 9 years ago