diaspora/spec
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
..
config Replace APP_CONFIG[:terse_pod_url] with uri object. 2010-12-10 14:29:19 +01:00
controllers moar tests for services 2010-12-09 19:29:25 -08:00
fixtures profile now knows about three images sizes, even in federation case 2010-11-30 13:40:41 -08:00
helpers Hopefully cut down the stream rendering time by memoizing the new comment form 2010-12-07 09:28:11 -08:00
javascripts shift+enter submits new messages/comments 2010-12-07 21:30:29 -08:00
lib added a test for the converter rake task 2010-12-09 19:29:25 -08:00
mailers Add administrative mail method 2010-12-01 11:20:10 -08:00
models Replace APP_CONFIG[:terse_pod_url] with uri object. 2010-12-10 14:29:19 +01:00
factories.rb moar tests for services 2010-12-09 19:29:25 -08:00
helper_methods.rb MS RS Get the fake queue working when it's nested, and push local dispatch onto the queues 2010-12-04 19:36:22 -08:00
misc_spec.rb MS RS Get the fake queue working when it's nested, and push local dispatch onto the queues 2010-12-04 19:36:22 -08:00
spec_helper.rb Fix a couple local-posting specs 2010-12-04 23:38:31 -08:00