summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-06remove invalid calls to AuthenticationPlugin::onAutoloadCraig Andrews
2010-01-06Use plugin configuration instead of common_config()Craig Andrews
2010-01-06Use common_{log,debug} instead of error_log for loggingCraig Andrews
2010-01-06Add shiny's mollom pluginCraig Andrews
2010-01-05Fix for overlong RT trimming: don't trim if textlimit is 0 (unlimited)Brion Vibber
2010-01-05Ticket 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-05Cache 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-05Require users to login to view attachments on private sitesCraig Andrews
Thank you jeff-themovie for this implementation!
2010-01-05Localisation updates for !StatusNet from !translatewiki.net !sntransSiebrand Mazeland
2010-01-05Move 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-05Fix auth plugin autoregistration issue.Craig Andrews
2010-01-05Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xSarven Capadisli
2010-01-05Added adminprofileflag padding for CloudySarven Capadisli
2010-01-05Typo fix in the new default in-process cache; spewed notice warnings on ↵Brion Vibber
deletion, breaking XHR responses.
2010-01-05Admin panel layout for CloudySarven Capadisli
2010-01-05Rest of layout styles for Cloudy.Sarven Capadisli
2010-01-05More updates to Cloudy theme layoutSarven Capadisli
2010-01-05Updated Cloudy themeSarven Capadisli
2010-01-04Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
Conflicts: classes/Memcached_DataObject.php
2010-01-04free some memory in createsim.phpEvan Prodromou
2010-01-05Updated default theme for geoSarven Capadisli
2010-01-05Reuse cookie location_enabled before .change()Sarven Capadisli
2010-01-05Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xSarven Capadisli
2010-01-05Retain the geo data when FormNoticeXHR is complete because form getsSarven Capadisli
reset
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-05Remove input geo data as wellSarven Capadisli
2010-01-05If user checked shared location but didn't enter their location, don'tSarven Capadisli
show the checkbox
2010-01-04Refactored NoticeLocationAttach(). It works better in UAs that don'tSarven Capadisli
support Geolocation API.
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-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.
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-04drop debug statementBrion Vibber
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.