summaryrefslogtreecommitdiff
path: root/classes/Profile.php
AgeCommit message (Collapse)Author
2010-12-22Merge branch '0.9.x' into 1.0.xBrion Vibber
2010-12-22Merge branch 'righttoleave' into 0.9.xEvan Prodromou
2010-12-17Merge branch '0.9.x' into 1.0.xBrion Vibber
Conflicts: classes/Memcached_DataObject.php
2010-12-17Update sorting for user tagged timelines (indexing was bad before and ↵Brion Vibber
remains bad -- we need some DB changes to make this one nice)
2010-12-17Update notice sorting for profile streams; extract more common code to ↵Brion Vibber
Notice::addSinceId() and Notice::addMaxId()
2010-12-15Merge branch '0.9.x' into 1.0.xBrion Vibber
2010-12-13define rights for account maintenance and default rulesEvan Prodromou
2010-12-12Move getConnectedApps() from Profile to User, where it belongsZach Copley
2010-12-11Subscription stream functionsEvan Prodromou
Made two new functions, Subscription::bySubscriber() and Subscription::bySubscribed(), to get streams of Subscription objects. Converted Profile::getSubscribers() and Profile::getSubscriptions() to use these functions.
2010-12-07Merge branch '0.9.x' into mergeBrion Vibber
Conflicts: README actions/hostmeta.php classes/File_redirection.php lib/common.php lib/designsettings.php lib/router.php lib/util.php lib/xmppmanager.php plugins/OStatus/OStatusPlugin.php
2010-11-19Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
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-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-03Merge branch '0.9.x' into 1.0.xBrion Vibber
2010-11-02Add context for different uses of "%1$s (%2$s)"Siebrand Mazeland
2010-11-02Merge branch '1.0.x' into schema-xBrion Vibber
2010-11-02Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.xBrion Vibber
Conflicts: actions/confirmaddress.php actions/othersettings.php
2010-11-02Alternate pretty-title tweaks for #2668Brion Vibber
2010-10-29Fix for changed cache functions in code merged up from 0.9.xBrion Vibber
2010-10-25Merge branch '0.9.x' into 1.0.xBrion Vibber
Conflicts: actions/subscriptions.php lib/router.php lib/xmppmanager.php lib/xmppoutqueuehandler.php
2010-10-25max_id is inclusiveEvan Prodromou
2010-10-25change max_id from < to <=Evan Prodromou
2010-10-22New events when granting and revoking rolesEvan Prodromou
Four new events for when roles are granted or revoked.
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-12Merge branch '0.9.x' into 1.0.xBrion Vibber
2010-10-12Add a basic group deletion for moderator users.Brion Vibber
2010-10-04Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.xBrion Vibber
Conflicts: actions/hostmeta.php actions/imsettings.php classes/User.php lib/adminpanelaction.php lib/channel.php lib/default.php lib/router.php lib/util.php
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-06common_cache_key() -> Cache::key()Evan Prodromou
2010-09-06common_memcache() => Cache::instance()Evan Prodromou
2010-09-01bug in Profile::fromURI() wasn't returning profileEvan Prodromou
2010-09-01Static method to get a profile based on an URIEvan Prodromou
2010-08-06OStatus/FeedSub: tweaked PuSH feed garbage collection so other plugins can ↵Brion Vibber
declare usage of a low-level feed or an OStatus profile besides profile subscriptions & group memberships. SubMirror: redid add-mirror frontend to accept a feed URL, then pass that on to OStatus, instead of pulling from your subscriptions. Profile: tweaked subscriberCount() so it doesn't subtract 1 for foreign profiles who aren't subscribed to themselves; instead excludes the self-subscription in the count query. Memcached_DataObject: tweak to avoid extra error spew in the DB error raising Work in progress: tweaking feedsub garbage collection so we can count other uses
2010-08-03Merge branch 'activityhooks' into 0.9.xEvan Prodromou
Conflicts: classes/Notice.php
2010-08-03correctly show <source> for atom feedsEvan Prodromou
2010-07-30Fixes for messages after review by Brion.Siebrand Mazeland
2010-07-29* mark a few message for translationSiebrand Mazeland
* add translator documentation
2010-06-22- Add profile_info tag to Atom authorZach Copley
- Normalize xmlns:statusnet links in the API
2010-04-01Temporary hack until notice_profile_id_idx is updatedBrion Vibber
to (profile_id, id) instead of (profile_id, created, id). It's been falling back to PRIMARY instead, which is really very inefficient for a profile that hasn't posted in a few months. Even though forcing the index will cause a filesort, it's usually going to be better. Even for large profiles it seems much faster than the badly-indexed query.
2010-03-31do complete unsubscribe process when deleting a userEvan Prodromou
2010-03-15Background deletion of user accounts. Notices are deleted in chunks, then ↵Brion Vibber
the user itself when they're all gone. While deletion is in progress, the account is locked with the 'deleted' role, which disables all actions with rights control. Todo: * Pretty up the notice on the profile page about the pending delete. Show status? * Possibly more thorough account disabling, such as disallowing all use for login and access. * Improve error recovery; worst case is that an account gets left locked in 'deleted' state but the queue jobs have gotten dropped out. This would leave the username in use and any undeleted notices in place.
2010-03-11Drop timestamp cutoff parameter from User::getCurrentNotice() and ↵Brion Vibber
Profile::getCurrentNotice(). It's not currently used, and won't be efficient when we update the notice.profile_id_idx index to optimize for our id-based sorting when pulling user post lists for profile pages, feeds etc.
2010-03-03Initial user role controls on profile pages, for owner to add/remove ↵Brion Vibber
administrator and moderator options. Buttons need to be themed.
2010-03-03Use poster's subscribed groups to disambiguate group linking when a remote ↵Brion Vibber
group and a local group exist with the same name. (If you're a member of two groups with the same name though, there's not a defined winner.)
2010-03-02Dropped deprecated timestamp-based 'since' parameter for all API methods. ↵Brion Vibber
When it sneaks in it can cause some very slow queries due to mismatches with the indexing. Twitter removed 'since' support some time ago, and we've already removed it from the public timeline, so it shouldn't be missed.
2010-02-22Move ActivityObject and related stuff to coreZach Copley
2010-02-22add PoCo preferredUsername for nickname in Profile::asActivityNoun()Evan Prodromou