summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
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-25max_id is inclusiveEvan Prodromou
2010-10-25change max_id from < to <=Evan 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
2010-09-28* i18n/L10n and translator documentation updates.Siebrand Mazeland
* whitespace and indentation updates
2010-09-28* i18n/L10n and translator documentation updates.Siebrand Mazeland
* whitespace and indentation updates
2010-09-22save a URI with the userEvan Prodromou
2010-09-22Merge branch '0.9.x' into activityexportEvan Prodromou
Conflicts: plugins/OStatus/OStatusPlugin.php
2010-09-21Merge branch 'master' into 0.9.xBrion Vibber
2010-09-21use Profile::getUri() to get a profile's URIEvan Prodromou
2010-09-20Fix for #2227: 'view profile designs' and other default-on options are ↵Brion Vibber
initially mis-set to off due to caching at account creation
2010-09-20Ticket #2327: fixing block to remove the blocking user's subscription to the ↵Brion Vibber
blockee if present; also cleaning up inbox delivery to apply the block checks more consistently, instead of just to group posts.
2010-09-17Status_network::encache() doesn't existJames Walker
2010-09-15better output for group membership as activityEvan Prodromou
2010-09-14Add Group_member::asActivity() to record group joinsEvan Prodromou
2010-09-13bugs in function calls in Notice::asActivityEvan Prodromou
2010-09-13bug in time and object handling in Subscription::asActivityEvan Prodromou