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
Sarven Capadisli [Thu, 17 Dec 2009 20:29:44 +0000 (15:29 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Thu, 17 Dec 2009 20:28:50 +0000 (15:28 -0500)]
Plugin that outputs 'powered by StatusNet' after site name
Evan Prodromou [Thu, 17 Dec 2009 03:22:29 +0000 (22:22 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Thu, 17 Dec 2009 03:14:41 +0000 (22:14 -0500)]
Merge branch '0.9.x' into testing
Siebrand Mazeland [Wed, 16 Dec 2009 22:57:10 +0000 (23:57 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Brion Vibber [Tue, 15 Dec 2009 23:55:18 +0000 (18:55 -0500)]
Add some doc comments and fixmes in util.php
Brion Vibber [Tue, 15 Dec 2009 23:27:03 +0000 (18:27 -0500)]
Add doc comments listing the array parameters for User::register() and Notice::saveNew()
Brion Vibber [Tue, 15 Dec 2009 22:49:53 +0000 (14:49 -0800)]
Fix UserRightsTest unit tests
Brion Vibber [Tue, 15 Dec 2009 21:53:19 +0000 (13:53 -0800)]
PHP 5.3 closure-based implementation of curry(); old implementation used as fallback for older PHP versions. Added unit tests to confirm they both work!
Brion Vibber [Tue, 15 Dec 2009 21:05:05 +0000 (13:05 -0800)]
Cleanup undefined variable notice: set a couple more null defaults for new params in Notice::saveNew().
Fixes this notice seen while using AJAX repeat button:
Notice: Undefined variable: uri in classes/Notice.php on line 243
Brion Vibber [Fri, 11 Dec 2009 21:53:09 +0000 (13:53 -0800)]
slight cleanup for a bit in Notice.php where a var was reused for different types, confusing tracking down a bug
Evan Prodromou [Tue, 15 Dec 2009 21:24:52 +0000 (16:24 -0500)]
Merge branch '0.9.x' into testing
Evan Prodromou [Tue, 15 Dec 2009 21:19:11 +0000 (16:19 -0500)]
can't repeat your own notice posted through realtime
Evan Prodromou [Tue, 15 Dec 2009 21:08:44 +0000 (16:08 -0500)]
Don't show repeater avatar in notice lists
Evan Prodromou [Tue, 15 Dec 2009 20:47:37 +0000 (15:47 -0500)]
make realtime plugin grok repeats
Sarven Capadisli [Tue, 15 Dec 2009 19:44:20 +0000 (19:44 +0000)]
Added .form_repeat notice option to received notices in Realtime plugin
Evan Prodromou [Tue, 15 Dec 2009 17:38:15 +0000 (12:38 -0500)]
call DB_DataObject::__destruct() if it exists
Evan Prodromou [Tue, 15 Dec 2009 17:33:17 +0000 (12:33 -0500)]
take out DB_DataObject destructor
Evan Prodromou [Tue, 15 Dec 2009 17:29:37 +0000 (12:29 -0500)]
broadcast for repeats
Evan Prodromou [Tue, 15 Dec 2009 15:31:25 +0000 (10:31 -0500)]
create a method for notification for new messages, and use it
Evan Prodromou [Tue, 15 Dec 2009 15:18:27 +0000 (10:18 -0500)]
add mail notification for dm command results
Evan Prodromou [Tue, 15 Dec 2009 15:12:36 +0000 (10:12 -0500)]
remove dead code for handling direct messages, now done with commands
Evan Prodromou [Tue, 15 Dec 2009 11:11:37 +0000 (06:11 -0500)]
give some trouble-shooting info for fancy URLs
Brion Vibber [Tue, 15 Dec 2009 00:36:01 +0000 (16:36 -0800)]
Add destructor on Memcached_DataObject to free DB_DataObject's global storage for an object when that object itself is destroyed.
Reduces some, but not all, memory leakage for long-running processes.
Sarven Capadisli [Mon, 14 Dec 2009 23:34:16 +0000 (18:34 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 14 Dec 2009 23:09:45 +0000 (18:09 -0500)]
document logincommand/disabled in README
Evan Prodromou [Mon, 14 Dec 2009 23:09:30 +0000 (18:09 -0500)]
default for login command is disabled
Sarven Capadisli [Mon, 14 Dec 2009 23:09:08 +0000 (18:09 -0500)]
Initial representation for repeated notice
Evan Prodromou [Mon, 14 Dec 2009 22:48:14 +0000 (17:48 -0500)]
make sure id of <li> in notice list is unique
Evan Prodromou [Mon, 14 Dec 2009 22:11:34 +0000 (17:11 -0500)]
had the order of <status> and <retweeted_status> wrong in api output
Evan Prodromou [Mon, 14 Dec 2009 21:41:42 +0000 (16:41 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 14 Dec 2009 21:41:25 +0000 (16:41 -0500)]
add friends_timeline with no repeats in it
Evan Prodromou [Mon, 14 Dec 2009 21:40:56 +0000 (16:40 -0500)]
fix error with cached repeat of deleted original in api output
Siebrand Mazeland [Mon, 14 Dec 2009 21:29:35 +0000 (22:29 +0100)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 14 Dec 2009 21:10:16 +0000 (16:10 -0500)]
move full-featured timeline to apitimelinehome.php
Evan Prodromou [Mon, 14 Dec 2009 20:49:19 +0000 (15:49 -0500)]
parse error in retweet method
Evan Prodromou [Mon, 14 Dec 2009 20:42:53 +0000 (15:42 -0500)]
correct link for repeat attribution in noticelist
Siebrand Mazeland [Mon, 14 Dec 2009 20:42:30 +0000 (21:42 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Brion Vibber [Mon, 14 Dec 2009 19:51:38 +0000 (11:51 -0800)]
Clean up console output for non-interactive mode (handy for batch setup scripts)
Zach Copley [Mon, 14 Dec 2009 18:16:45 +0000 (18:16 +0000)]
Fix issue with favorited/following always being set to false
Zach Copley [Mon, 14 Dec 2009 07:33:29 +0000 (07:33 +0000)]
Fix Twitter bridge so it responds reasonably to authorization errors.
Zach Copley [Mon, 14 Dec 2009 18:16:45 +0000 (18:16 +0000)]
Fix issue with favorited/following always being set to false
Zach Copley [Mon, 14 Dec 2009 07:34:33 +0000 (07:34 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Zach Copley [Mon, 14 Dec 2009 07:33:29 +0000 (07:33 +0000)]
Fix Twitter bridge so it responds reasonably to authorization errors.
Sarven Capadisli [Mon, 14 Dec 2009 01:00:09 +0000 (20:00 -0500)]
Init UI for Repeated by
Sarven Capadisli [Sun, 13 Dec 2009 23:21:36 +0000 (00:21 +0100)]
Initial UI for form repeat
Siebrand Mazeland [Sun, 13 Dec 2009 17:55:17 +0000 (18:55 +0100)]
(Puctuation) consistency in clientError() calls.
Siebrand Mazeland [Sun, 13 Dec 2009 17:31:14 +0000 (18:31 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
* add Interlingua (ia)
Siebrand Mazeland [Sun, 13 Dec 2009 17:24:12 +0000 (18:24 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
Craig Andrews [Sun, 13 Dec 2009 02:24:38 +0000 (21:24 -0500)]
Add repeat command