Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-12 | Avoid spewing warnings about returning by reference on memcached cache ↵ | Brion Vibber | |
misses by setting a var and returning it instead of trying to return false directly. This hacky workaround is brought to you by DB_DataObject's PHP 4 roots. | |||
2010-01-11 | Regression fix: don't spew notices to log every time we get a non-cached ↵ | Brion Vibber | |
user object | |||
2010-01-11 | Merge branch 'sessionidparam' into 0.9.x | Evan Prodromou | |
Conflicts: lib/command.php | |||
2010-01-10 | Merge branch 'master' into 0.9.x | Evan Prodromou | |
Conflicts: classes/Memcached_DataObject.php | |||
2010-01-10 | check before saving a thumbnail | Evan Prodromou | |
2010-01-10 | check before inserting File_oembed and File_thumbnail | Evan Prodromou | |
2010-01-10 | don't put Users with object IDs in the cache, and don't fetch them | Evan Prodromou | |
2010-01-10 | always set site/server to hostname if it exists | Evan Prodromou | |
2010-01-09 | allow hostname with SSL | Evan Prodromou | |
2010-01-09 | use nickname, not sitename, in domain for SSL | Evan Prodromou | |
2010-01-09 | correct superglobal variable name | Evan Prodromou | |
2010-01-09 | redirect to sitename.wildcard for SSL | Evan Prodromou | |
2010-01-09 | Redirect to a one-time-password when ssl and regular server are different | Evan Prodromou | |
2010-01-07 | Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x | Evan Prodromou | |
2010-01-07 | Fixes to bugs where non-local messages were being wrong put in the public ↵ | Ciaran Gultnieks | |
timeline and public xmpp feed | |||
2010-01-06 | fixup keytypes so it returns the types no matter what kind of class it is | Evan Prodromou | |
2010-01-06 | Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x | Evan Prodromou | |
2010-01-06 | only encache new objects when insert was successful | Evan Prodromou | |
2010-01-06 | ...and drop the unnecessary &reference from child class pkeyGet() overrides. | Brion Vibber | |
2010-01-06 | Rearrange Memcached_DataObject::staticGet() to avoid "only variables can be ↵ | Brion Vibber | |
passed by reference" warnings when DB lookup fails and we return false. (We need to keep it returning a reference because the extlib parent class is stuck in PHP 4-land and uses references everywhere, including this function's return value. Yuck!) Also changed pkeyGet to drop the reference, since it doesn't have an upstream equivalent. | |||
2010-01-06 | Fix for broken profile flag admin UI: delete stray flag entries when users ↵ | Brion Vibber | |
are deleted so broken entries don't litter the lookups. * added ProfileDeleteRelated event to match UserDeleteRelated, to allow plugins to add extra related tables on profile deletion * UserFlagPlugin: deleting flags when target profile is deleted * UserFlagPlugin: deleting flags when flagging user is deleted * UserFlagPlugin: fix for autoloader -- class names are case-insensitive. We may get lowercase class names coming in at times, such as when creating DB objects programatically from a table name. Note that any already-existing bogus entries need to be removed from the database: select * from user_flag_profile where (select id from profile where id=profile_id) is null; select * from user_flag_profile where (select id from user where id=user_id) is null; | |||
2010-01-05 | encache on insert instead of decaching | Evan Prodromou | |
2010-01-05 | Fix for overlong RT trimming: don't trim if textlimit is 0 (unlimited) | Brion Vibber | |
2010-01-05 | Fix for overlong RT trimming: don't trim if textlimit is 0 (unlimited) | Brion Vibber | |
2010-01-05 | Ticket 2135: trim overlong repeats with ellipsis rather than failing. | Brion Vibber | |
In web interface and retweet/repeat API we show the original untrimmed text, but some back-compat API messages will still show the trimmed 'RT' version. This matches Twitter's behavior on overlong retweets, though we're outputting the RT version in more API results than they do. | |||
2010-01-05 | Ticket 2135: trim overlong repeats with ellipsis rather than failing. | Brion Vibber | |
In web interface and retweet/repeat API we show the original untrimmed text, but some back-compat API messages will still show the trimmed 'RT' version. This matches Twitter's behavior on overlong retweets, though we're outputting the RT version in more API results than they do. | |||
2010-01-05 | Cache fixes: | Brion Vibber | |
* We now cache negative lookups; clear them in Memcached_DataObject->insert() * Mark file.url as a unique key in statusnet.ini so its negative lookups are cleared properly (first save of a notice with a new URL was failing due to double-insert) * Now using serialization for default in-process cache instead of just saving objects; avoids potential corruption if you save an object to cache, change the original object, then fetch the same key from cache again | |||
2010-01-05 | Require users to login to view attachments on private sites | Craig Andrews | |
Thank you jeff-themovie for this implementation! | |||
2010-01-05 | Move Authorization and Authentication plugin structures into core, instead ↵ | Craig Andrews | |
of as plugins. This move makes sense as you can addPlugin('Authentication') for example - these are abstract classes designed to be implemented, not used directly. | |||
2010-01-04 | Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x | Evan Prodromou | |
Conflicts: classes/Memcached_DataObject.php | |||
2010-01-04 | Merge branch 'master' into 0.9.x | Evan Prodromou | |
Conflicts: actions/publictagcloud.php classes/Memcached_DataObject.php | |||
2010-01-04 | Exclude process-specific link & result cache references from serialized ↵ | Brion Vibber | |
Memcached_Data_Object instances. Should fix seemingly-random bugs due to destructor free()ing local resources by mistake. cherry-pick from 0.9.x | |||
2010-01-04 | Revert "Take Memcached_DataObject destructor back out to check whether it ↵ | Brion Vibber | |
might be causing some under-the-hood problems." This reverts commit 89cca01259d71f3da961ef64def3647f86a01567. | |||
2010-01-04 | Exclude process-specific link & result cache references from serialized ↵ | Brion Vibber | |
Memcached_Data_Object instances. Should fix seemingly-random bugs due to destructor free()ing local resources by mistake. | |||
2010-01-04 | cached id streams can be empty, compare against false | Evan Prodromou | |
2010-01-04 | carefully compare cached settings against false for Config | Evan Prodromou | |
2010-01-04 | Memcached_DataObject stores empty values in the cache | Evan Prodromou | |
There's great value in knowing that something doesn't exist. We now cache this information, and carefully compare the results from cache as $results !== false instead of !empty($results), since some empty values (null, 0, empty array, empty string) are stored in the cache. Caching staticGet() and pkeyGet() now store DB misses in the cache, and cachedQuery() checks for empty results from the cache. | |||
2010-01-04 | Stop caching unfindable keys | Evan Prodromou | |
There were some problems with the automated cache/uncache system for data objects that made us cache unfindable keys (with null attributes and sometimes null names). Fixed those problems and refactored the encache() and decache() methods so they use a helper to find the cache keys to use. | |||
2010-01-04 | user_id is a non-autoincrement pkey for user_location_prefs | Evan Prodromou | |
2010-01-03 | Revert "use keys() instead of keyTypes() so plugin data object work" | Evan Prodromou | |
This reverts commit ec380887f71a1eadc75bad0289f9a0dbee7f2913. | |||
2010-01-03 | use keys() instead of keyTypes() so plugin data object work | Evan Prodromou | |
2010-01-02 | Merge branch 'master' into 0.9.x | Evan Prodromou | |
Conflicts: classes/Memcached_DataObject.php | |||
2010-01-02 | return false from Memcached_DataObject::staticGet() on not found, like ↵ | Evan Prodromou | |
DB_DataObject | |||
2010-01-02 | change harmless check of to check of in Memcached_DataObject | Evan Prodromou | |
2010-01-02 | incorrectly used empty() instead of isset() for a variable that could be 0 | Evan Prodromou | |
2010-01-01 | Merge branch 'master' of git@gitorious.org:statusnet/mainline | Evan Prodromou | |
2010-01-01 | Revert "add cleanup method to cleanup a single row" | Evan Prodromou | |
This reverts commit b0527801d9c2b84408bbfdf82bbdc5b778f72cfc. | |||
2010-01-01 | Merge branch 'master' into 0.9.x | Evan Prodromou | |
Conflicts: classes/Memcached_DataObject.php | |||
2010-01-01 | add cleanup method to cleanup a single row | Evan Prodromou | |
2010-01-01 | stop using DB_DataObject's staticGet() which caches | Evan Prodromou | |