]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Sun, 11 Apr 2010 00:54:37 +0000 (17:54 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing

14 years agoAllow blocking someone who's not currently subscribed to you (prevents seeing @-repli...
Brion Vibber [Sun, 11 Apr 2010 00:52:40 +0000 (17:52 -0700)]
Allow blocking someone who's not currently subscribed to you (prevents seeing @-replies from them, or them subbing to you in future)

14 years agocatch UserNoProfileException and continue
Evan Prodromou [Sat, 10 Apr 2010 15:36:23 +0000 (11:36 -0400)]
catch UserNoProfileException and continue

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 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 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 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 agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Fri, 9 Apr 2010 19:01:53 +0000 (12:01 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

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 agofix attributes on homepage output
Evan Prodromou [Fri, 9 Apr 2010 18:11:18 +0000 (14:11 -0400)]
fix attributes on homepage output

14 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Fri, 9 Apr 2010 18:06:24 +0000 (14:06 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline

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 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 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 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 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 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 agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Fri, 9 Apr 2010 13:55:06 +0000 (09:55 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline

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 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 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 agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Thu, 8 Apr 2010 16:16:31 +0000 (12:16 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline

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)