summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-15doc comments on File::processNewBrion Vibber
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 attached URLs when importing a Twitter status: this lets our thumbnail ↵Brion Vibber
detection handle photos and videos linked to by Twitter posters.
2010-11-12Only use saved thumbnails for notice list attachment thumbs -- don't attempt ↵Brion Vibber
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
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-12Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: actions/newgroup.php
2010-11-12Fix for failure edge case in TwitterBridge outgoing repeat/retweets.Brion Vibber
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. :)
2010-11-12Merge branch 'oembed-thumbnails' into 0.9.xBrion Vibber
2010-11-12Add a quick config setting to disable/enable display of thumbnails in ↵Brion Vibber
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)
2010-11-12drop a comma which isn't actually an error but keeps throwing annoying ↵Brion Vibber
warnings in netbeans
2010-11-12Drop commented-out code from old lightbox & thumbnail popup stuffBrion Vibber
2010-11-12don't try to initialize the mapstraction canvas if it doesn't existEvan Prodromou
2010-11-12don't try to initialize the mapstraction canvas if it doesn't existEvan Prodromou
2010-11-11Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2010-11-11give users a chance to opt out of email summariesEvan Prodromou
2010-11-11fix update of email prefs in queue handlerEvan Prodromou
2010-11-11Fix missing close of comment blockZach Copley
2010-11-11Fix missing close of comment blockZach Copley
2010-11-10Add error logging for a couple send-fail cases in XMPP outBrion Vibber
2010-11-10CSS class tweak for inline attachment thumbnails to avoid things thinking ↵Brion Vibber
they're content links
2010-11-10Fix isHTTPS to work correctly for Cherokee and IISCraig Andrews
2010-11-09add title attribute on attachment list itemsBrion Vibber
2010-11-09Cleanup on the CSS for inline attachments; removed some unneeded changes ↵Brion Vibber
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!)
2010-11-09Missing one close-paren in newgroup.phpEvan Prodromou
2010-11-09session table was missing from upgrade scriptsEvan Prodromou
2010-11-09Allow YouTube-style media links to be counted as enclosures for purposes of ↵Brion Vibber
listing attachments/thumbs
2010-11-09Merge branch '0.9.x' into emailsummaryEvan Prodromou
2010-11-09hook points for the email settings formEvan Prodromou
2010-11-09split out InlineAttachmentList from AttachmentListBrion Vibber
2010-11-09change width of notices table to display betterEvan Prodromou
2010-11-09session table was missing from upgrade scriptsEvan Prodromou
2010-11-09some alignment in the table layoutEvan Prodromou
2010-11-09set height and width of avatar td in email summaryEvan Prodromou
2010-11-08Keep aspect ratio when generating local thumbnailsBrion Vibber
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-11-08Pass file attachment thumbnails along with oEmbed data.Brion Vibber
2010-11-08Save a thumbnail image when uploading an image file into the file ↵Brion Vibber
attachments system. Currently hardcoded to 100x75, needs aspect-sensitivity etc.
2010-11-08Break out ImageFile->resizeTo() from ImageFile->resize(); allows resizing ↵Brion Vibber
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.
2010-11-08Testing... using photo info for temp thumbnailsBrion Vibber
2010-11-08doomy doom doomBrion Vibber
2010-11-08change to a table for HTML outputEvan Prodromou
2010-11-08stylesheet for outgoing emailEvan Prodromou
2010-11-08Fixup headers for HTML emailEvan Prodromou
2010-11-08Some initial testing w/ thumb genBrion Vibber
2010-11-08Avoid marking files as attachments that are not locally uploaded, unless ↵Brion Vibber
they're really oembedable. HTML-y things now excluded properly.
2010-11-08Complete email summary sending systemEvan Prodromou
Added the necessary classes to send email summaries. First, added a script to run on a daily basis. Second, added a queue handler for sending email summaries for users, and another to queue summaries for all users on the site. Fixed up the email_summary_status table to store the last-sent notice id, rather than a datetime (since we don't support 'since' parameters anymore). Finally, made the plugin class load the right modules when needed.
2010-11-08Merge branch '0.9.x' into emailsummaryEvan Prodromou
2010-11-08use subclassing to change notice list output for single noticeEvan Prodromou
2010-11-08first steps for email summaryEvan Prodromou
2010-11-08Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou