summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-11-15Store the current user in the CurrentUserDesignActionZach Copley
2010-11-16Merge branch '0.9.x' into facebook-upgradeZach Copley
2010-11-15Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-11-15RemoteProfileAction cleanup:Brion Vibber
- meta robots to prevent spidering - a little notice if silenced
2010-11-15Workaround for display of Twitter remote users in remoteprofile (ModPlus ↵Brion Vibber
plugin): use 73px avatar if no 96px present
2010-11-15some User -> Profile cleanup to help in adapting the profile page action to ↵Brion Vibber
show stuff for remote users. Subscriptions, groups, roles, etc are all on profiles now so go ahead and use em.
2010-11-15restore empty showFallback() for attachment display; still needed for one-offsBrion Vibber
2010-11-15Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-11-15Add some basic oEmbed lookup test cases; fixed a bug in discovery fallback.Brion Vibber
2010-11-15Drop some debug linesBrion Vibber
2010-11-15Swap the Services_oEmbed wrapper in oEmbedHelper out for doing it ourselves...Brion Vibber
- 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
2010-11-15Merge remote branch 'gitorious/0.9.x' into 0.9.xEvan Prodromou
2010-11-15Merge branch 'atompub' into 0.9.xEvan Prodromou
Conflicts: actions/apistatusesshow.php actions/apitimelineuser.php
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-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-12Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: actions/newgroup.php
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-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-09Merge branch '0.9.x' into facebook-upgradeZach Copley
2010-11-09split out InlineAttachmentList from AttachmentListBrion Vibber
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-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-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-08use subclassing to change notice list output for single noticeEvan Prodromou
2010-11-04* i18n/L10n updates.Siebrand Mazeland
* translator documentation added. * superfluous whitespace removed.
2010-11-03Fix for ticket #2853: fix for some unknown MIME type error cases by ↵Brion Vibber
adjusting the PEAR error handling temporarily around MIME_Type_Extension usage.
2010-11-03Fix for ticket #2852: skip sending favorite notification emails if the ↵Brion Vibber
favoriter is someone you've blocked.
2010-11-03Use Profile->getBestName() in PersonalGroupNav instead of manually picking ↵Brion Vibber
nickname vs fullname. Logic should still work the same when no nickname is provided, but it doesn't make any sense -- probably needs cleanup. :)
2010-11-03Migrate some more code from manually constructing "fullname (nickname)" to ↵Brion Vibber
using Profile->getFancyName(). Encapsulates common logic and allows for localization of the parens.
2010-11-03General cleanup & part of ticket #2864: use User_group->getFancyName() ↵Brion Vibber
instead of replicating the logic in various places. Encapsulates and allows for localization of parens.
2010-11-02Merge branch '0.9.x' into facebook-upgradeZach Copley
2010-11-02Output filename in log msg if one is suppliedZach Copley
2010-11-02i18n/L10n fixes and translator documentation addded/updated.Siebrand Mazeland
2010-11-02Add context for different uses of "%1$s (%2$s)"Siebrand Mazeland
2010-11-02Use SN.msg() and onEndScriptMessages() to export localized UI messages from ↵Brion Vibber
Realtime plugin and its descendents.
2010-11-02Tossing in a basic i18n message export to script code. Plugins can hook ↵Brion Vibber
StartScriptMessage/EndScriptMessage, or directly add needed mappings in Action::getScriptMessages(). Exported entries are accessible as SN.msg(key) at runtime. StatusNet core code now sets the tooltip text on .attachment.more links when they receive their attachment-expansion magic; this will override the hardcoded tooltip text saved from OStatus plugin when displaying timelines in the web UI.
2010-11-01Merge branch '0.9.x' into facebook-upgradeZach Copley
2010-11-01* i18n/L10n updates.Siebrand Mazeland
* translator documentation added. * superfluous whitespace removed.
2010-11-01* add translator documentation.Siebrand Mazeland
* i18n FIXME tagging.
2010-11-01Fix i18n issues that are solved by using plural.Siebrand Mazeland
2010-10-31* i18n/L10n updates.Siebrand Mazeland
* translator documentation added/updated. * superfluous whitespace removed.
2010-10-31Fix i18n for B/kB/MB and add translator documentation.Siebrand Mazeland