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
Andrew Dolgov
884d16505e
tweak how utility.css-based stuff looks
2013-03-27 10:59:26 +04:00
Andrew Dolgov
dc24b520cc
update_daemon: use getopt; make things a bit more configurable, add help
2013-03-21 15:05:57 +04:00
Andrew Dolgov
2191eb7aab
update.php: add support for output logging
2013-03-21 14:56:04 +04:00
Andrew Dolgov
764555ff8a
rework update.php to use getopt; allow --task parameter
2013-03-21 14:48:47 +04:00
Pavel Sterin
f02713bb4a
fix update.php
...
sanity_check must be included after config or it will always fail to find nonstandard folders
2013-03-15 12:56:40 +01:00
Andrew Dolgov
20b86c799a
clarify PLUGINS description, improve plugin CLI list
2012-12-25 18:57:02 +04:00
Andrew Dolgov
d2a421e3cb
more work on user-selectable plugins; properly process system and user plugins
2012-12-25 10:02:08 +04:00
Andrew Dolgov
7a866114e1
add -list-plugins option; about sections to plugins
2012-12-24 15:39:42 +04:00
Andrew Dolgov
6c2637d973
move data import/export to a separate plugin
2012-12-24 15:03:19 +04:00
Andrew Dolgov
41b82aa4b9
add HOOK_UPDATE_TASK
2012-12-24 14:27:15 +04:00
Andrew Dolgov
73f28fe979
add support for registering update.php commands; move rest of the self-updating stuff into updater plugin
2012-12-24 09:52:15 +04:00
Andrew Dolgov
88e8fb3a71
modify include path order ( closes #514 )
2012-12-09 13:41:22 +04:00
Andrew Dolgov
120c2b016f
add update.php -force-update
2012-10-30 15:18:46 +04:00
Andrew Dolgov
3de78afd3b
fix called-from-browser detection in update.php
2012-10-24 00:25:56 +04:00
Andrew Dolgov
7e992eca46
update.php: fix wrong html plug title
2012-10-24 00:17:32 +04:00
Andrew Dolgov
37f78940d8
block type 5 filters (date)
2012-08-31 12:54:37 +04:00
Andrew Dolgov
5451903ce3
fix cat_filter parsed wrong on psql
2012-08-31 12:24:13 +04:00
Andrew Dolgov
6aff784575
implement multiple rule/action filters
2012-08-31 12:13:47 +04:00
Andrew Dolgov
acf33893ab
move self-updating to include/update_self.php
2012-08-23 13:57:29 +04:00
Andrew Dolgov
f7c2fae1f1
self-update: clarify some error messages (2)
2012-08-23 13:32:30 +04:00
Andrew Dolgov
021f8dce0c
self-update: clarify some error messages
2012-08-23 13:22:56 +04:00
Andrew Dolgov
366f06f7cf
update.php: display error message when running from the browser
...
mention self-updating in new version dialog
2012-08-23 13:17:22 +04:00
Andrew Dolgov
e3449aa1aa
add experimental self-updating script
2012-08-23 13:03:39 +04:00
Andrew Dolgov
9aceda3afc
remove hook-based plugins
2012-08-21 14:37:43 +04:00
Andrew Dolgov
369dbc19d6
rework class system to use subdirectories
...
add placeholder plugin/hook system
2012-08-17 14:22:33 +04:00
Andrew Dolgov
9a57512c70
update.php: fix help text
2012-08-12 11:12:27 +04:00
Andrew Dolgov
871f0a7ac6
add update.php -indexes to recreate tt-rss indexes from schema file
2012-08-09 14:20:27 +04:00
Rutger Wessels
5439d333ec
add command line option '-quiet' to make update.php more quiet
2012-08-04 20:15:40 +02:00
fluffy
ece7871113
Change update.php shebang to support any in-path installation location for php
2012-06-19 22:35:34 -07:00
Andrew Dolgov
55f34b811f
implement experimental personal data import
2011-12-27 23:10:04 +04:00
Andrew Dolgov
f03a795de7
include path fix for lighttpd
2011-12-15 18:19:38 +04:00
Andrew Dolgov
2c08214a7f
split rss updating stuff into separate include file
2011-12-13 16:06:25 +04:00
Andrew Dolgov
5f0a3741d0
add Public_Handler
...
misc code cleanup
2011-12-13 14:49:11 +04:00
Andrew Dolgov
107d0cf39e
overall directory tree cleanup
2011-12-11 23:59:25 +04:00
Petter Jönsson
a10c2ed817
backend: close file pointer before unlinking.
2011-12-07 01:17:23 +01:00
Andrew Dolgov
f32eb194bb
update: add get_linked_feeds to normal update tasks
2011-04-21 08:51:59 +04:00
Andrew Dolgov
ae5f7bb11a
implement fetching and exporting of shared feeds
2011-04-20 15:21:00 +04:00
Andrew Dolgov
9b27cec8c0
update.php & daemon: chdir to script directory using __FILE__ magic constant
2011-04-15 12:38:11 +04:00
Andrew Dolgov
84e9a8c7e6
update.php: update feedbrowser, purge orphans and cleanup cached tags in the update handler
2011-04-13 15:48:20 +04:00
Andrew Dolgov
dbaa4e4aac
config: remove option ENABLE_UPDATE_DAEMON
2011-04-12 19:33:12 +04:00
John Kristensen
d195055341
Allow update.php to be run from outside of the main directory
...
* Change the update.php working directory to be the main tt-rss application
directory so that the script can be run from anywhere without problems.
Useful for adding the update.php script to cron.
2011-02-09 14:52:14 +03:00
Andrew Dolgov
86268d8ba0
fix PHP_EXECUTABLE declaration not being properly overriden in config.php ( closes #296 )
2011-01-11 11:31:21 +03:00
Andrew Dolgov
e3b42c5a80
misc daemon updates
2010-11-13 21:03:31 +03:00
Andrew Dolgov
868650e463
implement automatic tags table maintenance
2010-11-13 19:59:42 +03:00
Andrew Dolgov
fb0742394a
remove error_reporting() hacks; set default error reporting level in functions.php
2010-11-10 13:14:44 +03:00
Andrew Dolgov
661135c742
unify update_daemon, update_feeds and update_feedbrowser into update.php; move update.php to db-updater.php
2010-11-09 16:33:08 +03:00
Andrew Dolgov
f29ba1484f
code cleanup, test for db_escape() crazyness in DB sanity check
2008-11-10 06:29:19 +01:00
Andrew Dolgov
75ca19864e
remove mysql SET CHARACTER SET call
2007-08-25 05:28:10 +01:00
Andrew Dolgov
bddc9788ef
new config option: MYSQL_CHARSET
2007-08-21 11:47:25 +01:00
Andrew Dolgov
c1879099e1
mysql: disable utf8
2007-08-21 06:35:24 +01:00
Andrew Dolgov
70dcff6b3d
mysql: set connection charset to utf-8
2007-08-17 17:02:15 +01:00