]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
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 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 '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 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 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 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 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 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 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.

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

This reverts commit 650074c648d98f81674c6e2b0ebf052c473ada6e.

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

This reverts commit 4b80ce0be89fe50eabec1a19dbf4a0c26a413423.

14 years agoif user allows location sharing but turned off browser location use profile location
Evan Prodromou [Thu, 1 Apr 2010 16:09:33 +0000 (12:09 -0400)]
if user allows location sharing but turned off browser location use profile location

14 years agodon't insert the same notice twice into an inbox
Evan Prodromou [Wed, 31 Mar 2010 19:54:35 +0000 (15:54 -0400)]
don't insert the same notice twice into an inbox

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Wed, 31 Mar 2010 19:47:42 +0000 (12:47 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agouse Subscription::cancel() to cancel all subscriptions on block
Evan Prodromou [Wed, 31 Mar 2010 19:20:16 +0000 (15:20 -0400)]
use Subscription::cancel() to cancel all subscriptions on block

14 years agodo complete unsubscribe process when deleting a user
Evan Prodromou [Wed, 31 Mar 2010 19:02:19 +0000 (15:02 -0400)]
do complete unsubscribe process when deleting a user

14 years agoTicket #1281: JID validation now more or less follows spec instead of calling e-mail...
Brion Vibber [Wed, 31 Mar 2010 00:35:27 +0000 (17:35 -0700)]
Ticket #1281: JID validation now more or less follows spec instead of 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..?

14 years agoShared cache key option for Geonames plugin, lets multi-instance sites share their...
Brion Vibber [Tue, 30 Mar 2010 19:19:25 +0000 (12:19 -0700)]
Shared cache key option for Geonames plugin, lets multi-instance sites share their cached geoname lookups.

Example:
  unset($config['plugins']['default']['Geonames']);
  addPlugin('Geonames', array('cachePrefix' => 'statusnet:shared'));

14 years agoShared cache key option for Geonames plugin, lets multi-instance sites share their...
Brion Vibber [Tue, 30 Mar 2010 19:19:25 +0000 (12:19 -0700)]
Shared cache key option for Geonames plugin, lets multi-instance sites share their cached geoname lookups.

Example:
  unset($config['plugins']['default']['Geonames']);
  addPlugin('Geonames', array('cachePrefix' => 'statusnet:shared'));

14 years agoUpdate call for renamed OStatus functions -- installer now no longer fails with a...
Brion Vibber [Tue, 30 Mar 2010 18:57:31 +0000 (11:57 -0700)]
Update call for renamed OStatus functions -- installer now no longer fails with a PHP fatal error when trying to set up the subscription to update@status.net.

14 years agoSome fixes to make the twitterstatusfetcher behave better in a multi-site configuration
Zach Copley [Sat, 27 Mar 2010 23:36:04 +0000 (23:36 +0000)]
Some fixes to make the twitterstatusfetcher behave better in a multi-site configuration

14 years agoFix for error output on invalid user ID to api groups list
Brion Vibber [Tue, 30 Mar 2010 18:47:23 +0000 (11:47 -0700)]
Fix for error output on invalid user ID to api groups list

14 years agoFix for error output on invalid user ID to api groups list
Brion Vibber [Tue, 30 Mar 2010 18:47:23 +0000 (11:47 -0700)]
Fix for error output on invalid user ID to api groups list

14 years agoFixes for apigrouplist - notice spew from undefined var, notice spew from missing...
Brion Vibber [Tue, 30 Mar 2010 18:44:13 +0000 (11:44 -0700)]
Fixes for apigrouplist - notice spew from undefined var, notice spew from missing escape in sprintf format

14 years agoQuick fixes for grouplistall:
Brion Vibber [Tue, 30 Mar 2010 18:07:01 +0000 (11:07 -0700)]
Quick fixes for grouplistall:
* 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)

14 years agoFixes for apigrouplist - notice spew from undefined var, notice spew from missing...
Brion Vibber [Tue, 30 Mar 2010 18:44:13 +0000 (11:44 -0700)]
Fixes for apigrouplist - notice spew from undefined var, notice spew from missing escape in sprintf format

14 years agoQuick fixes for grouplistall:
Brion Vibber [Tue, 30 Mar 2010 18:07:01 +0000 (11:07 -0700)]
Quick fixes for grouplistall:
* 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)

14 years agoFix to profile location in FOAF output: longitude was repeating the latitude by mistake
Brion Vibber [Tue, 30 Mar 2010 00:53:31 +0000 (17:53 -0700)]
Fix to profile location in FOAF output: longitude was repeating the latitude by mistake

14 years agoFix to profile location in FOAF output: longitude was repeating the latitude by mistake
Brion Vibber [Tue, 30 Mar 2010 00:53:31 +0000 (17:53 -0700)]
Fix to profile location in FOAF output: longitude was repeating the latitude by mistake

14 years agoInclude meta charset header in saved HTML file for long OStatus messages; without...
Brion Vibber [Mon, 29 Mar 2010 23:27:50 +0000 (16:27 -0700)]
Include meta charset header in saved HTML file for long OStatus messages; without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.

14 years agoInclude meta charset header in saved HTML file for long OStatus messages; without...
Brion Vibber [Mon, 29 Mar 2010 23:27:50 +0000 (16:27 -0700)]
Include meta charset header in saved HTML file for long OStatus messages; without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.

14 years agoTweak to Eugene Crosser's patch to make transactions and acks configurable; disabling...
Brion Vibber [Mon, 29 Mar 2010 22:46:41 +0000 (15:46 -0700)]
Tweak to Eugene Crosser's patch to make transactions and acks configurable; 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.

14 years agoMake stomp queue manager work with basic servers
Eugene Crosser [Mon, 29 Mar 2010 11:25:57 +0000 (15:25 +0400)]
Make stomp queue manager work with basic servers

Signed-off-by: Eugene Crosser <crosser@average.org>
14 years agoMerge branch 'master' into testing
Brion Vibber [Mon, 29 Mar 2010 22:14:25 +0000 (15:14 -0700)]
Merge branch 'master' into testing

Conflicts:
plugins/Blacklist/BlacklistPlugin.php

14 years agoRenamed HTTPResponse class to StatusNet_HTTPResponse to avoid conflict with PECL...
Brion Vibber [Mon, 29 Mar 2010 22:07:15 +0000 (15:07 -0700)]
Renamed HTTPResponse class to StatusNet_HTTPResponse to avoid conflict with PECL HTTP extension.
The class isn't referenced by name by any other code I can see so this should have no side effects.

14 years agoAdd $config['db']['annotate_queries'] option to include caller ID comments into queri...
Brion Vibber [Mon, 29 Mar 2010 19:57:16 +0000 (12:57 -0700)]
Add $config['db']['annotate_queries'] option to include caller ID comments 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 ....

14 years agoRSSCloudPlugin's onRouterInitialized() should expect pass by value instead of reference
Zach Copley [Mon, 29 Mar 2010 00:00:33 +0000 (17:00 -0700)]
RSSCloudPlugin's onRouterInitialized() should expect pass by value instead of reference

14 years agoRemove debug line that crept into a commit a while back, breaking realtime when Fireb...
Brion Vibber [Sun, 28 Mar 2010 21:41:31 +0000 (14:41 -0700)]
Remove debug line that crept into a commit a while back, breaking realtime when Firebug wasn't present

14 years agodon't try to get to database at initialize time
Evan Prodromou [Sun, 28 Mar 2010 19:17:44 +0000 (15:17 -0400)]
don't try to get to database at initialize time

14 years agoadd an option to run a command as the site owner
Evan Prodromou [Sun, 28 Mar 2010 18:38:07 +0000 (14:38 -0400)]
add an option to run a command as the site owner

14 years agocontinue deleting even if user profile record is missing
Evan Prodromou [Sun, 28 Mar 2010 15:58:16 +0000 (11:58 -0400)]
continue deleting even if user profile record is missing

14 years agoupdate README and version number
Evan Prodromou [Sun, 28 Mar 2010 15:39:56 +0000 (11:39 -0400)]
update README and version number

14 years agomove check for bad IDs from activityobject to activity and make simpler
Evan Prodromou [Sun, 28 Mar 2010 02:44:10 +0000 (22:44 -0400)]
move check for bad IDs from activityobject to activity and make simpler

14 years agoreverse order of activity parse test arguments
Evan Prodromou [Sun, 28 Mar 2010 02:43:18 +0000 (22:43 -0400)]
reverse order of activity parse test arguments

14 years agoSome fixes to make the twitterstatusfetcher behave better in a multi-site configuration
Zach Copley [Sat, 27 Mar 2010 23:36:04 +0000 (23:36 +0000)]
Some fixes to make the twitterstatusfetcher behave better in a multi-site configuration

14 years agoReally make sure we return 'true' and 'false' strings for boolean vals in api/statusn...
Zach Copley [Fri, 26 Mar 2010 19:55:16 +0000 (19:55 +0000)]
Really make sure we return 'true' and 'false' strings for boolean vals in api/statusnet/config.:format.

14 years agoReturn an http auth error, when a client sends in an invalid auth user, even when...
Zach Copley [Fri, 26 Mar 2010 18:51:01 +0000 (18:51 +0000)]
Return an http auth error, when a client sends in an invalid auth user, even when http auth is not required.

14 years agoReally make sure we return 'true' and 'false' strings for boolean vals in api/statusn...
Zach Copley [Fri, 26 Mar 2010 19:55:16 +0000 (19:55 +0000)]
Really make sure we return 'true' and 'false' strings for boolean vals in api/statusnet/config.:format.

14 years agoRevert "Make sure we return 'true' and 'false' strings for boolean vals in api/status...
Zach Copley [Fri, 26 Mar 2010 19:48:07 +0000 (19:48 +0000)]
Revert "Make sure we return 'true' and 'false' strings for boolean vals in api/statusnet/config.:format"

This reverts commit 419c38cc0bf3f2649be9ad18e983b9f0ac8dfec0.

14 years agoMake sure we return 'true' and 'false' strings for boolean vals in api/statusnet...
Zach Copley [Fri, 26 Mar 2010 19:41:52 +0000 (19:41 +0000)]
Make sure we return 'true' and 'false' strings for boolean vals in api/statusnet/config.:format

14 years agoReturn an http auth error, when a client sends in an invalid auth user, even when...
Zach Copley [Fri, 26 Mar 2010 18:51:01 +0000 (18:51 +0000)]
Return an http auth error, when a client sends in an invalid auth user, even when http auth is not required.

14 years agoDrop debug statements on every regex match from Blacklist plugin; filling the logs...
Brion Vibber [Fri, 26 Mar 2010 17:46:36 +0000 (10:46 -0700)]
Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)

14 years agoDrop debug statements on every regex match from Blacklist plugin; filling the logs...
Brion Vibber [Fri, 26 Mar 2010 17:46:36 +0000 (10:46 -0700)]
Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)

14 years agomove base64_url_(encode|decode) to static functions in Magicsig
James Walker [Fri, 26 Mar 2010 17:37:46 +0000 (13:37 -0400)]
move base64_url_(encode|decode) to static functions in Magicsig