Commit graph

11 commits

Author SHA1 Message Date
Raphael Sofaer
68f0f7ec21 Add rcov task 2011-03-01 18:12:42 -08:00
Sarah Mei
1f67cc2485 Replace APP_CONFIG with lib/app_config.rb so that it's testable. 2010-12-24 12:31:09 -08:00
Alec Leamas
eacee54846 Replace APP_CONFIG[:terse_pod_url] with uri object.
Adds a new APP_CONFIG[:pod_uri] item, an uri object parsed from
pod_url. Replace all occurrences of APP_CONFIG[:terse_pod_url] with
APP_CONFIG[:pod_uri].host. Closes http://bugs.joindiaspora.com/issues/684,
using the well-defined semantics of the uri object.

The pod_url is normalized using module URI's functions, always with a
trailing /.

The diaspora-handle will always reflect the pod_url with this patch
i. e., a pod_url like www.dpod.se will give the handle xx@www.dpod.se;
previous code stripped the www. prefix. If this is a problem, it
should be addressed by another setting, since one cannot presume that
www.domain.tld resolves to the same address as domain.tld.
2010-12-10 14:29:19 +01:00
maxwell
c5f71184be profile now knows about three images sizes, even in federation case 2010-11-30 15:58:25 -08:00
Hexagon
160198c152 Added rake task to check pod_url and terse_pod_url 2010-11-30 15:58:25 -08:00
maxwell
fdbc7dff86 profile now knows about three images sizes, even in federation case 2010-11-30 15:56:43 -08:00
Hexagon
b15032de39 Added rake task to check pod_url and terse_pod_url 2010-11-30 15:56:43 -08:00
maxwell
ec05c21472 profile now knows about three images sizes, even in federation case 2010-11-30 13:40:41 -08:00
Hexagon
ec5145777e Added rake task to check pod_url and terse_pod_url 2010-11-30 13:32:46 -08:00
Hexagon
c98f6f21c8 config spec now makes sense 2010-11-30 22:27:19 +01:00
Hexagon
4fa3e801a8 Added rake task to check pod_url and terse_pod_url 2010-11-30 20:48:55 +01:00