summaryrefslogtreecommitdiff
path: root/classes/Profile.php
AgeCommit message (Collapse)Author
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-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-12Add a basic group deletion for moderator users.Brion Vibber
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-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
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