summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-06Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-04-06Set a default 2-second timeout on Geonames web service lookups. After a ↵Brion Vibber
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.
2010-04-06Merge branch 'master' into testingBrion Vibber
2010-04-06Allow Meteor plugin to be configurable via configuration database or file.Brion Vibber
As there's no admin control panel yet, this is mainly meant for batch administration and using setconfig.php
2010-04-06Add a User-Agent fragment blacklist to MobileProfile: sticking iPad on the ↵Brion Vibber
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)
2010-04-06Comment out unreachable code spewing notices due to use of undefined ↵Brion Vibber
variables in MobileProfile. This needs some cleanup...
2010-04-05Some localization cleanup and doc to aid in customization:Brion Vibber
* 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
2010-04-05Clean up and clarify output on fix-shadow.phpBrion Vibber
2010-04-05Clean up and clarify output on fix-shadow.phpBrion Vibber
2010-04-05Merge branch 'master' into testingBrion Vibber
2010-04-05use nofollow for subscribers listEvan Prodromou
2010-04-05use nofollow for group members listEvan Prodromou
2010-04-05use homepage link attributes method for peopletaglistEvan Prodromou
2010-04-05make profilelist homepage link attributes overrideableEvan Prodromou
2010-04-05Merge branch 'nofollow'Evan Prodromou
2010-04-05nofollow for peopletag pagesEvan Prodromou
2010-04-05override linkAttributes() method for groupmembersminilistEvan Prodromou
2010-04-05override linkAttributes() method for subscribersminilistEvan Prodromou
2010-04-05override linkAttributes() method for profileminilistEvan Prodromou
2010-04-05add linkAttributes() method for profilelistEvan Prodromou
2010-04-05lib/default.php has nofollow groupEvan Prodromou
2010-04-05breakout subscribers minilistEvan Prodromou
2010-04-05balance brackets on profileminilistEvan Prodromou
2010-04-05add an event for subscribers minilistEvan Prodromou
2010-04-05add an event for group members minilistEvan Prodromou
2010-04-03Ticket #2272: Block confirmation form should let enter trigger the 'yes' buttonBrion Vibber
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.
2010-04-03Ticket #2272: Block confirmation form should let enter trigger the 'yes' buttonBrion Vibber
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.
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-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-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-01ProfileMiniListItem does same events as ProfileListItemEvan Prodromou
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-31don't insert the same notice twice into an inboxEvan Prodromou
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-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.