Commit Graph

118 Commits

Author SHA1 Message Date
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 #703) 2013-06-07 11:00:34 +04:00
Andrew Dolgov 0f9067450a Revert "do not unlink lockfiles (closes #703)"
This reverts commit 9ffe8907dd.
2013-06-07 09:27:52 +04:00
Andrew Dolgov 9ffe8907dd do not unlink lockfiles (closes #703) 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
Andrew Dolgov 857efe49e6 add schema checking to feed updating and update script 2013-04-17 12:10:35 +04:00
Andrew Dolgov 2a649c447c enable logger in updater scripts 2013-04-17 09:09:59 +04:00
Andrew Dolgov 9bfda43e77 digest: use proper logging, update.php: fix typo 2013-04-12 09:55:41 +04:00
Andrew Dolgov b4c47f7e7b add command-line db schema updater 2013-04-04 19:15:14 +04:00
Andrew Dolgov 0ae9f7460b update.php --daemon did not respect --quiet 2013-04-01 19:51:43 +04:00
Andrew Dolgov e81610d9ef daemon: sort by random 2013-03-30 16:28:21 +04:00
Andrew Dolgov 4cf0f9a900 greaderimport: add command line mode 2013-03-28 18:37:36 +04:00