Commit Graph

45 Commits

Author SHA1 Message Date
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 9765e8b9f1 fix includes order in update daemon 2012-08-12 11:18:03 +04:00
Andrew Dolgov bf0bedcbe5 update daemon shebang too 2012-06-22 08:09:42 +04:00
Andrew Dolgov 125ab8dbf7 daemon: assume child is dead if its lockfile is unlocked (refs ) 2012-01-11 15:14:44 +04:00
Andrew Dolgov 5893edd57a fix daemon sleep interval 2011-12-26 13:50:35 +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
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 dbaa4e4aac config: remove option ENABLE_UPDATE_DAEMON 2011-04-12 19:33:12 +04:00
Andrew Dolgov e3b42c5a80 misc daemon updates 2010-11-13 21:03:31 +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 7aabaa09e1 daemon2: check proper lockfile location in reap_children() 2010-10-29 12:10:24 +04:00
Andrew Dolgov 8ccaff02b5 add some more lockfiles to update_daemon2 2010-10-29 11:58:40 +04:00
Andrew Dolgov a2d799815a remove unnecessary mentions of global_purge_old_posts; add debugging to purge_orphans() 2010-10-03 12:19:09 +04:00
Andrew Dolgov 0618b81c07 daemon: less gentle child unstucking 2010-09-30 17:03:02 +04:00
Andrew Dolgov 51ddf0f8bb daemon2: fix removing of pids from ctimes array 2010-08-26 09:57:17 +04:00
Andrew Dolgov 0708291db4 daemon2: unbreak spawn interval 2010-08-25 18:20:10 +04:00
Andrew Dolgov c90a028cdc daemon2: properly abort stuck children 2010-08-25 18:16:07 +04:00
Andrew Dolgov 4c93bf06b6 remove custom hardcoded cache destinations in various daemon scripts 2010-04-14 14:18:13 +04:00
Andrew Dolgov 1695664646 daemon: fallback automatically when pcntl_signal() is not present 2010-03-22 11:17:58 +03:00
Andrew Dolgov 0002bc9f27 make update scripts executable 2009-01-31 19:02:16 +03:00
Andrew Dolgov 816cdfb7ee move magpie to lib/ 2009-01-22 14:33:02 +01:00
Andrew Dolgov 3907ef7111 purge feeds after updating 2009-01-20 13:35:59 +01:00
Andrew Dolgov b6d486a3a4 code cleanup; ccache category calculation for cid=0 corrected 2009-01-17 07:57:33 +01:00
Andrew Dolgov e3b5469373 regenerate feedbrowser cache from the update daemon 2009-01-16 12:06:42 +01: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 98f7041837 daemon: define MAX_JOBS below config.php 2008-02-08 04:45:31 +01:00
Andrew Dolgov 45004d4340 move update daemon code to common function, reorganize backend.php (patch from landure) 2008-01-26 06:33:59 +01:00
Andrew Dolgov 2240601ccf daemons: fix feed select query for PGSQL 2008-01-24 18:54:36 +01:00
Andrew Dolgov abfa57fdf0 merge stuff 2008-01-24 18:37:56 +01:00
Andrew Dolgov 0d6a7147e5 daemons: only select feeds which require update (patch from landure) 2008-01-24 18:35:26 +01:00
Andrew Dolgov a65a05a72e update_daemon2: only set SIGINT handler in lock managing subprocess 2008-01-24 10:20:00 +01:00
Andrew Dolgov 5a613536c7 update_daemon2: check for dead children before spawning 2008-01-24 09:46:09 +01:00
Andrew Dolgov e933840523 update_daemon2: keep track of children PIDs 2008-01-24 09:43:22 +01:00
Andrew Dolgov 010c16f184 enable DAEMON_EXTENDED_DEBUG when envvar DAEMON_XDEBUG is set 2008-01-24 07:03:18 +01:00
Andrew Dolgov ffa7cbae80 update_daemon2: import single-file version from landure 2008-01-23 17:19:32 +01:00
Andrew Dolgov 73d3b9b1f6 update_daemon2: don't expect client part to be executable 2008-01-23 15:29:24 +01:00
Andrew Dolgov 884c0a367b update_daemon2: fix locking 2008-01-23 12:43:11 +01:00
Andrew Dolgov ce1aa9b7c2 update_daemon2: print idle notice once per 10 seconds 2008-01-23 10:33:41 +01:00
Andrew Dolgov 6a69e61ffb update_daemon2: make proper lockfile 2008-01-23 10:30:55 +01:00
Andrew Dolgov 02008cb19a add multiprocess update daemon 2008-01-23 10:19:36 +01:00