- 15 Nov, 2010 1 commit
-
-
Brion Vibber authored
-
- 13 Nov, 2010 2 commits
-
-
Brion Vibber authored
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 authored
Save attached URLs when importing a Twitter status: this lets our thumbnail detection handle photos and videos linked to by Twitter posters.
-
- 12 Nov, 2010 10 commits
-
-
Brion Vibber authored
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 authored
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 authored
Conflicts: actions/newgroup.php
-
Brion Vibber authored
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 authored
-
Brion Vibber authored
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 authored
-
Brion Vibber authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
- 11 Nov, 2010 5 commits
-
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Zach Copley authored
-
Zach Copley authored
-
- 10 Nov, 2010 5 commits
-
-
Brion Vibber authored
-
Brion Vibber authored
-
Craig Andrews authored
-
Brion Vibber authored
-
Brion Vibber authored
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!)
-
- 09 Nov, 2010 15 commits
-
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Brion Vibber authored
Allow YouTube-style media links to be counted as enclosures for purposes of listing attachments/thumbs
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Brion Vibber authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Brion Vibber authored
-
Brion Vibber authored
This is used as the max thumb width/height for oEmbed requests (replacing the old default of 500x400 which was more suitable for the lightbox).
-
Brion Vibber authored
-
Brion Vibber authored
Save a thumbnail image when uploading an image file into the file attachments system. Currently hardcoded to 100x75, needs aspect-sensitivity etc.
-
Brion Vibber authored
Break out ImageFile->resizeTo() from ImageFile->resize(); allows resizing images to non-square sizes and to arbitrary destinations. Will be used for creating thumbnails as well as the originala use of cropping/sizing avatars.
-
- 08 Nov, 2010 2 commits
-
-
Brion Vibber authored
-
Brion Vibber authored
-