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.
Brion Vibber [Mon, 30 Nov 2009 18:41:24 +0000 (10:41 -0800)]
Include group memberships count & user groups management page link in profile sidebar to match subscribers & subscribees lists. This is the only obvious way to reach the user group membership details page if there are fewer group subs than the max number of icons to show.
Zach Copley [Mon, 30 Nov 2009 18:28:58 +0000 (10:28 -0800)]
Merge branch 'master' into 0.9.x
* master: (67 commits)
Ticket 2038: fix bad bug tracker link
Fix regression in group posting: bug introduced in commit 1319002e1519fafb0e82fbfd2d2723abdb3112e7. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
Log database errors when saving notice_inbox entries
Drop the username from the log id for now; seems to trigger an error loop in some circumstances
request id on logs... pid + random id per web request + username + method + url
Add OpenID ini info back into statusnet.ini as a stopgap until we can
Some changes to the OpenID DataObjects to make them emit the exact same
OpenID plugin should set 'user_openid.display' as unique key
Remove relationship: user_openid.user_id -> user.id. I don't think this
Have OpenID plugin DataObjects emit their own .ini info
Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die.
Fix regression in remote subscription; added hasRole() shadow method on Remote_profile.
Fix fatal error on OMB subscription for first-timers
Remove annoying log msg
Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up.
Catch uncaught exception
Fixed bug where reply-sync bit wasn't getting saved
Forgot to render the nav menu when on FB Connect login tab
Facebook plugin no longer takes over Login and Connect settings nav menus
...
Brion Vibber [Mon, 30 Nov 2009 16:09:30 +0000 (08:09 -0800)]
Ticket 1870: drop unnecessary Tidy module installation requirement.
Tidy was only being used by a couple of non-default URL shortener plugins,
PtitUrl and TightUrl. Both were easily changed to load the tag-soup HTML
via DOMDocument (using the default DOM module which is already used by
other dependencies).
Added xml, dom, and simplexml modules to the requirements check
in install.php, as they were being used but not checked for.
Also cleaned up LilUrl, PtitUrl, and TightUrl to return URL as a string
instead of as a SimpleXML node object.
Brion Vibber [Fri, 27 Nov 2009 22:52:58 +0000 (14:52 -0800)]
Fix regression in group posting: bug introduced in commit 1319002e1519fafb0e82fbfd2d2723abdb3112e7. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
Brion Vibber [Fri, 27 Nov 2009 22:52:58 +0000 (14:52 -0800)]
Fix regression in group posting: bug introduced in commit 1319002e1519fafb0e82fbfd2d2723abdb3112e7. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D