summaryrefslogtreecommitdiff
path: root/classes/Profile.php
AgeCommit message (Collapse)Author
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
2010-02-22add strongly-suggested link to Profile::asActivityNoun()Evan Prodromou
2010-02-22Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingZach Copley
2010-02-22Upgrade profile-based activity noun to have more complete set ofZach Copley
profile fields
2010-02-21slight rearrangement of getting profile URIsEvan Prodromou
2010-02-19Refactor subs_* functions for remote useEvan Prodromou
The subs_* functions in subs.php have made a lot of assumptions about users versus profiles. I've refactored the functions to be methods of the Subscription class instead, and to use Profile objects throughout. Some of the checks for blocks or existing subscriptions depended on users or profiles, so I've moved those methods around a bit. I've left stubs for the subs_* functions until we get time to replace them.
2010-02-16More sensical profile::getUri()Zach Copley
2010-02-16Take remote profiles into account when looking up canonical profile URIsZach Copley
2010-02-16Add rel="avatar" to img links in <activity:actor> stanzasZach Copley
2010-02-16add a FIXME to ProfileEvan Prodromou
2010-02-12OStatus: prep work for sending notifications on ↵Brion Vibber
sub/unsub/join/leave/favorite/unfavorite via Salmon; needs to be completed and hooked up once feed gen is fixed.
2010-02-11ostatus:attention links in Notice Atom outputZach Copley
2010-02-11Some upgrades to Atom output for OStatusZach Copley
2010-02-06Moderator can make users admins of a groupEvan Prodromou
2010-01-24Revoke access token UIZach Copley
2010-01-24Better detial in connected OAuth applications listZach Copley
2010-01-24Started work on interface for displaying connected OAuth appsZach Copley
2010-01-06Fix for broken profile flag admin UI: delete stray flag entries when users ↵Brion Vibber
are deleted so broken entries don't litter the lookups. * added ProfileDeleteRelated event to match UserDeleteRelated, to allow plugins to add extra related tables on profile deletion * UserFlagPlugin: deleting flags when target profile is deleted * UserFlagPlugin: deleting flags when flagging user is deleted * UserFlagPlugin: fix for autoloader -- class names are case-insensitive. We may get lowercase class names coming in at times, such as when creating DB objects programatically from a table name. Note that any already-existing bogus entries need to be removed from the database: select * from user_flag_profile where (select id from profile where id=profile_id) is null; select * from user_flag_profile where (select id from user where id=user_id) is null;
2009-12-11show the repeat form in notice listsEvan Prodromou
2009-12-10remove 'has forwarded' method from ProfileEvan Prodromou
2009-12-08method to check if a profile has forwarded a noticeEvan Prodromou
2009-11-18Added Authorization pluginCraig Andrews
Added LDAPAuthorization plugin
2009-11-17Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
Conflicts: classes/statusnet.ini
2009-11-16disallow email on faves from sandboxed usersEvan Prodromou
2009-11-16more rights denied to silenced and sandboxedEvan Prodromou
2009-11-16don't allow sandboxed users to post public noticesEvan Prodromou
2009-11-16Move rights check to profile and add right for new noticesEvan Prodromou
Added a right for new notices, realized that the hasRight() method should be on the profile, and moved it. Makes this a less atomic commit but that's the way it goes sometimes.
2009-11-16change uses of User_role to Profile_roleEvan Prodromou
2009-11-16move role functions to Profile classEvan Prodromou
2009-11-16getSubscribers and getSubscriptions were not handling the case where ↵Craig Andrews
limit=null correctly
2009-11-09Revert "Remove more contractions"Brion Vibber
This reverts commit 5ab709b73977131813884558bf56d97172a7aa26. Missed this one yesterday...
2009-11-08Remove more contractionsSiebrand Mazeland
* doesn't * won't * isn't * don't
2009-10-29get location from a ProfileEvan Prodromou
2009-10-24Merge branch '0.9.x' into locationEvan Prodromou
2009-10-21new data structures for locationEvan Prodromou
2009-10-15Added support for profile designs to the twitter APITrever Fischer
2009-10-04Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: classes/Profile.php
2009-10-02copy-and-paste typo in profile deletionEvan Prodromou
2009-10-02Merge branch '0.8.x' into deleteuserEvan Prodromou
2009-09-15Remove unnecessary Profile::pkeyGetCraig Andrews
Thanks for the info, Evan.
2009-09-13Add missing pkeyGet override to the Profile classCraig Andrews
2009-08-27Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: EVENTS.txt actions/finishremotesubscribe.php actions/postnotice.php actions/public.php actions/remotesubscribe.php actions/showstream.php actions/updateprofile.php actions/userauthorization.php classes/laconica.ini lib/common.php lib/oauthstore.php lib/omb.php
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou