summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2010-11-15Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
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-15Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-11-15Workaround for yfrog.com photo attachments: fudge ↵Brion Vibber
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.
2010-11-15doc comments on File::processNewBrion Vibber
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-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-09Allow YouTube-style media links to be counted as enclosures for purposes of ↵Brion Vibber
listing attachments/thumbs
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-08Testing... using photo info for temp thumbnailsBrion 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-04i18n/L10n updates.Siebrand Mazeland
2010-11-03Fix for ticket #2804: bad non-cache fallback code for dupe checks of ↵Brion Vibber
prolific posters The old code attempted to compare the value of the notice.created field against now() directly, which tends to explode in our current systems. now() comes up as the server/connection local timezone generally, while the created field is currently set as hardcoded UTC from the web servers. This would lead to breakage when we got a difference in seconds that's several hours off in either direction (depending on the local timezone). New code calculates a threshold by subtracting the number of seconds from the current UNIX timestamp and passing that in in correct format for a simple comparison. As a bonus, this should also be more efficient, as it should be able to follow the index on profile_id and created.
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-03Add getFancyName() to User_group to match the one on Profile: encapsulates ↵Brion Vibber
the "fullname (nickname)" vs "nickname" logic and allows for localization of the parentheses in a common place.
2010-11-02Add context for different uses of "%1$s (%2$s)"Siebrand Mazeland
2010-11-02Alternate pretty-title tweaks for #2668Brion Vibber
2010-10-28fall back to siteowner on bad nickname (Bug#2861)Evan Prodromou
2010-10-25Merge branch '0.9.x' into atompubEvan Prodromou
2010-10-25max_id is inclusiveEvan Prodromou
2010-10-25Merge branch '0.9.x' into atompubEvan Prodromou
2010-10-25change max_id from < to <=Evan Prodromou
2010-10-25add rel=self links to atom entriesEvan Prodromou
2010-10-24show rel=edit links in notices for authenticated usersEvan Prodromou
2010-10-23* translator documentation added.Siebrand Mazeland
* superfluous whitespace removed.
2010-10-22New events when granting and revoking rolesEvan Prodromou
Four new events for when roles are granted or revoked.
2010-10-21Memcache::set() 3rd param should be flags (4th is expire). This throws a "2 ↵James Walker
lowest bytes reserved" error in Memcache > 3.0.3
2010-10-21i18n/L10n updates, translator docs updated, superfluous whitespace removed.Siebrand Mazeland
2010-10-20Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xZach Copley
Conflicts: actions/apioauthauthorize.php lib/apioauthstore.php
2010-10-20Use a new table (oauth_token_association) to associate authorizedZach Copley
request tokins with OAuth client applications and profiles.
2010-10-21* translator documentation added.Siebrand Mazeland
* moved some translator comments that were not directly above the line with the message to the correct location. * i18n for UI text. * superfluous whitespace removed.
2010-10-20Fix for ticket #2845: singleuser nickname configuration was being overridden ↵Brion Vibber
by site owner in router setup. I've consolidated the checks for which user to use for single-user mode into User::singleUser(), which now uses the configured nickname by preference, falling back to the site owner if it's unset. This is now called consistently from the places that needed to use the primary user's nickname in routing setup. Setting $config['singleuser']['nickname'] should now work again as expected.
2010-10-20Revert DB change for OAuth. Change compound key for oauth_application_userZach Copley
back to (profile_id, application_id). I think we can get away without a DB change by only issuing one anonymous access token per user.
2010-10-19Add support for an anonymous OAuth consumer. Note: this requires aZach Copley
small DB tweak. Oauth_application_user needs to have the primary compound key: (profile_id, application_id, token). http://status.net/open-source/issues/2761 This should also make it possible to have multiple access tokens per application. http://status.net/open-source/issues/2788
2010-10-14Make HTTPS urls in File::url() if necessaryEvan Prodromou
2010-10-14correctly use sslserver if it is setEvan Prodromou
2010-10-14Design::url() will use HTTPS if page is HTTPSEvan Prodromou
2010-10-13better deletion of related objects in User_group::delete()Evan Prodromou
2010-10-12Improve cache-friendliness of user_group->delete().Brion Vibber
Doesn't clear all possible cached entries, but this should get the ones that matter most: lookups by id, nickname, and alias. This should ensure that if a group name gets reused as a new group or alias, it should work properly. There are some user-visible areas that aren't clear such as the 'top groups' lists on the GroupsAction sidebar; if a deleted group appears in those lists it'll go away within an hour when the cached query expires.
2010-10-12Cascading deletion for user_group; doesn't yet work properly with caching.Brion Vibber
2010-10-12Add a basic group deletion for moderator users.Brion Vibber
2010-10-11Ticket #2811 use more consistent max limit for OAuth application ↵Brion Vibber
registration descriptions; now using the field max of 255 rather than $config['site']['textlimit'] as fallback if $config['application']['desclimit'] is unset or out of bounds.
2010-10-04Fix unescaped dollar signs in double-quoted strings due to localization ↵Brion Vibber
updates (%1$s etc)
2010-09-30ForceGroup plugin: optionally force new users to join a particular group or ↵Brion Vibber
set of groups on registration; and/or to force posts by members of particular groups to be posted into those groups even if not explicitly mentioned. The posting feature requires a couple quick hook additions in core.
2010-09-29Move blowFavesCache() to ProfileZach Copley
2010-09-29Move hasFave() to ProfileZach Copley