]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
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.
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
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
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
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.
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
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.
Siebrand Mazeland [Thu, 3 Mar 2011 17:21:17 +0000 (18:21 +0100)]
Localisation updates from http://translatewiki.net.
Looks like some documentation patches from 0.9.x didn't make it into 1.0.x (see statusnet.pot diff). Have to check with Brion what went wrong there.
Evan Prodromou [Thu, 3 Mar 2011 03:09:26 +0000 (22:09 -0500)]
no notice form on settings pages
Evan Prodromou [Thu, 3 Mar 2011 03:09:11 +0000 (22:09 -0500)]
move notice form to content block
Siebrand Mazeland [Thu, 3 Mar 2011 00:42:54 +0000 (01:42 +0100)]
Update translator documentation.
Brion Vibber [Wed, 2 Mar 2011 01:09:41 +0000 (17:09 -0800)]
More fixes for 'fav' IM command: don't die with a fatal error if the notice has already been favored, and don't spew a warning when checking for user ID match.
Brion Vibber [Wed, 2 Mar 2011 01:01:35 +0000 (17:01 -0800)]
Workaround for bug causing fatal error during favoriting; Profile::getCurrentNotice() was returning an ArrayList instead of a Notice directly due to pulling through Profile::getNotices(). This caused failure in Fave::addNew() which specifies it wants a Notice. Caused failure of the 'fav' IM command.
Brion Vibber [Wed, 2 Mar 2011 00:29:11 +0000 (16:29 -0800)]
Use threaded replies in group inbox view
Brion Vibber [Wed, 2 Mar 2011 00:29:00 +0000 (16:29 -0800)]
Fix for realtime vs threaded reply fix
Brion Vibber [Wed, 2 Mar 2011 00:18:24 +0000 (16:18 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Wed, 2 Mar 2011 00:08:37 +0000 (16:08 -0800)]
Clean up threaded notices vs replies classes, and fixed realtime's threaded behavior to only run on threaded lists
Brion Vibber [Wed, 2 Mar 2011 00:04:11 +0000 (16:04 -0800)]
Inline reply work for threaded lists in realtime
Brion Vibber [Tue, 1 Mar 2011 23:45:44 +0000 (15:45 -0800)]
Partial update of Realtime for threaded view; can now place replies into the proper subtimeline if it's already present, but not if it wasn't shown yet.
Brion Vibber [Tue, 1 Mar 2011 23:33:10 +0000 (15:33 -0800)]
Makefile for Realtime's min.js
Zach Copley [Tue, 1 Mar 2011 23:31:06 +0000 (15:31 -0800)]
Fix mising require_once (now required here because of rearranging)
Zach Copley [Tue, 1 Mar 2011 23:26:02 +0000 (15:26 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Zach Copley [Tue, 1 Mar 2011 23:25:06 +0000 (15:25 -0800)]
Fix missing variable initialization
Brion Vibber [Tue, 1 Mar 2011 23:24:44 +0000 (15:24 -0800)]
Fix for timeline insert on primary AJAX post: only insert on the first, primary timeline. Don't insert on sub-timelines for replies!
Brion Vibber [Tue, 1 Mar 2011 23:16:39 +0000 (15:16 -0800)]
Alternate Inbox streaming function optimized for threaded paging (for /all stream, while things using the existing API inbox methods won't be affected)
Brion Vibber [Tue, 1 Mar 2011 22:26:11 +0000 (14:26 -0800)]
When canceling out of inline reply field and there are no other replies, drop the section
Brion Vibber [Tue, 1 Mar 2011 22:24:06 +0000 (14:24 -0800)]
Inline replies: drop the box if tabbing out and no text
Brion Vibber [Tue, 1 Mar 2011 21:49:13 +0000 (13:49 -0800)]
Inline replies: fix replies on repeats, placeholder re-add when replying to a reply
Evan Prodromou [Tue, 1 Mar 2011 21:48:20 +0000 (16:48 -0500)]
move inbox/outbox to object menu
Evan Prodromou [Tue, 1 Mar 2011 21:37:21 +0000 (16:37 -0500)]
fixup link to your profile
Evan Prodromou [Tue, 1 Mar 2011 21:35:25 +0000 (16:35 -0500)]
don't show full profile menu all the time
Brion Vibber [Tue, 1 Mar 2011 21:30:38 +0000 (13:30 -0800)]
Hide context entries in threaded lists; it's redundant (and if there's more than a few messages, we have the context link still :D)
Also hides them via CSS for new ajax additions
Evan Prodromou [Tue, 1 Mar 2011 21:23:19 +0000 (16:23 -0500)]
object menu for user profile
Evan Prodromou [Tue, 1 Mar 2011 21:22:19 +0000 (16:22 -0500)]
object menu on showgroup
Evan Prodromou [Tue, 1 Mar 2011 21:21:22 +0000 (16:21 -0500)]
defaultlocalnav for favorites