Brion Vibber [Mon, 24 May 2010 14:47:15 +0000 (07:47 -0700)]
Handle funky notice deletion cases more gracefully: if we already have a deleted_notice entry, don't freak out when we try to save it again on the second try.
Brion Vibber [Sun, 23 May 2010 00:43:56 +0000 (17:43 -0700)]
Hotpatch for Facebook mirror problems: drop messages when hitting rate limit (err 341) instead of retrying forever. On unknown errors, now throwing an exception so it'll hit the message retry limits.
Brion Vibber [Fri, 21 May 2010 21:09:05 +0000 (14:09 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Fri, 21 May 2010 21:07:59 +0000 (14:07 -0700)]
Add $config['queue']['stomp_enqueue_to'] override for which queue server to send to.
Must be set to a value that matches one of the entries in $config['queue']['stomp_server'] array, otherwise ignored.
Zach Copley [Fri, 21 May 2010 17:29:28 +0000 (10:29 -0700)]
Add TweetDeck to notice sources
Brion Vibber [Fri, 21 May 2010 17:18:13 +0000 (10:18 -0700)]
Avoid PHP notice about undefined array index when no avatar photo available from Google profile
Brion Vibber [Fri, 21 May 2010 17:12:39 +0000 (10:12 -0700)]
Disable SSL peer/hostname verification for HTTPClient unless we've configured a trusted CA bundle like this: $config['http']['ssl_cafile'] = '/usr/lib/ssl/certs/ca-certificates.crt';
The previous state was failing on all HTTPS hits due to HTTP_Request2 library turning on the validation check but not specifying a CA file.
Brion Vibber [Thu, 20 May 2010 19:46:36 +0000 (12:46 -0700)]
Added block link to subscription notification emails; block action can now take a profile ID on the URL; added profile details to block page so there's an indication of who you're blocking before you pull the trigger.
Fixed typo in RedirectingAction when no return-to data provided in form submission.
RedirectingAction::returnToArgs() has been renamed to returnToPrevious() to avoid conflict with Action::returnToArgs() which returns arguments to be passed to other actions as return-to arguments. All callers should now be updated.
More profile settings actions will now redirect through a login form if visited as a GET request, as would be expected from a bookmark, link sent in e-mail etc.
Brion Vibber [Wed, 19 May 2010 23:19:06 +0000 (16:19 -0700)]
Quick fix for creating OpenID accounts authenticating against a MediaWiki site; trim the 'User:' etc from the final path segment before generating a nickname from it. Avoids ending up with nicks like 'userbrion' on your first OpenID login!
Brion Vibber [Wed, 19 May 2010 22:46:39 +0000 (15:46 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline
Brion Vibber [Wed, 19 May 2010 22:12:39 +0000 (15:12 -0700)]
Add config option for RequireValidatedEmail plugin to skip the check for folks with a trusted OpenID association.
Also added an event that other plugins or local config can use to override the checks.
Zach Copley [Wed, 19 May 2010 21:00:15 +0000 (21:00 +0000)]
Hotpatch to add additional debug statements to FacebookPlugin's
facebook posting code.
Brion Vibber [Wed, 19 May 2010 17:10:55 +0000 (10:10 -0700)]
Locale switch cleanup: use common_switch_locale() which is safer for updating gettext state. Also moved a few calls to reduce chance of hitting an exception before switching back.
Should help with problems where xmppdaemon would get stuck in wrong locale.
Zach Copley [Wed, 12 May 2010 22:08:01 +0000 (15:08 -0700)]
Need to always emit statusnet:notice_info so it's available in profile feeds
Zach Copley [Thu, 6 May 2010 21:36:13 +0000 (21:36 +0000)]
Remove errant double HTML entity encoding in API source attribution
Zach Copley [Thu, 6 May 2010 20:25:20 +0000 (20:25 +0000)]
Allow OStatusPlugin to set the source attribution title
Zach Copley [Thu, 6 May 2010 19:52:25 +0000 (19:52 +0000)]
- OStatusPlugin should return true if it doesn't need to handle source
attribution
- Remove stray break statement from NoticeList
Zach Copley [Thu, 6 May 2010 07:55:17 +0000 (00:55 -0700)]
HTML entity encode source link URLs in plain XML output and add rel="nofollow" to them
Zach Copley [Thu, 6 May 2010 07:44:56 +0000 (00:44 -0700)]
Add source link attr to statusnet:notice_info element in Atom output for notices
Zach Copley [Thu, 6 May 2010 07:20:10 +0000 (00:20 -0700)]
Refactor and centralize notice source link calculation
Zach Copley [Thu, 6 May 2010 05:35:16 +0000 (22:35 -0700)]
Add xmlns:statusnet and statusnet:notice_info element to Atom entries for notices
Brion Vibber [Tue, 18 May 2010 21:52:17 +0000 (21:52 +0000)]
Redirect non-SSL hits to login & register actions to SSL if 'always' or 'sometimes' SSL modes are kicked in.
The forms would already submit to SSL, but people are happier if they start on a secure page!
Note: this really should be done for sensitive/all URLs in index.php, but it seems a bit awkward to reconstruct the SSL version of the link atm. Cleanup todo!
Brion Vibber [Tue, 18 May 2010 20:44:23 +0000 (13:44 -0700)]
typo fix in en_GB localization (also updated @ translatewiki)
Brion Vibber [Mon, 17 May 2010 19:47:44 +0000 (19:47 +0000)]
Include notice fragment on 'in context' links in Realtime plugin family.
Brion Vibber [Mon, 17 May 2010 19:37:47 +0000 (19:37 +0000)]
Patch from g0: fix for conversation links in Realtime updates
Previously was using the reply-to URL, which didn't match with other displays.
Now sends to the right conversation page.
James Walker [Fri, 14 May 2010 20:43:21 +0000 (16:43 -0400)]
accept either salmon endpoint (until they're unified in the spec)
James Walker [Fri, 14 May 2010 20:41:29 +0000 (16:41 -0400)]
allow hyphens in subdomains for webfinger addresses
Brion Vibber [Thu, 13 May 2010 23:47:58 +0000 (16:47 -0700)]
More direct text for registration licensing/tos checkbox for private and all-rights-reserved sites.
Brion Vibber [Wed, 12 May 2010 18:09:37 +0000 (11:09 -0700)]
Fix keys() / keyTypes() mixup in SamplePlugin
Brion Vibber [Tue, 11 May 2010 19:22:14 +0000 (12:22 -0700)]
Windows server fix: Use platform EOL in debug log file
Brion Vibber [Tue, 11 May 2010 19:16:13 +0000 (12:16 -0700)]
Installer tweak for Windows: normalize line endings to platform standard in generated config.php
Added a comment that the writable directory checks are insufficient to catch ACL problems on Windows; need a better check for that.
Zach Copley [Fri, 7 May 2010 23:32:24 +0000 (16:32 -0700)]
Fix for repeats from the API having null source attribution
Brion Vibber [Fri, 7 May 2010 01:28:37 +0000 (01:28 +0000)]
Allow plugins to load their styles for mobile view; fixes bad realtime button layout
Brion Vibber [Thu, 6 May 2010 21:29:04 +0000 (21:29 +0000)]
Ticket #2184: recognize Palm Pre / WebOS browsers for MobileProfile
One-line addition of 'webos' to the keywords list.
Zach Copley [Wed, 5 May 2010 21:46:36 +0000 (14:46 -0700)]
Implement since_id and max_id param handling for /api/favorites
Brion Vibber [Wed, 5 May 2010 20:11:36 +0000 (13:11 -0700)]
XMPP debugging: log the message source when discarding empty or unrecognized messages.
Brion Vibber [Wed, 5 May 2010 18:28:05 +0000 (11:28 -0700)]
Quick fix for DirectionDetector: only apply <span class="rtl"> once; if it's already there in an incoming message (eg via OStatus), don't reapply it.
Modified from patch from Everplays
Brion Vibber [Wed, 5 May 2010 17:51:05 +0000 (10:51 -0700)]
Clean up reference usage warnings in DirectionDetector plugin
Brion Vibber [Wed, 5 May 2010 01:43:32 +0000 (18:43 -0700)]
Handle timeout more gracefully in background pings
Added a 2-second default timeout for XMLRPC/extended pings, configurable as [ping,timeout].
No longer repeating the entire ping section if we had an HTTP error during a submission.
For now, dropping the bad item and continuing on with others. (Todo: individual retry and cleaner discards of blacklisted broken-for-now sites.)
Brion Vibber [Wed, 5 May 2010 00:11:43 +0000 (17:11 -0700)]
Avoid spewing giant debug backtrace into exception in certain OStatus subscription failure cases.
The code pattern 'new XXXException($e)' to chain exceptions doesn't actually work as intended, as exceptions are actually expecting a string message here.
This caused an implicit string conversion from HTTP_Request2_Exception, which is a PEAR_Exception, which defines an absurdly detailed __toString() method including a giant HTML table with a backtrace if you happen to be on a web request.
Simply passing $e->getMessage() instead clears this up, as we'll get the nice short message like 'Couldn't connect to tcp://blahblah:80'
Zach Copley [Tue, 4 May 2010 19:31:55 +0000 (12:31 -0700)]
Add Emacs Identica-mode to notice sources
Brion Vibber [Mon, 3 May 2010 19:27:44 +0000 (12:27 -0700)]
Pull localization updates from 0.9.x branch
Zach Copley [Mon, 3 May 2010 19:02:50 +0000 (12:02 -0700)]
Updated README to include one-liner about fixed installer in the noteable changes section
Brion Vibber [Mon, 3 May 2010 18:46:01 +0000 (11:46 -0700)]
Update release date
Brion Vibber [Sat, 1 May 2010 16:51:07 +0000 (09:51 -0700)]
Revert "Update PEAR::Mail to 1.2.0 release; fixes deprecation warnings running under PHP 5.3."
This reverts commit
9fd02a4f11881b3e0e1b3029c7c9e85a799c5ced.
Looks like there's some changes I missed in there and getting this in'll involve updating some other packages. Will poke it after 0.9.2.
Brion Vibber [Fri, 30 Apr 2010 20:47:46 +0000 (13:47 -0700)]
Update PEAR::Mail to 1.2.0 release; fixes deprecation warnings running under PHP 5.3.
Brion Vibber [Fri, 30 Apr 2010 20:37:40 +0000 (13:37 -0700)]
Update XMPPHP to last upstream release (r77), includes an XML quoting fix.
Brion Vibber [Thu, 29 Apr 2010 23:08:20 +0000 (16:08 -0700)]
Update codename in common.php
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 [Thu, 29 Apr 2010 22:49:59 +0000 (15:49 -0700)]
Pull localization updates from 0.9.x
Brion Vibber [Thu, 29 Apr 2010 22:12:02 +0000 (15:12 -0700)]
Merge branch 'master' into testing
Brion Vibber [Wed, 28 Apr 2010 23:06:08 +0000 (23:06 +0000)]
Fix charset setting for plugin localizations; default setting was blanking out non-ASCII chars. Needed for eg Bulgarian translation of Facebook plugin, was previously showing all as ???s. Now works yay!
Brion Vibber [Wed, 28 Apr 2010 18:05:31 +0000 (11:05 -0700)]
add rsd to the list of login actions
Allows rsd.xml to be reached on private sites. Fixes http://status.net/trac/ticket/2309
Conflicts:
index.php
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 21:26:57 +0000 (14:26 -0700)]
Merge branch 'master' into testing
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)
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 11:52:18 +0000 (13:52 +0200)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
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 18:57:12 +0000 (20:57 +0200)]
Test for and use mysqli in installer, since that's what we use later, rather than mysql.
Brion Vibber [Mon, 19 Apr 2010 17:46:11 +0000 (19:46 +0200)]
Merge branch 'master' into testing
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:47:11 +0000 (18:47 +0200)]
Merge branch 'master' into testing
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.
Brion Vibber [Thu, 15 Apr 2010 21:07:58 +0000 (23:07 +0200)]
Merge branch 'master' into testing
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:58:42 +0000 (15:58 +0200)]
Merge branch 'master' into testing
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:15:21 +0000 (11:15 +0200)]
Merge branch 'master' into testing
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 [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:54:37 +0000 (17:54 -0700)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
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
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
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.
Brion Vibber [Fri, 9 Apr 2010 16:56:19 +0000 (09:56 -0700)]
Clean up badly formatted strings in OembedAction
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.
Brion Vibber [Fri, 9 Apr 2010 19:01:53 +0000 (12:01 -0700)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
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 17:46:18 +0000 (10:46 -0700)]
Run block checks on remote OStatus replies
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.
Brion Vibber [Fri, 9 Apr 2010 16:43:34 +0000 (09:43 -0700)]
Cleanup bad i18n format for page title on bookmarklet posting window
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.
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)