Benjamin Neff
49b63693c9
Fix i18n fallbacks
...
Fallbacks are set in config/initializers/locale.rb and this settings
conflicts with the fallbacks set there.
Fixes #7860
closes #7861
2018-09-08 02:25:36 +02:00
Benjamin Neff
0e526f9221
Bump jasmine
...
Disable random tests for now, many tests fail when this is true (which
is now default)
2018-04-12 02:41:56 +02:00
Benjamin Neff
e0b4bff6a6
Bump fixture_builder
2018-04-12 02:41:55 +02:00
Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Benjamin Neff
04c3880d79
Use config.eager_load_paths in production
...
See http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#autoloading-is-disabled-after-booting-in-the-production-environment
2017-08-12 17:04:00 +02:00
Benjamin Neff
3d7061b240
Update configs for rails 5
...
Used `rails app:update`
2017-08-12 15:39:19 +02:00
Benjamin Neff
a797f2d27b
Don't precompile all themes for tests
...
And sprockets 3 also caches files in tmp/cache/assets/sprockets
2017-07-30 05:57:19 +02:00
Benjamin Neff
7ee8bfbac4
Precompile poltergeist_disable_transition.css for tests
2017-07-30 05:01:39 +02:00
Benjamin Neff
29a7f151b6
Use config.assets.quiet instead of quiet_assets gem
...
The quiet_assets gem doesn't support rails 5, but sprockets 3 now has a
config.assets.quiet option, which deprecates the quiet_assets gem. But
the logging gem has a no-op silence method, that's why the quiet option
doesn't work out-of-the-box. I added a little hack to use the silence
method from ActiveSupport, which is also used from the original rails
logger.
2017-07-30 04:47:16 +02:00
Steffen van Bergerem
9eb0dddb1a
Speed up asset serving in development
...
closes #6702
2016-02-16 11:19:04 +01:00
Benjamin Neff
2df4a1cc5c
add logfile-appender in test environment
...
closes #6175
2015-07-09 09:02:04 +02:00
Benjamin Neff
ac96232d85
use logging gem for better logging with class name and log-level
2015-05-22 02:53:19 +02:00
Jonne Haß
c9729d66d6
Explicitly set log level for production environment
2015-03-02 01:34:50 +01:00
Jonne Haß
3a8302ff7f
serve_static_assets was renamed to serve_static_files
2015-02-27 16:58:38 +01:00
Jonne Haß
d75632401b
make everything boot again
2014-08-23 16:34:00 +02:00
Jonne Haß
1e09814b13
Enable Rails autoloading in rake tasks
...
Then environment task disables, eager loading breaks with Devise
and requiring all needed files would be a mess
2014-05-26 23:58:31 +02:00
Ruxton
c8a0c81b6a
Updating queries for the stream to be faster
2014-02-07 14:23:19 +08:00
Jonne Haß
ac147cc9f4
Refactor config/ directory
...
* Get rid of early pathname requirement
* Use require_relative where approciate
* Drop unused files
* Imported new application.rb, environment.rb and environments/* from fresh Rails app
* Cleaned up boot.rb
* Load config in boot.rb
* Deduplicate environments/integration*.rb
* Move username blacklist into defaults.yml
* Ruby 1.9 Hash syntax everywhere
* Reorganize lib/diaspora/markdownify to match conventions
* Get rid of full path requires where possible
* Add dummy content to production section diaspora.yml.example to prevent warning
* Drop sqlite? method
* Move postgres? method into ConfigurationMethods
* Drop token authentication from User
2013-05-19 18:54:54 +02:00
Jonne Haß
234b76a936
properly integrate asset_sync
2012-09-26 20:23:45 +02:00
Florian Staudacher
0ce411c11c
fix startup error for integration envs
2012-06-15 15:30:49 +02:00
Maxwell Salzberg
900067ba1e
disable the mass assignment thing until we deal with it [ci skip]
2012-05-15 13:35:22 -07:00
Maxwell Salzberg
ab2e740ca2
upgrade to Rails 3.2.3
2012-05-14 21:53:16 -07:00
Jonas Lundqvist
436ec039c8
remove debug_rjs reference
2012-05-08 11:20:42 +02:00
Dennis Collinson
8cc5f86298
reverting some test env munging
...
max isn't a princess
learn2git
learn2bash
lulz
2012-04-19 14:59:33 -07:00
Dennis Collinson
8386179f16
max, you're a princess, WIP
2012-04-19 11:15:59 -07:00
Dennis Collinson
7831f9cad3
Max Salzberg was wrong.
...
/cc @joshsusser @groupon @dhh
2012-04-18 18:04:38 -07:00
Maxwell Salzberg
c9e3852de8
oembed mostly works
2012-04-18 16:12:56 -07:00
Dennis Collinson
755ff52452
turn asset pipeline debugging off
...
there was a collision with the aspects-dropdown view in the new
publisher, also
it takes too much time with it on
2012-03-28 19:01:44 -07:00
danielgrippi
f72f1d4059
more progress
2012-03-27 18:07:22 -07:00
danielgrippi
06936bcdce
stylesheets are basically now being served from sprockets
2012-03-27 18:07:20 -07:00
danielgrippi
5c431d933f
MS DG down to four failures
2012-03-21 13:50:24 -07:00
Jonne Haß
3c23364fbc
refactor locale initialization and selection a bit
2012-03-21 19:25:47 +01:00
Maxwell Salzberg
1f4e255f57
fix logging to work great with non-persisted objects
2012-02-17 14:59:42 -08:00
Maxwell Salzberg
ab727fc846
federation logger now in place.
2012-02-16 17:58:15 -08:00
Maxwell Salzberg
939383ef32
You can now use rake assets:precompile to upload all of your static assets to s3. This uses your prexisiting settings in AppConfig for s3. then, start your server with ASSET_HOST={cdn_hostname} remember to include https and no trailing slash
2012-01-25 11:22:45 -08:00
Maxwell Salzberg
5b947db0d7
remove a couple of stray things I mistakenly -am -ed in. also, I am a jerk
2012-01-22 23:07:26 -08:00
Maxwell Salzberg
25a15259bc
explicitly require airbrake middleware if it is configured.... i should not have to do this however
2012-01-22 11:06:18 -08:00
Maxwell Salzberg
7cafac8c05
I should really start using autosave-on-lose-focus in vimi [ci skip]
2012-01-18 18:03:15 -08:00
Maxwell Salzberg
08adcf3e3e
blarg. ActionDispatch::Static isnt always there. took out the option so people can run their ssl pods correctly for now
2012-01-18 17:27:23 -08:00
Maxwell Salzberg
1b3cdbb78a
Revert "add a circumvent_ssl_requirement option to application.yml.example; sending out a mail to diaspora-dev for more info"
...
This reverts commit ed45789403 .
2012-01-18 16:52:13 -08:00
Maxwell Salzberg
ed45789403
add a circumvent_ssl_requirement option to application.yml.example; sending out a mail to diaspora-dev for more info
2012-01-18 15:50:22 -08:00
Maxwell Salzberg
18e895c247
include Rack::SSL to upgrade all requests to ssl
2012-01-18 15:09:08 -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
Jonne Haß
c0e4fa831a
fix syntax error in production.rb
2012-01-05 20:17:30 +01:00
Maxwell Salzberg
0199949f3c
move analytics to initializer, thx MrZYX
2012-01-05 10:55:29 -08:00
Maxwell Salzberg
5a0f948a85
better file requires in production.rb
2012-01-05 00:02:59 -08:00
Maxwell Salzberg
fdea2f94ff
remove icky analytics code from layouts, move to middleware
2012-01-04 23:54:48 -08:00
Maxwell Salzberg
9cdfea02b0
add the GC profiling option for newrelic for 1.9.2; see: http://newrelic.com/docs/ruby/ruby-gc-instrumentation
2012-01-04 22:28:18 -08:00
Maxwell Salzberg
85e51a6dd7
wip
2011-10-05 12:06:19 -07:00
Maxwell Salzberg
b5c3f2c615
wip
2011-10-03 15:22:14 -07:00