summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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.
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 '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 ....
2010-03-28RSSCloudPlugin's onRouterInitialized() should expect pass by value instead ↵Zach Copley
of reference
2010-03-28Remove debug line that crept into a commit a while back, breaking realtime ↵Brion Vibber
when Firebug wasn't present
2010-03-28don't try to get to database at initialize timeEvan Prodromou
2010-03-28add an option to run a command as the site ownerEvan Prodromou
2010-03-28continue deleting even if user profile record is missingEvan Prodromou
2010-03-28update README and version number0.9.1Evan Prodromou
2010-03-27move check for bad IDs from activityobject to activity and make simplerEvan Prodromou
2010-03-27reverse order of activity parse test argumentsEvan Prodromou
2010-03-27Some fixes to make the twitterstatusfetcher behave better in a multi-site ↵Zach Copley
configuration
2010-03-26Really make sure we return 'true' and 'false' strings for boolean vals in ↵Zach Copley
api/statusnet/config.:format.
2010-03-26Return an http auth error, when a client sends in an invalid auth user, even ↵Zach Copley
when http auth is not required.
2010-03-26Really make sure we return 'true' and 'false' strings for boolean vals in ↵Zach Copley
api/statusnet/config.:format.
2010-03-26Revert "Make sure we return 'true' and 'false' strings for boolean vals in ↵Zach Copley
api/statusnet/config.:format" This reverts commit 419c38cc0bf3f2649be9ad18e983b9f0ac8dfec0.
2010-03-26Make sure we return 'true' and 'false' strings for boolean vals in ↵Zach Copley
api/statusnet/config.:format
2010-03-26Return an http auth error, when a client sends in an invalid auth user, even ↵Zach Copley
when http auth is not required.
2010-03-26Drop debug statements on every regex match from Blacklist plugin; filling ↵Brion Vibber
the logs a little faster than ops likes. :)
2010-03-26Drop debug statements on every regex match from Blacklist plugin; filling ↵Brion Vibber
the logs a little faster than ops likes. :)
2010-03-26move base64_url_(encode|decode) to static functions in MagicsigJames Walker
2010-03-26move base64_url_(encode|decode) to static functions in MagicsigJames Walker
2010-03-26Fix for XHR more text behaviour on conversation pagesSarven Capadisli
2010-03-26Do ostatus queue firstEvan Prodromou
We do the OStatus queue first, so if we're sending a notice to the same server twice (e.g., with OMB), our richer and more featureful notice comes in first.
2010-03-25Tweak to OStatus long message cropping: use original source notice URL for ↵0.9.1rc1Brion Vibber
the link in the text version, don't shorten the link for the HTML so we can append params to it in JS. Conflicts: plugins/OStatus/classes/Ostatus_profile.php
2010-03-25Add doc comments on saveHTMLFile; drop the extra <div> wrapping the contents ↵Brion Vibber
to make it easier to extract without getting extra markup.
2010-03-25Merge branch 'master' of git@gitorious.org:statusnet/mainlineBrion Vibber