Zach Copley [Wed, 3 Mar 2010 17:53:16 +0000 (09:53 -0800)]
Merge branch 'twitter-facebook-mods'
* twitter-facebook-mods:
Make Facebook plugin look for API key and secret before doing anything
Show global key and secret, if defined, in Twitter bridge admin panel
Remove double word from Twitter bridge README
- Have Twitter bridge check for a global key and secret if it can't
stupid mistake... let's not talk about this.
Updated some references to the long gnone "isEnclosure" function to the new "getEnclosure"
Update Facebook plugin README with info about new admin panel
Initial Facebook admin panel
Some wording / spelling fixes
- Make 'Sign in with Twitter' optional
Remove un-needed config variable for enabling/disabling Twitter integration
Initial Twitter bridge admin panel
Upgrade XML output scrubbing to better deal with newline and a few other chars
Zach Copley [Wed, 3 Mar 2010 00:49:29 +0000 (16:49 -0800)]
- Have Twitter bridge check for a global key and secret if it can't
find one in the local config
- Refuse to work at all if the consumer key and secret aren't set
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.
Brion Vibber [Tue, 2 Mar 2010 23:38:52 +0000 (15:38 -0800)]
OStatus fix: look for <link>s in the current element's children, not in all its descendants. Was breaking notice URL transfer, pulling a profile link by mistake.
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.
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 [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.
Brion Vibber [Fri, 26 Feb 2010 17:59:36 +0000 (09:59 -0800)]
Temp fix for mismatched newlines in Telugu; gettext sometimes refuses to complete when such mismatches are present. (Needs to be fixed upstream in TranslateWiki separately so it doesn't revert.)