]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoFix double space in message
Siebrand Mazeland [Fri, 9 Apr 2010 23:47:27 +0000 (01:47 +0200)]
Fix double space in message

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Fri, 9 Apr 2010 23:20:25 +0000 (01:20 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Fri, 9 Apr 2010 23:03:39 +0000 (01:03 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoMerge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Siebrand Mazeland [Fri, 9 Apr 2010 22:59:21 +0000 (00:59 +0200)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x

14 years agoFix inconsistencies in clientError() messages
Siebrand Mazeland [Fri, 9 Apr 2010 22:58:57 +0000 (00:58 +0200)]
Fix inconsistencies in clientError() messages
* use correct punctuation
* single quotes when replace was possible
* wording updated when needed

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Fri, 9 Apr 2010 22:20:14 +0000 (15:20 -0700)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoFix E_NOTICE and use of limit on userrss
Brion Vibber [Fri, 9 Apr 2010 22:19:04 +0000 (15:19 -0700)]
Fix E_NOTICE and use of limit on userrss

14 years agoUpdate message formatting for serverError to use a starting capital and a leading...
Siebrand Mazeland [Fri, 9 Apr 2010 22:07:20 +0000 (00:07 +0200)]
Update message formatting for serverError to use a starting capital and a leading period.

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Fri, 9 Apr 2010 21:30:08 +0000 (23:30 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoTicket #946: annotate use of singular 'them' in invite mail messages to aid translators
Brion Vibber [Fri, 9 Apr 2010 21:02:01 +0000 (14:02 -0700)]
Ticket #946: annotate use of singular 'them' in invite mail messages to aid translators

14 years agoFix for conversation check in @-reply notification email; i18n cleanup on mail messag...
Brion Vibber [Fri, 9 Apr 2010 18:36:51 +0000 (11:36 -0700)]
Fix for conversation check in @-reply notification email; i18n cleanup on mail messages: fixed some bad gettext usage, added trans doc comments.

14 years agoFix for strip_geo's decaching; also added --all option to run over all notices by...
Brion Vibber [Fri, 9 Apr 2010 18:36:02 +0000 (11:36 -0700)]
Fix for strip_geo's decaching; also added --all option to run over all notices by given profile to help in fixing up cache inconsistencies

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Fri, 9 Apr 2010 17:47:45 +0000 (10:47 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoRun block checks on remote OStatus replies
Brion Vibber [Fri, 9 Apr 2010 17:46:18 +0000 (10:46 -0700)]
Run block checks on remote OStatus replies

14 years agoi18n cleanup: fix bad string breakdown in license agreement checkbox on registration...
Brion Vibber [Fri, 9 Apr 2010 17:11:11 +0000 (10:11 -0700)]
i18n cleanup: fix bad string breakdown in license agreement checkbox on registration form.
Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.

14 years agoi18n cleanup: fix bad string breakdown in license agreement checkbox on registration...
Brion Vibber [Fri, 9 Apr 2010 17:11:11 +0000 (10:11 -0700)]
i18n cleanup: fix bad string breakdown in license agreement checkbox on registration form.
Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.

14 years agoClean up badly formatted strings in OembedAction
Brion Vibber [Fri, 9 Apr 2010 16:56:19 +0000 (09:56 -0700)]
Clean up badly formatted strings in OembedAction

14 years agoCleanup bad i18n format for page title on bookmarklet posting window
Brion Vibber [Fri, 9 Apr 2010 16:43:34 +0000 (09:43 -0700)]
Cleanup bad i18n format for page title on bookmarklet posting window

14 years agoCleanup bad i18n format for page title on bookmarklet posting window
Brion Vibber [Fri, 9 Apr 2010 16:43:34 +0000 (09:43 -0700)]
Cleanup bad i18n format for page title on bookmarklet posting window

14 years agoInitial version of everplay's RTL direction detector plugin, sets initial direction...
Brion Vibber [Fri, 9 Apr 2010 16:22:33 +0000 (09:22 -0700)]
Initial version of everplay's RTL direction detector plugin, sets initial direction correctly for primarily RTL notices within an LTR site layout.

14 years agoInitial version of everplay's RTL direction detector plugin, sets initial direction...
Brion Vibber [Fri, 9 Apr 2010 16:22:33 +0000 (09:22 -0700)]
Initial version of everplay's RTL direction detector plugin, sets initial direction correctly for primarily RTL notices within an LTR site layout.

14 years agoFix localization for license notice in page footer (for ticket #2274: i18n cleanup)
Brion Vibber [Fri, 9 Apr 2010 15:56:43 +0000 (08:56 -0700)]
Fix localization for license notice in page footer (for ticket #2274: i18n cleanup)

14 years agoFix localization for license notice in page footer (for ticket #2274: i18n cleanup)
Brion Vibber [Fri, 9 Apr 2010 15:56:43 +0000 (08:56 -0700)]
Fix localization for license notice in page footer (for ticket #2274: i18n cleanup)

14 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Fri, 9 Apr 2010 15:40:15 +0000 (08:40 -0700)]
Merge branch 'testing' into 0.9.x

14 years agoAvoid E_NOTICE spew when listing group members who aren't admins
Brion Vibber [Fri, 9 Apr 2010 15:36:13 +0000 (08:36 -0700)]
Avoid E_NOTICE spew when listing group members who aren't admins

14 years agoUndefined Variable in foafgroup.php
Christopher Vollick [Fri, 9 Apr 2010 10:03:53 +0000 (06:03 -0400)]
Undefined Variable in foafgroup.php

Probably just left over from the past.

14 years agoMaintain 'page' parameter for block from subscribers list, block & make-admin from...
Brion Vibber [Fri, 9 Apr 2010 02:06:55 +0000 (19:06 -0700)]
Maintain 'page' parameter for block from subscribers list, block & make-admin from group members list.

Refactored some of the returnto handling code. It looks like we have several different ways of handling this in the software, icky!
Marked the session-based functions with fixmes (they'll stomp on other forms when multiple tabs/windows are used) and combined some commonish bits of code between ProfileFormAction and the group block & makeadmin actions where they're using hidden form parameters. Extended that to allow passing dynamic parameters (eg 'page') as well as static ones (action, target user/group).

14 years agoscripts/strip_geo.php to remove geodata from notices by a given user/profile.
Brion Vibber [Fri, 9 Apr 2010 00:05:02 +0000 (17:05 -0700)]
scripts/strip_geo.php to remove geodata from notices by a given user/profile.

May be slow or run out of memory if run on particularly prolific posters -- not yet optimized for that case.

Note that geodata that has already been sent out to other services (via ostatus, omb, twitter, etc) will not be removed from them.

(fixed version -- previous had accidentally undone another commit)

14 years agoRevert "scripts/strip_geo.php to remove geodata from notices by a given user/profile."
Brion Vibber [Fri, 9 Apr 2010 00:04:10 +0000 (17:04 -0700)]
Revert "scripts/strip_geo.php to remove geodata from notices by a given user/profile."

This reverts commit ab20e75ff8feab01b4fec81c02b8b4039d65cca0.

Accidentally removed another commit; clearing up...

14 years agoscripts/strip_geo.php to remove geodata from notices by a given user/profile.
Brion Vibber [Thu, 8 Apr 2010 23:58:54 +0000 (16:58 -0700)]
scripts/strip_geo.php to remove geodata from notices by a given user/profile.

May be slow or run out of memory if run on particularly prolific posters -- not yet optimized for that case.

Note that geodata that has already been sent out to other services (via ostatus, omb, twitter, etc) will not be removed from them.

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Thu, 8 Apr 2010 23:29:48 +0000 (01:29 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
* add new language Galician

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoUpdate supported languages:
Siebrand Mazeland [Thu, 8 Apr 2010 23:16:41 +0000 (01:16 +0200)]
Update supported languages:
* fix name for Irish/ga
* add Galician/gl

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Thu, 8 Apr 2010 23:13:47 +0000 (01:13 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoRedirect using HTTP 303 so that form POST data is not re-submitted to the destination...
Craig Andrews [Thu, 8 Apr 2010 21:20:24 +0000 (17:20 -0400)]
Redirect using HTTP 303 so that form POST data is not re-submitted to the destination page

14 years agoIn single-user mode, link #hashtags to the user's tagged stream rather than the globa...
Brion Vibber [Thu, 8 Apr 2010 20:12:14 +0000 (13:12 -0700)]
In single-user mode, link #hashtags to the user's tagged stream rather than the global tag action, which isn't registered.
Previously they would end up pointing to the home URL.

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Thu, 8 Apr 2010 17:16:55 +0000 (10:16 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agoFix for error during handling of HTTP error response case in Geonames lookups
Brion Vibber [Thu, 8 Apr 2010 17:11:52 +0000 (10:11 -0700)]
Fix for error during handling of HTTP error response case in Geonames lookups

14 years agodrop onStartShowHeadElements handler from MobileProfile; just duplicated the original...
Brion Vibber [Thu, 8 Apr 2010 17:09:56 +0000 (10:09 -0700)]
drop onStartShowHeadElements handler from MobileProfile; just duplicated the original code path, and after removing the bogus notice-spewing code it was running those things twice.

14 years agoRefactor installer into base class plus web and CLI installers.
Brion Vibber [Thu, 8 Apr 2010 00:47:08 +0000 (17:47 -0700)]
Refactor installer into base class plus web and CLI installers.
scripts/install_cli.php is a bit experimental at present but works.

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Wed, 7 Apr 2010 20:27:02 +0000 (13:27 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agofixup_blocks.php: finds any stray subscriptions in violation of blocks, and removes...
Brion Vibber [Wed, 7 Apr 2010 18:40:16 +0000 (11:40 -0700)]
fixup_blocks.php: finds any stray subscriptions in violation of blocks, and removes them.

14 years agoMerge branch 'testing' into 0.9.x
Evan Prodromou [Wed, 7 Apr 2010 14:46:54 +0000 (10:46 -0400)]
Merge branch 'testing' into 0.9.x

14 years agoMerge branch 'master' into 0.9.x
Evan Prodromou [Wed, 7 Apr 2010 14:46:23 +0000 (10:46 -0400)]
Merge branch 'master' into 0.9.x

14 years agoMerge branch 'master' into testing
Evan Prodromou [Wed, 7 Apr 2010 14:45:44 +0000 (10:45 -0400)]
Merge branch 'master' into testing

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Wed, 7 Apr 2010 14:44:00 +0000 (10:44 -0400)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

14 years agoshow PEAR_Error message, not the object
Evan Prodromou [Wed, 7 Apr 2010 14:43:14 +0000 (10:43 -0400)]
show PEAR_Error message, not the object

14 years agoMade it so that settag would list tags.
Christopher Vollick [Wed, 7 Apr 2010 11:17:05 +0000 (07:17 -0400)]
Made it so that settag would list tags.

Very useful to be able to know what tags a site already has.

14 years agoHandle attempt to subscribe a local user via their remote webfinger reference more...
Brion Vibber [Tue, 6 Apr 2010 23:32:04 +0000 (23:32 +0000)]
Handle attempt to subscribe a local user via their remote webfinger reference more gracefully.
The ensure* family of functions will now return an OStatusShadowException in this case, which gives us a pleasant error message instead of a giant exception backtrace when you do 'sub somebody@this.local.server'.

Can be extended later to allow actually using the local profile, since we could figure it out.

14 years agoHandle attempt to subscribe a local user via their remote webfinger reference more...
Brion Vibber [Tue, 6 Apr 2010 23:32:04 +0000 (23:32 +0000)]
Handle attempt to subscribe a local user via their remote webfinger reference more gracefully.
The ensure* family of functions will now return an OStatusShadowException in this case, which gives us a pleasant error message instead of a giant exception backtrace when you do 'sub somebody@this.local.server'.

Can be extended later to allow actually using the local profile, since we could figure it out.

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Tue, 6 Apr 2010 23:14:31 +0000 (01:14 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
* add Afrikaans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Tue, 6 Apr 2010 22:57:55 +0000 (00:57 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoFollow-up 3ac3bc32fc48508deab171019e3539ece9bd72ff: change po to pot so that exportin...
Siebrand Mazeland [Tue, 6 Apr 2010 22:46:03 +0000 (00:46 +0200)]
Follow-up 3ac3bc32fc48508deab171019e3539ece9bd72ff: change po to pot so that exporting from translatewiki.net works.

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Tue, 6 Apr 2010 22:22:23 +0000 (15:22 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Tue, 6 Apr 2010 22:19:10 +0000 (15:19 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agoSet a default 2-second timeout on Geonames web service lookups. After a failure,...
Brion Vibber [Tue, 6 Apr 2010 22:14:28 +0000 (15:14 -0700)]
Set a default 2-second timeout on Geonames web service lookups. After a failure, further lookups in the same process will be skipped for the next 60 seconds (also configurable).
Makes a Geonames outage much less disruptive to site operations.

14 years agoMerge branch 'master' into testing
Brion Vibber [Tue, 6 Apr 2010 21:36:21 +0000 (14:36 -0700)]
Merge branch 'master' into testing

14 years agoAllow Meteor plugin to be configurable via configuration database or file.
Brion Vibber [Tue, 6 Apr 2010 21:07:46 +0000 (14:07 -0700)]
Allow Meteor plugin to be configurable via configuration database or file.
As there's no admin control panel yet, this is mainly meant for batch administration and using setconfig.php

14 years agoAdd a User-Agent fragment blacklist to MobileProfile: sticking iPad on the regular...
Brion Vibber [Tue, 6 Apr 2010 19:21:42 +0000 (12:21 -0700)]
Add a User-Agent fragment blacklist to MobileProfile: sticking iPad on the regular theme, which works better on its larger screen (was tripped on 'mobile' in the UA though we had no explicit check for 'ipad' previously)

14 years agoComment out unreachable code spewing notices due to use of undefined variables in...
Brion Vibber [Tue, 6 Apr 2010 19:13:54 +0000 (12:13 -0700)]
Comment out unreachable code spewing notices due to use of undefined variables in MobileProfile.
This needs some cleanup...

14 years agoSome localization cleanup and doc to aid in customization:
Brion Vibber [Mon, 5 Apr 2010 20:19:16 +0000 (13:19 -0700)]
Some localization cleanup and doc to aid in customization:
* added locale/en/LC_MESSAGES/statusnet.po to make it easier to start customizing English texts
* added notes to locale/README about customizing and how to disable languages you haven't customized
* renamed PO templates from *.po to *.pot to match general conventions and reduce confusion for people trying to find which file they're supposed to edit

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Mon, 5 Apr 2010 19:00:16 +0000 (21:00 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years ago* move TRANS comment from ea99855b350b326f81bda0ea42be6dff8919b527 down to right...
Siebrand Mazeland [Mon, 5 Apr 2010 18:53:53 +0000 (20:53 +0200)]
* move TRANS comment from ea99855b350b326f81bda0ea42be6dff8919b527 down to right before the line with the message, otherwise gettext does not pick it up.
* add another TRANS comment

14 years agoThe translators were having trouble with the wording of the subtitle
Zach Copley [Mon, 5 Apr 2010 18:31:41 +0000 (11:31 -0700)]
The translators were having trouble with the wording of the subtitle
for the list of groups a user is a member of.  I've changed the
wording and added a // TRANS: comment to hopefully make it more
clear.

14 years agoClean up and clarify output on fix-shadow.php
Brion Vibber [Mon, 5 Apr 2010 18:20:35 +0000 (11:20 -0700)]
Clean up and clarify output on fix-shadow.php

14 years agoClean up and clarify output on fix-shadow.php
Brion Vibber [Mon, 5 Apr 2010 18:20:35 +0000 (11:20 -0700)]
Clean up and clarify output on fix-shadow.php

14 years agoMerge branch 'master' into testing
Brion Vibber [Mon, 5 Apr 2010 17:42:41 +0000 (10:42 -0700)]
Merge branch 'master' into testing

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Mon, 5 Apr 2010 15:20:25 +0000 (17:20 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agouse nofollow for subscribers list
Evan Prodromou [Mon, 5 Apr 2010 15:18:03 +0000 (11:18 -0400)]
use nofollow for subscribers list

14 years agouse nofollow for group members list
Evan Prodromou [Mon, 5 Apr 2010 15:17:51 +0000 (11:17 -0400)]
use nofollow for group members list

14 years agouse homepage link attributes method for peopletaglist
Evan Prodromou [Mon, 5 Apr 2010 15:17:36 +0000 (11:17 -0400)]
use homepage link attributes method for peopletaglist

14 years agomake profilelist homepage link attributes overrideable
Evan Prodromou [Mon, 5 Apr 2010 15:17:06 +0000 (11:17 -0400)]
make profilelist homepage link attributes overrideable

14 years agoMerge branch 'nofollow'
Evan Prodromou [Mon, 5 Apr 2010 15:04:47 +0000 (11:04 -0400)]
Merge branch 'nofollow'

14 years agonofollow for peopletag pages
Evan Prodromou [Mon, 5 Apr 2010 15:03:14 +0000 (11:03 -0400)]
nofollow for peopletag pages

14 years agooverride linkAttributes() method for groupmembersminilist
Evan Prodromou [Mon, 5 Apr 2010 14:47:07 +0000 (10:47 -0400)]
override linkAttributes() method for groupmembersminilist

14 years agooverride linkAttributes() method for subscribersminilist
Evan Prodromou [Mon, 5 Apr 2010 14:46:55 +0000 (10:46 -0400)]
override linkAttributes() method for subscribersminilist

14 years agooverride linkAttributes() method for profileminilist
Evan Prodromou [Mon, 5 Apr 2010 14:46:38 +0000 (10:46 -0400)]
override linkAttributes() method for profileminilist

14 years agoadd linkAttributes() method for profilelist
Evan Prodromou [Mon, 5 Apr 2010 14:46:26 +0000 (10:46 -0400)]
add linkAttributes() method for profilelist

14 years agolib/default.php has nofollow group
Evan Prodromou [Mon, 5 Apr 2010 14:24:22 +0000 (10:24 -0400)]
lib/default.php has nofollow group

14 years agobreakout subscribers minilist
Evan Prodromou [Mon, 5 Apr 2010 14:22:54 +0000 (10:22 -0400)]
breakout subscribers minilist

14 years agobalance brackets on profileminilist
Evan Prodromou [Mon, 5 Apr 2010 14:14:45 +0000 (10:14 -0400)]
balance brackets on profileminilist

14 years agoadd an event for subscribers minilist
Evan Prodromou [Mon, 5 Apr 2010 14:12:40 +0000 (10:12 -0400)]
add an event for subscribers minilist

14 years agoadd an event for group members minilist
Evan Prodromou [Mon, 5 Apr 2010 14:12:27 +0000 (10:12 -0400)]
add an event for group members minilist

14 years agoTicket #2272: Block confirmation form should let enter trigger the 'yes' button
Brion Vibber [Sat, 3 Apr 2010 17:26:43 +0000 (10:26 -0700)]
Ticket #2272: Block confirmation form should let enter trigger the 'yes' button
Setting focus into the form to make it easier to submit by keyboard. Enter or space will now trigger the button right off without having to mouse around to find the button after we've clicked into the conf form, and keyboarders can also get to the 'no' button more easily.

14 years agoTicket #2272: Block confirmation form should let enter trigger the 'yes' button
Brion Vibber [Sat, 3 Apr 2010 17:26:43 +0000 (10:26 -0700)]
Ticket #2272: Block confirmation form should let enter trigger the 'yes' button
Setting focus into the form to make it easier to submit by keyboard. Enter or space will now trigger the button right off without having to mouse around to find the button after we've clicked into the conf form, and keyboarders can also get to the 'no' button more easily.

14 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Sat, 3 Apr 2010 17:14:03 +0000 (10:14 -0700)]
Merge branch 'testing' into 0.9.x

14 years agoTicket #2273: Fix bookmarklet with URls with special characters
Brion Vibber [Sat, 3 Apr 2010 17:08:13 +0000 (10:08 -0700)]
Ticket #2273: Fix bookmarklet with URls with special characters

The tartget page's URL was not being URL-escaped when passed as a parameter into the query string. Result was that any URL-encoded bytes in the link would be unescaped and interpreted as raw UTF-8 when our bookmarklet post target page reads its parameters; this would break 8-bit high characters (eg a Latin-1 %FC turning into a corrupt UTF-8 byte) or reserved chars that needed to be kept escaped (eg a %3F turning into literal ?)
Unfortunately as this was a bug in the original bookmarklet's JS code, this'll only fix it for people who grab a fresh copy of the bookmarklet.

14 years agoTicket #2273: Fix bookmarklet with URls with special characters
Brion Vibber [Sat, 3 Apr 2010 17:08:13 +0000 (10:08 -0700)]
Ticket #2273: Fix bookmarklet with URls with special characters

The tartget page's URL was not being URL-escaped when passed as a parameter into the query string. Result was that any URL-encoded bytes in the link would be unescaped and interpreted as raw UTF-8 when our bookmarklet post target page reads its parameters; this would break 8-bit high characters (eg a Latin-1 %FC turning into a corrupt UTF-8 byte) or reserved chars that needed to be kept escaped (eg a %3F turning into literal ?)
Unfortunately as this was a bug in the original bookmarklet's JS code, this'll only fix it for people who grab a fresh copy of the bookmarklet.

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Sat, 3 Apr 2010 13:32:12 +0000 (15:32 +0200)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Fri, 2 Apr 2010 22:48:39 +0000 (15:48 -0700)]
Merge branch 'testing' into 0.9.x

14 years agoMerge branch 'master' into testing
Brion Vibber [Fri, 2 Apr 2010 22:48:17 +0000 (15:48 -0700)]
Merge branch 'master' into testing

14 years agoDon't save duplicate messages into a user's packed inbox. We've already got the packe...
Brion Vibber [Fri, 2 Apr 2010 22:45:03 +0000 (15:45 -0700)]
Don't save duplicate messages into a user's packed inbox. We've already got the packed box loaded at insert time, so we can simply unpack it and check before doing the update query.
Should help with dupes that come in when inbox distrib jobs die and get restarted, etc.

Conflicts:

classes/Inbox.php

Looks like this was implemented on master recently and not copied up to testing. Merging to my version on testing as I've added some doc comments and extracted a couple functions for future ease of use.

14 years agoDon't save duplicate messages into a user's packed inbox. We've already got the packe...
Brion Vibber [Fri, 2 Apr 2010 22:39:43 +0000 (15:39 -0700)]
Don't save duplicate messages into a user's packed inbox. We've already got the packed box loaded at insert time, so we can simply unpack it and check before doing the update query.
Should help with dupes that come in when inbox distrib jobs die and get restarted, etc.

14 years agoTicket 2271: extra whitespace in underlined link for username in notice lists
Brion Vibber [Fri, 2 Apr 2010 16:32:03 +0000 (09:32 -0700)]
Ticket 2271: extra whitespace in underlined link for username in notice lists

Switching to a raw() output for the <span> of the nickname removes the extra whitespace and fixes display.

14 years agoTicket 2271: extra whitespace in underlined link for username in notice lists
Brion Vibber [Fri, 2 Apr 2010 16:32:03 +0000 (09:32 -0700)]
Ticket 2271: extra whitespace in underlined link for username in notice lists

Switching to a raw() output for the <span> of the nickname removes the extra whitespace and fixes display.

14 years agoProfileMiniListItem does same events as ProfileListItem
Evan Prodromou [Thu, 1 Apr 2010 19:53:17 +0000 (15:53 -0400)]
ProfileMiniListItem does same events as ProfileListItem

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Thu, 1 Apr 2010 18:09:45 +0000 (11:09 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoTemporary hack until notice_profile_id_idx is updated
Brion Vibber [Thu, 1 Apr 2010 17:15:40 +0000 (10:15 -0700)]
Temporary hack until notice_profile_id_idx is updated
to (profile_id, id) instead of (profile_id, created, id).
It's been falling back to PRIMARY instead, which is really
very inefficient for a profile that hasn't posted in a few
months. Even though forcing the index will cause a filesort,
it's usually going to be better. Even for large profiles it
seems much faster than the badly-indexed query.

14 years agoTemporary hack until notice_profile_id_idx is updated
Brion Vibber [Thu, 1 Apr 2010 17:15:40 +0000 (10:15 -0700)]
Temporary hack until notice_profile_id_idx is updated
to (profile_id, id) instead of (profile_id, created, id).
It's been falling back to PRIMARY instead, which is really
very inefficient for a profile that hasn't posted in a few
months. Even though forcing the index will cause a filesort,
it's usually going to be better. Even for large profiles it
seems much faster than the badly-indexed query.

14 years agoRevert "Revert "if user allows location sharing but turned off browser location use...
Evan Prodromou [Thu, 1 Apr 2010 16:58:06 +0000 (12:58 -0400)]
Revert "Revert "if user allows location sharing but turned off browser location use profile location""

This reverts commit 8b24ad8a9c681585e95612084eb629df8b364b74.

14 years agoRevert "Revert "don't insert the same notice twice into an inbox""
Evan Prodromou [Thu, 1 Apr 2010 16:57:52 +0000 (12:57 -0400)]
Revert "Revert "don't insert the same notice twice into an inbox""

This reverts commit a09b27ff41df41a86fdb0abae14239907d5ee6ec.