Evan Prodromou [Wed, 9 Mar 2011 07:37:51 +0000 (02:37 -0500)]
more fixes for events
Evan Prodromou [Wed, 9 Mar 2011 07:33:26 +0000 (02:33 -0500)]
Kinda complete and kinda working-ish events
Evan Prodromou [Tue, 8 Mar 2011 16:28:53 +0000 (11:28 -0500)]
Make event-specific stuff in EventPlugin
Evan Prodromou [Tue, 8 Mar 2011 16:15:17 +0000 (11:15 -0500)]
new Event plugin
Evan Prodromou [Wed, 9 Mar 2011 03:48:34 +0000 (22:48 -0500)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Wed, 9 Mar 2011 03:48:16 +0000 (22:48 -0500)]
Give NoticeListItem its own class
Brion Vibber [Wed, 9 Mar 2011 00:06:30 +0000 (16:06 -0800)]
Hackaround for http caching problem on poll pages; the notice doesn't change, but the results do, so don't use the notice's last-modifeid time as a caching epoch.
Brion Vibber [Wed, 9 Mar 2011 00:04:32 +0000 (16:04 -0800)]
quickie bar chart for poll results
Brion Vibber [Tue, 8 Mar 2011 23:44:51 +0000 (15:44 -0800)]
fix off-by-one error in poll results display
Brion Vibber [Tue, 8 Mar 2011 23:10:30 +0000 (15:10 -0800)]
Bookmark and poll plugins' custom notice forms now do AJAX submit, with the resulting notice appearing in the timeline.
FormNoticeXHR now is triggered on any form labeled with class 'ajax-notice', so those other than the traditional notice form should work as long as they handle the AJAX submission and return a properly formatted notice.
Things to watch out for:
* to determine whether the resulting notice should show on the current timeline, the JS code needs to be able to check the author and such. Keeping the existing vcard bits helps for this!
* the notice form submission stuff clears out inputs from your form -- test to make sure this behaves correctly
* error messages returned from the thingy _should_ come through, but this needs more testing for consistency
* while form components that aren't in a custom form should just be ignored, this should be tested more. (eg there's no location or attachment box for poll or bookmark plugins)
* NoticeListItem isn't currently reachable via autoloader -- touch NoticeList explicitly before calling into it for now.
Brion Vibber [Tue, 8 Mar 2011 21:58:28 +0000 (13:58 -0800)]
Replace explicit FormXHR setup for a bunch of simple AJAX form submissions with adding the 'ajax' class on them.
This avoids having to add extra custom JS bits just to initialize forms using the common AJAX submission path.
Brion Vibber [Tue, 8 Mar 2011 21:45:51 +0000 (13:45 -0800)]
Poll plugin: make the polling response form submit via AJAX and return the results.
Now, any form marked with 'ajax' class will get the simple FormXHR treatment. Should help cut down on code that just adds that into individual forms.
Brion Vibber [Tue, 8 Mar 2011 20:01:12 +0000 (12:01 -0800)]
de-IDifying labels in notice form to fix issue with geo pin activating the wrong place when cloning the form
Note that changes to the attachment from <label for/><input id/> to <label><input></label> affect some of the existing styles which attempt to place them both in the same place based on having a common parent. Only 'neo' has been fully tested and fixed for this case, as the others all fail due to the new layout anyway. :)
Brion Vibber [Tue, 8 Mar 2011 18:58:45 +0000 (10:58 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Tue, 8 Mar 2011 18:58:14 +0000 (10:58 -0800)]
'note' -> 'notice' in an error message -- thx to AVRS on IRC for the catch on translatewiki.net :D
Zach Copley [Tue, 8 Mar 2011 05:35:48 +0000 (21:35 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
* '1.0.x' of gitorious.org:statusnet/mainline:
Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form.
Localisation updates from http://translatewiki.net.
More doc comments on MicroApp stuff; some of the show-notice code & the ActivityStreams stuff is a bit wonky and may need smoothing out
Doc comments for MicroAppPlugin
mailboxes were wrongly overriding global menu
Brion Vibber [Tue, 8 Mar 2011 05:28:36 +0000 (21:28 -0800)]
Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form.
This version is fairly basic; votes do not (yet) show a reply, they just got in the table. No pretty graphs for the results yet, just text.
The ActivityStream output is temporary and probably should be replaced; the current structures for adding custom data aren't really ready yet (especially since we need to cover JSON and Atom formats, probably pretty differently)
Uses similar system as Bookmark for attaching to notices -- saves a custom URI for an alternate action, which we can then pass in and hook back up to our poll object. This can probably do with a little more simplification in the parent MicroAppPlugin class.
Currently adds two tables:
- poll holds the main poll info: id and URI to associate with the notice, then the question and a text blob with the options.
- poll_response records the selections picked by our nice fellows.
Hopefully no off-by-one bugs left in the selection, but I give no guarantees. ;)
Some todo notes in the README and in doc comments.
Siebrand Mazeland [Tue, 8 Mar 2011 01:18:32 +0000 (02:18 +0100)]
Localisation updates from http://translatewiki.net.
Zach Copley [Tue, 8 Mar 2011 01:18:30 +0000 (17:18 -0800)]
Fixup sphinx plugin to have additional sort orders
Brion Vibber [Mon, 7 Mar 2011 23:15:21 +0000 (15:15 -0800)]
More doc comments on MicroApp stuff; some of the show-notice code & the ActivityStreams stuff is a bit wonky and may need smoothing out
Zach Copley [Mon, 7 Mar 2011 22:32:14 +0000 (14:32 -0800)]
Rearrange alphanav to better fit 3CL
Brion Vibber [Mon, 7 Mar 2011 21:36:54 +0000 (13:36 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Mon, 7 Mar 2011 21:36:15 +0000 (13:36 -0800)]
Doc comments for MicroAppPlugin
Zach Copley [Mon, 7 Mar 2011 20:37:51 +0000 (12:37 -0800)]
Merge branch '1.0.x' into directory
* 1.0.x: (68 commits)
Avoid AJAX fetch delay for inline replies when possible; we clone a copy of the notice form skeleton at initialization, then insert it in place instead of fetching a new one.
Fix bad reference
lost a </div> in input_forms
neo is the default
First version of 3cl theme neo.
cleaner is the new default theme (for now)
store reply_to notices as comment activity objects
fix object errors with bookmark notices
save the object type when saving a new bookmark notice
ActivityObject uses Notice's object_type by default
Notice saves its object type
show correct notice in output
UR FACE
wrapper div for primary nav
Revert "abstraction for starting and ending a menu"
Revert "primarynav uses menustart and menuend"
primarynav uses menustart and menuend
abstraction for starting and ending a menu
remove adminpanelnav from adminpanelaction module
Input form switcher works
...
Evan Prodromou [Mon, 7 Mar 2011 20:21:47 +0000 (15:21 -0500)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Mon, 7 Mar 2011 20:20:11 +0000 (12:20 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Mon, 7 Mar 2011 20:18:46 +0000 (12:18 -0800)]
Avoid AJAX fetch delay for inline replies when possible; we clone a copy of the notice form skeleton at initialization, then insert it in place instead of fetching a new one.
Evan Prodromou [Mon, 7 Mar 2011 20:12:51 +0000 (15:12 -0500)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Mon, 7 Mar 2011 20:11:38 +0000 (15:11 -0500)]
mailboxes were wrongly overriding global menu
Zach Copley [Mon, 7 Mar 2011 20:10:34 +0000 (12:10 -0800)]
Fix bad reference
Evan Prodromou [Mon, 7 Mar 2011 20:06:21 +0000 (15:06 -0500)]
lost a </div> in input_forms
Evan Prodromou [Mon, 7 Mar 2011 20:00:43 +0000 (15:00 -0500)]
neo is the default
Samantha Doherty [Mon, 7 Mar 2011 19:43:06 +0000 (14:43 -0500)]
First version of 3cl theme neo.
Evan Prodromou [Mon, 7 Mar 2011 19:32:21 +0000 (14:32 -0500)]
cleaner is the new default theme (for now)
Evan Prodromou [Mon, 7 Mar 2011 19:30:30 +0000 (14:30 -0500)]
Merge branch '3cl' into 1.0.x
Evan Prodromou [Mon, 7 Mar 2011 19:27:23 +0000 (14:27 -0500)]
store reply_to notices as comment activity objects
Evan Prodromou [Mon, 7 Mar 2011 19:25:37 +0000 (14:25 -0500)]
fix object errors with bookmark notices
Evan Prodromou [Mon, 7 Mar 2011 19:25:05 +0000 (14:25 -0500)]
save the object type when saving a new bookmark notice
Evan Prodromou [Mon, 7 Mar 2011 19:21:16 +0000 (14:21 -0500)]
ActivityObject uses Notice's object_type by default
Evan Prodromou [Mon, 7 Mar 2011 19:20:55 +0000 (14:20 -0500)]
Notice saves its object type
Evan Prodromou [Mon, 7 Mar 2011 19:06:46 +0000 (14:06 -0500)]
show correct notice in output
Evan Prodromou [Mon, 7 Mar 2011 17:49:20 +0000 (12:49 -0500)]
UR FACE
Evan Prodromou [Mon, 7 Mar 2011 17:42:51 +0000 (12:42 -0500)]
wrapper div for primary nav
Evan Prodromou [Mon, 7 Mar 2011 17:39:52 +0000 (12:39 -0500)]
Revert "abstraction for starting and ending a menu"
This reverts commit
b4f1281799766570ff68580e13c588ea8c8ce1f1.
Evan Prodromou [Mon, 7 Mar 2011 17:39:31 +0000 (12:39 -0500)]
Revert "primarynav uses menustart and menuend"
This reverts commit
8e03c83a57e29a0e840b44b1e5cb04e1422a845f.
Evan Prodromou [Mon, 7 Mar 2011 17:37:07 +0000 (12:37 -0500)]
primarynav uses menustart and menuend
Evan Prodromou [Mon, 7 Mar 2011 17:36:45 +0000 (12:36 -0500)]
abstraction for starting and ending a menu
Evan Prodromou [Mon, 7 Mar 2011 17:36:04 +0000 (12:36 -0500)]
remove adminpanelnav from adminpanelaction module
Evan Prodromou [Mon, 7 Mar 2011 10:02:26 +0000 (05:02 -0500)]
Merge branch 'microapp' of gitorious.org:~evan/statusnet/evans-mainline into microapp
Conflicts:
lib/action.php
Evan Prodromou [Mon, 7 Mar 2011 09:57:49 +0000 (04:57 -0500)]
Input form switcher works
This change adds the input form switcher, which adds a navigation menu
across the top of the input form, letting you switch between different kinds of input.
The input menu doesn't yet look like a nice set of tabs; it could use some love.
Evan Prodromou [Sun, 6 Mar 2011 22:27:03 +0000 (17:27 -0500)]
made the input-form switcher work, kinda
Evan Prodromou [Sun, 6 Mar 2011 21:33:36 +0000 (16:33 -0500)]
first (non-working) move to microapp structure for bookmarks
Evan Prodromou [Sat, 5 Mar 2011 19:48:10 +0000 (14:48 -0500)]
move microapp.php to microappplugin.php
Evan Prodromou [Sat, 5 Mar 2011 19:47:37 +0000 (14:47 -0500)]
add a couple of methods to MicroAppPlugin
Evan Prodromou [Fri, 4 Mar 2011 21:41:17 +0000 (16:41 -0500)]
correct length and default value for object_type
Evan Prodromou [Thu, 3 Mar 2011 21:57:16 +0000 (16:57 -0500)]
add activity object type to notice
Evan Prodromou [Thu, 3 Mar 2011 21:53:44 +0000 (16:53 -0500)]
first pass at microapp class
Zach Copley [Mon, 7 Mar 2011 06:07:42 +0000 (22:07 -0800)]
Better instructions, and better empty search results messages.
Zach Copley [Mon, 7 Mar 2011 04:35:06 +0000 (20:35 -0800)]
Merge branch '1.0.x' into directory
* 1.0.x:
Localisation updates from http://translatewiki.net.
* fix i18n and L10n issues. * update translator documentation. * remove superfluous whitespace.
Evan Prodromou [Sun, 6 Mar 2011 22:32:26 +0000 (17:32 -0500)]
submenu headers are <h3> elements
Evan Prodromou [Sun, 6 Mar 2011 22:27:03 +0000 (17:27 -0500)]
made the input-form switcher work, kinda
Evan Prodromou [Sun, 6 Mar 2011 21:33:36 +0000 (16:33 -0500)]
first (non-working) move to microapp structure for bookmarks
Siebrand Mazeland [Sun, 6 Mar 2011 01:52:28 +0000 (02:52 +0100)]
Localisation updates from http://translatewiki.net.
Location information removed from translation files with msgmerge --no-location to decrease size of files and reduce diff size. Unfortunately there does not appear to be a setting in msgmerge or msgattrib to remove the extracted comments ("#.") from translation files. If you do know of such a switch, please let me know!
Evan Prodromou [Sat, 5 Mar 2011 19:48:10 +0000 (14:48 -0500)]
move microapp.php to microappplugin.php
Evan Prodromou [Sat, 5 Mar 2011 19:47:37 +0000 (14:47 -0500)]
add a couple of methods to MicroAppPlugin
Siebrand Mazeland [Sat, 5 Mar 2011 16:03:12 +0000 (17:03 +0100)]
* fix i18n and L10n issues.
* update translator documentation.
* remove superfluous whitespace.
Zach Copley [Sat, 5 Mar 2011 09:57:50 +0000 (01:57 -0800)]
Merge branch '1.0.x' into directory
* 1.0.x:
* translator documentation updated. * superfluous whitespace removed. * small refactoring in noticeform.php to allow proper translator hints.
* translator documntation updated * superfluous whitespace remove * minor L10n and i18n updates
Cleanup & minification for migration to reusable notice form in inline replies. Yay!
Work in progress: inline reply form reusing the main reply form now inserts the successful result more or less right
style fixes for new notice form being reused in reply area
Reusable notice form fixes for geolocation
Loading the original form instead of faking up our own. Sorta works but not pretty :D
Kill some more hardcoded ids...
More hardcoded id cleanup in notice form...
'link' to 'links' in feed document
Zach Copley [Sat, 5 Mar 2011 09:55:52 +0000 (01:55 -0800)]
* Integrate search input box
* Fix ordering
Zach Copley [Sat, 5 Mar 2011 09:54:47 +0000 (01:54 -0800)]
Add some other ways to order searches to the base search engine class
Zach Copley [Sat, 5 Mar 2011 01:55:56 +0000 (17:55 -0800)]
fixup comments
Zach Copley [Sat, 5 Mar 2011 01:25:58 +0000 (17:25 -0800)]
Only show profiles of local users
Siebrand Mazeland [Fri, 4 Mar 2011 23:24:19 +0000 (00:24 +0100)]
* translator documentation updated.
* superfluous whitespace removed.
* small refactoring in noticeform.php to allow proper translator hints.
Siebrand Mazeland [Fri, 4 Mar 2011 23:12:38 +0000 (00:12 +0100)]
* translator documntation updated
* superfluous whitespace remove
* minor L10n and i18n updates
Brion Vibber [Fri, 4 Mar 2011 23:00:20 +0000 (15:00 -0800)]
Cleanup & minification for migration to reusable notice form in inline replies. Yay!
Brion Vibber [Fri, 4 Mar 2011 22:58:30 +0000 (14:58 -0800)]
Work in progress: inline reply form reusing the main reply form now inserts the successful result more or less right
Brion Vibber [Fri, 4 Mar 2011 22:30:30 +0000 (14:30 -0800)]
style fixes for new notice form being reused in reply area
Brion Vibber [Fri, 4 Mar 2011 22:27:55 +0000 (14:27 -0800)]
Reusable notice form fixes for geolocation
Brion Vibber [Fri, 4 Mar 2011 22:11:11 +0000 (14:11 -0800)]
Loading the original form instead of faking up our own. Sorta works but not pretty :D
Brion Vibber [Fri, 4 Mar 2011 21:53:41 +0000 (13:53 -0800)]
Kill some more hardcoded ids...
Evan Prodromou [Fri, 4 Mar 2011 21:41:17 +0000 (16:41 -0500)]
correct length and default value for object_type
Brion Vibber [Fri, 4 Mar 2011 21:41:01 +0000 (13:41 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Fri, 4 Mar 2011 21:40:33 +0000 (13:40 -0800)]
More hardcoded id cleanup in notice form...
Evan Prodromou [Fri, 4 Mar 2011 21:31:58 +0000 (16:31 -0500)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Fri, 4 Mar 2011 21:09:59 +0000 (16:09 -0500)]
'link' to 'links' in feed document
Zach Copley [Fri, 4 Mar 2011 05:13:21 +0000 (21:13 -0800)]
Merge branch '1.0.x' into directory
Zach Copley [Fri, 4 Mar 2011 05:12:24 +0000 (21:12 -0800)]
* Reformat list of profiles in a table
* Make table sortable
Brion Vibber [Fri, 4 Mar 2011 01:58:35 +0000 (17:58 -0800)]
Moving bit by bit more towards reusable forms... per-form-izing some of the location setup (not all yet)
Brion Vibber [Fri, 4 Mar 2011 01:48:16 +0000 (17:48 -0800)]
Remove hardcoded #notice_action-submit from JS/CSS (prep for reusable notice forms)
Brion Vibber [Fri, 4 Mar 2011 01:39:37 +0000 (17:39 -0800)]
Pulling out some more #-references to per-form items
Brion Vibber [Fri, 4 Mar 2011 01:15:17 +0000 (17:15 -0800)]
Notice form cleanup: removing hardcoded id from counter references; prep for reusable notice forms.
Brion Vibber [Fri, 4 Mar 2011 01:05:19 +0000 (17:05 -0800)]
Notice form cleanup: drop use of id for #notice_data-text (prep for reusable notice form)
Brion Vibber [Fri, 4 Mar 2011 00:56:54 +0000 (16:56 -0800)]
Notice form cleanup: removing hardcoded IDs from attachment handling (prep for reusable notice forms)
Brion Vibber [Fri, 4 Mar 2011 00:53:16 +0000 (16:53 -0800)]
Can now set $config['site']['minify'] = false; to use util.js and friends non-minified; aids in browser-side debugging.
Brion Vibber [Fri, 4 Mar 2011 00:15:28 +0000 (16:15 -0800)]
Drop auto-focusing of the notice form.
Brion Vibber [Fri, 4 Mar 2011 00:14:36 +0000 (16:14 -0800)]
Kill 'hit return to send'...
Brion Vibber [Thu, 3 Mar 2011 23:21:27 +0000 (15:21 -0800)]
Rework geolocation status display so you can actually tell what it's doing and whether a location will be posted.
Goes in along with the file attachment info, below the notice box. Still needs to be generalized to work with multiple forms.
Evan Prodromou [Thu, 3 Mar 2011 21:57:16 +0000 (16:57 -0500)]
add activity object type to notice
Evan Prodromou [Thu, 3 Mar 2011 21:53:44 +0000 (16:53 -0500)]
first pass at microapp class
Brion Vibber [Thu, 3 Mar 2011 20:26:07 +0000 (12:26 -0800)]
'Comment' -> 'Reply' in inline comment/reply messages
Siebrand Mazeland [Thu, 3 Mar 2011 17:39:12 +0000 (18:39 +0100)]
Localisation updates from http://translatewiki.net.
* Fix previous commit. Pot files were built against master instead of 1.0.x.