Brion Vibber [Tue, 8 Dec 2009 20:17:11 +0000 (12:17 -0800)]
New _m() gettext wrapper with smart detection of plugin domains. Plugin base class registers your gettext files if present at initialization.
update_pot.sh replaced with update_po_templates.php which can do core, plugins, or all (default).
Top-level Makefile added to build .mo files for plugins as well as core.
As described on list:
http://lists.status.net/pipermail/statusnet-dev/2009-December/002869.html
Brion Vibber [Tue, 8 Dec 2009 17:57:37 +0000 (09:57 -0800)]
Make default & sample val for $config['queue']['queue_basename'] actually work! Now matches the recommendation in README which is in fact correct. Must include the /queue/ prefix (unless somthing else actually makes sense)
Zach Copley [Mon, 7 Dec 2009 19:34:54 +0000 (11:34 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
* '0.9.x' of gitorious.org:statusnet/mainline:
Add a "grandfather" creation date cutoff to RequireValidatedEmail plugin; will allow us to use this for temporary emergency moderation of new registrations without affecting older accounts.
Brion Vibber [Mon, 7 Dec 2009 19:29:18 +0000 (11:29 -0800)]
Add a "grandfather" creation date cutoff to RequireValidatedEmail plugin; will allow us to use this for temporary emergency moderation of new registrations without affecting older accounts.
If the XHR error suggests that the xhr.status is 0 (i.e., it didn't
receive an XHR object as expected), threat it as a success like HTTP
20x or 30x because the notice most likely went through. jquery.form.js
(for file uploads) and meteor.js both use an iframe and they (somehow)
appear to be in conflict. Notice always goes through, however,
xhr.status is 0. Further investigation is needed.
Evan Prodromou [Fri, 4 Dec 2009 19:31:19 +0000 (14:31 -0500)]
Update Mapstraction to properly scrape data from notice-list pages
Refactored the JavaScript for Mapstraction use so it scrapes data from
the HTML of the page it's on, if possible, and otherwise generates a
JSON array.
Zach Copley [Fri, 4 Dec 2009 01:13:54 +0000 (17:13 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
* '0.9.x' of gitorious.org:statusnet/mainline:
Remove unnecessary pass by reference indicators
refactor the common parts of usermap and allmap into a common base class
Load notice data using javascript from the html on the page instead of writing json representations of the notices on each page
Zach Copley [Fri, 4 Dec 2009 01:06:58 +0000 (17:06 -0800)]
Make it impossible to block (and thus unsubscribe from your
self-subscription) via the API. Additionally, make it impossible
to block yourself or unsubscribe from yourself, period.
I also made User use the subs.php helper function for unsubscribing
during a block.
Hopefully, these changes will get rid of the problem of people
accidentally deleting their self-subscriptions once and for all
(knock on wood).
Craig Andrews [Thu, 3 Dec 2009 02:24:41 +0000 (21:24 -0500)]
Load notice data using javascript from the html on the page instead of writing json representations of the notices on each page
Clicking on a geo link pops up a map (round 2)
Zach Copley [Thu, 3 Dec 2009 02:09:24 +0000 (18:09 -0800)]
Merge branch 'fix-default-design' into 0.9.x
* fix-default-design:
Reload the admin design panel page to show the new CSS when the
Only pick up new default site colors if the theme has NOT changed.
Brion Vibber [Tue, 1 Dec 2009 23:44:07 +0000 (15:44 -0800)]
Fix regression in password settings: users have been unable to change their passwords since introduction of ChangePassword event (later StartChangePassword) November 5 in commit d6ddb84132d7b9510ba82064c67f2a39822dab49
Logic was inversed; new password was only being saved if a plugin claimed the event; so when no auth plugin was present to take it, passwords never got saved.
Brion Vibber [Tue, 1 Dec 2009 22:38:34 +0000 (14:38 -0800)]
Ticket 2048: make OMB posting HTTP timeout configurable as $config['omb']['timeout']; defaults to 5 seconds instead of 20-second default in Yadis library
Zach Copley [Mon, 30 Nov 2009 21:08:55 +0000 (13:08 -0800)]
Fix problem where screen_name and user_id parameters are being
ignored due to the router sending in '[a-zA-Z0-9]+' for the id
parameter when no id is specified as part of the URL.
Brion Vibber [Mon, 30 Nov 2009 20:10:05 +0000 (12:10 -0800)]
Drop binary .mo localization files from git repo to aid in development.
Added a Makefile in locale subdirectory to rebuild them -- needs to be made part of deployment and packaging.