summaryrefslogtreecommitdiffstats
path: root/config/environment.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen_string_literal for all files under config directory (#26561).Go MAEDA2019-03-171-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17982 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure we don't boot with plugins in vendor/plugins.Jean-Philippe Lang2012-05-011-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9600 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-251-58/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Bundler for gem management (#5638).Jean-Philippe Lang2012-02-191-6/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8904 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby1.9: move setting Encoding.default_external after boot (#4050, #4796)Toshi MARUYAMA2012-02-101-3/+3
| | | | | | | | "ruby test/functional/repositories_git_controller_test.rb" fails on Japanese Windows and Mingw Ruby 1.9.3p0 because "Rails" is not defined. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8833 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced ruby-net-ldap with net-ldap 0.2.2 gem.Jean-Philippe Lang2012-02-021-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8751 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby1.9: set Encoding.default_external on only Rails2 (#4050, #4796)Toshi MARUYAMA2012-01-281-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8713 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed dependency with monkey-patched rubytree.Jean-Philippe Lang2011-12-141-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8214 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 2.3.14 with Prototype 1.7 (#9609).Jean-Philippe Lang2011-11-191-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update CodeRay version to 1.0 final (#4264).Etienne Massip2011-10-081-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from config/environment.rb.Toshi MARUYAMA2011-08-191-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6463 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 1.9: set Encoding.default_external = 'UTF-8' (#4050).Toshi MARUYAMA2011-08-191-0/+4
| | | | | | | Without this setting, Redmine cannot boot on Japanese Windows nor on non UTF-8 locale Linux (e.g. LANG=en_US.ISO-8859-1). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6461 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from config/environment.rb.Toshi MARUYAMA2011-08-181-5/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds email notifications support for news comments (#2074).Jean-Philippe Lang2011-03-041-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5003 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updgraded Rails to 2.3.11 (#6887).Jean-Philippe Lang2011-02-211-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4904 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an application configuration file: config/configuration.yml (#7408).Jean-Philippe Lang2011-01-231-1/+1
| | | | | | Email delivery settings that were stored in config/email.yml should be moved to this new configuration file. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4752 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Coderay upgraded to 0.9.7 (#5344).Jean-Philippe Lang2011-01-221-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4739 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to cache textile rendering (off by default).Jean-Philippe Lang2010-02-061-1/+1
| | | | | | | | * it uses ActionController cache store which is MemoryStore by default and can be configured with config.action_controller.cache_store * macro processing was moved out of textile rendering so that it doesn't get cached * no noticeable improvement is expected for small portions of text, so only texts larger than 2KB are cached git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3372 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 2.3.5Jean-Philippe Lang2009-12-231-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3234 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted Menus to a Tree structure to allow submenus.Eric Davis2009-11-251-0/+2
| | | | | | | | | | | | | | | | | * Bundle the rubytree gem * Patched RubyTree's TreeNode to add some additional methods. * Converted the menu rendering to walk the Tree of MenuItems to render each item * Added a menu option for :parent_menu to make this menu a child of the parent * Added a bunch of tests * Made MenuItem a subclass of Tree::TreeNode in order to use it's methods directly * Changed the exceptions in MenuItem#new to be ArgumentErrors instead of the generic RuntimeError #4250 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3090 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow a config/additional_environment.rb file to customize the ↵Eric Davis2009-11-081-0/+6
| | | | | | Rails::Initializer. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3018 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgraded to Rails 2.3.4 (#3597)Eric Davis2009-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ran the Rails upgrade * Upgraded to Rails Engines 2.3.2 * Added a plugin to let Engines override application views. * Converted tests to use the new classes: ** ActionController::TestCase for functional ** ActiveSupport::TestCase for units * Converted ActiveRecord::Error message to a string. * ActiveRecord grouping returns an ordered hash which doesn't have #sort! * Updated the I18n storage_units format. * Added some default initializers from a fresh rails app * Changed the order of check_box_tags and hidden_field_tags. The hidden tag needs to appear first in Rails 2.3, otherwise it will override any value in the check_box_tag. * Removed the custom handler for when the cookie store is tampered with. Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not load the data from it when it's been tampered with (e.g. no user login). * Fixed mail layouts, 2.3 has problems with implicit multipart emails that use layouts. Also removed some custom Redmine mailer code. * Fixed a bug that occurred in tests where the "required" span tag would be added to the :field_status translation. This resulted in an email string of: <li>Status<span class="required"> *</span><span class="required"> *</span> Instead of: <li>Status: New</li> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds email notification on wiki changes (#413). It's disabled by default and ↵Jean-Philippe Lang2009-05-171-1/+1
| | | | | | can be enabled in application settings. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2749 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added observers to watch model objects for mail delivery instead of calling ↵Eric Davis2009-03-281-1/+1
| | | | | | | | | | | | | | | | | | | Mailer. * Added an IssueObserver to watch when Issues are created * Added a JournalObserver to watch when Journals are created (Issue updates) * Added a NewsObserver for News items. * Added a DocumentObserver for Document notifications. * Setup IssuesController#new to use the IssueObserver. * Setup IssuesController#edit to use the IssueObserver. * Setup IssuesController#bulk_edit to use the JournalObserver. * Removed the Mailer call in Changeset#scan_commit_for_issue_ids, the JournalObserver will handle it. * Removed Mailer calls in MailHandler in favor of the Observers. #2659 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-211-6/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed the bundled ruby-openid gemEric Davis2009-02-121-2/+0
| | | | | | | | | | | | * The open_id_authentication plugin will require the gem automatically so it doesn't need to be added to environment.rb * Changed the version requirement on the open_id_authentication to match the latest stable version. Rails config.gem looks for a directory named after that specific version and will not load newer versions. #699 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2452 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unpacked OpenID gem. #699Eric Davis2009-02-111-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2437 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 2.1.2Jean-Philippe Lang2008-12-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2102 e93f8b46-1217-0410-a6f0-8f06a7374b81
* D'oh...winterheart2008-11-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1985 e93f8b46-1217-0410-a6f0-8f06a7374b81
* refreshing vn.yml (#2125)winterheart2008-11-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1984 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ooops, wrong.winterheart2008-11-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1982 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Intial support Vietnamese language (#2125), thanks to Kỳ Anh Huỳnh for workwinterheart2008-11-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r1903.Jean-Philippe Lang2008-09-241-2/+0
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1904 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes back_url in login filter (#1900).Jean-Philippe Lang2008-09-241-0/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1903 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Email delivery configuration moved to an unversioned YAML file ↵Jean-Philippe Lang2008-07-041-20/+4
| | | | | | | | (config/email.yml, see the sample file) (#1412). Email delivery is disabled. It's automatically turned on when configuration is found. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1625 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.1 compatibility branch.Jean-Philippe Lang2008-07-041-30/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New rake task name in comments for creating sessions migration (#1520).Jean-Philippe Lang2008-06-271-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Forces Redmine to use rails 2.0.2 gem when vendor/rails is not present.Jean-Philippe Lang2008-04-271-0/+3
| | | | | | | | If you don't want to upgrade rails gem, freeze Redmine by running the following command in your Redmine directory: rake rails:freeze:edge TAG=rel_2-0-2 git-svn-id: http://redmine.rubyforge.org/svn/trunk@1366 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Load Engines plugin if available (closes #180).Jean-Philippe Lang2008-03-211-0/+7
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1281 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes #780: Redmine fails to start with a const_missing error on ↵Jean-Philippe Lang2008-03-051-1/+1
| | | | | | Redmine::MenuManager::MenuItem::GLoc (occurs when a Redmine plugin is loaded before GLoc). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1187 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.0 compatibility changes.Jean-Philippe Lang2007-12-101-0/+1
| | | | | | Compatibility with Rails 1.2 is preserved. git-svn-id: http://redmine.rubyforge.org/svn/trunk@975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: CSV constant warningJean-Philippe Lang2007-11-111-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf ↵Jean-Philippe Lang2007-11-051-1/+4
| | | | | | merged into IssuesController#index git-svn-id: http://redmine.rubyforge.org/svn/trunk@887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redmine acts_as_* plugins moved to vendor/plugins.Jean-Philippe Lang2007-09-291-5/+0
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Native eol property set on config/*Jean-Philippe Lang2007-09-271-16/+16
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@772 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search engines now supports pagination.Jean-Philippe Lang2007-09-271-0/+2
| | | | | | Results are sorted in reverse chronological order. git-svn-id: http://redmine.rubyforge.org/svn/trunk@766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Basic plugin support.Jean-Philippe Lang2007-09-231-0/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@752 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added mail notification when a new message is posted in the forums.Jean-Philippe Lang2007-05-141-1/+2
| | | | | | | | | | Only users who "watch" the board receive notifications. To watch a board, go to the board and click on the "Watch" link. Notifications are sent by MessageObserver observer. GLoc was modified to use the mail template without language suffix when translated template (with language suffix) doesn't exist. Usefull when there's no hard coded text in the mail tempate. git-svn-id: http://redmine.rubyforge.org/svn/trunk@531 e93f8b46-1217-0410-a6f0-8f06a7374b81