summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-18Update Avatar URL Did Weird Stuff.Christopher Vollick
It was only finding the first two avatars and then thinking it was done. I'm not entirely sure why it was doing that. I think maybe all the cloning made it forget where it was or something. Either way, it seems to work now, and really uses less memory.
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
2010-02-03add nickname as unique key for user_group tableEvan Prodromou
2010-02-02Fix regression breaking file attachments. This is what I get for rushing ↵Brion Vibber
fixes and not properly testing them. :P
2010-02-02Apply xopher's fix to add 'sitetype' parameter to setup_status_network.sh, ↵Brion Vibber
exposed to the email
2010-02-01Improve name validation checks on local File referencesBrion Vibber
2010-02-01fix local file include vulnerability in doc.phpEvan Prodromou
Conflicts: actions/doc.php
2010-02-01restructuring of User::registerNew() lost password mungingEvan Prodromou
2010-01-31Add a script to clear the cache for a given keyEvan Prodromou
Like showcache.php, clearcache.php clears the cache for a given key.
2010-01-31buggy fetch for site ownerEvan Prodromou