summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-21Performance fix for FriendFeed sup interface: MySQL query optimizer was ↵Brion Vibber
doing a table scan on notice; explicit subquery makes it run much more efficiently, only scanning items within the period under consideration. Standard subquery should be PostgreSQL-compatible.
2010-02-18Merge branch 'master' of git@gitorious.org:statusnet/mainlineZach Copley
2010-02-18Fix for cross site OMB posting problemZach Copley
2010-02-17Queues: redid the breakout control model so we can start up and subscribe to ↵Brion Vibber
queues without running through the complete site list, which is ok at 1k sites but too slow at 10k. All breakout queues that we're going to need to listen to now need to be explicitly listed in $config['queue']['breakout']. Until XMPP is moved to component model, this setting will let the individual processes work with their own queues: $config['queue']['breakout'][] = 'xmpp/xmppout/' . $config['site']['nickname'];
2010-02-17Twitter bridge - fix for Ticket #2192Zach Copley
2010-02-17Better logging for Twitter bridge account linking processZach Copley
2010-02-17Upgrade Twitter bridge to use OAuth 1.0a. It's more secure, and allowsZach Copley
us to automatically send in a callback url instead of having to manually configure one for each StatusNet instance.
2010-02-17Fix exception on bad plugin loadBrion Vibber
2010-02-17parse_url returns an associative array - not an objectCraig Andrews
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-15Temporary debug hack tracking down 'revoked accesstoken' issue with OMB postsBrion Vibber
2010-02-15Use static class method for looking up Twitter userZach Copley
2010-02-15Twitter-bridge: lookup old foreign_user by primary key not urlZach Copley
2010-02-15Better log msgs. Removed debugging statement.Zach Copley
2010-02-15Fix for regression introduced with my last update to theZach Copley
TwitterStatusFetcher: the Twitter bridge was not saving a foreign user record when making a foreign link.
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-08Better checking for duplicate app namesZach Copley
2010-02-08Disable deprecated 'since' parameter on public_timeline API; causes ↵Brion Vibber
performance problems. (since_id will work cleanly)
2010-02-08Allow scripts/decache.php to blow out cache for objects that don't exist ↵Brion Vibber
(anymore). May miss keys other than the given or primary key, but should work for a lot of common cases where a bad entry's been removed from DB but lingers in cache.
2010-02-08readme and version for beta5Evan Prodromou
2010-02-08Delete old Twitter user record when user changes screen name instead of ↵Zach Copley
updating. Simpler.
2010-02-08Store Twitter screen_name, not name, for foreign_user.nickname when saving ↵Zach Copley
Twitter user.
2010-02-05Merge branch 'temp'Zach Copley
2010-02-05Actually store the timestamp on each nonceZach Copley
2010-02-05OAuth app name should not be nullZach Copley
2010-02-05Fix issue with OAuth request parameters being parsed/stored twice whenZach Copley
calling /api/account/verify_credentials.:format
2010-02-05- Fix cache handling in TwitterStatusFetcherZach Copley
- Other stability fixes
2010-02-05Added right margin for notice text. Helps Conversation notices lookSarven Capadisli
better.
2010-02-05Confirm dialog for reset OAuth consumer key and secret buttonZach 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-05Suppress notice input box on OAuth authorization pageZach Copley
2010-02-05Better token revocationZach Copley
2010-02-05Allow developers to delete OAuth applicationsZach Copley
2010-02-05OAuth app names should be unique.Zach Copley
2010-02-05Prevents app statistic text from wrapping around avatarSarven Capadisli
2010-02-05Sentence case for app statisticsSarven Capadisli
2010-02-04drop debug messages from inbox deletion fixBrion Vibber
2010-02-04Inbox::streamNotices() with deletion compensation: inbox paging should more ↵Brion Vibber
or less work with deleted items now. No change in efficiency for the common case where nothing's deleted: does the same bulk fetch of just the notices we think we'll need as before, then if we turned up short keeps checking one by one until we've filled up to our $limit. This can leave us with overlap between pages, but we already have that when new messages come in between clicks; seems to be the lesser of evils versus not getting a 'before' button. More permanent fix for that will be to switch timeline paging in the UI to use notice IDs.
2010-02-04Missed change when refactoring groups. Thanks macnoEric Helgeson
2010-02-04Should fix spurious 'nickname taken' and 'email taken' errors on ↵Brion Vibber
registration. Form's checks for existing nicks & emails would incorrectly return true on the second lookup due to bad interaction with negative caching. (was checking $obj !== false but we return null now on negative cache hits, with false for cache misses)
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-02-03Script to update profile URLsEvan Prodromou
2010-02-03clear cache for Profile::hasRepeated() at Notice::insert() timeEvan Prodromou
2010-02-03clearcache.php column flag was conflicting with default flagEvan Prodromou
2010-02-03showcache.php column flag was conflicting with default flagEvan Prodromou
2010-02-03change 'sitetype' to 'siteplan' to use consistent languageEvan Prodromou
2010-02-03Merge branch 'master' of git@gitorious.org:statusnet/mainlineEvan Prodromou