Brion Vibber [Wed, 3 Mar 2010 20:51:23 +0000 (12:51 -0800)]
Put all required field setup into AtomUserNoticeFeed and AtomGroupNoticeFeed, consolidating some code. (RSS feeds pulling title, logo etc from the Atom data structure so we don't dupe it.)
OStatus now calling the feed classes directly instead of faking a call into the API, should be less flakey.
Brion Vibber [Wed, 3 Mar 2010 21:40:26 +0000 (13:40 -0800)]
Separate the UI paths for ostatussub and ostatusgroup. They'll redirect to each other transparently if they find you've put a remote entity of the other type.
Zach Copley [Wed, 3 Mar 2010 21:06:20 +0000 (13:06 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
quick fix: skip notice from unused variable on group atom feed generation
Avoid notice on local group creation when uri isn't passed in at create time (needs to be generated)
Brion Vibber [Wed, 3 Mar 2010 20:08:07 +0000 (12:08 -0800)]
Language setting fixes:
- switch 'en_US' to 'en', fixes the "admin panel switches to Arabic" bug
- tweak setting descriptions to clarify that most of the time we'll be using browser language
- add a backend switch to disable language detection (should this be exposed to ui?)
Brion Vibber [Wed, 3 Mar 2010 19:22:22 +0000 (19:22 +0000)]
Fix for 4113f2884113f288: show regular subscribe form for all non-OMB profiles. We can't initiate remote sub for an OMB from our end, so dropping there.
Brion Vibber [Wed, 3 Mar 2010 19:00:02 +0000 (19:00 +0000)]
Use poster's subscribed groups to disambiguate group linking when a remote group and a local group exist with the same name. (If you're a member of two groups with the same name though, there's not a defined winner.)
Zach Copley [Wed, 3 Mar 2010 18:28:45 +0000 (10:28 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
Using position relative only for the remote subscription in section
Added group subscription button to groups mini list
Added event hooks at the start and end of groups mini list
Zach Copley [Wed, 3 Mar 2010 18:19:14 +0000 (10:19 -0800)]
Fix for disappearing 'connect' menu if xmpp and sms are disabled.
All 'connect' menu panels used to be optional, so Action tried to
figure out what the first item on the 'connect' menu should be.
This is no longer necessary because we have the non-optional OAuth
client connections panel now, which is not optional and can't be
turned off.
Brion Vibber [Wed, 3 Mar 2010 17:32:25 +0000 (09:32 -0800)]
Clean up OStatus mentions finding; separate regexes keeps the code paths a bit clearer. Also switched to hitting HTTP profile first; as the common case it'll be faster.
Changed label text for remote subscription to something similar. Given
that this button will be used within context of subscriptions, 'New'
works along with the '+' icon.
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 [Wed, 3 Mar 2010 00:30:09 +0000 (16:30 -0800)]
OStatus: save file records for enclosures
Also stripping id from foreign HTML messages (could interfere with UI) and disabled failing attachment popup for a.attachment links that don't have a proper id, so you can click through instead of getting an error.
Issues:
* any other links aren't marked and saved
* inconsistent behavior between local and remote attachments (local displays in lightbox, remote doesn't)
* if the enclosure'd object isn't referenced in the content, you won't be offered a link to it in our UI
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