Brion Vibber [Tue, 2 Mar 2010 20:06:40 +0000 (12:06 -0800)]
Performance fix on Sphinx search results: use id instead of created timestamp for reverse date sorting; should give same result but doesn't trigger a filesort.
Brion Vibber [Tue, 2 Mar 2010 19:54:02 +0000 (11:54 -0800)]
Dropped deprecated timestamp-based 'since' parameter for all API methods. When it sneaks in it can cause some very slow queries due to mismatches with the indexing.
Twitter removed 'since' support some time ago, and we've already removed it from the public timeline, so it shouldn't be missed.
Zach Copley [Tue, 2 Mar 2010 08:38:50 +0000 (00:38 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
don't duplicate title in summary in Atom output per RFC4287 4.2.13
Show <activity:subject> and no activity actors for user feed
Revert "show service debug info"
Evan Prodromou [Tue, 2 Mar 2010 07:54:52 +0000 (02:54 -0500)]
Show <activity:subject> and no activity actors for user feed
We only need one author for user feeds: the user themselves. So, show
the user as the activity:subject, and don't repeat the same
activity:actor for every notice unnecessarily.
Zach Copley [Tue, 2 Mar 2010 05:54:53 +0000 (21:54 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
High-priority OStatus fixes:
OStatus: support @example.com/path/to/profile mentions as well as @profile@example.com (latter requires webfinger, former doesn't)
Brion Vibber [Tue, 2 Mar 2010 02:46:34 +0000 (18:46 -0800)]
High-priority OStatus fixes:
* PuSHing out to multiple client services could fail; only first callback got reached
* Correction for re-sub request to a known sub
Brion Vibber [Tue, 2 Mar 2010 02:46:34 +0000 (18:46 -0800)]
High-priority OStatus fixes:
* PuSHing out to multiple client services could fail; only first callback got reached
* Correction for re-sub request to a known sub
Brion Vibber [Tue, 2 Mar 2010 00:36:33 +0000 (16:36 -0800)]
OStatus: support @example.com/path/to/profile mentions as well as @profile@example.com (latter requires webfinger, former doesn't)
Plus misc warnings/notices cleanup in the submission path.
Zach Copley [Tue, 2 Mar 2010 00:38:56 +0000 (16:38 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline: (25 commits)
Fix a bunch of notice & warning-level messages that were breaking my inter-instance communications
more output in updateostatus.php
lost important fields when switching queries
show service debug info
pass listener URI into consumer for OMB
remove strict check on OMB exception strings
return correct HTTP status code for OMB errors
send smaller error pages for OMB API endpoints
Remove check for secret in token deletion on Subscription::cancel()
Better logging on bad token in subscription
Return empty array when no subscriptions to remote
drop tokens for OMB on unsubscribe
fix path for updateostatus.php
Script to convert OMB subscriptions to OStatus subscriptions
show service debug info
pass listener URI into consumer for OMB
remove strict check on OMB exception strings
return correct HTTP status code for OMB errors
send smaller error pages for OMB API endpoints
Remove check for secret in token deletion on Subscription::cancel()
...
Zach Copley [Mon, 1 Mar 2010 22:59:54 +0000 (14:59 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
Localization tweak: include doc comments marked as 'TRANS' in .po file output; these should now get automatically pulled through to the TranslateWiki interface as translator help hints.
Add index on group_index.notice_id, needed to pull list of target groups for inbox delivery.
Add index on post_id for file_to_post, needed for efficient lookups of files/urls attached to a given post.
Update pot file
Brion Vibber [Mon, 1 Mar 2010 22:10:13 +0000 (14:10 -0800)]
Localization tweak: include doc comments marked as 'TRANS' in .po file output; these should now get automatically pulled through to the TranslateWiki interface as translator help hints.
Brion Vibber [Mon, 1 Mar 2010 21:09:20 +0000 (13:09 -0800)]
Add index on group_index.notice_id, needed to pull list of target groups for inbox delivery.
Index was present on live identi.ca database but missing from master definitions: group_inbox_notice_id_idx
Evan Prodromou [Sat, 27 Feb 2010 21:06:46 +0000 (16:06 -0500)]
Use notice for context when deciding who @nickname refers to
In a federated system, "@nickname" is insufficient to uniquely
identify a user. However, it's a very convenient idiom. We need to
guess from context who 'nickname' refers to.
Previously, we were using the sender's profile (or what we knew about
them) as the only context. So, we assumed that they'd be mentioning to
someone they followed, or someone who followed them, or someone on
their own server.
Now, we include the notice information for context. We check to see if
the notice is a reply to another notice, and if the author of the
original notice has the nickname 'nickname', then the mention is
probably for them. Alternately, if the original notice mentions someone
with nickname 'nickname', then this notice is probably referring to
_them_.
Doing this kind of context sleuthing means we have to render the
content very late in the notice-saving process.
Evan Prodromou [Sat, 27 Feb 2010 20:03:17 +0000 (15:03 -0500)]
Plugin to restrict too many registrations from one IP
We throttle registrations by IP. We record IP address of each
registration, and if too many registrations have been done by the same
IP address in the time interval, we reject the registration.