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
2020-09-27 16:42:45 +03:00
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
2020-09-27 15:58:13 +03:00
Andrew Dolgov
74568df4ff
remove a lot of stuff from global context (functions.php), add a few helper classes instead
2020-09-22 09:04:33 +03:00
Andrew Dolgov
7a2e9bef77
add --opml-export to update.php
2020-05-13 12:07:31 +03:00
Andrew Dolgov
088fcf8131
move more globals to more appropriate places
...
set libxml to always use internal errors
2019-06-20 08:40:02 +03:00
Andrew Dolgov
3bd3324e5a
update: add option to send digests
2019-03-21 07:44:39 +03:00
Andrew Dolgov
a1f8322871
further update CLI schema updater layout to make it more readable
2019-03-07 06:54:05 +03:00
Andrew Dolgov
e91223ec7d
update CLI schema updater with newer warnings
2019-03-07 06:44:59 +03:00
Andrew Dolgov
0b74db5ad7
remove feedbrowser (other feeds)
2019-03-06 20:02:06 +03:00
Andrew Dolgov
54c1b5c611
fill in some missing doctypes; use short doctype where it wasn't
2019-02-23 13:49:40 +03:00
Andrew Dolgov
c11f32ac38
center and rework some utility screens
2019-02-19 14:59:29 +03:00
Andrew Dolgov
6eccac95f2
fix 'logging to...' output line not respecting quiet setting
2019-01-21 12:19:26 +03:00
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 #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