Zach Copley [Fri, 19 Nov 2010 05:55:43 +0000 (21:55 -0800)]
Automatically make Facebook admin panel available if the FacebookBridge
plugin is installed.
Zach Copley [Thu, 18 Nov 2010 21:34:41 +0000 (13:34 -0800)]
Facebook: Add needed perms to plain login URL
Zach Copley [Thu, 18 Nov 2010 21:28:49 +0000 (13:28 -0800)]
Fix name of Facebook Bridge plugin
Brion Vibber [Thu, 18 Nov 2010 00:13:40 +0000 (16:13 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Wed, 17 Nov 2010 22:24:35 +0000 (14:24 -0800)]
Partial fix for tickets #2194, #2393: Workaround for Meteor breaking AJAX error responses returned on posting new notices. Fixes things in Firefox 4, but Safari 5 and Chrome 8 still don't return data... either on success or failure! Sigh.
The Meteor realtime plugin sets document.domain to the common prefix between the main server and the Meteor server's hostnames, which overrides the same-origin controls on JavaScript DOM access so the two parts of the app can speak to each other.
This unfortunately causes "fun" side effects for XMLHTTPRequest access to the main domain... if the new domain doesn't match the actual host (eg 'status.net' instead of 'brion.status.net') then we can't access the XHR's responseXML attribute, which holds a DOM tree of the parsed XML return data.
As a workaround, if we can't get at the contents there, we'll parse a fresh DOM tree in the local context from the responseText property, which remains available.
In the longer term, recommend retooling the realtime stuff so it's not fiddling with document.domain. It could also be an issue as it could allow local JavaScript XSS attacks to migrate to subdomains in other open windows.
Zach Copley [Wed, 17 Nov 2010 22:16:08 +0000 (22:16 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Zach Copley [Wed, 17 Nov 2010 22:15:30 +0000 (22:15 +0000)]
Remove dumb debugging statement
Zach Copley [Wed, 17 Nov 2010 21:53:56 +0000 (21:53 +0000)]
Facebook: Gracefully handle disconnection
Brion Vibber [Wed, 17 Nov 2010 21:03:59 +0000 (13:03 -0800)]
Add $config['attachments']['process_links'] to allow disabling processing of mentioned URL links for attachment info (oEmbed lookups) and dereferencing of redirects that we didn't have shortened ourselves.
This option may be useful for intranet sites that don't have direct access to the internet, as they may be unable to successfully fetch those resources.
Evan Prodromou [Wed, 17 Nov 2010 17:34:04 +0000 (12:34 -0500)]
include full updated source of JSON2 and use updated minified version
Evan Prodromou [Wed, 17 Nov 2010 17:32:11 +0000 (12:32 -0500)]
use minified version of jquery.cookie.js
Evan Prodromou [Wed, 17 Nov 2010 17:31:35 +0000 (12:31 -0500)]
use minified version of jquery.form.js
Evan Prodromou [Wed, 17 Nov 2010 17:30:55 +0000 (12:30 -0500)]
upgrade jquery.form.js
Evan Prodromou [Wed, 17 Nov 2010 17:22:02 +0000 (12:22 -0500)]
use minified version of meteorupdater.js
Evan Prodromou [Wed, 17 Nov 2010 17:21:01 +0000 (12:21 -0500)]
use minified version of realtime.js
Evan Prodromou [Wed, 17 Nov 2010 17:19:19 +0000 (12:19 -0500)]
Merge branch '0.9.x' into minifyjs
Evan Prodromou [Wed, 17 Nov 2010 17:19:01 +0000 (12:19 -0500)]
move EndScriptMessages event into if block
Evan Prodromou [Wed, 17 Nov 2010 17:16:50 +0000 (12:16 -0500)]
Use minified version of util.js
Evan Prodromou [Wed, 17 Nov 2010 17:14:50 +0000 (12:14 -0500)]
upgrade to JQuery 1.4.4
Brion Vibber [Tue, 16 Nov 2010 23:36:53 +0000 (15:36 -0800)]
Use session token protection on oEmbed proxy action for LinkPreview... and commit the file *sigh*
Brion Vibber [Tue, 16 Nov 2010 23:31:03 +0000 (15:31 -0800)]
LinkPreview: clear preview thumbnails & data on form submission/reset
Brion Vibber [Tue, 16 Nov 2010 23:20:37 +0000 (15:20 -0800)]
Less redrawing of bits in the link thumbnail preview
Brion Vibber [Tue, 16 Nov 2010 22:57:35 +0000 (14:57 -0800)]
LinkPreview: restructure to make it easier to keep old link data
Brion Vibber [Tue, 16 Nov 2010 22:41:30 +0000 (14:41 -0800)]
LinkPreview: use a local proxy for oEmbed lookups so we use a consistent common code path, and don't open up to oohembed.com being evil
Brion Vibber [Tue, 16 Nov 2010 22:27:01 +0000 (14:27 -0800)]
LinkPreview: restructure a bit so we can pass config over
Brion Vibber [Tue, 16 Nov 2010 22:16:23 +0000 (14:16 -0800)]
LinkPreview: piggyback on the counter update logic, cache lookups.
Brion Vibber [Tue, 16 Nov 2010 21:58:22 +0000 (13:58 -0800)]
LinkPreview: link the thumbnails
Brion Vibber [Tue, 16 Nov 2010 21:49:23 +0000 (13:49 -0800)]
LinkPreview plugin more or less functioning (though not pretty), using oohembed remote lookup and fixed sizes.
Brion Vibber [Tue, 16 Nov 2010 21:16:25 +0000 (13:16 -0800)]
LinkPreview: flesh out stub JS code a bit. URL splitting doesn't quite match core, note.
Brion Vibber [Tue, 16 Nov 2010 20:41:35 +0000 (12:41 -0800)]
Stub LinkPreview plugin
Brion Vibber [Tue, 16 Nov 2010 19:17:29 +0000 (11:17 -0800)]
Merge branch 'master' into 0.9.x
Brion Vibber [Tue, 16 Nov 2010 19:13:52 +0000 (11:13 -0800)]
Ticket 2895: exclude silenced users from popular notice lists
Brion Vibber [Tue, 16 Nov 2010 19:10:32 +0000 (11:10 -0800)]
Prep for ticket #2895: consolidate common code from PopularNoticeList and FavoritedAction for fetching popular notice lists
Zach Copley [Tue, 16 Nov 2010 06:10:49 +0000 (06:10 +0000)]
Fix syntax error
Zach Copley [Tue, 16 Nov 2010 02:48:22 +0000 (18:48 -0800)]
Store the current user in the CurrentUserDesignAction
Zach Copley [Tue, 16 Nov 2010 02:33:17 +0000 (02:33 +0000)]
FacebookSSO -> FacebookBridge
Zach Copley [Tue, 16 Nov 2010 02:32:46 +0000 (02:32 +0000)]
Merge branch '0.9.x' into facebook-upgrade
Zach Copley [Tue, 16 Nov 2010 02:30:08 +0000 (02:30 +0000)]
- Map notices to Facebook stream items
- rename plugin FacebookBridgePlugin
- delete/like/unlike notices across the bridge
Brion Vibber [Tue, 16 Nov 2010 01:46:43 +0000 (17:46 -0800)]
Merge branch 'master' into 0.9.x
Brion Vibber [Tue, 16 Nov 2010 01:45:58 +0000 (17:45 -0800)]
Forgot to commit the JS for ModPlus. :)
Brion Vibber [Tue, 16 Nov 2010 01:36:48 +0000 (17:36 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Tue, 16 Nov 2010 01:32:33 +0000 (17:32 -0800)]
visual cleanup on ModPlus remote profile info popup menu
Brion Vibber [Tue, 16 Nov 2010 00:38:18 +0000 (16:38 -0800)]
Tweak remote profile action: hide stats from sidebar, tweak wording on remote notice
Brion Vibber [Tue, 16 Nov 2010 00:12:16 +0000 (16:12 -0800)]
RemoteProfileAction cleanup:
- meta robots to prevent spidering
- a little notice if silenced
Brion Vibber [Mon, 15 Nov 2010 23:57:57 +0000 (15:57 -0800)]
visual tweaks for RemoteProfileAction
Brion Vibber [Mon, 15 Nov 2010 23:40:07 +0000 (15:40 -0800)]
RemoteProfileAction: redirect to the regular user profile page if given a local user.
Brion Vibber [Mon, 15 Nov 2010 23:39:42 +0000 (15:39 -0800)]
Workaround for display of Twitter remote users in remoteprofile (ModPlus plugin): use 73px avatar if no 96px present
Brion Vibber [Mon, 15 Nov 2010 23:34:12 +0000 (15:34 -0800)]
Stub RemoteprofileAction to show the standard profile header stuff for offsite users -- provides a way to get at the mod & block controls for remote users.
Brion Vibber [Mon, 15 Nov 2010 23:32:57 +0000 (15:32 -0800)]
some User -> Profile cleanup to help in adapting the profile page action to show stuff for remote users. Subscriptions, groups, roles, etc are all on profiles now so go ahead and use em.
Brion Vibber [Mon, 15 Nov 2010 22:15:41 +0000 (14:15 -0800)]
Stub ModPlus plugin: will hold experimental UI improvements for mod actions
Brion Vibber [Mon, 15 Nov 2010 21:56:17 +0000 (13:56 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 15 Nov 2010 21:26:42 +0000 (13:26 -0800)]
clear_jabber.php script to clear confirmed jabber/xmpp addresses from one or more accounts
Brion Vibber [Mon, 15 Nov 2010 20:58:00 +0000 (12:58 -0800)]
Add some data integrity checks on oembed tests (shows a bug on identi.ca test case -- missing width/height in photo data)
Brion Vibber [Mon, 15 Nov 2010 20:57:15 +0000 (12:57 -0800)]
Include width/height of locally-uploaded images in our oembed provider data for attachment pages.
Brion Vibber [Mon, 15 Nov 2010 20:56:56 +0000 (12:56 -0800)]
restore empty showFallback() for attachment display; still needed for one-offs
Brion Vibber [Mon, 15 Nov 2010 20:38:53 +0000 (12:38 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 15 Nov 2010 20:35:15 +0000 (12:35 -0800)]
Drop PEAR Services_oEmbed -- ended up replaced by our oEmbedHelper wrapper. The extra validation available there is problematic, and their code for building HTML for us wasn't being used anyway.
Brion Vibber [Mon, 15 Nov 2010 20:32:29 +0000 (12:32 -0800)]
Test oEmbed lookups with oohembed both on and off explicitly
Brion Vibber [Mon, 15 Nov 2010 20:25:44 +0000 (12:25 -0800)]
Restructure oembed test sources
Brion Vibber [Mon, 15 Nov 2010 19:55:28 +0000 (11:55 -0800)]
Add some basic oEmbed lookup test cases; fixed a bug in discovery fallback.
Brion Vibber [Mon, 15 Nov 2010 19:30:35 +0000 (11:30 -0800)]
Drop some debug lines
Brion Vibber [Mon, 15 Nov 2010 19:25:38 +0000 (11:25 -0800)]
Swap the Services_oEmbed wrapper in oEmbedHelper out for doing it ourselves...
- workaround for providers that are skimpy on their data, such as missing width/height or thumbnail_width/thumbnail_height
- workaround for YFrog listing "image" instead of "photo" type
- generally more lax about formatting: if it comes back and looks kinda ok, we'll take it.
- discovery uses system HTML parser, should be more robust if the links include things like ampersands with proper HTML-level escaping
Evan Prodromou [Mon, 15 Nov 2010 19:14:09 +0000 (14:14 -0500)]
AtomPub-related actions are only read-only on GET
Brion Vibber [Mon, 15 Nov 2010 19:01:00 +0000 (11:01 -0800)]
Workaround for yfrog.com photo attachments: fudge File_redirection::lookupWhere()'s HTTP handling -- when we get a 204 on a HEAD, double-check it by re-running as a GET. yfrog.com returns a 204 incorrectly for this case.
Brion Vibber [Mon, 15 Nov 2010 19:00:42 +0000 (11:00 -0800)]
doc comments on File::processNew
Evan Prodromou [Mon, 15 Nov 2010 16:57:31 +0000 (11:57 -0500)]
Merge remote branch 'gitorious/0.9.x' into 0.9.x
Evan Prodromou [Mon, 15 Nov 2010 16:57:19 +0000 (11:57 -0500)]
Merge branch 'atompub' into 0.9.x
Conflicts:
actions/apistatusesshow.php
actions/apitimelineuser.php
Evan Prodromou [Mon, 15 Nov 2010 16:54:42 +0000 (11:54 -0500)]
add hooks for atom pub posts
Brion Vibber [Sat, 13 Nov 2010 01:41:35 +0000 (17:41 -0800)]
Encapsulate the oEmbed -> oohembed fallback into oEmbedHelper class. Also added a chance to whitelist sites that don't show discovery info but do have oEmbed API endpoints, and to provide alternate APIs for some common services.
Newly supported:
- TwitPic: added a local function using TwitPic's API, since the oohembed implementation for TwitPic produced invalid output which Services_oEmbed rejects. (bug filed upstream)
Tweaked...
- Flickr: works, now using whitelist to use their endpoint directly instead of going through oohembed
- Youtube: worked around a bug in Services_oEmbed which broke the direct use of API discovery info, so we don't have to use oohembed.
Not currently working...
- YFrog: whitelisting their endpoint directly as the oohembed output is broken, but this doesn't appear to work currently as I think things are confused by YFrog's servers giving a '204 No Content' response on our HEAD checks on the original link.
Brion Vibber [Sat, 13 Nov 2010 01:40:34 +0000 (17:40 -0800)]
Save attached URLs when importing a Twitter status: this lets our thumbnail detection handle photos and videos linked to by Twitter posters.
Brion Vibber [Fri, 12 Nov 2010 22:03:57 +0000 (14:03 -0800)]
Only use saved thumbnails for notice list attachment thumbs -- don't attempt to search enclosures for photo types. We now save thumbs directly for oEmbed photos that don't list a separate thumb entry (like Flickr), so it's not needed. Keeps things cleaner :D
Brion Vibber [Fri, 12 Nov 2010 22:03:08 +0000 (14:03 -0800)]
Save oEmbed photo references as thumbnails if there's not a separate thumbnail_url entry in the return data. This fixes thumb saving for Flickr photo references.
Brion Vibber [Tue, 2 Nov 2010 21:03:50 +0000 (14:03 -0700)]
fix syntax error introduced in i18n tweaks: newgroup action
Brion Vibber [Fri, 12 Nov 2010 21:34:04 +0000 (13:34 -0800)]
Revert "Missing one close-paren in newgroup.php" - incorrect fix for paren bug
This reverts commit
3afb031d9270a29db7f1ac4a964bb4b796759827.
Brion Vibber [Fri, 12 Nov 2010 21:32:48 +0000 (13:32 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
actions/newgroup.php
Brion Vibber [Fri, 12 Nov 2010 21:06:41 +0000 (13:06 -0800)]
Fix for failure edge case in TwitterBridge outgoing repeat/retweets.
When the retweet failed with a 403 error (say due to it being a private tweet, which can't be retweeted) we would end up mishandling the return value from our internal error handling.
Instead of correctly discarding the message and closing out the queue item, we ended up trying to save a bogus twitter<->local ID mapping, which threw another exception and lead the queue system to re-run it.
- Fixed the logic check and return values for the retweet case in broadcast_twitter().
- Added doc comments explaining the return values on some functions in twitter.php
- Added check on Notice_to_status::saveNew() for empty input -- throw an exception before we try to actually insert into db. :)
Brion Vibber [Fri, 12 Nov 2010 20:28:44 +0000 (12:28 -0800)]
Merge branch 'oembed-thumbnails' into 0.9.x
Brion Vibber [Fri, 12 Nov 2010 20:24:55 +0000 (12:24 -0800)]
Add a quick config setting to disable/enable display of thumbnails in regular notice lists (attachments/show_thumbs) - disabling gives the same display as before this feature was added (but changes to oembed handling are still there, and the lightbox popup is gone)
Brion Vibber [Fri, 12 Nov 2010 20:10:51 +0000 (12:10 -0800)]
drop a comma which isn't actually an error but keeps throwing annoying warnings in netbeans
Brion Vibber [Fri, 12 Nov 2010 20:10:29 +0000 (12:10 -0800)]
Drop commented-out code from old lightbox & thumbnail popup stuff
Evan Prodromou [Fri, 12 Nov 2010 16:46:45 +0000 (11:46 -0500)]
don't try to initialize the mapstraction canvas if it doesn't exist
Evan Prodromou [Fri, 12 Nov 2010 16:46:45 +0000 (11:46 -0500)]
don't try to initialize the mapstraction canvas if it doesn't exist
Evan Prodromou [Thu, 11 Nov 2010 20:32:24 +0000 (15:32 -0500)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Thu, 11 Nov 2010 19:51:14 +0000 (14:51 -0500)]
give users a chance to opt out of email summaries
Evan Prodromou [Thu, 11 Nov 2010 19:50:53 +0000 (14:50 -0500)]
fix update of email prefs in queue handler
Zach Copley [Thu, 11 Nov 2010 18:33:26 +0000 (10:33 -0800)]
Fix missing close of comment block
Zach Copley [Thu, 11 Nov 2010 18:33:26 +0000 (10:33 -0800)]
Fix missing close of comment block
Brion Vibber [Wed, 10 Nov 2010 23:26:18 +0000 (15:26 -0800)]
Add error logging for a couple send-fail cases in XMPP out
Brion Vibber [Wed, 10 Nov 2010 22:31:55 +0000 (14:31 -0800)]
CSS class tweak for inline attachment thumbnails to avoid things thinking they're content links
Craig Andrews [Wed, 10 Nov 2010 20:53:20 +0000 (15:53 -0500)]
Fix isHTTPS to work correctly for Cherokee and IIS
Zach Copley [Wed, 10 Nov 2010 01:18:06 +0000 (01:18 +0000)]
Add an action to handle deauthorization callbacks from Facebook
Brion Vibber [Wed, 10 Nov 2010 00:43:37 +0000 (16:43 -0800)]
add title attribute on attachment list items
Brion Vibber [Wed, 10 Nov 2010 00:28:33 +0000 (16:28 -0800)]
Cleanup on the CSS for inline attachments; removed some unneeded changes since the split of the inline and regular attachment lists. Removing commented-out code that seems to be for some old thumbnailing system where the thumbnails were hidden popups within the core text (wtf!)
Zach Copley [Tue, 9 Nov 2010 23:16:17 +0000 (23:16 +0000)]
Merge branch '0.9.x' into facebook-upgrade
Zach Copley [Tue, 9 Nov 2010 23:14:50 +0000 (23:14 +0000)]
Make a richer StatusNet profile from a user's Facebook profile
Evan Prodromou [Tue, 9 Nov 2010 22:08:11 +0000 (17:08 -0500)]
Missing one close-paren in newgroup.php
Evan Prodromou [Tue, 9 Nov 2010 17:53:57 +0000 (12:53 -0500)]
session table was missing from upgrade scripts
Brion Vibber [Tue, 9 Nov 2010 20:04:07 +0000 (12:04 -0800)]
Allow YouTube-style media links to be counted as enclosures for purposes of listing attachments/thumbs
Evan Prodromou [Tue, 9 Nov 2010 20:01:07 +0000 (15:01 -0500)]
Merge branch '0.9.x' into emailsummary
Evan Prodromou [Tue, 9 Nov 2010 20:00:30 +0000 (15:00 -0500)]
hook points for the email settings form