Craig Andrews [Thu, 31 Dec 2009 00:29:38 +0000 (19:29 -0500)]
Enable memcache automatic compression, starting at 20k and only if 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)
Craig Andrews [Thu, 31 Dec 2009 00:16:32 +0000 (19:16 -0500)]
Add missing required line so this plugin works if it's the first (or only) Authentication Plugin in use
Siebrand Mazeland [Wed, 30 Dec 2009 19:26:23 +0000 (20:26 +0100)]
Remove trailing space in checkbox text.
Siebrand Mazeland [Wed, 30 Dec 2009 19:12:01 +0000 (20:12 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Brion Vibber [Tue, 29 Dec 2009 22:30:15 +0000 (14:30 -0800)]
If we got an identified location at ajax check time, renormalize lat/lon and naming. This'll match other displays of the names more consistently (Opera Plaza, San Francisco, CA, US instead of Opera Plaza, US)
Brion Vibber [Tue, 29 Dec 2009 22:05:43 +0000 (14:05 -0800)]
Add progress output and optional --sleep-time parameter to triminboxes.php
Craig Andrews [Tue, 29 Dec 2009 22:12:52 +0000 (17:12 -0500)]
Revert "Revert "Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask for user permission, causing us quite a bit of difficulty.""
This reverts commit
552de999bfe660cbf88eb9b1ce19e55b2f6b3d92.
Playing a bit of back-and-forth with this one :-)
Craig Andrews [Tue, 29 Dec 2009 21:19:33 +0000 (16:19 -0500)]
Revert "Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask for user permission, causing us quite a bit of difficulty."
This reverts commit
749b8b5b8ca4d1c39d350879aadddbdb9d8b71d5.
Craig Andrews [Tue, 29 Dec 2009 21:17:17 +0000 (16:17 -0500)]
Implement user interface for user to preview what location they are sharing with a notice
Brion Vibber [Tue, 29 Dec 2009 19:46:10 +0000 (11:46 -0800)]
Fix for saving user location preferences -- user_id field was marked as an auto-increment and wasn't getting saved with new inserts.
Evan Prodromou [Mon, 28 Dec 2009 23:50:41 +0000 (15:50 -0800)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
scripts/setconfig.php
Evan Prodromou [Mon, 28 Dec 2009 23:49:27 +0000 (15:49 -0800)]
Merge branch 'locshunt' into 0.9.x
Evan Prodromou [Mon, 28 Dec 2009 23:49:14 +0000 (15:49 -0800)]
Merge branch 'master' into 0.9.x
Evan Prodromou [Mon, 28 Dec 2009 23:13:15 +0000 (15:13 -0800)]
Move location-argument-handling code into a single function
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.
Evan Prodromou [Mon, 28 Dec 2009 22:44:05 +0000 (14:44 -0800)]
let users set location prefs from profile form
Evan Prodromou [Mon, 28 Dec 2009 22:43:34 +0000 (14:43 -0800)]
More configuration options for location sharing
Evan Prodromou [Mon, 28 Dec 2009 22:43:14 +0000 (14:43 -0800)]
user_id is primary key for user_location_prefs
Evan Prodromou [Mon, 28 Dec 2009 22:21:07 +0000 (14:21 -0800)]
remove namespace setting from location; it's unused
Evan Prodromou [Mon, 28 Dec 2009 21:59:31 +0000 (13:59 -0800)]
turn off exe bits
Evan Prodromou [Mon, 28 Dec 2009 21:59:03 +0000 (13:59 -0800)]
add user-location-prefs data objects
Evan Prodromou [Mon, 28 Dec 2009 21:54:09 +0000 (13:54 -0800)]
Add user_location_prefs to upgrade script
Evan Prodromou [Mon, 28 Dec 2009 21:53:28 +0000 (13:53 -0800)]
add table user_location_prefs
Evan Prodromou [Mon, 28 Dec 2009 20:45:22 +0000 (12:45 -0800)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Mon, 28 Dec 2009 20:42:22 +0000 (12:42 -0800)]
First version of blacklist plugin
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.
Brion Vibber [Mon, 28 Dec 2009 20:27:28 +0000 (12:27 -0800)]
Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask for user permission, causing us quite a bit of difficulty.
Brion Vibber [Mon, 28 Dec 2009 20:27:28 +0000 (12:27 -0800)]
Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask for user permission, causing us quite a bit of difficulty.
Evan Prodromou [Mon, 28 Dec 2009 19:02:44 +0000 (11:02 -0800)]
optionally flag a profile for review when blocked
Evan Prodromou [Mon, 28 Dec 2009 18:58:49 +0000 (10:58 -0800)]
move flag creation to a method of data object
Evan Prodromou [Mon, 28 Dec 2009 18:50:12 +0000 (10:50 -0800)]
add events for unblocking a profile
Evan Prodromou [Mon, 28 Dec 2009 18:42:55 +0000 (10:42 -0800)]
events for blocking a user
Evan Prodromou [Mon, 28 Dec 2009 18:42:31 +0000 (10:42 -0800)]
check if other user exists before unsub
Evan Prodromou [Mon, 28 Dec 2009 17:15:07 +0000 (09:15 -0800)]
phpcs-clean User_flag_profile as best as possible
Evan Prodromou [Mon, 28 Dec 2009 17:08:28 +0000 (09:08 -0800)]
phpcs-clean flagprofile.php
Evan Prodromou [Mon, 28 Dec 2009 17:06:38 +0000 (09:06 -0800)]
phpcs-clean clearflag.php
Evan Prodromou [Mon, 28 Dec 2009 16:45:21 +0000 (08:45 -0800)]
PHPCS-clean adminprofileflags.php
Evan Prodromou [Mon, 28 Dec 2009 16:37:30 +0000 (08:37 -0800)]
PHPCS-clean UserFlagPlugin
Evan Prodromou [Mon, 28 Dec 2009 16:19:56 +0000 (08:19 -0800)]
clear flags and show flaggers in adminflagprofile
Evan Prodromou [Mon, 28 Dec 2009 16:19:22 +0000 (08:19 -0800)]
add stuff for clearing flags to UserFlagPlugin
Evan Prodromou [Mon, 28 Dec 2009 15:58:33 +0000 (07:58 -0800)]
Add tools to clear flags
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.
Siebrand Mazeland [Mon, 28 Dec 2009 08:15:35 +0000 (09:15 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Sarven Capadisli [Sun, 27 Dec 2009 21:50:48 +0000 (16:50 -0500)]
Adjusted showstream , shownotice notice max width
Evan Prodromou [Sun, 27 Dec 2009 19:47:54 +0000 (11:47 -0800)]
pagination works for flagged profiles
Evan Prodromou [Sun, 27 Dec 2009 19:04:53 +0000 (11:04 -0800)]
admin page checks for right to review flags
Siebrand Mazeland [Fri, 25 Dec 2009 09:49:32 +0000 (10:49 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Brion Vibber [Fri, 25 Dec 2009 00:53:44 +0000 (16:53 -0800)]
chmod a+x setconfig.php
Evan Prodromou [Thu, 24 Dec 2009 23:13:30 +0000 (15:13 -0800)]
add setconfig.php script to set configuration options
Zach Copley [Thu, 24 Dec 2009 22:50:28 +0000 (16:50 -0600)]
Paths admin panel should not insist on an ssl server being specified,
ever.
Zach Copley [Thu, 24 Dec 2009 21:25:59 +0000 (15:25 -0600)]
Move ssl settings from site admin panel to paths admin panel
Evan Prodromou [Thu, 24 Dec 2009 23:13:30 +0000 (15:13 -0800)]
add setconfig.php script to set configuration options
Zach Copley [Thu, 24 Dec 2009 22:50:28 +0000 (16:50 -0600)]
Paths admin panel should not insist on an ssl server being specified,
ever.
Zach Copley [Thu, 24 Dec 2009 21:25:59 +0000 (15:25 -0600)]
Move ssl settings from site admin panel to paths admin panel
Evan Prodromou [Wed, 23 Dec 2009 23:53:58 +0000 (15:53 -0800)]
Merge branch 'geonamesxml' into 0.9.x
Evan Prodromou [Wed, 23 Dec 2009 23:53:55 +0000 (15:53 -0800)]
Merge branch 'master' into 0.9.x
Evan Prodromou [Wed, 23 Dec 2009 22:31:56 +0000 (14:31 -0800)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Wed, 23 Dec 2009 21:01:43 +0000 (16:01 -0500)]
Updated default theme to match identica theme's Repeat notice option styles
Sarven Capadisli [Wed, 23 Dec 2009 20:59:31 +0000 (15:59 -0500)]
Updated Repeat notice option submit button style
Sarven Capadisli [Wed, 23 Dec 2009 20:42:37 +0000 (15:42 -0500)]
Init UI for Repeat notice option confirmation dialog.
Evan Prodromou [Wed, 23 Dec 2009 20:16:22 +0000 (12:16 -0800)]
make sure Geonames API queries use correct arg separator
Evan Prodromou [Wed, 23 Dec 2009 20:09:11 +0000 (12:09 -0800)]
Convert Geonames plugin to use XML API instead of JSON
The XML API for Geonames contains much more detailed error information
than the JSON one. So, I've converted this plugin to use it instead.
It seems to be the preferred format for Geonames, so biting the bullet
on this makes sense.
Evan Prodromou [Wed, 23 Dec 2009 18:31:27 +0000 (10:31 -0800)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Wed, 23 Dec 2009 17:26:43 +0000 (09:26 -0800)]
Better error notification for Geonames plugin
Evan Prodromou [Wed, 23 Dec 2009 17:26:43 +0000 (09:26 -0800)]
Better error notification for Geonames plugin
Evan Prodromou [Wed, 23 Dec 2009 17:00:05 +0000 (09:00 -0800)]
don't email replies to yourself
Evan Prodromou [Wed, 23 Dec 2009 15:38:09 +0000 (07:38 -0800)]
whitespace fixup
Evan Prodromou [Wed, 23 Dec 2009 06:12:15 +0000 (22:12 -0800)]
Merge branch 'master' into 0.9.x
Evan Prodromou [Wed, 23 Dec 2009 05:58:23 +0000 (21:58 -0800)]
save location at notice post time
Brion Vibber [Wed, 23 Dec 2009 04:18:27 +0000 (20:18 -0800)]
Fix for massively slow friends timeline query due to indexing bug introduced 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 |
+----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+--------------------------+
Brion Vibber [Wed, 23 Dec 2009 04:18:27 +0000 (20:18 -0800)]
Fix for massively slow friends timeline query due to indexing bug introduced 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 |
+----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+--------------------------+
Evan Prodromou [Wed, 23 Dec 2009 00:44:19 +0000 (16:44 -0800)]
Merge branch 'testing'
Evan Prodromou [Wed, 23 Dec 2009 00:41:39 +0000 (16:41 -0800)]
update to rc2
Evan Prodromou [Wed, 23 Dec 2009 00:41:07 +0000 (16:41 -0800)]
update README for 0.9.0rc2
Brion [Tue, 22 Dec 2009 23:08:44 +0000 (15:08 -0800)]
Skip DB_DataObject's in-process cache for static gets on CLI processes.
The local process cache would grow forever, keeping things stuck in memory and preventing GC.
Siebrand Mazeland [Tue, 22 Dec 2009 23:17:05 +0000 (00:17 +0100)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Craig Andrews [Tue, 22 Dec 2009 22:53:24 +0000 (17:53 -0500)]
First version of a CAS authentication plugin
Siebrand Mazeland [Tue, 22 Dec 2009 22:48:18 +0000 (23:48 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Evan Prodromou [Tue, 22 Dec 2009 16:53:50 +0000 (08:53 -0800)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Tue, 22 Dec 2009 16:53:20 +0000 (08:53 -0800)]
remove some merge cruft from README
Brion Vibber [Tue, 22 Dec 2009 15:02:46 +0000 (07:02 -0800)]
Ticket 2083: use site.textlimit setting instead of hardcoding 140 into documentation
Sarven Capadisli [Tue, 22 Dec 2009 00:06:59 +0000 (00:06 +0000)]
Adjusted notice option alignment in MobileProfile
Sarven Capadisli [Mon, 21 Dec 2009 23:19:34 +0000 (23:19 +0000)]
Moving & replacing to the end of html and source data
Sarven Capadisli [Mon, 21 Dec 2009 22:07:59 +0000 (22:07 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Mon, 21 Dec 2009 22:06:49 +0000 (22:06 +0000)]
Right aligned delete notice option so that when repeat option is
present there is a consistent layout
Siebrand Mazeland [Mon, 21 Dec 2009 21:23:36 +0000 (22:23 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Brion Vibber [Sun, 20 Dec 2009 23:33:33 +0000 (15:33 -0800)]
Ticket 1982: define LC_MESSAGES and friends if PHP didn't predefine them for us. (Known problem on Win32)
Sarven Capadisli [Mon, 21 Dec 2009 15:09:12 +0000 (15:09 +0000)]
Added admin navigation item to MobileProfile
Brion Vibber [Sat, 19 Dec 2009 19:03:31 +0000 (14:03 -0500)]
Ignore user language settings that aren't listed in language config; we'll 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.
Siebrand Mazeland [Sun, 20 Dec 2009 19:20:35 +0000 (20:20 +0100)]
Remove pleonasm in UI text
Siebrand Mazeland [Sun, 20 Dec 2009 14:52:43 +0000 (15:52 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
* Adding Persian language
Siebrand Mazeland [Sun, 20 Dec 2009 09:41:10 +0000 (10:41 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Brion Vibber [Sat, 19 Dec 2009 19:03:31 +0000 (14:03 -0500)]
Ignore user language settings that aren't listed in language config; we'll 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.
Craig Andrews [Sat, 19 Dec 2009 20:10:57 +0000 (15:10 -0500)]
Cache the LDAP schema in memcache (if memcache is available)
Eric Helgeson [Sat, 19 Dec 2009 00:27:45 +0000 (18:27 -0600)]
Allow caching of ldap schema, greatly improves performance.
Eric Helgeson [Sat, 19 Dec 2009 00:27:15 +0000 (18:27 -0600)]
search->count() doesnt seem to be cached, so we will
Eric Helgeson [Sat, 19 Dec 2009 00:26:41 +0000 (18:26 -0600)]
Limit search to only the basedn we're looking in
Jeffery To [Thu, 17 Dec 2009 06:38:14 +0000 (14:38 +0800)]
Set returnto when redirected to login of a private install (for 0.9.x)
Can't use returnToArgs() because we don't have an action object yet.
Brion Vibber [Fri, 18 Dec 2009 14:36:30 +0000 (09:36 -0500)]
Followup fix for ticket 1672: Twitter bridge !group->#hash conversion will now happen regardless of whether account was configured with oauth or basic auth (previously applied only on the oauth path)
Brion Vibber [Fri, 18 Dec 2009 14:36:30 +0000 (09:36 -0500)]
Followup fix for ticket 1672: Twitter bridge !group->#hash conversion will now happen regardless of whether account was configured with oauth or basic auth (previously applied only on the oauth path)
Brion Vibber [Fri, 11 Dec 2009 21:14:40 +0000 (13:14 -0800)]
Make useremail.php executable
Christopher Vollick [Fri, 11 Dec 2009 15:34:57 +0000 (10:34 -0500)]
Added UserEmail script.
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.
Sarven Capadisli [Thu, 17 Dec 2009 20:35:07 +0000 (15:35 -0500)]
Minor style