diaspora/config/initializers
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
..
_load_app_config.rb Replace APP_CONFIG[:terse_pod_url] with uri object. 2010-12-10 14:29:19 +01:00
_load_services.rb Fix for build breakage 2010-10-25 21:38:53 -07:00
_mongo.rb adding warning to startup about making sure mongo is bound to localhost 2010-11-29 14:50:38 -08:00
backtrace_silencers.rb Add or later to license notice 2010-10-07 16:25:34 -07:00
carrierwave.rb Add or later to license notice 2010-10-07 16:25:34 -07:00
check_session_secret.rb added a generate:secret_token task, and added an initializer to generate one if the file does not exist 2010-09-27 15:29:55 -07:00
devise.rb Warn rather than failing if there is no smtp sender address 2010-11-04 16:55:15 -07:00
git_info.rb Fallback to static version data if git unavailable. 2010-10-10 16:38:01 +02:00
inflections.rb Add or later to license notice 2010-10-07 16:25:34 -07:00
json_patch.rb JSON::Pure::Generator::State fix when using resque. huge thanks to this post: http://blog.ethanvizitei.com/2010/11/json-pure-ruins-my-morning.html 2010-12-04 13:16:30 -08:00
locale.rb Cleaning up revert of #619 pull 2010-12-07 22:20:26 +01:00
mailer_config.rb Replace APP_CONFIG[:terse_pod_url] with uri object. 2010-12-10 14:29:19 +01:00
mime_types.rb first commit 2010-11-09 15:29:43 -08:00
omniauth.rb we need to ask to publish on peoples wall...this was working because we all installed it with minifb which asked for everything 2010-11-08 01:26:11 -08:00
resque.rb Revert "Revert redis merge to fix bugs on master" 2010-12-02 15:33:26 -08:00
rspec_generator.rb Add or later to license notice 2010-10-07 16:25:34 -07:00
session_store.rb Take httponly off of session cookies so that the websocket works in firefox 3.x. XSS attacks would now be easier to exploit if found. A possible replacement for opening this security hole is to set a new cookie value for Firefox users that stores a randomly generated key which would give a websocket with that key access. 2010-11-04 15:17:28 -07:00
setup_mail.rb commented out the email interceptor 2010-10-22 10:37:04 -07:00
will_paginate.rb made pagination translatable 2010-11-26 21:20:28 +01:00