Commit Graph

12714 Commits

Author SHA1 Message Date
Brion Vibber
ed2d224df5 Check the site minifications etting for realtime plugin; debugging aid. 2011-03-14 12:22:49 -07:00
Siebrand Mazeland
eaef01233a Fix incorrect parameter documentation. Spotted by Nikerabbit. 2011-03-14 18:01:22 +01: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
096f99be16 (update util.min.js for recent changes) 2011-03-11 15:31:58 -08:00
Brion Vibber
2bccd18d9a 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!
2011-03-11 15:20:20 -08:00
Brion Vibber
10e5cb482e JS performance: speeding up initialization by consolidating event handlers for reply buttons
Saved about 60ms on my test system during page setup by using a single global 'live' click handler for reply links.
No longer need to seek out and attach event handlers on every notice, yay!
2011-03-11 15:03:15 -08:00
Brion Vibber
4e2a0e2fd0 Use non-minified jQuery when $config['site']['minify'] is off; aids in debugging when something fails deep in jQuery-land. 2011-03-11 14:48:47 -08:00
Brion Vibber
717fed785e Update PersonalGroupNav with fixed highlighting checks.
Couldn't use Menu::item() as its checks are only for the action name, so would have highlighted stuff for other users though it always links to self.
2011-03-11 14:25:57 -08:00
Brion Vibber
d393ac4bbb remove stray close div from empty search results doc bits 2011-03-11 14:08:48 -08: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
Brion Vibber
3146c9fae8 Add event hooks for customizing ActivityObject output to Atom and JSON, and helpers for MicroAppPlugin.
New hooks:
* StartActivityObjectOutputAtom
* EndActivityObjectOutputAtom
	$obj ActivityObject
	$out XMLOutputter

* StartActivityObjectOutputJson
* EndActivityObjectOutputJson
	$obj ActivityObject
	&$out array
2011-03-11 11:58:53 -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
eff26421ab Move translator documentation one line lower. Otherwise it will not be added to the POT file. 2011-03-11 19:32:35 +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
Siebrand Mazeland
e2defc1f7c * update/add translator documentation.
* remove superfluous whitespace.
* minor updates to L10n/i18n.
2011-03-11 17:07:27 +01:00
Evan Prodromou
5976a8542b Merge remote branch 'origin/1.0.x' into 1.0.x 2011-03-11 08:37:05 -06:00
Samantha Doherty
dccd0ae6e1 Couple of tiny theme changes for inline replies. 2011-03-11 00:00:54 -05:00
Samantha Doherty
3c66275186 Removing currently unused webfonts from theme.ini. 2011-03-10 23:59:45 -05:00
Samantha Doherty
11a183fe33 New interim default avatar images. 2011-03-10 23:58:34 -05:00
Samantha Doherty
589aeed7d6 Updating favicon. 2011-03-10 23:57:29 -05:00
Brion Vibber
0f3af3e3b7 Keep 'Status' tab current while showing the placeholder -- pretend like it's a mini version of the status notice form :D 2011-03-10 18:01:40 -08:00
Brion Vibber
17dc1c8703 Merge branch 'magic' into 1.0.x 2011-03-10 17:55:08 -08:00
Brion Vibber
0ee5d79739 Return to placeholder entry after successful post 2011-03-10 17:54:07 -08:00
Brion Vibber
6066bce02c Clicking outside the active top posting form now returns to the placeholder if all textarea/input fields are empty 2011-03-10 17:52:03 -08:00
Brion Vibber
b89b89ce89 Focus in textarea when popping up the status tab 2011-03-10 17:44:17 -08:00
Brion Vibber
f88689cc87 Trigger status notice form when top placeholder form gets used. Delay initialization of notice ajax forms until they get shown. 2011-03-10 17:40:39 -08:00
Brion Vibber
771682b6eb Add placeholder status form for the top (needs to hook up to JS) 2011-03-10 17:40:25 -08:00
Zach Copley
08018a1f7b Merge branch '1.0.x' into profile-fixups 2011-03-10 17:16:54 -08:00
Zach Copley
3730b650ab Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-03-10 17:16:28 -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
Brion Vibber
874804a0c4 use a data attribute instead of 'title' for geo lookup api; fixes failure of cloned forms to work 2011-03-10 16:49:24 -08:00
Brion Vibber
e43ee373ae Fix disappearing reply forms when closing geo section
Missing default-cancel in the click handler allowed the event to bubble up to the body handler, where we think the click is outside of the form because the target is no longer in the form by the time we check
Now the event no longer bubbles up, as we cancel it when we're done.
2011-03-10 16:29:13 -08:00
Brion Vibber
eef9786e36 click -> focus for reply placeholder trigger; lets keyboarders use it though not super ideal :D 2011-03-10 16:23:18 -08:00
Brion Vibber
2858f495fa Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-03-10 16:16:06 -08:00
Brion Vibber
d107164aec Tweaks for closing 2011-03-10 16:15:44 -08:00
Brion Vibber
4e1ce4e5bb Remove inline reply forms on click-away if they have initial text as well as if empty (plus whitespace stripping) 2011-03-10 16:10:58 -08:00
Brion Vibber
acca8a24b4 Fix for inline reply placeholders: only remove the one we're clicking in, not all of them! 2011-03-10 16:08:28 -08:00
Brion Vibber
6b5b6d072b Make inline reply forms close when clicking outside them if there's no text again.
(That went away when we switched to reusing the main notice form)
2011-03-10 16:06:01 -08:00