Commit Graph

125 Commits

Author SHA1 Message Date
Andrew Dolgov 8d190d539b CLI tools: fix --quiet not working if --log is unset 2018-12-01 10:05:26 +03:00
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
2018-11-30 08:34:29 +03:00
Andrew Dolgov e80d78d7f4 update.php: remove decrypt-feeds mention in help text 2018-08-13 16:19:18 +03:00
Andrew Dolgov 069aea5989 remove FEED_CRYPT_KEY and everything related to it
always assume auth_pass_encrypted is false
2018-08-13 15:59:24 +03:00
Andrew Dolgov 963c22646b pass tsvector data as a named parameter on article update, remove escaping hacks 2018-04-03 13:57:27 +03:00
Andrew Dolgov 09bc54c690 further stylesheet simplification related fixes 2017-12-03 13:25:34 +03:00
Andrew Dolgov 49a888ecce rssutils: forbid question marks in tsvector data, PDO gets confused sometimes even by quoted ?s 2017-12-03 10:10:01 +03:00
Andrew Dolgov a77a47332c opml host, update: use PDO 2017-12-02 11:42:42 +03:00
Andrew Dolgov 1d92297a96 dbupdater: use PDO 2017-12-02 01:28:30 +03:00
Andrew Dolgov 4fd0790804 fix DAEMON_SLEEP_INTERVAL not being defined when used
enforce minimum 60 sec spawn/sleep interval in update processes
2017-05-06 10:54:14 +03:00
Andrew Dolgov e6c886bf66 wrap rssfuncs into rssutils class 2017-05-05 18:10:07 +03:00
Andrew Dolgov 7b55001eee fix various issues reported by static analysis
update gitlab-ci config
2017-04-26 15:29:22 +03:00
Andrew Dolgov 3c11159776 return result codes if DB connection or --debug-feed fails 2017-04-25 13:39:01 +03:00
Andrew Dolgov e6d66fe55c fix update.php showing --help option with a single - 2017-02-23 13:06:39 +03:00
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
2017-01-07 14:25:46 +03:00
tsimmons 9973b13e19 Make sure we are running on Windows before fclose() to avoid race condition possible in Nix. 2017-01-06 11:06:09 -06:00
tsimmons 8231c039ed Close lockfile handle before trying to unlink during update. 2017-01-05 15:56:24 -06:00
Andrew Dolgov 977cea1438 actually check for failures properly in the dbupdater 2016-04-26 20:04:24 +03:00
Andrew Dolgov 368bd7ea49 add feed debugger to update.php 2016-01-17 14:24:20 +03:00
Andrew Dolgov 583f163f40 don't init plugins when loading everything to make a list, duh 2015-10-08 17:02:32 +03:00
Andrew Dolgov 978989bb7b shorten previous a bit 2015-08-18 12:04:19 +03:00
Skibbi e22e0d686c Prevent concatenating words for full text search index 2015-08-18 12:01:00 +03:00
Andrew Dolgov ecbb32925e gen-search-idx: more conservative batch handling 2015-08-05 16:58:07 +03:00
Andrew Dolgov 73ef6f0459 gen-search-idx: do not rely on offsets 2015-08-04 14:36:39 +03:00
Andrew Dolgov 410c0ce6d5 gen-search-idx: show how many entries are left 2015-08-04 14:31:42 +03:00
Andrew Dolgov df659891ac implement per-feed stemming language setting 2015-08-04 13:32:52 +03:00
Andrew Dolgov e854442e1f more fts stuff for simple index 2015-08-04 12:52:49 +03:00
Andrew Dolgov 6f61ba46c4 detect php cgi binary because people keep trying to run service scripts using it 2014-02-06 23:03:05 +04:00
Roland Angerer 0f0bbe735d passing --log option to update daemon processes 2013-09-02 08:54:20 +02:00
Andrew Dolgov f863d0bd07 update: do not explicitly fclose lockfile before unlinking (refs ) 2013-06-07 11:00:34 +04:00
Andrew Dolgov 0f9067450a Revert "do not unlink lockfiles (closes )"
This reverts commit 9ffe8907dd.
2013-06-07 09:27:52 +04:00
Andrew Dolgov 9ffe8907dd do not unlink lockfiles (closes ) 2013-06-01 10:06:59 +04:00
Andrew Dolgov 830f6f08b4 daemon2: only perform houskeeping on task 0 2013-05-20 14:39:14 +04:00
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
2013-05-19 21:22:01 +04:00
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 2013-05-07 00:35:10 -07:00
Andrew Dolgov e2cf81e214 unify houskeeping stuff, increase spawn interval 2013-04-24 14:54:59 +04:00
Andrew Dolgov 8cabc200d5 increase updstart locking interval to prevent concurrent updates; decrease batch size for the daemon 2013-04-24 14:23:38 +04:00
Andrew Dolgov fce451a4f7 fix updating for pgsql
increase default batch size
remove random check between feedbrowser or update task executing
2013-04-24 13:43:40 +04:00
Andrew Dolgov 1f29443530 fix missing DB object when instantiated to import opml 2013-04-18 23:19:14 +04:00
Andrew Dolgov 1ffe3391f9 make pluginhost a singleton 2013-04-18 12:27:34 +04:00
Andrew Dolgov 8a386529a1 update: only wait when pidlock is enabled 2013-04-17 22:09:11 +04:00
Andrew Dolgov 0630a100d5 revert OO-db access in dbupdater, create DbUpdater() correctly 2013-04-17 21:40:04 +04:00
Andrew Dolgov 72ff013729 fix pluginhost created without dbh 2013-04-17 18:30:22 +04:00
Andrew Dolgov 57bac1bea9 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
Conflicts:
	update_daemon2.php
2013-04-17 18:23:20 +04:00
Andrew Dolgov 7440a7fe3c daemon2: use passthrough to daemon-loop 2013-04-17 18:19:28 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov 404e2e3603 more work on singleton-based DB 2013-04-17 15:36:48 +04:00
Andrew Dolgov ba68b6815a db updates, remove init_connection() 2013-04-17 14:23:35 +04:00
Andrew Dolgov 0186be6aeb another take on inclusion of errorhandler in CLI scripts 2013-04-17 12:36:27 +04:00
Andrew Dolgov d1bfb86f9d remove errorhandler from CLI scripts for the time being 2013-04-17 12:27:47 +04:00