Evan Prodromou [Mon, 12 Apr 2010 14:11:18 +0000 (10:11 -0400)]
better calculation for end date in notice sitemaps
Evan Prodromou [Sat, 10 Apr 2010 14:24:58 +0000 (10:24 -0400)]
Start of an action for sitemap index
Evan Prodromou [Sat, 10 Apr 2010 14:21:19 +0000 (10:21 -0400)]
change URLs for user sitemap
Evan Prodromou [Sat, 10 Apr 2010 14:03:57 +0000 (10:03 -0400)]
move USERS_PER_MAP to plugin
Evan Prodromou [Sat, 10 Apr 2010 14:03:37 +0000 (10:03 -0400)]
correct element name and namespace for sitemapactions
Evan Prodromou [Fri, 26 Mar 2010 03:56:09 +0000 (23:56 -0400)]
better query for notices by date
Evan Prodromou [Mon, 22 Mar 2010 12:09:15 +0000 (08:09 -0400)]
Add a Notice sitemap
Evan Prodromou [Mon, 22 Mar 2010 04:25:49 +0000 (00:25 -0400)]
user sitemap
Evan Prodromou [Mon, 26 Apr 2010 06:53:24 +0000 (02:53 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Fri, 23 Apr 2010 22:40:48 +0000 (15:40 -0700)]
Test cases and fixes for Atom and RSS content decoding.
Fix extraction of Atom <content type="text"> and <content type="html">; we were failing to escape plaintext source data to HTML, and doing an extraneous double-deescape on HTML source resulting in breakage of notices containing text that looks like HTML. Only <content type="xhtml"> was working correctly previously.
Fixes for RSS2 content processing: we were failing to load <content:encoded> at all due to using wrong element name, and were applying an extraneous de-escape for <description> rather than the escaping that is required to turn plaintext into HTML. (Per spec, <description> must be plaintext.)
Brion Vibber [Fri, 23 Apr 2010 19:54:31 +0000 (12:54 -0700)]
Rerun feed discovery and update the feed, salmon, and hub for the given OStatus remote profile. Restarts subscription fresh as well.
update-profile.php -sexample.com http://example.com/path/to/profile/url
Brion Vibber [Fri, 23 Apr 2010 18:28:50 +0000 (11:28 -0700)]
Ticket #93: pretty up the auto-submit for OpenID logins a bit.
* throwing in our spinner
* cleanup of texts
* "If this doesn't go through click the button" instead of just a mystery button
* slightly faster submission: immediate at end of page rather than waiting for jQuery to confirm document setup completion
Brion Vibber [Fri, 23 Apr 2010 15:24:53 +0000 (08:24 -0700)]
Fix to regression in last commit; wrong field name for homepage blacklist
Brion Vibber [Fri, 23 Apr 2010 14:17:52 +0000 (07:17 -0700)]
Fix for Blacklist plugin: was saving an empty entry if blacklist was empty, which would match *all* possible nickname registrations, preventing all registration on mozilla.status.net.
Now saving only non-empty lines, and only matching non-empty lines so we don't fail if we still have a bogus entry.
Brion Vibber [Fri, 23 Apr 2010 14:10:36 +0000 (07:10 -0700)]
Fix keys / keyTypes for Blacklist plugin - was spewing notices for undefined array indexes when saving blacklist entries from admin panel
Brion Vibber [Fri, 23 Apr 2010 13:55:46 +0000 (06:55 -0700)]
Fix to make blowing of replies stream cache more consistent when receiving replies. (Was being done at mail notify time instead of at save time for local replies; now moved to reply save time internally so it can't get forgotten)
Evan Prodromou [Thu, 22 Apr 2010 15:49:33 +0000 (08:49 -0700)]
Add statusnet: prefix for API to JSON and XML output
I added the statusnet: prefix to the xml output. This prefix should
be declared on the root element of all relevant XML output.
I also added two StatusNet-specific fields:
* statusnet:html - rendered HTML. Clients shouldn't have to guess
at the correct HTML rendering for notices, especially since some
of the links depend on context.
* statusnet:profile_url - profile URL for a user. You can't count
on a user being a local user in a distributed microblogging world.
So, this shows the explicit profile_url.
Brion Vibber [Thu, 22 Apr 2010 04:14:40 +0000 (06:14 +0200)]
OStatus: CLI script to force a renewal on the given PuSH subscription. May help when we get out of sync with the hub.
php plugins/OStatus/scripts/resub-feed.php -smysite http://example.com/some/atom/feed
Evan Prodromou [Thu, 22 Apr 2010 01:19:16 +0000 (18:19 -0700)]
Fix exceptions with bad gravatar URLs
Evan Prodromou [Thu, 22 Apr 2010 01:11:29 +0000 (18:11 -0700)]
fix reference error in RSSCloud plugin
Brion Vibber [Wed, 21 Apr 2010 14:24:15 +0000 (16:24 +0200)]
Revert "Update release notes and version number for 0.9.2"
This reverts commit
98f0d970da98e5b6de18972d033320a191152eb4.
Per xopher we're not yet ready to push 0.9.2 theme directories live; we also haven't merged down various things from testing that need to be in the release such as installer fixes.
Zachary Copley [Tue, 20 Apr 2010 22:01:23 +0000 (15:01 -0700)]
Update release notes and version number for 0.9.2
Brion Vibber [Tue, 20 Apr 2010 10:06:54 +0000 (12:06 +0200)]
Fix email notifications for @-replies that come via OStatus.
* Moved notification sending from Notice::saveReplies to distrib queue handler, so it'll pull from the reply set we've saved regardless of how we got it.
* Set up gettext infrastructure for command-line scripts; gets localization mail notifications etc working from background queues.
* Adjusted locale switching: common_switch_locale() works at runtime for bg scripts, forces a message catalog update
Brion Vibber [Tue, 20 Apr 2010 08:44:14 +0000 (10:44 +0200)]
Ticket #2291: fix typo in SMS doc
Brion Vibber [Mon, 19 Apr 2010 17:45:01 +0000 (19:45 +0200)]
Disable the send-notice form at the top of the page OStatus subscription confirmation page to work around bugs in Cloudy theme.
This is really just a hack for the broken CSS in the Cloudy theme, I think; copying from other non-notice-navigation pages that do this as well. There will be plenty of others also broken.
Brion Vibber [Mon, 19 Apr 2010 16:45:50 +0000 (18:45 +0200)]
Fix ticket #2289: registration links were showing in top nav bar, login page message when site set to invite-only or closed registration, when the 'register' action can't be used.
Christopher Vollick [Thu, 15 Apr 2010 16:43:54 +0000 (12:43 -0400)]
Allow setconfig.php to Print Entire Config
Previously it only printed out the configuration in the DB.
Now it can also print out the entire current configuration.
Brion Vibber [Wed, 14 Apr 2010 13:45:00 +0000 (15:45 +0200)]
Ticket #2205: pass geo locations over Twitter bridge (will only be used if enabled on the Twitter side)
Brion Vibber [Wed, 14 Apr 2010 09:11:02 +0000 (11:11 +0200)]
Fix for "#foo !foo" in same notice failing during save, causing failout before distribution. Move saveGroups after saveTags when saving notices; groups may save additional tags, so need to be moved after so the check for duplicates actually works.
Brion Vibber [Wed, 14 Apr 2010 09:09:54 +0000 (11:09 +0200)]
move comment to correct place
Brion Vibber [Mon, 12 Apr 2010 18:49:59 +0000 (11:49 -0700)]
showplugins.php: dump list of activated plugins and their settings on this site
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)
Evan Prodromou [Sat, 10 Apr 2010 15:36:23 +0000 (11:36 -0400)]
catch UserNoProfileException and continue
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
Evan Prodromou [Fri, 9 Apr 2010 18:11:18 +0000 (14:11 -0400)]
fix attributes on homepage output
Evan Prodromou [Fri, 9 Apr 2010 18:06:24 +0000 (14:06 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Fri, 9 Apr 2010 17:46:18 +0000 (10:46 -0700)]
Run block checks on remote OStatus replies
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)
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
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.
Evan Prodromou [Fri, 9 Apr 2010 13:55:06 +0000 (09:55 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline
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)
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.
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
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.
Evan Prodromou [Thu, 8 Apr 2010 16:16:31 +0000 (12:16 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline
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.
Evan Prodromou [Wed, 7 Apr 2010 14:44:00 +0000 (10:44 -0400)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Wed, 7 Apr 2010 14:43:14 +0000 (10:43 -0400)]
show PEAR_Error message, not the object
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.
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.
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.
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
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)
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...
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
Brion Vibber [Mon, 5 Apr 2010 18:20:35 +0000 (11:20 -0700)]
Clean up and clarify output on fix-shadow.php
Evan Prodromou [Mon, 5 Apr 2010 15:18:03 +0000 (11:18 -0400)]
use nofollow for subscribers list
Evan Prodromou [Mon, 5 Apr 2010 15:17:51 +0000 (11:17 -0400)]
use nofollow for group members list
Evan Prodromou [Mon, 5 Apr 2010 15:17:36 +0000 (11:17 -0400)]
use homepage link attributes method for peopletaglist
Evan Prodromou [Mon, 5 Apr 2010 15:17:06 +0000 (11:17 -0400)]
make profilelist homepage link attributes overrideable
Evan Prodromou [Mon, 5 Apr 2010 15:04:47 +0000 (11:04 -0400)]
Merge branch 'nofollow'
Evan Prodromou [Mon, 5 Apr 2010 15:03:14 +0000 (11:03 -0400)]
nofollow for peopletag pages
Evan Prodromou [Mon, 5 Apr 2010 14:47:07 +0000 (10:47 -0400)]
override linkAttributes() method for groupmembersminilist
Evan Prodromou [Mon, 5 Apr 2010 14:46:55 +0000 (10:46 -0400)]
override linkAttributes() method for subscribersminilist
Evan Prodromou [Mon, 5 Apr 2010 14:46:38 +0000 (10:46 -0400)]
override linkAttributes() method for profileminilist
Evan Prodromou [Mon, 5 Apr 2010 14:46:26 +0000 (10:46 -0400)]
add linkAttributes() method for profilelist
Evan Prodromou [Mon, 5 Apr 2010 14:24:22 +0000 (10:24 -0400)]
lib/default.php has nofollow group
Evan Prodromou [Mon, 5 Apr 2010 14:22:54 +0000 (10:22 -0400)]
breakout subscribers minilist
Evan Prodromou [Mon, 5 Apr 2010 14:14:45 +0000 (10:14 -0400)]
balance brackets on profileminilist
Evan Prodromou [Mon, 5 Apr 2010 14:12:40 +0000 (10:12 -0400)]
add an event for subscribers minilist
Evan Prodromou [Mon, 5 Apr 2010 14:12:27 +0000 (10:12 -0400)]
add an event for group members minilist
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.
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.
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.
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.
Evan Prodromou [Thu, 1 Apr 2010 19:53:17 +0000 (15:53 -0400)]
ProfileMiniListItem does same events as ProfileListItem
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.
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.
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.
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.
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.
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
Evan Prodromou [Wed, 31 Mar 2010 19:54:35 +0000 (15:54 -0400)]
don't insert the same notice twice into an inbox
Evan Prodromou [Wed, 31 Mar 2010 19:20:16 +0000 (15:20 -0400)]
use Subscription::cancel() to cancel all subscriptions on block
Evan Prodromou [Wed, 31 Mar 2010 19:02:19 +0000 (15:02 -0400)]
do complete unsubscribe process when deleting a user
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'));
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
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
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
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)
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
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.
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
Evan Prodromou [Sun, 28 Mar 2010 19:17:44 +0000 (15:17 -0400)]
don't try to get to database at initialize time
Evan Prodromou [Sun, 28 Mar 2010 18:38:07 +0000 (14:38 -0400)]
add an option to run a command as the site owner
Evan Prodromou [Sun, 28 Mar 2010 15:58:16 +0000 (11:58 -0400)]
continue deleting even if user profile record is missing
Evan Prodromou [Sun, 28 Mar 2010 15:39:56 +0000 (11:39 -0400)]
update README and version number
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
Evan Prodromou [Sun, 28 Mar 2010 02:43:18 +0000 (22:43 -0400)]
reverse order of activity parse test arguments