Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-12 | Major refactoring of queue handlers to support running multiple sites in one ↵ | Brion Vibber | |
daemon. Key changes: * Initialization code moved from common.php to StatusNet class; can now switch configurations during runtime. * As a consequence, configuration files must now be idempotent... Be careful with constant, function or class definitions. * Control structure for daemons/QueueManager/QueueHandler has been refactored; the run loop is now managed by IoMaster run via scripts/queuedaemon.php IoManager subclasses are woken to handle socket input or polling, and may cover multiple sites. * Plugins can implement notice queue handlers more easily by registering a QueueHandler class; no more need to add a daemon. The new QueueDaemon runs from scripts/queuedaemon.php: * This replaces most of the old *handler.php scripts; they've been refactored to the bare handler classes. * Spawns multiple child processes to spread load; defaults to CPU count on Linux and Mac OS X systems, or override with --threads=N * When multithreaded, child processes are automatically respawned on failure. * Threads gracefully shut down and restart when passing a soft memory limit (defaults to 90% of memory_limit), limiting damage from memory leaks. * Support for UDP-based monitoring: http://www.gitorious.org/snqmon Rough control flow diagram: QueueDaemon -> IoMaster -> IoManager QueueManager [listen or poll] -> QueueHandler XmppManager [ping & keepalive] XmppConfirmManager [poll updates] Todo: * Respawning features not currently available running single-threaded. * When running single-site, configuration changes aren't picked up. * New sites or config changes affecting queue subscriptions are not yet handled without a daemon restart. * SNMP monitoring output to integrate with general tools (nagios, ganglia) * Convert XMPP confirmation message sends to use stomp queue instead of polling * Convert xmppdaemon.php to IoManager? * Convert Twitter status, friends import polling daemons to IoManager * Clean up some error reporting and failure modes * May need to adjust queue priorities for best perf in backlog/flood cases Detailed code history available in my daemon-work branch: http://www.gitorious.org/~brion/statusnet/brion-fixes/commits/daemon-work | |||
2010-01-12 | Actually skip the pingback if XML-RPC extension is missing, instead of ↵ | Brion Vibber | |
considering it then trying anyway and dying of a fatal error. :) | |||
2010-01-11 | dos -> unix line endings on CasAuthentication's CAS library | Brion Vibber | |
2010-01-11 | Apparently, I can't spell my family name. | Sarven Capadisli | |
2010-01-11 | Merge branch 'sessionidparam' into 0.9.x | Evan Prodromou | |
Conflicts: lib/command.php | |||
2010-01-11 | inject session before redirect for openid finish login | Evan Prodromou | |
2010-01-09 | i18n in the imap plugin | Craig Andrews | |
2010-01-09 | Add version information to a bunch of plugins | Craig Andrews | |
2010-01-08 | Add an IMAP daemon so StatusNet can process incoming user posts via ↵ | Craig Andrews | |
catch-all mailbox (in addition to the pre-existing script alias method) | |||
2010-01-08 | persistent connection flag, default false on cli | Evan Prodromou | |
2010-01-08 | Updated RealtimePlugin to use core json2.js | Sarven Capadisli | |
2010-01-08 | Updated plugin info for PoweredByStatusNet | Sarven Capadisli | |
2010-01-08 | Mapstraction PluginVersion | Evan Prodromou | |
2010-01-08 | PluginVersion for WikiHashtags | Evan Prodromou | |
2010-01-08 | Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x | Evan Prodromou | |
2010-01-08 | add versions for url-shortener plugins | Evan Prodromou | |
2010-01-08 | Add version info for Facebook, TwitterBridge and RSSCloud plugins | Zach Copley | |
2010-01-07 | add version information to GeoURL | Evan Prodromou | |
2010-01-07 | add version information to Linkback | Evan Prodromou | |
2010-01-07 | add version information to GoogleAnalytics | Evan Prodromou | |
2010-01-07 | add version information to MemcachePlugin | Evan Prodromou | |
2010-01-07 | add version information to PiwikAnalyticsPlugin | Evan Prodromou | |
2010-01-07 | add version info to the Template plugin | Evan Prodromou | |
2010-01-07 | add version info to OpenID plugin | Evan Prodromou | |
2010-01-07 | Add version info to the CacheLog plugin | Evan Prodromou | |
2010-01-07 | add version info to SamplePlugin | Evan Prodromou | |
2010-01-07 | add version information to Geonames plugin | Evan Prodromou | |
2010-01-06 | Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x | Evan Prodromou | |
2010-01-06 | pass through keys() as keyTypes() for UserFlag | Evan Prodromou | |
2010-01-06 | ...and drop the unnecessary &reference from child class pkeyGet() overrides. | Brion Vibber | |
2010-01-06 | The structure return by parse_url is an associative array, not an object. | Craig Andrews | |
2010-01-06 | Remove erroneous call to parent::onInitializePlugin() | Craig Andrews | |
2010-01-06 | Fix for broken profile flag admin UI: delete stray flag entries when users ↵ | Brion Vibber | |
are deleted so broken entries don't litter the lookups. * added ProfileDeleteRelated event to match UserDeleteRelated, to allow plugins to add extra related tables on profile deletion * UserFlagPlugin: deleting flags when target profile is deleted * UserFlagPlugin: deleting flags when flagging user is deleted * UserFlagPlugin: fix for autoloader -- class names are case-insensitive. We may get lowercase class names coming in at times, such as when creating DB objects programatically from a table name. Note that any already-existing bogus entries need to be removed from the database: select * from user_flag_profile where (select id from profile where id=profile_id) is null; select * from user_flag_profile where (select id from user where id=user_id) is null; | |||
2010-01-06 | Removed unnecessary internal style | Sarven Capadisli | |
2010-01-06 | Some better log msgs | Zach Copley | |
2010-01-05 | Fix subscription path in link element | Zach Copley | |
2010-01-05 | Some phpcs cleanup | Zach Copley | |
2010-01-05 | Comment out the LoggingAggregator business | Zach Copley | |
2010-01-05 | Reject subscription requests for handlers that don't support http-post | Zach Copley | |
2010-01-05 | Added a bunch of function commment blocks | Zach Copley | |
2010-01-05 | Added intial README | Zach Copley | |
2010-01-05 | Add an RSSCloud queue handler daemon | Zach Copley | |
2010-01-05 | Notifier works, and bad subscriptions are deleted properly now. | Zach Copley | |
2010-01-05 | Plugin now checks notify handlers before registering subscriptions | Zach Copley | |
2010-01-05 | Better .ini info for RSSCloud subscription | Zach Copley | |
2010-01-05 | Make dummy aggregator handle RSSCloud challenge/response with domain parameter | Zach Copley | |
2010-01-05 | Set modified column correctly. | Zach Copley | |
2010-01-05 | Fixed DB_DataObject to return the right keys info for a compound | Zach Copley | |
key & fix ini output | |||
2010-01-05 | Add a table and DB_DataObject class for storing cloud subscriptions | Zach Copley | |
2010-01-05 | Queue notices for rssCloud | Zach Copley | |