summaryrefslogtreecommitdiff
path: root/classes/File_oembed.php
AgeCommit message (Collapse)Author
2010-11-12Encapsulate the oEmbed -> oohembed fallback into oEmbedHelper class. Also ↵Brion Vibber
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.
2010-11-12Save oEmbed photo references as thumbnails if there's not a separate ↵Brion Vibber
thumbnail_url entry in the return data. This fixes thumb saving for Flickr photo references.
2010-11-08Add attachments 'thumb_width' and 'thumb_height' settings for inline thumbs, ↵Brion Vibber
defaulting to 100x75. 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).
2010-09-28* i18n/L10n and translator documentation updates.Siebrand Mazeland
* whitespace and indentation updates
2010-03-10Fixup script for files w/ bogus data saved into file record ('h bug')Brion Vibber
2010-03-10Fix for attachment "h bug": posting a shortened link to an oembed-able ↵Brion Vibber
resource that has been previously used in the system would incorrectly save "h" as the item's type and title.
2010-01-10check before saving a thumbnailEvan Prodromou
2009-08-27Merge branch '0.9.x' of git@gitorious.org:laconica/mainline into 0.9.xEvan Prodromou
Conflicts: classes/laconica.ini
2009-08-26Save the mimetype for oEmbed linked urlCraig Andrews
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25a distributed -> the distributedEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-07-15Try oEmbed discovery before using oohembedCraig Andrews
2009-06-23oembed and thumbnail don't need sequencesEvan Prodromou
2009-06-22change staticGet() from DB_DataObject to Memcached_DataObject for file classesEvan Prodromou
2009-06-22Database changes for file tablesEvan Prodromou
Some minor database changes for file tables. Namely: * Added a timestamp to all tables * Added a filename column for local files * Change some tables that had unnecessary auto-increment primary keys when they had another unique column that should act as the primary key * Change engine from MyISAM to InnoDB for a couple of files. Also, rebuilt the DB_DataObject files for all these tables.
2009-06-20Update copyright dates in files modified in 2009Evan Prodromou
2009-06-20change Controlez-Vous to Control YourselfEvan Prodromou
2009-06-17Make oohembed endpoint configurable.Robin Millette
2009-05-15Attachments and their list now provide "ajax" view. Also added a few ↵Robin Millette
sidebars relating tags and attachments.
2009-05-13rewrote short url stuff to handle new file/url classes (redirections, ↵Robin Millette
oembed, mimetypes, etc.)
2009-05-11db stuff for URLs: redirections, oembed, etc.Robin Millette