Go MAEDA
f9e937f85a
Users without two-factor authentication enabled cannot sign out when two-factor authentication is required (#35087).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20949 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
1dcebf8ce0
Changes User.try_to_login to catch and log AuthSourceExceptions, and introduces User.try_to_login! replicating the original behavior (#34071).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@20547 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Toshi MARUYAMA
a82bf2c42a
fix source indent of AccountController
git-svn-id: http://svn.redmine.org/redmine/trunk@20087 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
8900eb6eb5
Backup codes for 2fa auth (#1237).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@19990 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
560bca344a
Adds two factor authentication support (#1237).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@19988 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Toshi MARUYAMA
ad97b5afec
remove spaces inside {} of AccountController
git-svn-id: http://svn.redmine.org/redmine/trunk@19902 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 years ago
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 years ago
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
07b3087fda
Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
57a4fedd34
Handles the case when an expired token is in the users session (#29781).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17601 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Jean-Philippe Lang
0c78056a69
Send emails asynchronously (#26791).
Custom async_* delivery methods are removed in favor of ActiveJob (Async by default).
git-svn-id: http://svn.redmine.org/redmine/trunk@17588 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Jean-Philippe Lang
0e362e84ab
Security notification on password recovery is empty (#28302).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17269 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
01085249ab
Fix: Strip whitespace from email addresses on lost password page (#27754).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17078 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
0bf1e4ee2d
Render register page on all non-POST requests to account#register (#25653).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16555 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
fee959675d
Only perform login action on explicit POST (#25653).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16554 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
b9ee00a8c8
Adds methods to User model to handle tokens.
git-svn-id: http://svn.redmine.org/redmine/trunk@16474 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Toshi MARUYAMA
6139e0033a
spelling fixes (#25495)
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
89daf0f16a
Password reset should count as a password change for User#must_change_passwd (#25253).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16374 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
9e1723c537
Redirect with token in session (#24416).
git-svn-id: http://svn.redmine.org/redmine/trunk@16287 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
124a459d55
Use the main menu for project related actions that support cross-project display.
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
43d8ab8288
Use safe_attributes for user preferences.
git-svn-id: http://svn.redmine.org/redmine/trunk@15688 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
c55dd52b07
Handle admin and login with safe_attributes.
git-svn-id: http://svn.redmine.org/redmine/trunk@15663 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
2457f5914d
Use .skip_before_action instead of .skip_before_filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@15656 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
a47eab8868
Let the mailer set the email content (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15267 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
5d70fce6ce
Security notifications when password or email adress is changed (#21421).
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15145 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
668570b6a2
Typo: s/creditentials/credentials/ (#21861).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@15132 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
f4c3700702
Adds the "Hide my email address" option on the registration form (#21500).
git-svn-id: http://svn.redmine.org/redmine/trunk@14976 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
703d8a4782
Use config.relative_url_root as the default path for session and autologin cookies (#21169).
Patch by Daniel Ritz.
git-svn-id: http://svn.redmine.org/redmine/trunk@14876 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
8369b6b133
Set autologin cookie as secure by default when using https (#20935).
git-svn-id: http://svn.redmine.org/redmine/trunk@14648 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
16cc9ec06a
Activate sudo mode after password based login (#20589).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@14635 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Toshi MARUYAMA
918a412fd4
use String#casecmp for case insensitive comparison (#20369)
Contributed by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@14484 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 years ago
Jean-Philippe Lang
2a7795ab52
Escape flash messages (#19117).
git-svn-id: http://svn.redmine.org/redmine/trunk@14016 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
a3a8fee8ad
Send password reset email to the email used in lost password form (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13888 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
000124f44f
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Toshi MARUYAMA
35cc911192
update copyright year (#15977)
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 years ago
Jean-Philippe Lang
a2f869b43e
Redirect to back_url or referer when clicking "Sign in" while already logged-in (#15926).
git-svn-id: http://svn.redmine.org/redmine/trunk@12705 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 years ago
Jean-Philippe Lang
5ee277fa22
Fixed that OpenID authentication fails with 422 error due to token verification (#15735).
git-svn-id: http://svn.redmine.org/redmine/trunk@12438 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 years ago
Jean-Philippe Lang
b764e39847
Option to force a user to change his password (#3872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12081 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 years ago
Jean-Philippe Lang
52af9a1766
Adds the email address to the flash message after registeration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11949 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 years ago
Jean-Philippe Lang
4bd874ab46
Adds a way for a registered user to get a new action email (#14228).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11946 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 years ago
Toshi MARUYAMA
5984adc3df
code layout cleanup AccountController#open_id_authenticate
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11539 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 years ago
Jean-Philippe Lang
d5ca514688
Adds autologin param in openid return_to url (#3371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11521 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 years ago
Jean-Philippe Lang
08ef201cec
Fixed that autologin is broken when using a custom cookie name (#13335).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11519 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 years ago
Jean-Philippe Lang
812da860b3
Adds token finder methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11374 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 years ago
Jean-Philippe Lang
f2fd78f7b8
Use POST instead of GET for logging out (#13022).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11289 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 years ago
Jean-Philippe Lang
e355a55e3c
Don't use && return.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11221 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 years ago