Jonne Haß
7a478704d5
just stop settingslogic from breaking rspec output for now
2012-09-26 18:54:14 +02:00
Jonne Haß
2f9dbdbd86
use self instead of AppConfig to query redis_url inside AppConfig
2012-09-18 15:52:57 +02:00
Jonne Haß
6c1a1ec6d2
it's enviroNment
2012-09-15 18:52:12 +02:00
Jonne Haß
9e264b5258
hotfix typo, thanks david
2012-09-15 18:28:43 +02:00
Jonne Haß
48dcccf7b3
Unify redis initialization
...
REDISTOGO_URL is now deprecated in favor of REDIS_URL which is supported by the redis gem too.
2012-09-15 18:23:22 +02:00
Steven Hancock
a8de3a5a3f
Rails.root and File.join cleanup
...
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00
Maxwell Salzberg
7d325cb29b
sad fix for stupid app config problem in development [ci skip]
2012-02-07 13:41:03 -08:00
Dennis Collinson
ff1cbb48cc
remove excess call to appconfi#setup
2012-02-06 17:42:01 -08:00
Dennis Collinson
3991903b56
MS DG DC Participate stream that has things bubble to the top
2012-02-03 17:23:57 -08:00
Jonne Haß
ebfc3de878
do not require newrelic or airbrake unless they are configured
2012-01-22 15:38:55 +01:00
Maxwell Salzberg
e461956a97
allow custom app_name prefixes for newrelic
2012-01-20 12:25:05 -08: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
Maxwell Salzberg
c45057bd94
update settings logic, and heroku rake task
2012-01-13 13:59:34 -08:00
Maxwell Salzberg
408bafca09
add/refactor normalize_pod_services so configured services is always defined regardless if SERVICES are set up
2012-01-12 15:04:14 -08:00
Maxwell Salzberg
cedc49bf09
MS DC; oauth keys are now pulled out of application.yml to be simplier. incldue newrelic as heroku expects it, without affecting people who do not use newrelic. If you do use new relic in production, you have to put your newrelic api key in application.yml
2012-01-05 17:31:38 -08:00
Maxwell Salzberg
43090d38eb
AppConfig in heroku can now read array variables
2012-01-03 16:18:51 -08:00
Maxwell Salzberg
a7d59ce115
add EnviromentConfiguration to keep track of heroku specfic enviroment hacks
2012-01-03 16:01:21 -08:00
Jonne Haß
1e8e0b55fd
paranthesis ftw, sorry for the noise
2012-01-02 21:17:11 +01:00
Jonne Haß
67b2af0da6
check if ca_file is commented out completly
2012-01-02 21:07:46 +01:00
Jonne Haß
2817fb95de
do not use example config if there's a custom one
2011-12-22 02:03:41 +01:00
Loïc Guitaut
a739c4f308
Ability to mount resque jobs monitoring directly into Diaspora* routes
...
As resque-web is considered as a debug tool, route is disabled for
production by default, and can be enabled via the `mount_resque_web` key
in application.yml.
2011-09-16 02:40:57 +02:00
danielgrippi
4da9425480
fix pod_uri bug in app_config
2011-09-14 18:07:53 -07:00
danielgrippi
2f9ea6cd43
try accessing env var if present in app_config
2011-09-14 18:05:40 -07:00
danielgrippi
57079ef5cd
set ENV['HEROKU'] explicitly in the heroku:config task
2011-09-14 18:05:40 -07:00
danielgrippi
f55a086752
edit app+_config to look for heroku's ENV['STACK'] config var; load settings from ENV hash instead of application.yml if on heroku
2011-09-14 18:05:40 -07:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
Jonne Hass
4b0c45d895
rescue unmeaningful exception from settingslogic if the namespace doesn't exists and replace it with meaningful error message
2011-09-12 01:05:49 +02:00
Jonne Hass
a614985d83
made single process mode configuration more consistent
...
* SINGLE_PROCESS_MODE environment variable takes precedence over
application.yml setting
* SINGLE_PROCESS environment variable takes precedence over
SINGLE_PROCESS_MODE environment variable to be backward compatible
2011-09-11 13:54:14 +02:00
Maxwell Salzberg
77cb93be24
fix up the inviter sidebar
2011-08-08 17:53:04 -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
Ilyaaaaaaaaaaaaa Zhitomirskiy
bd1c8efe54
wip integration servers
2011-07-21 18:23:33 -07:00
Maxwell Salzberg
408690f0fa
remove stray puts
2011-07-04 13:57:23 -07:00
Maxwell Salzberg
2f1118f95f
refactor AppConfig to guess what services are configured, and clean up the services view for a user. also, add a box so people can realize what they can connect
2011-07-04 13:54:05 -07:00
Raphael Sofaer
d1a149f9f6
Some stuff to not need an application.yml in CI
2011-06-29 11:52:13 -07:00
Raphael Sofaer
1af945de11
Merge branch 'master' into oauth
...
Conflicts:
Gemfile
Gemfile.lock
app/models/app_config.rb
app/models/post.rb
db/schema.rb
public/stylesheets/sass/application.sass
spec/lib/webfinger_spec.rb
2011-06-28 17:13:38 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
d46f3a8d1f
fixed every spec but the activity stream photos controller spec
2011-06-23 15:22:36 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
052adc3213
Fix authorizations controller and app_config specs, require 2048 bit keys. We're now using config/application.yml.example in the test env.
2011-06-23 14:20:53 -07:00
Ilya Zhitomirskiy
56525c9f4f
made a slightly nicer heads up about nil ca_file
2011-06-09 16:28:45 -07:00
Ilya Zhitomirskiy
71dd8dc7f3
Merge branch 'master' of github.com:diaspora/diaspora
...
Conflicts:
app/models/app_config.rb
2011-06-09 15:51:59 -07:00
Raphael Sofaer
e1fb5846b6
Use the example config file if travis
2011-06-09 15:45:01 -07:00
Raphael Sofaer
ac8587290a
Throw in a travis config file to try using travis
2011-06-09 15:31:16 -07:00
Ilya Zhitomirskiy
a03423309d
fixed the getting started step 3, ignore the CA certs in developement is now in initializer, changed the 'login' -> 'connect' [to facebook] png
2011-06-09 15:12:35 -07:00
Ilya Zhitomirskiy
b575983c22
WIP certs
2011-06-08 18:46:38 -07:00
Ilya Zhitomirskiy
808754f8bd
added the cert bundle for facebook http things
2011-06-08 18:20:47 -07:00
Sarah Mei
828cbab792
Keep pod_url and pod_uri settings in sync.
2011-05-28 20:13:38 -07:00
Sarah Mei
31a5ef19de
Switching to settingslogic to manage our configuration. THE FILE FORMAT HAS CHANGED. OLD APP.YML AND APP_CONFIG.YML FILES WILL NOT WORK ANYMORE.
...
Two important differences:
1. The app only looks in one file for settings: config/application.yml. If you want to override something, do it in that file. It is gitignore'd. If config/application.yml does not exist, or exists but is in the old format, you'll get a nice friendly set of instructions on how to convert your old file.
2. script/server settings are no longer in application.yml. They have their own settings file - copy config/script_server_config.yml.example to config/script_server_config.yml. This is also gitignore'd. script/server will print a message and exit if that file doesn't exist.
2011-05-28 19:44:40 -07:00