- 30 Sep, 2011 2 commits
-
-
Brion Vibber authored
-
Brion Vibber authored
Should help with situations like IM daemons coming up with false negatives on user settings lookups.
-
- 29 Sep, 2011 2 commits
-
-
Brion Vibber authored
Further fixes to Managed_DataObject::_allCacheKeys(): now uses self::multicacheKey() to generate the (possibly compound) keys, which makes it match the order of the keys used when calling pkeyGet(). This should resolve the issues darkip was reporting with user_im_prefs entries returning null immediately after insertion (seen with memcached off, so it was happening even with the built-in in-process cache in the Cache base class). What was happening was that the initial pkeyGet() would end up saving a negative cache entry under the form with the fields sorted in the key, as via multicacheKey(): 'statusnet:blaguette:user_im_prefs:screenname,transport:brionv,sms' => 'N;' then we'd do an insert() on the new entry, saving cache entries for the non-sorted key names returned by _allCacheKeys(): 'statusnet:blaguette:user_im_prefs:transport,screenname:sms,brionv' => 'O...' 'statusnet:blaguette:user_im_prefs:user_id,transport:1234,sms' => 'O...' but the next query via pkeyGet() still saw the negative lookup cache from before, and came back with null. Now, _allCacheKeys() sorts the fields in the keys by using the same key-builder function, and queries pick up the same thing you just inserted. :)
-
Brion Vibber authored
Fix for caching with compound keys: add Managed_DataObject::_allCacheKeys() to override the one in Memcached_DataObject. Memcached_DataObject doesn't quite fully understand unique indexes, and can't properly build cache keys for compound unique or primary keys. Managed_DataObject has more information in its schema data, so we can build a proper list.
-
- 28 Sep, 2011 4 commits
-
-
Evan Prodromou authored
Merge commit 'refs/merge-requests/174' of git://gitorious.org/statusnet/mainline into merge-requests/174
-
Evan Prodromou authored
This file is really, really out-of-date. We've got admin panels, and we've got a long document (CONFIGURE) on how to do this. Using config.php.sample as a starting point is a bad idea.
-
Evan Prodromou authored
We're getting "DB error: already exists" on thumbnails coming from embed.ly. We don't need this to be unique, so let's avoid that.
-
Scott Sweeny authored
-
- 27 Sep, 2011 18 commits
-
-
Zach Copley authored
-
Zach Copley authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Zach Copley authored
-
Zach Copley authored
-
Zach Copley authored
Might be better to rewrite the login mechanism to use server side flow now that Facebook provides it.
-
- 26 Sep, 2011 14 commits
-
-
Evan Prodromou authored
Merge commit 'refs/merge-requests/158' of git://gitorious.org/statusnet/mainline into merge-requests/158 Conflicts: classes/Profile_list.php lib/peopletagnoticestream.php
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Brion Vibber authored
Use older-style top reply form when replying from old-school conversation tree view (labeled with .old-school class on one of its parent nodes).
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Samantha Doherty authored
-
Evan Prodromou authored
-
Samantha Doherty authored
-
Samantha Doherty authored
-