gnu-social/classes
Evan Prodromou 52e8aa798a Refactor subs_* functions for remote use
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-19 08:16:45 -05:00
..
Avatar.php let avatars be served over SSL 2010-02-11 16:51:15 -05:00
Config.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
Confirm_address.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Consumer.php Allow developers to delete OAuth applications 2010-02-05 03:18:43 +00:00
Conversation.php - conversation.uri needs to be nullable 2010-02-17 01:11:14 -08:00
Deleted_notice.php check correct define (not backwards compatible) 2009-09-15 21:12:44 -04:00
Design.php let backgrounds be put under SSL 2010-02-11 17:03:31 -05:00
Fave.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
File_oembed.php check before saving a thumbnail 2010-01-10 13:25:16 -08:00
File_redirection.php Revert "Remove more contractions" 2009-11-09 20:01:46 +01:00
File_thumbnail.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
File_to_post.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
File.php let files go to SSL dir too 2010-02-11 17:06:57 -05:00
Foreign_link.php Take token field out of foreign_link 2009-08-25 15:48:06 -04:00
Foreign_service.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Foreign_subscription.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Foreign_user.php change foreign_user.id to bigint (for Twitter, Facebook, etc.) 2009-06-24 14:44:02 -07:00
Group_alias.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Group_block.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
Group_inbox.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
Group_member.php add events for subscribing to people and joining groups 2010-01-13 02:16:13 -08:00
Inbox.php drop debug messages from inbox deletion fix 2010-02-04 15:16:27 -08:00
Invitation.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Location_namespace.php flip x flag on generated files 2009-10-21 22:43:41 -04:00
Login_token.php Redirect to a one-time-password when ssl and regular server are different 2010-01-09 15:26:06 -08:00
Memcached_DataObject.php Merge branch 'master' into testing 2010-02-16 09:22:02 -08:00
Message.php create a method for notification for new messages, and use it 2009-12-15 10:31:25 -05:00
Nonce.php PHP 5.3 compatibility hack for DB_DataObject 2010-02-12 11:15:12 -08:00
Notice_inbox.php Fix regressions in XMPP output during inbox refactoring 2010-01-13 18:17:36 +00:00
Notice_source.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Notice_tag.php Offload inbox updates to a queue handler to speed up posting online 2010-01-25 18:08:21 -05:00
Notice.php add type='text/html' to alternate link in Notice Atom 2010-02-18 22:13:47 -05:00
Oauth_application_user.php Remove verifier from Oauth_application_user (not needed there) 2010-01-24 16:36:05 -08:00
Oauth_application.php Allow developers to delete OAuth applications 2010-02-05 03:18:43 +00:00
Profile_block.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Profile_role.php define a constant for the 'owner' role of a site 2010-01-29 15:15:04 -05:00
Profile_tag.php fix problem with dupe tags in profile 2009-02-28 15:17:49 -08:00
Profile.php Refactor subs_* functions for remote use 2010-02-19 08:16:45 -05:00
Queue_item.php XMPP queued output & initial retooling of DB queue manager to support non-Notice objects. 2010-01-22 12:52:36 -08:00
Related_group.php some class files had x bit set 2009-05-22 21:11:46 -04:00
Remember_me.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Remote_profile.php Fix regression in remote subscription; added hasRole() shadow method on Remote_profile. 2009-11-25 22:23:21 +00:00
Reply.php Ticket #1567 - API: Change before_id parameter to max_id 2009-05-29 16:32:55 -07:00
Safe_DataObject.php Stomp queue restructuring for mass scalability: 2010-02-16 09:16:51 -08:00
Session.php additional debugging data for Sessions 2010-01-28 13:53:28 -05:00
Sms_carrier.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
status_network.ini Fixes for status_network db object .ini and tag setter script 2010-01-28 20:09:17 -08:00
Status_network.php Stomp queue restructuring for mass scalability: 2010-02-16 09:16:51 -08:00
statusnet.ini - conversation.uri needs to be nullable 2010-02-17 01:11:14 -08:00
statusnet.links.ini PHP 5.3 compatibility hack for DB_DataObject 2010-02-12 11:15:12 -08:00
Subscription.php Refactor subs_* functions for remote use 2010-02-19 08:16:45 -05:00
Token.php Add verifier and verified callback to token for OAuth 1.0a 2010-01-24 16:36:05 -08:00
User_group.php Initial upgraded Atom output for group timelines 2010-02-12 12:24:29 -08:00
User_location_prefs.php Add magic formula to keep DB_DataObject from treating location prefs pkey as autoincrement 2009-12-30 08:56:43 -10:00
User_username.php Move Authorization and Authentication plugin structures into core, instead of as plugins. 2010-01-05 13:56:22 -05:00
User.php Refactor subs_* functions for remote use 2010-02-19 08:16:45 -05:00