summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-29Fix for saving user location preferences -- user_id field was marked as an ↵Brion Vibber
auto-increment and wasn't getting saved with new inserts.
2009-12-28Move location-argument-handling code into a single functionEvan Prodromou
Moved the important parts of the location-argument-handling stuff to a single function. Handles defaults and overrides correctly, and easy to use. Changed Web and API channels to use it.
2009-12-28let users set location prefs from profile formEvan Prodromou
2009-12-28More configuration options for location sharingEvan Prodromou
2009-12-28user_id is primary key for user_location_prefsEvan Prodromou
2009-12-28remove namespace setting from location; it's unusedEvan Prodromou
2009-12-28turn off exe bitsEvan Prodromou
2009-12-28add user-location-prefs data objectsEvan Prodromou
2009-12-28Add user_location_prefs to upgrade scriptEvan Prodromou
2009-12-28add table user_location_prefsEvan Prodromou
2009-12-28Merge branch 'master' of git@gitorious.org:statusnet/mainlineEvan Prodromou
2009-12-28First version of blacklist pluginEvan Prodromou
First version of blacklist plugin. Replaces custom code in identi.ca's config.php, which was getting scary and long. Also correctly handles changed nicknames or URLs in profile settings and using 'forbidden' URLs in notice text.
2009-12-28Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ↵Brion Vibber
ask for user permission, causing us quite a bit of difficulty.
2009-12-28optionally flag a profile for review when blockedEvan Prodromou
2009-12-28move flag creation to a method of data objectEvan Prodromou
2009-12-28add events for unblocking a profileEvan Prodromou
2009-12-28events for blocking a userEvan Prodromou
2009-12-28check if other user exists before unsubEvan Prodromou
2009-12-28phpcs-clean User_flag_profile as best as possibleEvan Prodromou
2009-12-28phpcs-clean flagprofile.phpEvan Prodromou
2009-12-28phpcs-clean clearflag.phpEvan Prodromou
2009-12-28PHPCS-clean adminprofileflags.phpEvan Prodromou
2009-12-28PHPCS-clean UserFlagPluginEvan Prodromou
2009-12-28clear flags and show flaggers in adminflagprofileEvan Prodromou
2009-12-28add stuff for clearing flags to UserFlagPluginEvan Prodromou
2009-12-28Add tools to clear flagsEvan Prodromou
Added a form to clear all flags for a profile, when showed on adminprofileflags list. Add an action to handle the form, and a right for the action.
2009-12-27pagination works for flagged profilesEvan Prodromou
2009-12-27admin page checks for right to review flagsEvan Prodromou
2009-12-24Paths admin panel should not insist on an ssl server being specified,Zach Copley
ever.
2009-12-24Move ssl settings from site admin panel to paths admin panelZach Copley
2009-12-24add setconfig.php script to set configuration optionsEvan Prodromou
2009-12-23make sure Geonames API queries use correct arg separatorEvan Prodromou
2009-12-23Better error notification for Geonames pluginEvan Prodromou
2009-12-22save location at notice post timeEvan Prodromou
2009-12-22Fix 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-22Merge branch 'testing'Evan Prodromou
2009-12-22update to rc2Evan Prodromou
2009-12-22update README for 0.9.0rc2Evan Prodromou
2009-12-21Ignore 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-18Followup 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-17Make useremail.php executableBrion Vibber
2009-12-17Added UserEmail script.Christopher Vollick
Used to query user's emails. Mostly used for administration, to see if a user requesting something is who they say. Also, some people assume that the admin knows this data, and says things like: "If you could do _____ with the account connected to this email". It'd be nice if we could do that without raw SQL.
2009-12-16Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2009-12-16Merge branch '0.9.x' into testing0.9.0rc2Evan Prodromou
2009-12-16Localisation updates for !StatusNet from !translatewiki.net !sntransSiebrand Mazeland
2009-12-16Add some doc comments and fixmes in util.phpBrion Vibber
2009-12-16Add doc comments listing the array parameters for User::register() and ↵Brion Vibber
Notice::saveNew()
2009-12-16Fix UserRightsTest unit testsBrion Vibber
2009-12-16PHP 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-16Cleanup 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