Commit Graph

2954 Commits

Author SHA1 Message Date
Evan Prodromou
908551ae3d disallow access to out-of-scope poll 2011-03-28 22:50:52 -04:00
Evan Prodromou
2856982a1c disallow access to out-of-scope bookmark 2011-03-28 22:50:45 -04:00
Evan Prodromou
57dee164ca fix missing cur in Event 2011-03-28 22:50:29 -04:00
Evan Prodromou
c1d4186c98 Disallow access to events and RSVPs out of scope 2011-03-28 22:43:38 -04:00
Evan Prodromou
e862dcdb8a Merge branch '1.0.x' into limitdist2 2011-03-28 21:56:34 -04:00
Evan Prodromou
a74eda4e9a don't send private notices over OStatus 2011-03-28 16:37:35 -04:00
Evan Prodromou
cbe003eb38 don't leak private notices to facebook 2011-03-28 16:10:24 -04:00
Evan Prodromou
683bd3f2b5 don't push twitter stuff public if its not public 2011-03-28 12:56:18 -04:00
Evan Prodromou
7dd06b5246 ShortenAction::handle() had bad args 2011-03-28 12:20:00 -04:00
Siebrand Mazeland
f06f8d51fd Slightly uncomplicate and disambiguate the plugin description.
Add translator documentation.
2011-03-27 12:58:35 +02:00
Siebrand Mazeland
5502e535de Localisation updates from http://translatewiki.net. 2011-03-26 12:21:36 +01:00
Siebrand Mazeland
41e919f3ca L10n update.
Translator documentation added.
Superfluous whitespace removed.
2011-03-25 09:55:33 +01:00
Brion Vibber
d994b4583a 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.
2011-03-24 18:41:25 -07:00
Zach Copley
c1a27922ba Merge branch '1.0.x' into qna
* 1.0.x: (26 commits)
  Fix typo in documentation.
  Fix i18n.
  Change formatting of i18n slightly. Translator hints were not picked up in pot file. May now they are.
  Localisation updates from http://translatewiki.net.
  Translator documentation updated. i18n/L10n updates. Superfluous whitespace removed. Add FIXME for missing class documentation.
  Update translator documentation. Remove superfluous whitespace. L10n/I18n updates. FIXMEs added for missing documentation or headers.
  Update translator documentation. i18n/L10n updates. Superfluous whitespace removed. Add FIXME in files with missing documentation.
  Fallback for RSVP display when Event is deleted
  Enhancement for 'ajax' form class: submit buttons behave more like normal submissions, submitting their name/values through a hidden field.
  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...
  Some fixes to make the notice stream class work
  let Inbox class go fingerpokin' in streams
  New NoticeStream class to reify streams of notices
  Refactoring on notification mail generation: common profile & footer chunks pulled out, notifications added for group joins.
  Fix typo in cf45c978
  Mass replacement of #-comments with //-comments
  Add pending members list to group navigation, if group has joins moderated or if it has pending requests open
  Split up some list/form classes, and get the 'approve' and 'cancel' links on group member queue working.
  Pending members queue list -- doesn't yet allow approval.
  Logic to have group joins turn into pending joins automatically when group is set to mod; allow users to cancel their pending group requests.
  ...
2011-03-24 14:03:04 -07:00
Siebrand Mazeland
4e64bd4e5b Localisation updates from http://translatewiki.net. 2011-03-24 16:08:03 +01:00
Evan Prodromou
69bb30e09c Fallback for RSVP display when Event is deleted 2011-03-23 22:16:00 -04:00
Evan Prodromou
bd11d11bfc Fallback for RSVP display when Event is deleted 2011-03-23 22:10:44 -04:00
Evan Prodromou
83fb5e6023 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?
2011-03-22 11:54:23 -04:00
Zach Copley
7f4bd6b69f Work on QnA notice display -- in progress 2011-03-21 20:57:19 -07:00
Shashi Gowda
bf121a695a Merge remote-tracking branch 'mainline/1.0.x' into people_tags_rebase
Conflicts:
	classes/Profile.php
2011-03-22 07:59:06 +05:30
Shashi Gowda
31c1177970 Merge branch '1.0.x' into people_tags_rebase
Conflicts:
	EVENTS.txt
	actions/peopletag.php
	actions/tagother.php
	classes/Notice.php
	js/util.js
	js/util.min.js
	lib/accountprofileblock.php
	lib/action.php
	lib/activityobject.php
	lib/command.php
	lib/personalgroupnav.php
	plugins/OStatus/OStatusPlugin.php
2011-03-22 07:56:25 +05:30
Zach Copley
b0ed4cb89a * Move stuff around again
* Make answers save
2011-03-21 16:51:38 -07:00
Zach Copley
73c3344cc3 * Fix plugin filename
* Make questions save!
2011-03-21 15:50:36 -07:00
Brion Vibber
541dfa04fe Switch things from calling Group_member::join & leave & calling events manually to running through Profile::joinGroup() && Profile::leaveGroup(), with the events encapsulated. 2011-03-21 14:35:29 -07:00
Brion Vibber
01ecca5e60 remove type hinting -- fails when ArrayWrapper gets passed in some profile list pages 2011-03-21 11:20:16 -07:00
Zach Copley
f9cf1dddfe Merge branch '1.0.x' into qna
* 1.0.x: (23 commits)
  ModPlus plugin -- Ticket #3095: add remote profile options popup to group membership and other profile lists
  fix ModPlus 'remote profile options' popup for Realtime
  Fixes for GroupPrivateMessage, OStatus due to changes in group output events, and some internal bugs using wrong vars
  Tickets #1610, #1949: show permalinks on Popular Notices, attachments aside sections
  Localisation updates from http://translatewiki.net.
  Translator documentation added/updated. Superfluous whitespace removed. L10n update.
  Add myself to contributors array.
  i18n updates. Translator documentation added. Superfluous whitespace removed.
  Translator documentation added/updated. i18n updates. Superfluous whitespace removed.
  Fixed issues with plural handling. L10n/I18n updates. Translator documentation added. Superfluous whitespace removed.
  Translator documentation added/updates. L10n/i18n updates. Superfluous whitespace removed.
  Update/add translator documentation. L10n/i18n updates. Superfluous whitespace removed.
  * Add FIXME: $profile appears to be undefined. * Update translator documentation.
  Caching for conversation root lookup, some logic fixes in threaded view
  Use cached sources for favorites & repeats info on threaded notice lists
  ajax load for additional inline replies; /replies variant of conversationview
  Fixes for race conditions between Realtime plugin and the AJAX display of inline replies.
  Initial use of inline reply area for marking repeats...
  Initial inline listing of favoriters
  Favored lists in progress: 'foo, bar and baz'
  ...
2011-03-20 19:25:32 -07:00
Zach Copley
2167454eb2 Renamed QuestionAndAnswerPlugin to QnAPlugin 2011-03-20 19:24:35 -07:00
Brion Vibber
e6afd16c02 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.
2011-03-18 16:35:50 -07:00
Brion Vibber
0ea360c498 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!
2011-03-18 16:23:22 -07:00
Brion Vibber
a390e3e888 Fixes for GroupPrivateMessage, OStatus due to changes in group output events, and some internal bugs using wrong vars 2011-03-18 15:00:02 -07:00
Siebrand Mazeland
5bb6fae307 Localisation updates from http://translatewiki.net. 2011-03-18 20:59:45 +01:00
Zach Copley
46793caf4b Most objects and forms are in place, now I just have to make it work. 2011-03-17 17:43:13 -07:00
Brion Vibber
057a831026 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.
2011-03-17 15:54:40 -07:00
Zach Copley
4cf0450809 Merge branch '1.0.x' into qna 2011-03-17 13:20:37 -07:00
Luke Fitzgerald
cd4b23aa39 Merge branch '1.0.x' into msn-plugin 2011-03-17 20:00:06 +00:00
Brion Vibber
0d30dff6d6 Fix reversed poll & poll response object types in ActivityStreams output 2011-03-17 12:13:46 -07:00
Siebrand Mazeland
86fcd73a84 L10n/i18n updates
* number multiple parameters
* put messages in plugin domain (use _m() NOT _()!)
Translator documentation updated.
2011-03-17 15:11:30 +01:00
Evan Prodromou
7cf12f093e Merge branch '1.0.x' into testing
Conflicts:
	lib/common.php
2011-03-17 09:20:32 -04:00
Siebrand Mazeland
a9f556795b Localisation updates from http://translatewiki.net. 2011-03-17 13:59:24 +01:00
Samantha Doherty
49952b08e1 A little more quick styling for Events. 2011-03-17 08:32:18 -04:00
Siebrand Mazeland
726ddf7b42 L10n updates.
Translator documentation.
2011-03-17 11:54:18 +01:00
Siebrand Mazeland
3d835bb8b5 Translator documentation added/updated.
i18n/L10n updates.
2011-03-17 11:38:18 +01:00
Siebrand Mazeland
199e05f9de Localisation updates from http://translatewiki.net. 2011-03-17 11:17:22 +01:00
Zach Copley
30cdc6944b Skeleton / Stub for Question and Answers micro-app plugin 2011-03-16 18:15:45 -07:00
Brion Vibber
0754edf9a2 SearchSub plugin: 'track X', 'untrack X', 'tracking', 'track off' commands now overridden :D 2011-03-16 17:22:37 -07:00
Brion Vibber
e36959d451 Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-03-16 16:42:12 -07:00
Brion Vibber
390881e817 SearchSub plugin: add management UI for subscribed searches 2011-03-16 16:41:02 -07:00
Zach Copley
262126bd54 Extended profile - Add sammdy to author credits in version info 2011-03-16 16:17:02 -07:00
Zach Copley
e7843dfda2 Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-03-16 16:09:50 -07:00
Evan Prodromou
0182b96f7c Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-03-16 19:08:50 -04:00
Zach Copley
88d31a7933 Extended profile - move some files around and rename stuff to follow plugin conventions 2011-03-16 16:08:49 -07:00
Evan Prodromou
1b82589b8f better date handling in events 2011-03-16 19:08:35 -04:00
Brion Vibber
95942f02ac Merge branch 'subwork' into 1.0.x 2011-03-16 15:56:11 -07:00
Brion Vibber
f8859aa3aa Tag subscriptions management UI for TagSub plugin 2011-03-16 15:55:40 -07:00
Zach Copley
2d88e6d07e Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-03-16 14:53:20 -07:00
Zach Copley
59515d5976 Extended profile - don't show rel for empty phone number 2011-03-16 14:52:42 -07:00
Evan Prodromou
29a4bb4d91 better formatting for RSVPs 2011-03-16 17:51:27 -04:00
Brion Vibber
7785407c65 Work in progress: tagsub editing ui 2011-03-16 14:49:27 -07:00
Evan Prodromou
ba2a246951 slightly better formatting on events 2011-03-16 17:13:34 -04:00
Brion Vibber
c211b1a38e Work in progress: adding link for managing tag subscriptions. Needs the action still to be functional. 2011-03-16 12:28:26 -07:00
Evan Prodromou
47cd5f311c my code-to-verb logic was ab0rken; fixed 2011-03-16 15:22:15 -04:00
Evan Prodromou
f4ff375dbd Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-03-16 15:00:22 -04:00
Evan Prodromou
9966c51625 use Y,N,? instead of 1,0,null for 3vl in RSVPs 2011-03-16 14:55:19 -04:00
Zach Copley
405dae87b1 Extended profile - fix for unix epoc getting displayed for empty birthday and some validation issues 2011-03-16 10:58:13 -07:00
Samantha Doherty
5e40450efd Quick style update for profile blocks. 2011-03-16 13:50:24 -04:00
Zach Copley
3692a09095 Extended profile - add nav link to new profile block 2011-03-16 10:30:57 -07:00
Samantha Doherty
0666c6f8b2 Fix for education description fields in extended profile. 2011-03-16 13:05:55 -04:00
Evan Prodromou
9b4533058c no profileblock on login actions 2011-03-16 10:05:07 -04:00
Evan Prodromou
41420449f8 Merge branch 'jqueryui' into 1.0.x
Conflicts:
	lib/action.php
2011-03-16 09:56:26 -04:00
Evan Prodromou
3598134330 Merge remote branch 'origin/1.0.x' into 1.0.x 2011-03-16 09:52:35 -04:00
Zach Copley
daf73f8231 Merge branch 'profile-fixups' into 1.0.x
* profile-fixups: (46 commits)
  * Extended profile - make cloned datefields work correctly with calendar popup * Validate URLs
  More style for profile edit.
  Extended profile - don't show empty company entry in view
  Extended profile - linkify related URLs added by the user
  Extended profile - fix some issues saving and displaying dates
  Extended profile - don't check end date if experience entry has current checked
  Extended profile - allow adding more than one website
  Small smattering of pixie dust
  Extended profile - fix regression whereby if there was only one item, you could still delete it!
  Remove supersizeme class as appropriate.
  Extended profile - hide add button when not needed (regression)
  Extended profile - add fancy JQuery UI confirm dialog when deleting items
  Extended profile - add fancy datepicker widgets
  Extended profile - prettier date formatting
  Extended profile - fix issue with JavaScript not executing in Firefox
  Extended profile - namespace JavaScript functions
  Extended profile - autocomplete for manager
  Hide all unnecessarylabels from profile edit view.
  Extended profile - make birthday save
  Extended profile - make websites save
  ...
2011-03-16 02:44:36 -07:00
Zach Copley
368cfd8fac * Extended profile - make cloned datefields work correctly with calendar popup
* Validate URLs
2011-03-16 02:41:32 -07:00
Samantha Doherty
365b7ab56e More style for profile edit. 2011-03-16 04:32:33 -04:00
Zach Copley
82023d388a Extended profile - don't show empty company entry in view 2011-03-16 01:27:18 -07:00
Zach Copley
17afe06805 Extended profile - linkify related URLs added by the user 2011-03-16 01:23:47 -07:00
Zach Copley
bb087a9650 Extended profile - fix some issues saving and displaying dates 2011-03-16 01:09:38 -07:00
Zach Copley
974d0c48f6 Extended profile - don't check end date if experience entry has current checked 2011-03-16 00:50:43 -07:00
Zach Copley
724dba668a Extended profile - allow adding more than one website 2011-03-16 00:34:00 -07:00
Zach Copley
b80b9f31fc Small smattering of pixie dust 2011-03-16 00:25:02 -07:00
Zach Copley
04c2198dc1 Merge branch 'profile-fixups' of gitorious.org:~zcopley/statusnet/zcopleys-clone into profile-fixups
* 'profile-fixups' of gitorious.org:~zcopley/statusnet/zcopleys-clone:
  Remove supersizeme class as appropriate.
2011-03-16 00:24:06 -07:00
Zach Copley
a715b133ff Extended profile - fix regression whereby if there was only one item, you could still delete it! 2011-03-16 00:23:34 -07:00
Samantha Doherty
665dd1de78 Remove supersizeme class as appropriate. 2011-03-16 03:09:06 -04:00
Zach Copley
d51625ab3d Extended profile - hide add button when not needed (regression) 2011-03-15 23:58:45 -07:00
Zach Copley
bda9d43c56 Extended profile - add fancy JQuery UI confirm dialog when deleting items 2011-03-15 23:51:28 -07:00
Zach Copley
b9065d7bc1 Extended profile - add fancy datepicker widgets 2011-03-15 23:02:05 -07:00
Zach Copley
40e1fc8246 Extended profile - prettier date formatting 2011-03-15 21:55:47 -07:00
Zach Copley
bde85a6685 Extended profile - fix issue with JavaScript not executing in Firefox 2011-03-15 21:23:34 -07:00
Zach Copley
b11a2faf54 Extended profile - namespace JavaScript functions 2011-03-15 19:33:05 -07:00
Zach Copley
9ea7946172 Merge branch 'profile-fixups' of gitorious.org:~zcopley/statusnet/zcopleys-clone into profile-fixups
* 'profile-fixups' of gitorious.org:~zcopley/statusnet/zcopleys-clone:
  Hide all unnecessarylabels from profile edit view.
2011-03-15 18:46:44 -07:00
Zach Copley
95d03e74e9 Extended profile - autocomplete for manager 2011-03-15 18:45:08 -07:00
Samantha Doherty
903ce7d10c Hide all unnecessarylabels from profile edit view. 2011-03-15 21:43:28 -04:00
Brion Vibber
73b5821fc3 Submirror wizard updates... commenting out Wordpress (not sure what to do with it), LinkedIn (can't find documentation on any public RSS/Atom feeds from it, it seems that a feed of your updates doesn't currently exist?), and StatusNet (we'd need to know what to do with it; could take webfinger-style addresses or such.) Also added a commented-out Facebook section; it seems that there may not be a current way to get at public updates via RSS/Atom either, or if it is it seems really inconsistent and undocumented. (You can get at your friends updates by jumping through some hoops, but it seems we'd want to mirror a single account's own update feed?) 2011-03-15 17:48:12 -07:00
Brion Vibber
ce05a78d08 SubMirror wizard work in progress: Twitter option now lets you type in a username and picks the feed. Should in theory work via superfeedr or other compatible hub 2011-03-15 17:15:25 -07:00
Brion Vibber
325cb4833d Merge branch '1.0.x' into feedsub-wizard 2011-03-15 16:17:48 -07:00
Zach Copley
e4eb6719a5 Extended profile - make birthday save 2011-03-15 15:35:00 -07:00
Brion Vibber
341bef5e01 tag -> search stuff: basic search subscription implementation in SearchSub 2011-03-15 15:34:06 -07:00
Brion Vibber
579fc11862 copy-paste TagSub to SearchSub :D 2011-03-15 14:58:09 -07:00
Brion Vibber
0bb2f14704 AJAX submit actions for tag subscribe/unsubscribe 2011-03-15 13:58:22 -07:00
Brion Vibber
119885d964 Stub TagSubPlugin: plugin guts with no UI to setup subs 2011-03-15 12:57:11 -07:00
Zach Copley
1ff1af0fc8 Merge branch 'profile-fixups' of gitorious.org:~zcopley/statusnet/zcopleys-clone into profile-fixups
* 'profile-fixups' of gitorious.org:~zcopley/statusnet/zcopleys-clone:
  Whole bunch of style-related changes, including some tasty hackery for the experience and education fields.
2011-03-15 10:10:41 -07:00
Zach Copley
a6ae9ddd41 Extended profile - make websites save 2011-03-15 10:10:18 -07:00
Samantha Doherty
b37c33dea2 Whole bunch of style-related changes, including some tasty hackery for the experience and education fields. 2011-03-15 13:08:41 -04:00
Zach Copley
4f217a3133 Merge branch '1.0.x' into profile-fixups
* 1.0.x:
  For good measure; trip short error mode in earlier on ajax shownotice
  Realtime plugin: fix i18n, thumbnails, location display, OStatus server display, micro-apps display.
  'ajax' param on shownotice action so we can pull items in full html version for realtime
  Whoops, need to reset the background color on the aside.
  Realtime work in progress: switch makeNoticeData to async -- next we'll load fresh copies from server, maintaining proper language and plugin enhancements.
  Check the site minifications etting for realtime plugin; debugging aid.
2011-03-15 09:11:31 -07:00
Zach Copley
7a7e0a2b69 Extended profile - change the name of divs used for sort order 2011-03-14 22:47:20 -07:00
Zach Copley
cd82ff2dcf Extended profile - make IMs display and save 2011-03-14 22:38:34 -07:00
Zach Copley
6d34818b5d Extended profile - make education entries save 2011-03-14 22:02:24 -07:00
Zach Copley
8559fbb2ca Extended profile - intialize controls for multiple education entries 2011-03-14 21:09:03 -07:00
Zach Copley
79c4af6073 Add in missing </li> 2011-03-14 21:07:14 -07:00
Zach Copley
bd238e9a4d Extended profile - HTML layout for education entries 2011-03-14 20:58:35 -07:00
Samantha Doherty
0ff7bf77e4 Couple quick fixes for profile view. 2011-03-14 22:40:31 -04:00
Zach Copley
c6a6d41dab Extended profile - change HTML output for displaying work experience 2011-03-15 02:09:22 +00:00
Zach Copley
0fd4b84eb8 Extended profile - better error handling for bad dates 2011-03-14 17:53:54 -07:00
Zach Copley
07ccb6a9f8 Extended profile - make experience save and display 2011-03-14 17:27:50 -07:00
Zach Copley
27c75dd4bb Extended profile - show and edit experience 2011-03-14 15:29:11 -07:00
Brion Vibber
90d35885ae Realtime plugin: fix i18n, thumbnails, location display, OStatus server display, micro-apps display.
Switch from manual local formatting of notices (which lacks all the server-side goodness) to calling into the server-side with an AJAX variant of shownotice.
2011-03-14 13:29:35 -07:00
Zach Copley
f11b788b5a Extended profile - add a date value for fields 2011-03-14 12:53:49 -07:00
Brion Vibber
1e36593a23 Realtime work in progress: switch makeNoticeData to async -- next we'll load fresh copies from server, maintaining proper language and plugin enhancements. 2011-03-14 12:32:39 -07:00
Brion Vibber
ed2d224df5 Check the site minifications etting for realtime plugin; debugging aid. 2011-03-14 12:22:49 -07:00
Zach Copley
2f8b7f3dea Merge branch '1.0.x' into profile-fixups
* 1.0.x: (26 commits)
  (update util.min.js for recent changes)
  JS optimization: move creation of inline reply placeholders to server-side so we don't have to create them client-side (which causes reflows and takes about 25-30ms on my test system) Using live instead of bind for the event handling, we don't have to play any games on the ones that we do add at runtime. Yay!
  JS performance: speeding up initialization by consolidating event handlers for reply buttons
  Use non-minified jQuery when $config['site']['minify'] is off; aids in debugging when something fails deep in jQuery-land.
  Update PersonalGroupNav with fixed highlighting checks.
  remove stray close div from empty search results doc bits
  durrrr s/textValue/textContent/
  Update PollPlugin Atom input
  Poll plugin: switching Atom & JSON output to use new hooks & methods, much nicer output. Also switched types, which may break old entries. Beware! Input not yet updated.
  Add event hooks for customizing ActivityObject output to Atom and JSON, and helpers for MicroAppPlugin.
  Localisation updates from http://translatewiki.net.
  Move translator documentation one line lower. Otherwise it will not be added to the POT file.
  i18n/L10n updates Translator documentation added
  i18n fixes: plugins should use _m(), not _().
  * Superfluous whitespace removed * Small L10n updates
  * update/add translator documentation. * remove superfluous whitespace. * minor updates to L10n/i18n.
  Couple of tiny theme changes for inline replies.
  Removing currently unused webfonts from theme.ini.
  New interim default avatar images.
  Updating favicon.
  ...
2011-03-14 01:57:04 -07:00
Zach Copley
04c8bf2743 Extended profile - finished basic pattern for adding/removing/saving multiple complex fields 2011-03-14 01:49:46 -07:00
Zach Copley
deb40602d2 Extended profile - more work on getting complex fields to save 2011-03-13 16:32:13 -07:00
Evan Prodromou
a63e1418a8 Merge remote branch 'origin/1.0.x' into 1.0.x 2011-03-13 11:49:31 -05:00
Brion Vibber
3c9561b3f0 Merge branch 'atomic-json' into 1.0.x 2011-03-11 12:47:11 -08:00
Brion Vibber
d5f5f76947 durrrr s/textValue/textContent/ 2011-03-11 12:45:55 -08:00
Brion Vibber
e1136bacae Update PollPlugin Atom input 2011-03-11 12:41:11 -08:00
Brion Vibber
a9d589dbdc Poll plugin: switching Atom & JSON output to use new hooks & methods, much nicer output. Also switched types, which may break old entries. Beware!
Input not yet updated.
2011-03-11 12:28:15 -08:00
Evan Prodromou
487b3be198 Merge remote branch 'origin/1.0.x' into 1.0.x 2011-03-11 13:27:11 -06:00
Siebrand Mazeland
69e11bb45e Localisation updates from http://translatewiki.net. 2011-03-11 19:33:52 +01:00
Siebrand Mazeland
843ace580d i18n/L10n updates
Translator documentation added
2011-03-11 19:05:28 +01:00
Siebrand Mazeland
a70914cd57 i18n fixes: plugins should use _m(), not _(). 2011-03-11 18:33:19 +01:00
Siebrand Mazeland
76bffe1a64 * Superfluous whitespace removed
* Small L10n updates
2011-03-11 18:31:22 +01:00
Luke Fitzgerald
43db20ca98 Merge in upstream protocol change
"passport response message changed, it might return Compact2 instead of PPToken2 since 2011/2/14."
2011-03-11 17:23:14 +00:00
Evan Prodromou
5976a8542b Merge remote branch 'origin/1.0.x' into 1.0.x 2011-03-11 08:37:05 -06:00
Zach Copley
08018a1f7b Merge branch '1.0.x' into profile-fixups 2011-03-10 17:16:54 -08:00
Zach Copley
78ecb17ba1 User directory - fix nav 2011-03-10 17:15:56 -08:00
Zach Copley
302f0236bd Make correct nav menus show 2011-03-10 17:13:34 -08:00
Zach Copley
8efd2cf04d Make phone number save and display from DB 2011-03-10 16:57:41 -08:00
Zach Copley
78dc4f3a3d Merge branch '1.0.x' into profile-fixups 2011-03-10 14:22:41 -08:00
Zach Copley
24d0094192 User Directory - set class current on "All" if there is no selected filter 2011-03-10 14:20:35 -08:00
Zach Copley
c456e998c7 Make phone numbers save 2011-03-10 14:14:21 -08:00
Brion Vibber
eccadb4a7b cleanup... Poll main & response events seem to sorta work over ostatus now 2011-03-10 13:56:54 -08:00
Brion Vibber
6416f5ea41 fix 2011-03-10 13:47:44 -08:00
Brion Vibber
97df2f394f typo.... maybe that coffee's wearing off? 2011-03-10 13:46:20 -08:00
Brion Vibber
e54eb9117f backwards 2011-03-10 13:45:31 -08:00
Brion Vibber
d6c8c61076 AS output/input for poll responses 2011-03-10 13:41:23 -08:00
Brion Vibber
e085ef5ef5 Work on turning poll responses into activities so we can send them over ostatus bridge. Not yet bridging. 2011-03-10 12:38:25 -08:00
Brion Vibber
0511800351 Provisional tweak for polls to go through atom feeds / ostatus
Had to fix some calls to MicroAppPlugin->saveNoticeFromActivity() which passed an OStatus_profile instead of a Profile...
Imported polls don't get data from upstream or send it back currently.
2011-03-10 11:35:04 -08:00
Brion Vibber
2567474ddd Work in progress: fixing Poll posting URLs, working on AS input 2011-03-10 11:22:08 -08:00
Evan Prodromou
39f8d2c728 date picker for event form 2011-03-10 11:25:34 -06:00
Evan Prodromou
39b308bf90 reformatting on RSVP.php 2011-03-10 10:14:09 -06:00
Zach Copley
5203fa7151 Make all simple fields save 2011-03-09 19:31:37 -08:00
Zach Copley
adcda00e76 * Remove evil transaction
* Fix text value retrieval method
2011-03-09 19:27:21 -08:00
Brion Vibber
b653b2fb64 Update TinyMCE plugin for reusable thingies; doesn't quite arrange properly in the layout, we'll have to figure that out still. 2011-03-09 18:29:10 -08:00
Zach Copley
3d61d003bc Fix property declaration 2011-03-09 18:16:02 -08:00
Brion Vibber
662ad0f7bb Update DirectionDetector for reusable notice forms.
Also tweaked it to trigger on cut/paste, and to reset when the form resets.
2011-03-09 18:11:08 -08:00
Brion Vibber
4915b0cb9e Update Autocomplete plugin for reusable notice forms in 1.0.x. It's fun!
Now pulls the fetch API URL from a dedicated <span> with a data attribute ('data-url', should pass HTML 5 validators for our future overlords)
2011-03-09 18:01:41 -08:00
Zach Copley
c6f9baf78c Merge branch '1.0.x' into profile-fixups 2011-03-09 18:01:36 -08:00
Zach Copley
0429a52c6e Update to use new Managed_dataobject 2011-03-09 18:00:24 -08:00
Brion Vibber
ec828a094c Update LinkPreview plugin for multiple notice forms.
* main notice form setup now encapsulated into SN.Init.NoticeForm(form) -- this can be monkeypatched by plugins to append their own setup code, as LinkPreview does
* LinkPreview now supports debugging with non-minified JS source when $config['site']['minify'] is false
* tweaked core & neo styles so 'notice-status' class gets same styles as attach-status, so we can more easily add mroe statusy things. (needs more consolidation with geo-status, etc)
* tweaked LinkPreview's preview area to use that style
2011-03-09 17:43:31 -08:00
Brion Vibber
4ea35f339d Fixes for Event plugin:
* RSVP cancel/delete now works
* caching fix for RSVP insert and delete (compound unique keys aren't properly handled for pkeyGet's caching right now; hacked it for this class for the moment)
* div nesting fix
* missing name/avatar on RSVP responses
2011-03-09 14:10:26 -08:00
Brion Vibber
e9cab215fe Event: fix for display problem -- need to leave this div open for now 2011-03-09 13:31:22 -08:00
Zach Copley
65f9b5d954 Attempt to save field (doesn't work right yet) 2011-03-09 11:27:29 -08:00
Evan Prodromou
1d29ba8315 Merge branch 'event' into 1.0.x 2011-03-09 12:56:06 -05:00
Evan Prodromou
35429c28e5 updates to make RSVPs work 2011-03-09 12:28:25 -05:00
Evan Prodromou
728869e311 show RSVPs for an event 2011-03-09 10:40:49 -05:00
Evan Prodromou
a4b3edaf40 Login actions don't show the notice form 2011-03-09 10:11:59 -05:00
Evan Prodromou
f00f5f20b8 add url to events 2011-03-09 10:07:30 -05:00
Evan Prodromou
53e67b5ed5 make new event work, sort of 2011-03-09 02:48:14 -05:00
Evan Prodromou
ca36dfecf9 more fixes for events 2011-03-09 02:37:55 -05:00
Evan Prodromou
f715821cf0 Kinda complete and kinda working-ish events 2011-03-09 02:37:55 -05:00
Evan Prodromou
0b30fb3971 Make event-specific stuff in EventPlugin 2011-03-09 02:37:55 -05:00
Evan Prodromou
24fd39d6ab new Event plugin 2011-03-09 02:37:55 -05:00
Zach Copley
794cb5609b Save basic profile data to the right place 2011-03-08 19:20:43 -08:00
Brion Vibber
1413ed911f 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. 2011-03-08 16:06:30 -08:00
Brion Vibber
921eb1eb23 quickie bar chart for poll results 2011-03-08 16:04:32 -08:00
Brion Vibber
d990357be9 fix off-by-one error in poll results display 2011-03-08 15:44:51 -08:00
Brion Vibber
cbf16a4974 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.
2011-03-08 15:10:30 -08:00
Zach Copley
3bbe481695 Merge branch '1.0.x' into profile-fixups 2011-03-08 14:10:06 -08:00
Zach Copley
8ffae63b38 Merge branch '1.0.x' into profile-fixups 2011-03-08 14:03:40 -08:00
Brion Vibber
28809035d0 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.
2011-03-08 13:58:28 -08:00
Brion Vibber
90f1cfcfc0 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.
2011-03-08 13:45:51 -08:00
Brion Vibber
ba1ada2880 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. :)
2011-03-08 12:14:44 -08:00
Zach Copley
cfe3e83293 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
2011-03-07 21:35:48 -08:00
Zach Copley
99bd8c670c Fix a couple things 2011-03-07 21:34:57 -08:00
Brion Vibber
3438a78c02 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.
2011-03-07 21:28:36 -08:00
Zach Copley
be53b94bfd - Fix table name; add comments 2011-03-07 17:26:19 -08:00
Siebrand Mazeland
b9e2c72740 Localisation updates from http://translatewiki.net. 2011-03-08 02:18:32 +01:00
Zach Copley
68a3246f1c Fixup sphinx plugin to have additional sort orders 2011-03-07 17:18:30 -08:00
Brion Vibber
541613ce69 More doc comments on MicroApp stuff; some of the show-notice code & the ActivityStreams stuff is a bit wonky and may need smoothing out 2011-03-07 15:15:21 -08:00
Zach Copley
b431a3b216 Rearrange alphanav to better fit 3CL 2011-03-07 14:32:14 -08:00
Brion Vibber
9a837ee33b Doc comments for MicroAppPlugin 2011-03-07 13:36:15 -08:00
Zach Copley
4b24f09ab4 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
  ...
2011-03-07 12:37:51 -08:00
Evan Prodromou
095e2a74d4 fix object errors with bookmark notices 2011-03-07 14:25:37 -05:00
Evan Prodromou
f5782e9e56 save the object type when saving a new bookmark notice 2011-03-07 14:25:05 -05:00
Evan Prodromou
7aa55f8200 made the input-form switcher work, kinda 2011-03-07 03:34:20 -05:00
Evan Prodromou
52952d13c0 first (non-working) move to microapp structure for bookmarks 2011-03-07 03:34:20 -05:00
Zach Copley
00c14ffa88 Better instructions, and better empty search results messages. 2011-03-06 22:08:19 -08:00
Zach Copley
b3e3264a4d 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.
2011-03-06 20:35:06 -08:00
Shashi Gowda
c335db4bbc OStatus support for people tags 2011-03-07 00:45:34 +05:30
Siebrand Mazeland
7a9b989349 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!
2011-03-06 02:52:28 +01:00