Florian Staudacher
6a9a0e61f9
adapt host-meta document to RFC 6415
2012-02-25 16:56:34 +01:00
Maxwell Salzberg
b09e76a0ce
introduce base_pod_uri, so we can support domains that use www and [bare] with webfinger
2012-01-17 17:34:42 -08:00
Raphael Sofaer
09ac50aaac
Let html photo view render for phones, get rid of duplicate host-meta view
2011-08-09 15:36:59 -07:00
Raphael Sofaer
e19fb6d0f8
Use authority instead of host in order to get the port as well.
2011-07-21 18:23:33 -07:00
Alec Leamas
c92f80b2eb
Cleaning up some paths.
...
Handling root_url if not ending w /, using http: for all cross-site
references.
2010-12-29 10:10:26 +01: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
Maxwell Salzberg
555542da31
remove extra slash
2010-12-15 12:01:20 -08:00
Maxwell Salzberg
f8c2f15bb1
use the full pod_url in the template
2010-12-15 11:48:13 -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
Hexagon
b0ff8f0f60
Mini refactor, removed terse_url function
2010-11-29 23:23:51 +01:00
Raphael
bad76d8cef
Use pod url in host-meta
2010-11-18 17:02:13 -08:00
Dorian
6ffc03a4c9
Big clean up: delete trailing whitespace
2010-09-26 12:48:40 -04:00
maxwell
016c8fa471
MS IZ taking out URL options in sockets helper. hopefully the websocket doesnt blow up
2010-08-10 14:11:41 -07:00
maxwell
b5f962c725
trying root path in host meta
2010-08-10 13:58:17 -07:00
maxwell
71612ba33d
changing some webfinger resources
2010-08-10 12:36:00 -07:00
maxwell
3d87c111df
webfinger is now not washington specific
2010-07-16 14:15:19 -07:00
maxwell
7e190047ec
IZ MS host
2010-07-16 11:14:26 -07:00
maxwell
4259dc7dfe
IZ MS changing end slash
2010-07-16 11:10:38 -07:00
maxwell
2dc6b5f46a
MS IZ small webfinger bug fixes
2010-07-15 17:02:36 -07:00
maxwell
cc712196a6
MS IZ small webfinger bug fixes
2010-07-15 16:54:46 -07:00
maxwell
720550189d
MS more cleanup
2010-07-15 10:59:36 -07:00
maxwell
f97218c005
MS IZ cleanup of pubsub stuff
2010-07-15 10:24:41 -07:00