summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2010-11-19Ticket #2441: fix deletion of avatars when a profile is deleted.Brion Vibber
Code was doing a batch call to $avatar->delete() which fails to properly engage the file deletion code. Calling the existing profile->delete_avatars() function deletes them individually, which makes it all work nice again.
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-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
2010-09-13bug in time and object handling in Fave::asActivityEvan Prodromou
2010-09-13Notice::asActivityEvan Prodromou
2010-09-13move code for making activities from OStatus plugin to Subscription and Fave ↵Evan Prodromou
classes
2010-09-08Merge branch 'master' into testingBrion Vibber
2010-09-02Don't explode if we fail to load a listed attachment id in Notice::attachments()Brion Vibber
2010-09-02Merge branch 'swat0' into 0.9.xEvan Prodromou
2010-09-01bug in Profile::fromURI() wasn't returning profileEvan Prodromou
2010-09-01Notice::saveReplies() uses Profile::fromURI() to handle remote profiles tooEvan Prodromou
2010-09-01Static method to get a profile based on an URIEvan Prodromou
2010-09-01Merge branch 'master' into 0.9.xEvan Prodromou