summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-05Localisation updates for !StatusNet from !translatewiki.net !sntransSiebrand Mazeland
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-05* move TRANS comment from ea99855b350b326f81bda0ea42be6dff8919b527 down to ↵Siebrand Mazeland
right before the line with the message, otherwise gettext does not pick it up. * add another TRANS comment
2010-04-05The translators were having trouble with the wording of the subtitleZach Copley
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.
2010-04-05Localisation updates for !StatusNet from !translatewiki.net !sntransSiebrand Mazeland
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-03Merge branch 'testing' into 0.9.xBrion Vibber
2010-04-03Ticket #2273: Fix bookmarklet with URls with special charactersBrion Vibber
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.
2010-04-03Localisation updates for !StatusNet from !translatewiki.net !sntransSiebrand Mazeland
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-02Merge branch 'testing' into 0.9.xBrion Vibber
2010-04-02Merge branch 'master' into testingBrion Vibber
2010-04-02Don't save duplicate messages into a user's packed inbox. We've already got ↵Brion Vibber
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.
2010-04-02Don't save duplicate messages into a user's packed inbox. We've already got ↵Brion Vibber
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.
2010-04-02Ticket 2271: extra whitespace in underlined link for username in notice listsBrion Vibber
Switching to a raw() output for the <span> of the nickname removes the extra whitespace and fixes display.
2010-04-02Ticket 2271: extra whitespace in underlined link for username in notice listsBrion Vibber
Switching to a raw() output for the <span> of the nickname removes the extra whitespace and fixes display.
2010-04-01Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-04-01Temporary hack until notice_profile_id_idx is updatedBrion Vibber
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.
2010-04-01Temporary hack until notice_profile_id_idx is updatedBrion Vibber
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.
2010-04-01Revert "Revert "if user allows location sharing but turned off browser ↵Evan Prodromou
location use profile location"" This reverts commit 8b24ad8a9c681585e95612084eb629df8b364b74.
2010-04-01Revert "Revert "don't insert the same notice twice into an inbox""Evan Prodromou
This reverts commit a09b27ff41df41a86fdb0abae14239907d5ee6ec.
2010-04-01Revert "don't insert the same notice twice into an inbox"Evan Prodromou
This reverts commit 650074c648d98f81674c6e2b0ebf052c473ada6e.
2010-04-01Revert "if user allows location sharing but turned off browser location use ↵Evan Prodromou
profile location" This reverts commit 4b80ce0be89fe50eabec1a19dbf4a0c26a413423.
2010-04-01if user allows location sharing but turned off browser location use profile ↵Evan Prodromou
location
2010-03-31add missing semicolonCraig Andrews
2010-03-31don't insert the same notice twice into an inboxEvan Prodromou
2010-03-31Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-31Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-31use Subscription::cancel() to cancel all subscriptions on blockEvan Prodromou
2010-03-31do complete unsubscribe process when deleting a userEvan Prodromou
2010-03-31Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xSarven Capadisli
2010-03-31Revert "Multiple file upload handling."Sarven Capadisli
This reverts commit 260f00d60bc83ac641d6fbe465e70aec33ccd9be. As mentioned in http://gitorious.org/statusnet/mainline/commit/260f00d60bc83ac641d6fbe465e70aec33ccd9be#comment_8367 Reverting this merge until the bugs are fixed and there is a general agreement on the need for this enhancement.
2010-03-30Ticket #1281: JID validation now more or less follows spec instead of ↵Brion Vibber
calling e-mail validator Basic splitting/validation code submitted via http://status.net/wiki/XMPP/JID_validation -- Copyright 2009 Patrick Georgi <patrick@georgi-clan.de> Licensed under ISC-L, which is compatible with everything else that keeps the copyright notice intact. Added PEAR Net_IDNA package to extlib to handle IDN normalization (also used by Validate's email verifier if present). * added test suite, supplemented my own test cases with JID validation and normalization test cases from libpurple * follows XMPP rules for validation of name part * fixes for normalization with non-ASCII names * will do domain checks if $config['email']['check_domain'] is on, checking for an XMPP-server SRV record or any lookup. (We don't actually need to ping those direct though.) * some more obscure stringprep validation rules aren't quite followed yet, but we err on the side of permissiveness. * we still don't actually let you save your address with a resource on it, as we strip resources when looking up users who've sent us presence or message updates. I would recommend saving the outgoing resource as a separate field if/when we add that..?
2010-03-30Shared cache key option for Geonames plugin, lets multi-instance sites share ↵Brion Vibber
their cached geoname lookups. Example: unset($config['plugins']['default']['Geonames']); addPlugin('Geonames', array('cachePrefix' => 'statusnet:shared'));
2010-03-30Shared cache key option for Geonames plugin, lets multi-instance sites share ↵Brion Vibber
their cached geoname lookups. Example: unset($config['plugins']['default']['Geonames']); addPlugin('Geonames', array('cachePrefix' => 'statusnet:shared'));
2010-03-30Update call for renamed OStatus functions -- installer now no longer fails ↵Brion Vibber
with a PHP fatal error when trying to set up the subscription to update@status.net.
2010-03-30Some fixes to make the twitterstatusfetcher behave better in a multi-site ↵Zach Copley
configuration
2010-03-30Fix for error output on invalid user ID to api groups listBrion Vibber
2010-03-30Fix for error output on invalid user ID to api groups listBrion Vibber
2010-03-30Fixes for apigrouplist - notice spew from undefined var, notice spew from ↵Brion Vibber
missing escape in sprintf format
2010-03-30Quick fixes for grouplistall:Brion Vibber
* respect count instead of listing all groups * respect page parameter * don't spew notice on undefined $id * don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-30Fixes for apigrouplist - notice spew from undefined var, notice spew from ↵Brion Vibber
missing escape in sprintf format
2010-03-30Quick fixes for grouplistall:Brion Vibber
* respect count instead of listing all groups * respect page parameter * don't spew notice on undefined $id * don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-29Fix to profile location in FOAF output: longitude was repeating the latitude ↵Brion Vibber
by mistake
2010-03-29Fix to profile location in FOAF output: longitude was repeating the latitude ↵Brion Vibber
by mistake
2010-03-29Include meta charset header in saved HTML file for long OStatus messages; ↵Brion Vibber
without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.
2010-03-29Include meta charset header in saved HTML file for long OStatus messages; ↵Brion Vibber
without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.
2010-03-29Tweak to Eugene Crosser's patch to make transactions and acks configurable; ↵Brion Vibber
disabling them gets basic message delivery working under MorbidQ, and may help with RabbitMQ etc. I swapped the settings from negative to positive ($config['queue']['stomp_transactions'] = false rather than $config['queue']['stomp_no_transactions'] = true), gave them defaults (both on for best ActiveMQ experience), and added notes to the README about configuring them.
2010-03-29Make stomp queue manager work with basic serversEugene Crosser
Signed-off-by: Eugene Crosser <crosser@average.org>
2010-03-29Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-29Merge branch 'master' into testingBrion Vibber
Conflicts: plugins/Blacklist/BlacklistPlugin.php
2010-03-29Renamed HTTPResponse class to StatusNet_HTTPResponse to avoid conflict with ↵Brion Vibber
PECL HTTP extension. The class isn't referenced by name by any other code I can see so this should have no side effects.
2010-03-29Add $config['db']['annotate_queries'] option to include caller ID comments ↵Brion Vibber
into queries. Comment can then be seen in process list, slow query logs on the server, aiding in tracking down unexpected slow queries. SELECT /* queuedaemon.php Ostatus_profile->processPost */ * FROM notice WHERE ( notice.uri = 'http://stormcloud.local/mublog2/notice/479' ) INSERT /* POST Notice::saveNew */ INTO notice (profile_id , content ....