summaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-4/+4
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 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
* Ajax Request Returns 200 but an error event is fired instead of success ↵Go MAEDA2019-02-051-2/+2
| | | | | | | | | (#30073). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Let admins unarchive the project when trying to access an archived project ↵Jean-Philippe Lang2018-12-021-0/+1
| | | | | | (#29993). git-svn-id: http://svn.redmine.org/redmine/trunk@17682 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Log exception's message when ActionView::MissingTemplate is raised (#26341).Go MAEDA2018-01-111-2/+2
| | | | | | | Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@17174 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't redirect anonymous users to the login form when module is disabled ↵Jean-Philippe Lang2017-06-261-0/+3
| | | | | | (#26145). git-svn-id: http://svn.redmine.org/redmine/trunk@16726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2017-06-261-13/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use regular #authorize method.Jean-Philippe Lang2017-06-261-1/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16724 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* redirect_to :back deprecated in Rails 5.Jean-Philippe Lang2017-06-031-7/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16596 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't call #head with a hash.Jean-Philippe Lang2017-06-011-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16588 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds methods to User model to handle tokens.Jean-Philippe Lang2017-04-041-3/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16474 e93f8b46-1217-0410-a6f0-8f06a7374b81
* spelling fixes (#25495)Toshi MARUYAMA2017-04-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Delete :issue_query from session instead of :query.Jean-Philippe Lang2017-03-141-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16402 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't redirect to lost password page after login (#13741).Jean-Philippe Lang2017-01-071-1/+1
| | | | | | Patch by Gregory Van der Steen. git-svn-id: http://svn.redmine.org/redmine/trunk@16151 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set user's localization before redirecting (#23346).Jean-Philippe Lang2016-08-311-1/+1
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@15775 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use render :text => "".Jean-Philippe Lang2016-07-211-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15731 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't pass conditions to #delete_all.Jean-Philippe Lang2016-07-161-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't generate URL from params.Jean-Philippe Lang2016-07-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15659 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .before_action instead of .before_filter.Jean-Philippe Lang2016-07-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup (#23054).Jean-Philippe Lang2016-06-151-0/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15534 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Security notifications when password or email adress is changed (#21421).Jean-Philippe Lang2016-02-051-0/+2
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix Non ASCII attachment filename encoding broken (MOJIBAKE) in Microsoft ↵Jean-Philippe Lang2016-01-091-1/+1
| | | | | | | | Edge Explorer (#21656). Patch by by Hang Xie. git-svn-id: http://svn.redmine.org/redmine/trunk@15013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Keep track of valid user sessions (#21058).Jean-Philippe Lang2015-10-241-29/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14735 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload issues custom values for bulk operations.Jean-Philippe Lang2015-10-231-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14730 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include helper instead of patching (#20508).Jean-Philippe Lang2015-10-191-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14693 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Open redirect vulnerability (#19577).Jean-Philippe Lang2015-09-131-8/+26
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@14560 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Require password re-entry for sensitive actions (#19851).Jean-Philippe Lang2015-06-191-0/+2
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@14333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add the ability to expire passwords after a configurable number of days ↵Jean-Philippe Lang2015-05-101-0/+1
| | | | | | | | (#19458). Patch by Holger Just and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@14264 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set a back_url when forcing new login after session expiration (#19655).Jean-Philippe Lang2015-05-091-2/+2
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@14245 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use named routes.Jean-Philippe Lang2015-03-101-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14070 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that #require_login should respond for other request types (#19325).Jean-Philippe Lang2015-03-101-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14069 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Error when adding user to group where he is already assigned (#18665).Jean-Philippe Lang2014-12-211-5/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13785 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Localisation not set correctly on authenticity token errors (#18499).Jean-Philippe Lang2014-11-291-0/+1
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13670 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Expire other sessions on password change (#17796).Jean-Baptiste Barth2014-09-161-1/+13
| | | | | | | Contributed by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@13412 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: The error flash message on session expiration is not in the language ↵Jean-Philippe Lang2014-09-131-3/+4
| | | | | | of the user but of the user of the previous request (#17023). git-svn-id: http://svn.redmine.org/redmine/trunk@13391 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't redirect to another suburi (#16530).Jean-Philippe Lang2014-07-051-12/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13213 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix non-ascii attachment file name get corrupted in IE11 (#16711)Toshi MARUYAMA2014-04-171-1/+1
| | | | | | Contributed by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@13101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Potentiel data leak in "Invalid form authenticity token" error screen (#16511).Jean-Philippe Lang2014-04-051-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13041 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that back_url=/ param is ignored (#16467).Jean-Philippe Lang2014-04-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13040 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed back url verification (#16466).Jean-Philippe Lang2014-03-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13018 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Trigger basic HTTP authentication only when Basic authorization header is ↵Jean-Philippe Lang2014-02-221-1/+1
| | | | | | present (#16107). git-svn-id: http://svn.redmine.org/redmine/trunk@12915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r12855.Jean-Philippe Lang2014-02-071-4/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds JS response support to #render_error (#15760).Jean-Philippe Lang2014-02-071-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redirect to back_url or referer when clicking "Sign in" while already ↵Jean-Philippe Lang2014-01-251-1/+4
| | | | | | logged-in (#15926). git-svn-id: http://svn.redmine.org/redmine/trunk@12705 e93f8b46-1217-0410-a6f0-8f06a7374b81