Sam
97373535c8
A regression here worries me too much
2014-05-14 11:27:29 +10:00
Claus Strasburger
b53248178b
Added `openssl_verify_mode` parameter for action_mailer.
...
- parameter in `environments/production.rb`
- documentation & default value (nil) in `discourse_defaults.conf`
2014-05-08 22:21:36 +02:00
Sam
7e7c4efcc0
FEATURE: on initial boot hint users on how to get admin
2014-03-24 18:03:39 +11:00
Sam
76c7d42027
require rbtrace in development cause it is handy
2014-03-18 15:22:53 +11:00
Stephan Kaag
f12925887c
Drop Rails3 support
2014-02-17 19:42:08 +01:00
Sam
73aca9063d
FEATURE: allow overriding server static asset if needed
2014-02-17 10:44:37 +11:00
Robin Ward
18e719b0af
In development mode, if an avatar is missing just serve up a placeholder
2014-01-17 11:47:23 -05:00
Vikhyat Korrapati
6d50504a83
Make SMTP authentication mechanism configurable.
2014-01-06 18:19:42 +05:30
illspirit
1b2e3bf141
Fix smtp settings, added password
2013-12-20 20:50:17 -05:00
Sam
bac2d21382
strip out nil settings from config
2013-12-20 19:12:08 +11:00
Sam
b312b4d563
clean up config to use global settings
2013-12-20 15:12:23 +11:00
Sam
66afabcf4c
stop messing with asset pipeline defaults
...
stripping postfixes is wasteful and uneeded. It messes up our build
2013-12-19 12:33:17 +11:00
Sam
ffffee3ae1
IMPORTANT - removed all sample files
...
This is very likely to cause merge conflict, it is for the greater good
Discuss at: http://meta.discourse.org/t/enough-with-the-sample-files/10351
From now on we use ENV to customise if needed
2013-12-18 16:46:37 +11:00
Sam
646cca3128
Good luck getting this updated everywhere, kicking myself really hard for allowing these stupid sample files
...
see: http://meta.discourse.org/t/enough-with-the-sample-files/10351
Our default sample setup was not minifying css or js causing js and css to be 2.5x larger than it needed
Anyone using my docker setup, please run a new bootstrap. Anyone else, apply diff manually.
2013-12-16 18:21:24 +11:00
Régis Hanol
78b2c5acff
use CDN_URL environement variable in production
2013-11-29 18:35:29 +01:00
Sam
9d13c6b931
we need this eager load thing
2013-11-26 15:16:56 +11:00
Régis Hanol
eb9c1f28ed
add debug mode to autospec
2013-11-05 11:01:17 +01:00
Sam
a2efe27a58
allow compile in profile.
2013-11-05 14:12:26 +11:00
Sam
8ff35d4b10
automatically make developers admins on account creation, this solves the user #1 problem
...
you can simply set the DEVELOPER_EMAILS to a comma delimited list and the users will be auto admined
2013-11-02 10:26:02 +11:00
Faraz Yashar
69460b8f9b
Remove best standards support for Rails 4 since it's been removed from ActionDispatch
2013-10-17 15:36:18 -04:00
Sam
3d647a4b41
remove rack cache, it has been causing trouble
...
instead implement an aggressive anonymous cache that is stored in redis
this cache is sitting in the front of the middleware stack enabled only in production
TODO: expire it more intelligently when stuff is created
2013-10-16 16:39:18 +11:00
Cyril Rohr
a7b8481c8f
Allow to set SMTP settings via environment variable.
2013-10-08 15:48:57 +01:00
Sam
9c6c0f2a3d
enable eager loading in profile mode
...
correct bench script
2013-09-10 16:22:58 +10:00
Sam
3d9496f5d3
disable compilation in profile mode, you must precompile
2013-09-10 16:02:16 +10:00
Sam
5b08f73561
give god rights of impersonation to developers, must be edited into the production.rb config file
2013-09-05 10:27:34 +10:00
Sam
22f2a0c1f4
update rails 4, use log level info in profile for better accuracy
2013-09-04 09:39:16 +10:00
Sam
b41fa4988a
update rails 4
...
ensure you clear the tmp/cache folder on each bench (so results are correct, there is an incompat upgrade)
add facter gem which will be used to collect hardware data from the bencher
2013-08-29 21:23:00 +10:00
Sam
1d74cc60a1
don't try sending emails out in profile mode
2013-08-19 11:33:38 +10:00
Sam
9e4b0df7ff
69 specs fail in rails 4 now ...not too bad
2013-07-22 15:07:20 +10:00
Sam
5086f48784
reloading classes is just trouble in test, lets not do that so spork is squeaky clean and happy.
2013-07-08 12:10:47 +10:00
Neil Lalonde
ceee8ed63b
Put back mailcatcher config in development.rb
2013-07-05 11:32:54 -04:00
Robin Ward
6364fc74ef
Merge branch 'rewrite_update_alls' of git://github.com/stephankaag/discourse-1 into stephankaag-rewrite_update_alls
...
Conflicts:
app/services/spam_rules_enforcer.rb
2013-07-03 11:13:56 -04:00
Robin Ward
8c4aac7f94
Migrate all jasmine specs to Qunit. Removed Jasmine.
2013-06-19 18:18:35 -04:00
Robin Ward
93cdb97b46
OOPS: Left a testing setting of precompile in development on. Turned it back off.
2013-06-05 15:33:50 -04:00
Robin Ward
7d089fdfb5
FIX: Compile templates properly with the latest handlebars
2013-06-05 14:00:02 -04:00
Michael Brown
6257c48613
Updated documentation
...
* added RVM option for single-user install
* clarified Web Server options
* bluepill sample config: create socket directory if it doesn't exist
* add multisite.yml.production-sample
* rename production.sample.rb (OCD)
* make two database.yml samples (one for dev, one for prod)
* fixed travis build (database.yml.sample renamed)
* fix other references to database.yml.sample
* clean up 'rvm requirements' instructions as per @mpapis
2013-05-25 00:07:45 -04:00
Sam
e91ed83586
the private message stream is different to normal streams, improving the ui a bit and collapsing conversations
2013-05-20 16:44:06 +10:00
slainer68
467c76b2c0
Implements support for rack-cors for API JavaScript access in end-user browser
2013-04-22 11:16:58 +02:00
Sam
8367951000
sprockets upgrade
...
stop bundling all js files in dev, replace with turbo boosted serving of assets
2013-04-18 16:33:25 +10:00
Sam
8014d7fd25
correct rack::cache so it always punches through users with auth cookies
2013-04-12 21:59:52 +10:00
Sam
92e15ff4ef
comment re cdn
2013-04-11 20:49:47 +10:00
Sam
850b042cab
introduce rack:cache as a default, so users don't need to configure apache or nginx
...
under rack cache we are able to serve 620reqs a second per thin (on my machine) before it 12 (on my machine)
reorganised so mini profilers can be cleanly disabled from config file
added caching for categories index
move production.rb to production.sample.rb
2013-04-11 16:24:21 +10:00
Sam
f6ec8e01ec
debug assets for debugging assets ... set to 1 in my .rvmrc
2013-04-02 09:50:00 +11:00
Robin Ward
4e6b62b1f5
Much faster development mode reloading.
2013-04-01 14:32:24 -04:00
Karan Misra
5dfb04e4b3
Convert a lot of :a => b to a: b and bring peace to the world
2013-03-25 05:07:36 +05:30
Sam
40b2f0f7d9
update better errors
...
allow me to pass a special IP address in dev mode so I can debug ( set TRUSTED_IP )
2013-03-23 03:16:49 -07:00
Sam
1a20291ff4
mini profiler and am serializer update
2013-03-16 15:56:16 -07:00
Sam
a0bdbe046a
don't try to load airbrake if there is no config for it
2013-03-11 16:59:21 -07:00
Sam
22a4580df5
added profile environment for perftools profiling (1.9.3 only)
2013-03-10 17:21:56 -07:00
Gosha Arinich
cafc75b238
remove trailing whitespaces ❤️
2013-02-26 07:31:35 +03:00