##// END OF EJS Templates
Search custom fields and journals with different queries to take advantage of indexes on text columns if present....
Search custom fields and journals with different queries to take advantage of indexes on text columns if present. git-svn-id: http://svn.redmine.org/redmine/trunk@13855 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13122:67c4936908e6
r13473:742895183aeb
Show More
30-redmine.rb
29 lines | 910 B | text/x-ruby | RubyLexer
Jean-Philippe Lang
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2....
r2430 I18n.default_locale = 'en'
Jean-Philippe Lang
Adds a custom i18n backend that lazily loads translations files....
r10616 I18n.backend = Redmine::I18n::Backend.new
Jean-Philippe Lang
Merged rails-4.1 branch (#14534)....
r13100 # Forces I18n to load available locales from the backend
I18n.config.available_locales = nil
Jean-Philippe Lang
Merged Rails 2.1 compatibility branch....
r1609
require 'redmine'
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346
Jean-Philippe Lang
Let the secret token be set in configuration.yml....
r9384 # Load the secret token from the Redmine configuration file
secret = Redmine::Configuration['secret_token']
if secret.present?
RedmineApp::Application.config.secret_token = secret
end
Toshi MARUYAMA
enable configuration of OpenIdAuthentication.store (#14060)...
r11619 if Object.const_defined?(:OpenIdAuthentication)
openid_authentication_store = Redmine::Configuration['openid_authentication_store']
OpenIdAuthentication.store =
openid_authentication_store.present? ?
openid_authentication_store : :memory
end
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 Redmine::Plugin.load
Jean-Philippe Lang
Restores plugin assets mirroring on startup, but it can now be disabled in configuration.yml....
r9379 unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
Redmine::Plugin.mirror_assets
end
Jean-Philippe Lang
Restores commits reverted when rails-4.1 branch was merged (#18174)....
r13122
Rails.application.config.to_prepare do
Redmine::FieldFormat::RecordList.subclasses.each do |klass|
klass.instance.reset_target_class
end
end