summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-02-16Stomp queue restructuring for mass scalability:Brion Vibber
- Multiplexing queues into groups and for multiple sites. - Sharing vs breakout configurable per site and per queue via $config['queue']['breakout'] - Detect how many times a message is redelivered, discard if it's killed too many daemons - count configurable with $config['queue']['max_retries'] - can dump the items to files in $config['queue']['dead_letter_dir'] Queue daemon memory & resource leak fixes: - avoid unnecessary reconnections to memcached server (switch persistent connections back in on second initialization, assuming it's child process) - monkey-patch for leaky .ini loads in DB_DataObject::databaseStructure() - was leaking 200k per active switch - applied leak fixes to Status_network as well, using intermediate base Safe_DataObject for both it and Memcache_DataObject Misc queue fixes: - correct handling of child processes exiting due to signal termination instead of regular exit - shutdown instead of infinite respawn loop if we're already past the soft memory limit at startup - Added --all option for xmppdaemon... still opens one xmpp connection per site that has xmpp active Cache updates: - add Cache::increment() method with native support for memcached atomic increment
2010-02-16Pull fix from testing branch: use new encoding funcs w/ stomp queuesBrion Vibber
2010-02-10Queue daemon fixes:Brion Vibber
* skip unnecessary unsubscribes on graceful shutdown -- takes a long time for many queues, slows down our restarts when hitting graceful mem limit * fix control channel (was broken when we switched to support multiple queue servers)
2010-02-09Configurable delay between queuedaemon.php spawns/respawns to help stagger ↵Brion Vibber
out startups and subscriptions. Defaults to 1 second. $config['queue']['spawndelay'] = 1;
2010-02-08readme and version for beta5Evan Prodromou
2010-02-05Merge branch 'temp'Zach Copley
2010-02-05Actually store the timestamp on each nonceZach Copley
2010-02-05Always check for an OAuth request. This allows OAuth clients to set anZach Copley
auth user, similar to how they can set one via http basic auth, even if one is not required. I think I finally got this right.
2010-02-05Linkify notice source when posting from registered OAuth appsZach Copley
2010-02-05Better token revocationZach Copley
2010-02-05Allow developers to delete OAuth applicationsZach Copley
2010-02-04Add time-based cutoffs for public tag cloud, favorited lists to speed up ↵Brion Vibber
those queries. Defaulting to only looking at last 90 days of activity, can be adjusted up or down. $config['tag']['cutoff'] = 86400 * 90; $config['popular']['cutoff'] = 86400 * 90; Per-user and per-group tag clouds do not use the cutoff (and it doesn't help with indexing on them).
2010-01-31Add a robots.txt URL to the site rootEvan Prodromou
Adds a robots.txt file to the site root. Defaults defined by 'robotstxt' section of config. New events StartRobotsTxt and EndRobotsTxt to let plugins add information. Probably not useful if path is not /, but won't hurt anything, either.
2010-01-30on exceptions, stomp logs the error and reenqueuesEvan Prodromou
2010-01-29for single-user mode, retrieve either site owner or defined nicknameEvan Prodromou
2010-01-28Fix more fatal errors in queue edge casesBrion Vibber
2010-01-28Don't attempt to resend XMPP messages that can't be broadcast due to the ↵Brion Vibber
profile being deleted.
2010-01-28Merge branch 'master' of git@gitorious.org:statusnet/mainlineBrion Vibber
2010-01-28Wrap each bit of distrib queue handler's saving operation in a try/catch; ↵Brion Vibber
log exceptions but let everything else continue.
2010-01-28Move sessions settings to its own panelZach Copley
2010-01-29Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingZach Copley
2010-01-29Adjust API authentication to also check for OAuth protocol params in theZach Copley
HTTP Authorization header, as defined in OAuth HTTP Authorization Scheme.
2010-01-28Manual failover for stomp queues.Brion Vibber
If an array of multiple servers is put in $config['queue']['stomp_server'], enqueues will pick a random server to send to (failing over automatically if any are down). Queue handling daemons connect all servers so they get events no matter where they were delivered. In case of disconnection, daemons should now handle it gracefully and attempt to reconnect every 60 seconds or so, automatically resubscribing to all queues once it's back up. Can put to 'native' failover for reads as well by disabling $config['stomp']['manual_failover'] = false; but this is untested and may explode in addition to requiring that your ActiveMQ cluster actually be set up to handle its own data distribution. Additionally, can choose which queues to mark as persistent by setting $config['stomp']['persistent'] to an array of queue names.
2010-01-28Merge commit 'origin/master' into testingBrion Vibber
2010-01-28Remove redundant session token field from form (was already being added by ↵Zach Copley
base class).
2010-01-28Can now set $config['queue']['stomp_persistent'] = false; to explicitly ↵Brion Vibber
disable persistence when we queue items
2010-01-28Removed unused variable assignment for avatar URL and added missing fnSarven Capadisli
2010-01-27dropping the setcookie() call from common_ensure_session() since we're ↵Brion Vibber
pretty sure it's unnecessary
2010-01-27append '/' on cookie path for now (may still need some refactoring)Brion Vibber
2010-01-28Merge branch 'master' of git@gitorious.org:statusnet/mainlineEvan Prodromou
2010-01-28set session cookie correctlyEvan Prodromou
2010-01-27Fix for Mapstraction plugin's zoomed map linksBrion Vibber
Move definition of NICKNAME_FMT above plugin initialization but below loading of Validate package. A merge error when refactoring setup lead to this not being defined yet when plugins were initialized, causing the router setup in MapstractionPlugin which tried to use this constant to fail. Result was bogus links and if you hit the URL directly the action would be "unrecognized".
2010-01-27debug log line for control channel subBrion Vibber
2010-01-27increment software beta versionEvan Prodromou
2010-01-27Adds an emergency switch so we can run inbox distribution at save time ↵Brion Vibber
(bypassing 'distrib' queue) Set $config['queue']['inboxes'] = false to do so
2010-01-28Remove debugging statementZach Copley
2010-01-28Some adjustments to the way API auth works after merging testing and 0.9.xZach Copley
2010-01-27HTTP auth provided is evaluated even if it's not requiredMichele
2010-01-27Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-01-27camelcase the uap param namesEvan Prodromou
2010-01-27move leaderboard to after the headerEvan Prodromou
2010-01-27Moved rectangle ad into aside and leaderboard to the right in header.Sarven Capadisli
Intention for this layout was to reduce whitespace in header area
2010-01-27CSS ids and classes fixed in UAPPluginEvan Prodromou
2010-01-27make uapplugin an abstract classEvan Prodromou
2010-01-27move UAP plugin to coreEvan Prodromou
2010-01-27Add persistent:true property to Stomp messages so ActiveMQ doesn't decide to ↵Brion Vibber
discard them even though persistence is enabled on the broker. :) (Thanks Aric!)
2010-01-27Optionally set a separate Javascript server and pathEvan Prodromou
We have about 10-12 JavaScript pages per Web page. They usually are based on the same server as the Web pages, but since they're static files, it makes sense to offload them to a lite server that handles static files well. This commit lets you set a separate Javascript server and path for the default Javascript code in StatusNet. Squashed commit of the following: commit 139d1622fdafe5ad00c820224416d9021efc3234 Author: Evan Prodromou <evan@status.net> Date: Wed Jan 27 11:30:24 2010 -0500 modules that call htmloutputter::script() don't prescribe js/ path commit c6ca3174af73efed55eaed5ff1e2a3bdc77d2d87 Author: Evan Prodromou <evan@status.net> Date: Wed Jan 27 11:28:07 2010 -0500 configurable server and path for javascript files
2010-01-27- Check for read-only vs. read-write access to protected API resources (OAuth)Zach Copley
- Some cleanup
2010-01-27Make more complete sentence.Siebrand Mazeland
2010-01-26New access admin panel for site registration settingsZach Copley