gnu-social/classes
Jean Baptiste Favre 98f064e4fd Adds new feature to dispatch avatar url between different servers.
That allows parallel download from most browsers.
To avoid caching issue, server choice is "profile_id" based so that
avatar from a specific user will always be served from same server.

Introduce new configuration parameter:
$config['avatar']['server_modulo'] = 5;

Very easy to implement using, for example, DNS wildcard.
For example, if you have following configuration:
$config['avatar']['server']        = 'static_rrdns_.domain.tld';
$config['avatar']['server_modulo'] = 5;

Then, when building avatar's URL, domain will become, depending on profile_id:
static0.domain.tld
static1.domain.tld
static2.domain.tld
static3.domain.tld
static4.domain.tld
2011-09-03 21:11:31 +02:00
..
Avatar.php Adds new feature to dispatch avatar url between different servers. 2011-09-03 21:11:31 +02: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 * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Conversation.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Deleted_notice.php check correct define (not backwards compatible) 2009-09-15 21:12:44 -04:00
Design.php Fix ticket #2181: Can't save #000000 (black) in color fields on design page 2011-01-04 13:09:44 -08:00
Fave.php add fixme for since_id/max_id on fave streaming (?) 2010-12-17 14:32:06 -08:00
File_oembed.php Encapsulate the oEmbed -> oohembed fallback into oEmbedHelper class. Also added a chance to whitelist sites that don't show discovery info but do have oEmbed API endpoints, and to provide alternate APIs for some common services. 2010-11-12 17:41:35 -08:00
File_redirection.php Fix for tickets #2917, #2262: user URL shortening options not being applied in non-web channels 2010-12-02 13:41:56 -08:00
File_thumbnail.php Save oEmbed photo references as thumbnails if there's not a separate thumbnail_url entry in the return data. This fixes thumb saving for Flickr photo references. 2010-11-12 14:03:08 -08:00
File_to_post.php Bad method call in File_to_post 2010-12-29 13:28:32 -08:00
File.php Use cachedQuery on File::getAttachments, plus other cleanups: 2011-01-31 12:22:50 -08:00
Foreign_link.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Foreign_service.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Foreign_subscription.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Foreign_user.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Group_alias.php Fixed problem causing 500 error on notices containing a non-existent group 2010-03-06 00:30:15 +00:00
Group_block.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Group_inbox.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Group_member.php membership stream method and return membership from join() in Group_member class 2010-12-13 13:50:39 -05:00
Inbox.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Invitation.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Local_group.php * add translator documentation 2010-07-29 13:01:04 +02:00
Location_namespace.php flip x flag on generated files 2009-10-21 22:43:41 -04:00
Login_token.php * add translator documentation 2010-07-29 13:01:04 +02:00
Memcached_DataObject.php Performance counters: records number of total and unique cache get/set/incr/deletes and queries, and logs to syslog. 2011-01-31 13:12:56 -08:00
Message.php URL shortening fix for direct messages: if we're going to shorten the text, shorten the rendered text too. 2010-12-02 13:59:51 -08:00
Nonce.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Notice_inbox.php Dropped deprecated timestamp-based 'since' parameter for all API methods. When it sneaks in it can cause some very slow queries due to mismatches with the indexing. 2010-03-02 11:54:02 -08:00
Notice_source.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Notice_tag.php Notice_tag::url() gets the URL for a tag string 2010-12-19 10:15:56 -05:00
Notice.php Clear ;last version of stream if importing old stuff 2011-03-31 16:15:05 -04:00
Oauth_application_user.php Revert DB change for OAuth. Change compound key for oauth_application_user 2010-10-20 11:41:04 -07:00
Oauth_application.php Ticket #2811 use more consistent max limit for OAuth application 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-11 12:52:32 -07:00
Oauth_token_association.php i18n/L10n updates, translator docs updated, superfluous whitespace removed. 2010-10-21 03:10:46 +02:00
Profile_block.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Profile_role.php Background deletion of user accounts. Notices are deleted in chunks, then the user itself when they're all gone. 2010-03-15 16:08:00 -07:00
Profile_tag.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Profile.php Merge branch 'master' into 0.9.x 2011-03-01 17:11:29 -08:00
Queue_item.php Ticket #2797: replace addslashes() with explicit escape calls on the DB objects 2010-11-19 15:06:26 -08:00
Related_group.php some class files had x bit set 2009-05-22 21:11:46 -04:00
Remember_me.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Remote_profile.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Reply.php Update sorting on reply/mentions timeline: added reply_profile_id_modified_notice_id_idx index to reply table 2010-12-17 14:43:45 -08:00
Safe_DataObject.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Session.php Revert "Session GC fix: save session.modified field as UTC so our comparisons work." - no longer needed with ticket #3020 fix to time zone settings 2011-01-31 11:50:24 -08:00
Sms_carrier.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Status_network_tag.php * translator documentation added. 2010-10-23 19:20:51 +02:00
status_network.ini oops. really embarassing typo (that explains some weird behaviour) 2010-07-29 16:32:41 -04:00
Status_network.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
statusnet.ini Workaround for reply timeline since_id issue: save the notice.created value into reply.modified, so we can key off it as expected. 2011-02-25 13:22:13 -08:00
statusnet.links.ini PHP 5.3 compatibility hack for DB_DataObject 2010-02-12 11:15:12 -08:00
Subscription.php Merge branch '0.9.x' into activityatompub 2010-12-11 11:03:02 -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 events for creating a group 2011-01-26 18:35:01 -07: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 * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
User.php Fix a couple spelling mistakes in comments and remove redundant statement terminator 2011-01-20 10:44:05 -08:00