summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-04remove logging stuff from DiskCacheEvan Prodromou
2010-01-04Disk cache pluginEvan Prodromou
2010-01-04Merge branch 'master' into 0.9.xEvan Prodromou
Conflicts: actions/publictagcloud.php classes/Memcached_DataObject.php
2010-01-04Merge branch 'master' of git@gitorious.org:statusnet/mainlineEvan Prodromou
2010-01-04Merge branch 'batchlocation'Evan Prodromou
2010-01-04Exclude 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-04Revert "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-04Merge branch 'locshunt2' into 0.9.xEvan Prodromou
2010-01-04user_id is a non-autoincrement pkey for user_location_prefsEvan Prodromou
2010-01-04Ticket 2141: bugs with weighted popularity lists across year boundary.Brion Vibber
Consolidated several separate implementations of the same weighting algorithm into common_sql_weight() and fixed some bugs... For MySQL, now using timestampdiff() instead of subtraction for the comparison, so we get sane results when the year doesn't match, and utc_timestamp() rather than now() so we don't get negative ages for recent items with local server timezone. Unknown whether the same problems affect PostgreSQL, but note that it lacks the timestampdiff() SQL function.
2010-01-04Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2010-01-04XCachePlugin returns false value for cache missEvan Prodromou
2010-01-04cached id streams can be empty, compare against falseEvan Prodromou
2010-01-04carefully compare cached settings against false for ConfigEvan Prodromou
2010-01-04Merge branch '2141' into 0.9.xBrion Vibber
2010-01-04Memcached_DataObject stores empty values in the cacheEvan 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-04default value for cache::get() changed from null to falseEvan Prodromou
2010-01-04Differentiate between empty values and cache misses in CacheLogPluginEvan Prodromou
2010-01-04Ticket 2141: bugs with weighted popularity lists across year boundary.Brion Vibber
Consolidated several separate implementations of the same weighting algorithm into common_sql_weight() and fixed some bugs... For MySQL, now using timestampdiff() instead of subtraction for the comparison, so we get sane results when the year doesn't match, and utc_timestamp() rather than now() so we don't get negative ages for recent items with local server timezone. Unknown whether the same problems affect PostgreSQL, but note that it lacks the timestampdiff() SQL function.
2010-01-04Add 'takeOverLogin' parameter for a real SSO feelCraig Andrews
2010-01-04make compression threshold and min savings config attrs for MemcachePluginEvan Prodromou
2010-01-04Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2010-01-04Stop caching unfindable keysEvan 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-04user_id is a non-autoincrement pkey for user_location_prefsEvan Prodromou
2010-01-04Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-01-04Drop the overly-prominent link to checklibs display; it's unnecessary and ↵Brion Vibber
just confuses people. The ability's still there to aid in debugging, but it won't be tempting people to click on it.
2010-01-04Don't spew notices when building tag cloud if there is no popularity sum to ↵Brion Vibber
divide by.
2010-01-04Allow an authentication plugin with the same provider_name other than the ↵Craig Andrews
one that actually checked the password to autoregister a user Allows for SSO-type plugins that don't have any information about the user other than their username to do autoregistration
2010-01-04Fix for auto_increment parameter in auto-created tables via checkschema.Brion Vibber
Update FeedSub plugin for non-Plugin_DataObject setup and working checkschema updates.
2010-01-04Enable memcache automatic compression, starting at 20k and only if ↵Craig Andrews
compression gain is greater than 20%. Allows storage of larger objects (over 1mb in size uncompressed), such as huge LDAP schemas. Should also improve cache efficiency (allows more stuff to be stored in same memory) and reduce network latency (less data transfer) (redo commit 1e9c03e1993b5d2978ac4c5213a8a64e0150b4a2 which was apparently lost during pluginization)
2010-01-04Ran NoticeLocationAttach() through jslintSarven Capadisli
2010-01-04Removed unneeded line-heightSarven Capadisli
2010-01-04Removed commaSarven Capadisli
2010-01-04Relocated @title removalSarven Capadisli
2010-01-04Updated element id for notice_data-geoSarven Capadisli
2010-01-04Refactored geo location removal to removeNoticeDataGeo()Sarven Capadisli
2010-01-04Added errorCallback() to geoCurrentPosition() i.e., if user doesn'tSarven Capadisli
grant permission, removes the Geo processing and (if any) existing geo location data from notice form.
2010-01-04Trim whitespace from label's textContentSarven Capadisli
2010-01-04Using object value instead of inline stringSarven Capadisli
2010-01-04Open geoname URL in a new windowSarven Capadisli
2010-01-03Remove logging from default cacheEvan Prodromou
2010-01-03Debug utility to log cache accessEvan Prodromou
2010-01-03don't try to set an expiry for XCacheEvan Prodromou
2010-01-03add keyTypes() for User_greeting_countEvan Prodromou
2010-01-03Revert "use keys() instead of keyTypes() so plugin data object work"Evan Prodromou
This reverts commit ec380887f71a1eadc75bad0289f9a0dbee7f2913.
2010-01-03update SamplePlugin.php alsoEvan Prodromou
2010-01-03Expand SamplePlugin to show other best practicesEvan Prodromou
I modified the SamplePlugin to show how to do some real processing, adding a data class and an action class and modifying the main menu to link to the new action. I added documentation comments to all the methods and made sure the modules were PHPCS-clean.
2010-01-03use keys() instead of keyTypes() so plugin data object workEvan Prodromou
2010-01-03Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2010-01-03First version of cache plugin for XCache variable cacheEvan Prodromou