Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-22 | Fix for massively slow friends timeline query due to indexing bug introduced ↵ | Brion Vibber | |
with repeats. Sorting on notice.id when our primary selector was notice_inbox.user_id caused a filesort and table scan of the notice table. Switchng to notice_inbox's notice_id means we can use our index, and everything comes right up. Before: mysql> explain SELECT notice.id AS id FROM notice JOIN notice_inbox ON notice.id = notice_inbox.notice_id WHERE notice_inbox.user_id = 18574 AND notice.repeat_of IS NULL ORDER BY notice.id DESC LIMIT 61 OFFSET 0; +----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+----------------------------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+----------------------------------------------+ | 1 | SIMPLE | notice_inbox | ref | PRIMARY,notice_inbox_notice_id_idx | PRIMARY | 4 | const | 102600 | Using index; Using temporary; Using filesort | | 1 | SIMPLE | notice | eq_ref | PRIMARY | PRIMARY | 4 | stoica.notice_inbox.notice_id | 1 | Using index | +----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+----------------------------------------------+ After: mysql> explain SELECT notice.id AS id FROM notice JOIN notice_inbox ON notice.id = notice_inbox.notice_id WHERE notice_inbox.user_id = 18574 AND notice.repeat_of IS NULL ORDER BY notice_id DESC LIMIT 61 OFFSET 0; +----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+--------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+--------------------------+ | 1 | SIMPLE | notice_inbox | ref | PRIMARY,notice_inbox_notice_id_idx | PRIMARY | 4 | const | 102816 | Using where; Using index | | 1 | SIMPLE | notice | eq_ref | PRIMARY,notice_repeatof_idx | PRIMARY | 4 | stoica.notice_inbox.notice_id | 1 | Using where | +----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+--------------------------+ | |||
2009-12-22 | Skip DB_DataObject's in-process cache for static gets on CLI processes. | Brion | |
The local process cache would grow forever, keeping things stuck in memory and preventing GC. | |||
2009-12-23 | Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x | Siebrand Mazeland | |
2009-12-22 | First version of a CAS authentication plugin | Craig Andrews | |
2009-12-22 | Localisation updates for !StatusNet from !translatewiki.net !sntrans | Siebrand Mazeland | |
2009-12-22 | Ticket 2083: use site.textlimit setting instead of hardcoding 140 into ↵ | Brion Vibber | |
documentation | |||
2009-12-22 | Adjusted notice option alignment in MobileProfile | Sarven Capadisli | |
2009-12-21 | Moving & replacing to the end of html and source data | Sarven Capadisli | |
2009-12-21 | Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x | Sarven Capadisli | |
2009-12-21 | Right aligned delete notice option so that when repeat option is | Sarven Capadisli | |
present there is a consistent layout | |||
2009-12-21 | Localisation updates for !StatusNet from !translatewiki.net !sntrans | Siebrand Mazeland | |
2009-12-21 | Ticket 1982: define LC_MESSAGES and friends if PHP didn't predefine them for ↵ | Brion Vibber | |
us. (Known problem on Win32) | |||
2009-12-21 | Added admin navigation item to MobileProfile | Sarven Capadisli | |
2009-12-20 | Remove pleonasm in UI text | Siebrand Mazeland | |
2009-12-20 | Localisation updates for !StatusNet from !translatewiki.net !sntrans | Siebrand Mazeland | |
* Adding Persian language | |||
2009-12-20 | Localisation updates for !StatusNet from !translatewiki.net !sntrans | Siebrand Mazeland | |
2009-12-19 | Ignore user language settings that aren't listed in language config; we'll ↵ | Brion Vibber | |
then fall back to current autodetection. This prevents the surprises where your profile suddenly switches to Arabic because it was selected by default due to lack of a match in the drop-down box. | |||
2009-12-19 | Cache the LDAP schema in memcache (if memcache is available) | Craig Andrews | |
2009-12-18 | Allow caching of ldap schema, greatly improves performance. | Eric Helgeson | |
2009-12-18 | search->count() doesnt seem to be cached, so we will | Eric Helgeson | |
2009-12-18 | Limit search to only the basedn we're looking in | Eric Helgeson | |
2009-12-18 | Set returnto when redirected to login of a private install (for 0.9.x) | Jeffery To | |
Can't use returnToArgs() because we don't have an action object yet. | |||
2009-12-18 | Followup fix for ticket 1672: Twitter bridge !group->#hash conversion will ↵ | Brion Vibber | |
now happen regardless of whether account was configured with oauth or basic auth (previously applied only on the oauth path) | |||
2009-12-17 | Minor style | Sarven Capadisli | |
2009-12-17 | Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x | Sarven Capadisli | |
2009-12-17 | Plugin that outputs 'powered by StatusNet' after site name | Sarven Capadisli | |
2009-12-16 | Localisation updates for !StatusNet from !translatewiki.net !sntrans | Siebrand Mazeland | |
2009-12-16 | Add some doc comments and fixmes in util.php | Brion Vibber | |
2009-12-16 | Add doc comments listing the array parameters for User::register() and ↵ | Brion Vibber | |
Notice::saveNew() | |||
2009-12-16 | Fix UserRightsTest unit tests | Brion Vibber | |
2009-12-16 | PHP 5.3 closure-based implementation of curry(); old implementation used as ↵ | Brion Vibber | |
fallback for older PHP versions. Added unit tests to confirm they both work! | |||
2009-12-16 | Cleanup undefined variable notice: set a couple more null defaults for new ↵ | Brion Vibber | |
params in Notice::saveNew(). Fixes this notice seen while using AJAX repeat button: Notice: Undefined variable: uri in classes/Notice.php on line 243 | |||
2009-12-16 | slight cleanup for a bit in Notice.php where a var was reused for different ↵ | Brion Vibber | |
types, confusing tracking down a bug | |||
2009-12-15 | can't repeat your own notice posted through realtime | Evan Prodromou | |
2009-12-15 | Don't show repeater avatar in notice lists | Evan Prodromou | |
2009-12-15 | make realtime plugin grok repeats | Evan Prodromou | |
2009-12-15 | Added .form_repeat notice option to received notices in Realtime plugin | Sarven Capadisli | |
2009-12-15 | call DB_DataObject::__destruct() if it exists | Evan Prodromou | |
2009-12-15 | take out DB_DataObject destructor | Evan Prodromou | |
2009-12-15 | broadcast for repeats | Evan Prodromou | |
2009-12-15 | create a method for notification for new messages, and use it | Evan Prodromou | |
2009-12-15 | add mail notification for dm command results | Evan Prodromou | |
2009-12-15 | remove dead code for handling direct messages, now done with commands | Evan Prodromou | |
2009-12-15 | give some trouble-shooting info for fancy URLs | Evan Prodromou | |
2009-12-14 | Add destructor on Memcached_DataObject to free DB_DataObject's global ↵ | Brion Vibber | |
storage for an object when that object itself is destroyed. Reduces some, but not all, memory leakage for long-running processes. | |||
2009-12-14 | Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x | Sarven Capadisli | |
2009-12-14 | document logincommand/disabled in README | Evan Prodromou | |
2009-12-14 | default for login command is disabled | Evan Prodromou | |
2009-12-14 | Initial representation for repeated notice | Sarven Capadisli | |
2009-12-14 | make sure id of <li> in notice list is unique | Evan Prodromou | |