Commit Graph

11863 Commits

Author SHA1 Message Date
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
Evan Prodromou
afd42611a3 Merge branch '0.9.x' 2011-07-30 07:49:05 -04:00
Evan Prodromou
be376b3b60 Merge remote-tracking branch 'gitorious/0.9.x' 2011-07-30 07:48:27 -04:00
Evan Prodromou
5517741909 json_encode() realtime arguments (closes Bug#3260) 2011-07-30 07:45:07 -04:00
Evan Prodromou
aab265709a use old-style plugin initializers as fallback for GoogleAnalytics 2011-06-20 17:07:17 -04:00
Evan Prodromou
c4fc69ad2a use async, domain-aware GoogleAnalytics JS 2011-06-20 17:07:02 -04:00
Evan Prodromou
cb4f271002 test to check that Bookmark related links are appearing correctly 2011-05-30 10:04:25 -04:00
Evan Prodromou
9167ba8d2d ActivityImporter catches thrown exceptions by plugins and marks entry done 2011-05-30 09:57:49 -04:00
Evan Prodromou
97debbab68 use integer iterator for childNodes in ActivityUtils::getLinks() 2011-05-30 09:57:11 -04:00
Evan Prodromou
753bc7302a Merge branch 'master' into 0.9.x 2011-05-04 14:46:36 -07:00
Evan Prodromou
d8151311ee Revert "add rss.me to notice source list"
This reverts commit f1a14ba801.
2011-05-04 14:46:26 -07:00
Zach Copley
83397e28b8 Fix URLs to reflect change in reCAPTCHA API 2011-04-27 19:45:47 +00:00
Zach Copley
2d420b4661 Fix URLs to reflect change in reCAPTCHA API 2011-04-27 19:40:43 +00:00
Evan Prodromou
f1a14ba801 add rss.me to notice source list 2011-04-04 12:07:35 -04:00
Evan Prodromou
580986f007 Plugin to put the sitenotice in the sidebar 2011-04-01 13:34:55 -04:00
Evan Prodromou
a84d584971 delete the Bookmark if Notice::saveNew() fails 2011-04-01 09:30:25 -04:00
Evan Prodromou
d5a38c62f4 Don't try to import a <dd> without a <dt> from delicious 2011-03-31 16:15:30 -04:00
Evan Prodromou
f580147058 Clear ;last version of stream if importing old stuff 2011-03-31 16:15:05 -04:00
Evan Prodromou
61fe49b100 ActivityImporter gives up on any exception 2011-03-31 13:53:17 -04:00
Evan Prodromou
2411caa000 If Router is mucked up, force URI for Bookmark 2011-03-31 11:20:24 -04:00
Brion Vibber
347b57f72a Provisional fix for ticket #3108: Facebook bridge sends "likes" as the notice's original poster instead of as the person doing the liking.
Adds optional $profile parameter for Facebookclient constructor and uses that for the foreign_link lookup if provided instead of the notice's poster.
2011-03-31 00:31:24 +00:00
Brion Vibber
02c2c3a6cc Provisional workaround for router inconsistencies in background processes that switch site configs.
Ensure that router is cleared when we do site setup; we can still fetch the data from cache, so it should stay fast, but should ensure that we don't end up with someone else's routes still set up, which may be an issue breaking some of the bookmark handling that needs routing with a rare plugin.
2011-03-30 14:18:29 -07:00
Evan Prodromou
83d1997f59 incorrect name for bookmark plugin 2011-03-30 10:58:28 -04:00
Brion Vibber
e68271c471 TwitterBridge: discard outgoing queue items instead of retrying when Twitter API returns HTTP 400 or 404 error codes
We get HTTP 400 for various cases of invalid data, where retrying doesn't help at all -- previously those would loop forever, or until something died at least. :)
400 is also used for rate limiting, but retrying *immediately* will just hit the rate limit again, so better to discard if we're going over for now.
2011-03-24 18:43:25 -07:00
Evan Prodromou
fd4d535d91 add a fix1 to the version number 2011-03-23 14:34:32 -04:00
Evan Prodromou
dc73cf0b05 don't send group private message mail notification to the author 2011-03-23 14:31:13 -04:00
Evan Prodromou
acd594c9a6 put correct content into the group private message update 2011-03-23 14:31:05 -04:00
Evan Prodromou
a221259328 group private message email notification fix 2011-03-23 14:30:56 -04:00
Brion Vibber
089c10d5d8 get_class -> class_exists for class loading hack (fixme for 1.0: make sure all these classes are in own files) 2011-03-21 11:43:02 -07:00
Brion Vibber
9fc6de6b37 remove type hinting -- fails when ArrayWrapper gets passed in some profile list pages 2011-03-21 11:18:38 -07:00
Brion Vibber
f6e22da122 Merge branch '0.9.x' 2011-03-18 16:39:41 -07:00
Brion Vibber
afd92957b4 ModPlus plugin -- Ticket #3095: add remote profile options popup to group membership and other profile lists
Popup remote profile options menu now shown on profile lists as well as notice lists.
2011-03-18 16:38:31 -07:00
Brion Vibber
119d0f7dba fix ModPlus 'remote profile options' popup for Realtime
Switched from one-time setup to live stuff that'll work without per-notice setup.
Used to not matter because Realtime wouldn't include the extra stuff, but new Realtime pulls the full rendering, so yay!
2011-03-18 16:38:26 -07:00
Brion Vibber
1fdc72f595 Merge branch '0.9.x' 2011-03-18 14:11:27 -07:00
Brion Vibber
df4afee86c Tickets #1610, #1949: show permalinks on Popular Notices, attachments aside sections
These mini notice lists were previously not actually showing links to the notices, making them hard to use. There was code to output a link, but it had been unused due to the config options triggering it not being set. The links also looked bad ("( see )" with bad spacing).
Replaced that code with a call into NoticeListItem's existing code to format a relative timestamp with the notice permalink, which looks nice. Used a div rather than p to avoid clearing the float, so it flows nicely.
2011-03-18 14:09:41 -07:00
Evan Prodromou
1a666f0712 Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x 2011-03-17 11:32:37 -04:00
Evan Prodromou
a430540155 configuration option to bust frames or not 2011-03-17 11:32:14 -04:00
Evan Prodromou
9a46605227 Merge branch 'master' of gitorious.org:statusnet/mainline 2011-03-17 09:59:46 -04:00
Evan Prodromou
531400be6f upgrade lifecycle to release 2011-03-17 09:58:41 -04:00
Evan Prodromou
3883b5d731 0.9.7 release notes 2011-03-17 09:57:31 -04:00
Brion Vibber
e985a41a7e Suppress PHP warnings/notices during AtomPub XML parsing to avoid HTTP header problems when given bad input.
If display_errors is on, typical settings would cause PHP error messages to spew to output before the HTTP headers for setting a 400 error go through.
Also switched from deprecated static DOMDocument::loadXML() to non-static call.
2011-03-15 10:11:13 -07:00
Zach Copley
b7548fb9e2 Show a reasonable error message when an image is bad, instead of
letting the exception continue bubbling up.
2011-03-10 18:14:22 +00:00
Zach Copley
1d7f54ee38 Show a reasonable error message when an image is bad, instead of
letting the exception continue bubbling up.
2011-03-10 18:12:27 +00:00
Brion Vibber
4d5f8e7876 Ticket #3076: fix regression in password recovery when email address given that doesn't match
Was triggering errors due to use of common_canonical_nickname() on arbitrary input without checking for exceptions about invalid nicknames (which didn't exist long ago in the before time)
2011-03-09 15:48:46 -08:00
Evan Prodromou
316fd01e20 format Atom datetimes as UTC 2011-03-04 15:27:37 -05:00
Evan Prodromou
64925a275e format Atom datetimes as UTC 2011-03-04 15:26:25 -05:00
Evan Prodromou
6b5d183bac beta3 2011-03-03 12:10:43 -05:00
Evan Prodromou
418abd8da4 Revert "New version, dev cycle"
This reverts commit 96d0141848.
2011-03-03 12:09:51 -05:00
Brion Vibber
87f6c66029 Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x 2011-03-02 15:36:29 -08:00
Siebrand Mazeland
399c83db87 Fix typo in documentation. Spotted by Nikerabbit. 2011-03-02 23:06:45 +01:00