Brion Vibber [Wed, 10 Mar 2010 17:36:00 +0000 (09:36 -0800)]
Ticket #2221: fix for missing whitespace between messages in en-gb.
The final whitespace should be dropped from the source messages after we've stabilized; trailing space is pretty unreliable to keep through translation tools and should be avoided. Use separator strings outside the messages!
Brion Vibber [Tue, 9 Mar 2010 16:38:16 +0000 (17:38 +0100)]
Ticket #2210: adjust locale setup fallback to try more locales on the system if en_US isn't available. We just need *something* other than C or POSIX to let gettext initialize itself, apparently...
Gets Spanish, French, Russian etc UI localization working on Debian Lenny fresh installation set up in Spanish (so es_ES.UTF-8 is available but en_US.UTF-8 isn't).
Brion Vibber [Tue, 9 Mar 2010 21:41:05 +0000 (13:41 -0800)]
Added scripts/command.php, can be used to run commands such as subscription on behalf of users.
This includes whatever support for extended command parsing plugins may have added.
Example:
./scripts/command.php -nbrionv sub update@status.net
Brion Vibber [Mon, 8 Mar 2010 22:01:43 +0000 (14:01 -0800)]
Command input processing now has centralized places for looking up notice, user/profile, and group arguments.
OStatus plugin overrides these to allow using webfinger (user@example.com), profile URL (http://example.com/user) and bare profile URL (example.com/user) as arguments.
Brion Vibber [Mon, 8 Mar 2010 20:19:06 +0000 (12:19 -0800)]
Fix ticket #2208: regression in XMPP sending when server != host
The upstream class sets $this->basejid with host unconditionally, which wasn't previously an issue as the fulljid would always be filled in by the server at connect time before sending messages. With the new queued messaging, we need to make sure we've filled out $this->fulljid correctly without making a connection.
Now using $server if provided to build $this->basejid and $this->fulljid in the queued XMPP proxy class, so queued messages are sent correctly.
Brion Vibber [Fri, 5 Mar 2010 23:00:27 +0000 (15:00 -0800)]
OpenID fix:
- avoid notice on insert (missing sequenceKeys())
- avoid cache corruption on delete (user_id was missing from keys list, cache not cleared for user_id lookups)
Brion Vibber [Fri, 5 Mar 2010 19:27:48 +0000 (11:27 -0800)]
Initial install-time test for PCRE compiled without Unicode properties, which causes corruption in feeds and other linking problems.
Error message links to help info at http://status.net/wiki/Red_Hat_Enterprise_Linux#PCRE_library
Zach Copley [Thu, 4 Mar 2010 19:19:02 +0000 (11:19 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline:
Updated note on geo location and added a note on user roles
Set up subscription to update@status.net for admin user on new installation, if OStatus is set up and working. (Will fail gracefully on a behind-the-firewall site.)
Brion Vibber [Thu, 4 Mar 2010 19:00:02 +0000 (11:00 -0800)]
Set up subscription to update@status.net for admin user on new installation, if OStatus is set up and working. (Will fail gracefully on a behind-the-firewall site.)
Brion Vibber [Thu, 4 Mar 2010 17:33:56 +0000 (17:33 +0000)]
Dropping the earlier PubSubHubbub plugin; OStatus plugin is taking that portion over (with both internal and external hub options for user and group feeds).
Todo: add support for other feeds to OStatus PuSH hub implementation.
Brion Vibber [Thu, 4 Mar 2010 16:55:36 +0000 (08:55 -0800)]
Ignore API 'since' silently as Twitter does instead of throwing a 403 error. Getting extra results is less disruptive than total failure.
Threw in an X-StatusNet-Warning header on the off chance some API client developer notices it. :)
Brion Vibber [Thu, 4 Mar 2010 16:49:04 +0000 (08:49 -0800)]
Roll up some missing items from 08to09.sql; now hits all changed tables/columns/keys in core.
Added partial data conversions:
user_groups -> local_user: ids, names filled out; mainpage, uri left null
notice -> conversation: stub entry added to push the autoincrement past existing notice items