Evan Prodromou [Fri, 25 Mar 2011 20:18:10 +0000 (16:18 -0400)]
Merge branch '1.0.x' into limitdist2
Evan Prodromou [Fri, 25 Mar 2011 20:15:55 +0000 (16:15 -0400)]
Make function signature for getNoticeIds agree
There were some differences between defaults for the
NoticeStream::getNoticeIds() function and some of its subclasses'
implementations. So, I got them rationalized.
Evan Prodromou [Fri, 25 Mar 2011 19:57:07 +0000 (15:57 -0400)]
Merge branch '1.0.x' into limitdist2
Conflicts:
lib/groupnoticestream.php
lib/taggedprofilenoticestream.php
Evan Prodromou [Fri, 25 Mar 2011 16:22:22 +0000 (12:22 -0400)]
All notice streams check notice scope
Added filtering code so that notice streams check notice scope.
Added new class to implement filtering a stream, FilteringNoticeStream.
Added a subclass that does the logic for checking Notice scope.
And made all the streams use ScopingNoticeStream.
Siebrand Mazeland [Fri, 25 Mar 2011 16:12:53 +0000 (17:12 +0100)]
i18n fixes.
Translator documentation updates.
Evan Prodromou [Fri, 25 Mar 2011 15:46:49 +0000 (11:46 -0400)]
Merge branch 'limitdist' into limitdist2
Siebrand Mazeland [Fri, 25 Mar 2011 09:13:26 +0000 (10:13 +0100)]
Fix use of incorrect method causing i18n issue.
Siebrand Mazeland [Fri, 25 Mar 2011 09:02:02 +0000 (10:02 +0100)]
* PHP short tags "<?" to full tag "<?php".
* superfluous whitespace removed.
Siebrand Mazeland [Fri, 25 Mar 2011 08:55:33 +0000 (09:55 +0100)]
L10n update.
Translator documentation added.
Superfluous whitespace removed.
Brion Vibber [Fri, 25 Mar 2011 01:41:25 +0000 (18:41 -0700)]
TwitterBridge: discard outgoing queue items instead of retrying when Twitter API returns HTTP 400 or 404 error codes
We get HTTP 400 for various cases of invalid data, where retrying doesn't help at all -- previously those would loop forever, or until something died at least. :)
400 is also used for rate limiting, but retrying *immediately* will just hit the rate limit again, so better to discard if we're going over for now.
Evan Prodromou [Thu, 24 Mar 2011 22:05:32 +0000 (18:05 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Thu, 24 Mar 2011 22:04:19 +0000 (18:04 -0400)]
Break up stream code to use separate notice stream classes
Rearchitect (again!) notice stream code to delegate different functionality up and down the stack.
Now, different classes implement NoticeStream.
Siebrand Mazeland [Thu, 24 Mar 2011 16:02:28 +0000 (17:02 +0100)]
Fix typo in documentation.
Siebrand Mazeland [Thu, 24 Mar 2011 15:52:32 +0000 (16:52 +0100)]
Fix i18n.
Siebrand Mazeland [Thu, 24 Mar 2011 15:47:29 +0000 (16:47 +0100)]
Change formatting of i18n slightly. Translator hints were not picked up in pot file. May now they are.
Siebrand Mazeland [Thu, 24 Mar 2011 15:08:03 +0000 (16:08 +0100)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 24 Mar 2011 11:09:50 +0000 (12:09 +0100)]
Translator documentation updated.
i18n/L10n updates.
Superfluous whitespace removed.
Add FIXME for missing class documentation.
Siebrand Mazeland [Thu, 24 Mar 2011 10:47:57 +0000 (11:47 +0100)]
Update translator documentation.
Remove superfluous whitespace.
L10n/I18n updates.
FIXMEs added for missing documentation or headers.
Siebrand Mazeland [Thu, 24 Mar 2011 08:59:01 +0000 (09:59 +0100)]
Update translator documentation.
i18n/L10n updates.
Superfluous whitespace removed.
Add FIXME in files with missing documentation.
Evan Prodromou [Thu, 24 Mar 2011 02:11:13 +0000 (22:11 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Thu, 24 Mar 2011 02:10:44 +0000 (22:10 -0400)]
Fallback for RSVP display when Event is deleted
Brion Vibber [Wed, 23 Mar 2011 22:21:31 +0000 (15:21 -0700)]
Enhancement for 'ajax' form class: submit buttons behave more like normal submissions, submitting their name/values through a hidden field.
This should work well for simple cases, but could conceivably create false positives if there's a click handler on the specific buttons, depending on whether event processing passes it on. Double-check if you're doing such forms along with the 'ajax' class!
Brion Vibber [Wed, 23 Mar 2011 21:56:51 +0000 (14:56 -0700)]
Retool group join queue list ajax forms to use two buttons in one form, making it more ajax-submit-friendly. Needs util.js fixes for AJAX submission input buttons...
Evan Prodromou [Wed, 23 Mar 2011 19:58:27 +0000 (15:58 -0400)]
Merge branch '1.0.x' into limitdist
Conflicts:
classes/Notice.php
Evan Prodromou [Wed, 23 Mar 2011 15:59:01 +0000 (11:59 -0400)]
Some fixes to make the notice stream class work
Evan Prodromou [Wed, 23 Mar 2011 15:42:52 +0000 (11:42 -0400)]
let Inbox class go fingerpokin' in streams
Evan Prodromou [Wed, 23 Mar 2011 15:29:55 +0000 (11:29 -0400)]
New NoticeStream class to reify streams of notices
We've been muddling through with 6- or 8-argument functions for managing streams. I'd
like to start thinking of streams as their own thing, and give them some more value.
So, the new NoticeStream class takes over the Notice::stream() function and Notice::getStreamByIds().
There's probably some fine-tuning to do on the object interface.
Brion Vibber [Tue, 22 Mar 2011 23:26:26 +0000 (16:26 -0700)]
Refactoring on notification mail generation: common profile & footer chunks pulled out, notifications added for group joins.
Evan Prodromou [Tue, 22 Mar 2011 22:17:09 +0000 (18:17 -0400)]
Merge branch 'limitdist' of gitorious.org:~evan/statusnet/evans-mainline into limitdist
Conflicts:
classes/Notice.php
Evan Prodromou [Tue, 22 Mar 2011 22:15:53 +0000 (18:15 -0400)]
add profile to stream function
Brion Vibber [Tue, 22 Mar 2011 21:20:21 +0000 (14:20 -0700)]
Evan Prodromou [Tue, 22 Mar 2011 15:36:48 +0000 (11:36 -0400)]
move scope check to Notice so we can have a null profile
Evan Prodromou [Thu, 17 Mar 2011 02:55:14 +0000 (22:55 -0400)]
function for checking scope rules for Profile
Evan Prodromou [Thu, 17 Mar 2011 02:54:57 +0000 (22:54 -0400)]
add scope flags for Notice
Evan Prodromou [Thu, 17 Mar 2011 02:30:31 +0000 (22:30 -0400)]
Add scope bitmap for notices
Evan Prodromou [Tue, 22 Mar 2011 15:54:23 +0000 (11:54 -0400)]
Mass replacement of #-comments with //-comments
like leprous boils in our code. So, I've replaced all of them with //
comments instead. It's a massive, meaningless, and potentially buggy
change -- great one for the middle of a release cycle, eh?
Brion Vibber [Tue, 22 Mar 2011 00:23:13 +0000 (17:23 -0700)]
Add pending members list to group navigation, if group has joins moderated or if it has pending requests open
Brion Vibber [Tue, 22 Mar 2011 00:17:18 +0000 (17:17 -0700)]
Split up some list/form classes, and get the 'approve' and 'cancel' links on group member queue working.
Brion Vibber [Mon, 21 Mar 2011 23:40:10 +0000 (16:40 -0700)]
Pending members queue list -- doesn't yet allow approval.
Brion Vibber [Mon, 21 Mar 2011 23:26:41 +0000 (16:26 -0700)]
Logic to have group joins turn into pending joins automatically when group is set to mod; allow users to cancel their pending group requests.
Brion Vibber [Mon, 21 Mar 2011 22:04:32 +0000 (15:04 -0700)]
Tweaking request_queue -> group_join_queue, easier to deal with the indexes and keys and caching this way.
Brion Vibber [Mon, 21 Mar 2011 21:35:29 +0000 (14:35 -0700)]
Switch things from calling Group_member::join & leave & calling events manually to running through Profile::joinGroup() && Profile::leaveGroup(), with the events encapsulated.
Brion Vibber [Mon, 21 Mar 2011 20:30:40 +0000 (13:30 -0700)]
Add request_queue table and user_group.join_policy column, for upcoming join & subscription moderation.
UI for setting the join policy is in, but not yet used.
Brion Vibber [Mon, 21 Mar 2011 18:18:38 +0000 (11:18 -0700)]
remove type hinting -- fails when ArrayWrapper gets passed in some profile list pages
Evan Prodromou [Mon, 21 Mar 2011 15:09:16 +0000 (11:09 -0400)]
Widget automatically delegates unimplemented methods to attribute
Samantha Doherty [Mon, 21 Mar 2011 13:16:00 +0000 (09:16 -0400)]
Few IE fixes for neo theme.
Zach Copley [Mon, 21 Mar 2011 02:37:25 +0000 (19:37 -0700)]
Remove stray get_class() call
Brion Vibber [Fri, 18 Mar 2011 23:35:50 +0000 (16:35 -0700)]
ModPlus plugin -- Ticket #3095: add remote profile options popup to group membership and other profile lists
Popup remote profile options menu now shown on profile lists as well as notice lists.
Brion Vibber [Fri, 18 Mar 2011 23:23:22 +0000 (16:23 -0700)]
fix ModPlus 'remote profile options' popup for Realtime
Switched from one-time setup to live stuff that'll work without per-notice setup.
Used to not matter because Realtime wouldn't include the extra stuff, but new Realtime pulls the full rendering, so yay!
Brion Vibber [Fri, 18 Mar 2011 22:00:02 +0000 (15:00 -0700)]
Fixes for GroupPrivateMessage, OStatus due to changes in group output events, and some internal bugs using wrong vars
Brion Vibber [Fri, 18 Mar 2011 21:06:32 +0000 (14:06 -0700)]
Merge branch 'more' into 1.0.x
Brion Vibber [Fri, 18 Mar 2011 20:58:13 +0000 (13:58 -0700)]
Tickets #1610, #1949: show permalinks on Popular Notices, attachments aside sections
These mini notice lists were previously not actually showing links to the notices, making them hard to use. There was code to output a link, but it had been unused due to the config options triggering it not being set. The links also looked bad ("( see )" with bad spacing).
Replaced that code with a call into NoticeListItem's existing code to format a relative timestamp with the notice permalink, which looks nice. Used a div rather than p to avoid clearing the float, so it flows nicely.
Siebrand Mazeland [Fri, 18 Mar 2011 19:59:45 +0000 (20:59 +0100)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Fri, 18 Mar 2011 19:37:04 +0000 (20:37 +0100)]
Translator documentation added/updated.
Superfluous whitespace removed.
L10n update.
Siebrand Mazeland [Fri, 18 Mar 2011 19:15:57 +0000 (20:15 +0100)]
Add myself to contributors array.
Siebrand Mazeland [Fri, 18 Mar 2011 19:12:59 +0000 (20:12 +0100)]
i18n updates.
Translator documentation added.
Superfluous whitespace removed.
Siebrand Mazeland [Fri, 18 Mar 2011 17:03:41 +0000 (18:03 +0100)]
Translator documentation added/updated.
i18n updates.
Superfluous whitespace removed.
Siebrand Mazeland [Fri, 18 Mar 2011 16:59:51 +0000 (17:59 +0100)]
Fixed issues with plural handling.
L10n/I18n updates.
Translator documentation added.
Superfluous whitespace removed.
Siebrand Mazeland [Fri, 18 Mar 2011 16:04:38 +0000 (17:04 +0100)]
Translator documentation added/updates.
L10n/i18n updates.
Superfluous whitespace removed.
Siebrand Mazeland [Fri, 18 Mar 2011 15:09:27 +0000 (16:09 +0100)]
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline into 1.0.x
Siebrand Mazeland [Fri, 18 Mar 2011 12:48:47 +0000 (13:48 +0100)]
Update/add translator documentation.
L10n/i18n updates.
Superfluous whitespace removed.
Siebrand Mazeland [Fri, 18 Mar 2011 12:10:55 +0000 (13:10 +0100)]
* Add FIXME: $profile appears to be undefined.
* Update translator documentation.
Brion Vibber [Fri, 18 Mar 2011 00:36:53 +0000 (17:36 -0700)]
Caching for conversation root lookup, some logic fixes in threaded view
Brion Vibber [Fri, 18 Mar 2011 00:06:04 +0000 (17:06 -0700)]
Use cached sources for favorites & repeats info on threaded notice lists
Brion Vibber [Thu, 17 Mar 2011 23:27:42 +0000 (16:27 -0700)]
ajax load for additional inline replies; /replies variant of conversationview
Brion Vibber [Thu, 17 Mar 2011 22:54:40 +0000 (15:54 -0700)]
Fixes for race conditions between Realtime plugin and the AJAX display of inline replies.
* keep the notice-reply-placeholder around, but hidden
* insert things before the placeholder, rather than appending to the end of the list.
* append the active form after the hidden placeholder, so things inserted before the placeholder never come after it
* Realtime: check pre-existing notice visibility a second time after loading the HTML for a notice. Fixes bug where sometimes your own post would be shown twice because the Realtime notification arrived before the AJAX posting returned, but Realtime's AJAX fetch of the notice returned after.
Brion Vibber [Thu, 17 Mar 2011 22:17:45 +0000 (15:17 -0700)]
Initial use of inline reply area for marking repeats...
Brion Vibber [Thu, 17 Mar 2011 21:48:14 +0000 (14:48 -0700)]
Merge branch 'faves' into 1.0.x
Brion Vibber [Thu, 17 Mar 2011 21:19:03 +0000 (14:19 -0700)]
Initial inline listing of favoriters
Brion Vibber [Thu, 17 Mar 2011 20:51:55 +0000 (13:51 -0700)]
Favored lists in progress: 'foo, bar and baz'
Brion Vibber [Thu, 17 Mar 2011 20:25:20 +0000 (13:25 -0700)]
work in progress
Brion Vibber [Thu, 17 Mar 2011 20:07:17 +0000 (13:07 -0700)]
Work in progress: faves in the threaded reply area
Luke Fitzgerald [Thu, 17 Mar 2011 20:00:06 +0000 (20:00 +0000)]
Merge branch '1.0.x' into msn-plugin
Evan Prodromou [Thu, 17 Mar 2011 19:28:18 +0000 (15:28 -0400)]
Merge remote branch 'origin/1.0.x' into 1.0.x
Evan Prodromou [Fri, 21 Jan 2011 19:23:02 +0000 (14:23 -0500)]
some flushing in the UI
Brion Vibber [Thu, 17 Mar 2011 19:13:46 +0000 (12:13 -0700)]
Fix reversed poll & poll response object types in ActivityStreams output
Evan Prodromou [Thu, 17 Mar 2011 02:55:14 +0000 (22:55 -0400)]
function for checking scope rules for Profile
Evan Prodromou [Thu, 17 Mar 2011 02:54:57 +0000 (22:54 -0400)]
add scope flags for Notice
Evan Prodromou [Thu, 17 Mar 2011 02:30:31 +0000 (22:30 -0400)]
Add scope bitmap for notices
Siebrand Mazeland [Thu, 17 Mar 2011 14:11:30 +0000 (15:11 +0100)]
L10n/i18n updates
* number multiple parameters
* put messages in plugin domain (use _m() NOT _()!)
Translator documentation updated.
Siebrand Mazeland [Thu, 17 Mar 2011 12:58:52 +0000 (13:58 +0100)]
Localisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 17 Mar 2011 11:08:44 +0000 (12:08 +0100)]
Change email to SMS. Spotted by Nikerabbit.
Samantha Doherty [Thu, 17 Mar 2011 12:38:25 +0000 (08:38 -0400)]
A few general style updates and fixes.
Samantha Doherty [Thu, 17 Mar 2011 12:32:18 +0000 (08:32 -0400)]
A little more quick styling for Events.
Siebrand Mazeland [Thu, 17 Mar 2011 10:54:18 +0000 (11:54 +0100)]
L10n updates.
Translator documentation.
Siebrand Mazeland [Thu, 17 Mar 2011 10:46:49 +0000 (11:46 +0100)]
Update translator documentation.
L10n/i18n updates.
Superfluous whitespace removed.
Siebrand Mazeland [Thu, 17 Mar 2011 10:38:18 +0000 (11:38 +0100)]
Translator documentation added/updated.
i18n/L10n updates.
Siebrand Mazeland [Thu, 17 Mar 2011 10:17:22 +0000 (11:17 +0100)]
Localisation updates from http://translatewiki.net.
Brion Vibber [Thu, 17 Mar 2011 00:08:09 +0000 (17:08 -0700)]
SearchSub plugin: 'track X', 'untrack X', 'tracking', 'track off' commands now overridden :D
Brion Vibber [Wed, 16 Mar 2011 23:52:37 +0000 (16:52 -0700)]
Allow plugins to modify or append command help text; broke the command help down into pieces which also will aid translators in future, as the entire message blob won't change every time something gets fiddled with.
Brion Vibber [Wed, 16 Mar 2011 23:42:12 +0000 (16:42 -0700)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Wed, 16 Mar 2011 23:41:02 +0000 (16:41 -0700)]
SearchSub plugin: add management UI for subscribed searches
Zach Copley [Wed, 16 Mar 2011 23:17:49 +0000 (16:17 -0700)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Zach Copley [Wed, 16 Mar 2011 23:17:02 +0000 (16:17 -0700)]
Extended profile - Add sammdy to author credits in version info
Brion Vibber [Wed, 16 Mar 2011 23:12:31 +0000 (16:12 -0700)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Wed, 16 Mar 2011 23:10:43 +0000 (16:10 -0700)]
Detect and show AJAX errors on FormXHR submission handling.
Previously we threw away errore reported by the actual AJAX submission and only used whatever error the browser reported to us; this didn't help if we reached the server ok but had a problem there.
We now extract the #error if given and use that in the alert().
Also should now show 'Unknown error' instead of a crappy generic 'something died in jQuery' when we get a 200 response but bogus return data.
Zach Copley [Wed, 16 Mar 2011 23:09:50 +0000 (16:09 -0700)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Wed, 16 Mar 2011 23:08:50 +0000 (19:08 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Zach Copley [Wed, 16 Mar 2011 23:08:49 +0000 (16:08 -0700)]
Extended profile - move some files around and rename stuff to follow plugin conventions
Evan Prodromou [Wed, 16 Mar 2011 23:08:35 +0000 (19:08 -0400)]
better date handling in events