Jean-Philippe Lang
|
4cd22dcc55
|
Keep track of valid user sessions (#21058).
git-svn-id: http://svn.redmine.org/redmine/trunk@14735 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-10-24 10:15:22 +00:00 |
|
Jean-Philippe Lang
|
11bce09825
|
Typo "coma" (#20551).
Patch by budo kaiman.
git-svn-id: http://svn.redmine.org/redmine/trunk@14712 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-10-20 18:26:28 +00:00 |
|
Jean-Philippe Lang
|
141c83bdc7
|
WARNING: Can't mass-assign protected attributes for User (#20490).
git-svn-id: http://svn.redmine.org/redmine/trunk@14550 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-09-12 11:11:40 +00:00 |
|
Jean-Philippe Lang
|
ba61b13008
|
Prevent roles loading on each call to User#managed_roles for admins.
git-svn-id: http://svn.redmine.org/redmine/trunk@14328 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-06-17 18:36:38 +00:00 |
|
Jean-Philippe Lang
|
ed9f00178c
|
Ability to limit member management to certain roles (#19707).
git-svn-id: http://svn.redmine.org/redmine/trunk@14293 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-05-31 07:16:23 +00:00 |
|
Jean-Philippe Lang
|
b688214ce0
|
Column 'address' in where clause may be ambiguous (#19485).
git-svn-id: http://svn.redmine.org/redmine/trunk@14284 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-05-30 08:23:03 +00:00 |
|
Jean-Philippe Lang
|
6659aad3ef
|
Adds a role setting that viewing all or own time entries (#8929).
git-svn-id: http://svn.redmine.org/redmine/trunk@14275 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-05-30 07:40:57 +00:00 |
|
Jean-Philippe Lang
|
738ecf1365
|
Test broken by r14265 (#19458).
git-svn-id: http://svn.redmine.org/redmine/trunk@14266 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-05-10 12:57:16 +00:00 |
|
Jean-Philippe Lang
|
c8fb0956d1
|
Code cleanup (#19458).
git-svn-id: http://svn.redmine.org/redmine/trunk@14265 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-05-10 10:30:10 +00:00 |
|
Jean-Philippe Lang
|
51f7060aa8
|
Add the ability to expire passwords after a configurable number of days (#19458).
Patch by Holger Just and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@14264 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-05-10 10:26:55 +00:00 |
|
Jean-Philippe Lang
|
76e7025f07
|
Workaround for timestamps rounding issues with Rails4.2 and mysql5.7 that may kill user session after password is changed (#17460).
git-svn-id: http://svn.redmine.org/redmine/trunk@14011 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-02-15 09:09:35 +00:00 |
|
Jean-Philippe Lang
|
e3618bdbec
|
Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-01-17 14:14:12 +00:00 |
|
Jean-Philippe Lang
|
000124f44f
|
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-01-11 09:09:50 +00:00 |
|
Jean-Philippe Lang
|
827ab38725
|
Selected projects in email notifications on "my account" are lost when the page is redisplayed after a validation error (#18060).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13638 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-22 10:56:59 +00:00 |
|
Jean-Philippe Lang
|
bdd3ccf8e5
|
Adds a role setting for controlling visibility of users: all or members of visible projects (#11724).
git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-11 13:08:52 +00:00 |
|
Jean-Philippe Lang
|
67c4936908
|
Restores commits reverted when rails-4.1 branch was merged (#18174).
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@13504 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-24 18:41:35 +00:00 |
|
Jean-Philippe Lang
|
c2e73160da
|
Adds a single controller for users and groups memberships and support for adding multiple projects at once (#11702).
git-svn-id: http://svn.redmine.org/redmine/trunk@13498 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-23 21:46:40 +00:00 |
|
Jean-Philippe Lang
|
2d1866d966
|
Merged rails-4.1 branch (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-22 17:37:16 +00:00 |
|
Jean-Philippe Lang
|
7e7ac5340a
|
Adds buit-in groups to give specific permissions to anonymous and non members users per project (#17976).
git-svn-id: http://svn.redmine.org/redmine/trunk@13417 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-09-28 14:51:08 +00:00 |
|
Jean-Baptiste Barth
|
b519aba63e
|
Expire other sessions on password change (#17796).
Contributed by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@13412 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-09-16 21:38:54 +00:00 |
|
Jean-Philippe Lang
|
5ccbe10d10
|
Code cleanup (#17717).
git-svn-id: http://svn.redmine.org/redmine/trunk@13403 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-09-14 11:38:52 +00:00 |
|
Jean-Baptiste Barth
|
2eb95f41b4
|
Invalidate security tokens on password or email changes (#17717).
Contributed by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@13396 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-09-14 08:22:25 +00:00 |
|
Jean-Baptiste Barth
|
d00f875800
|
Make 2nd parameter optional in User#allowed_to_globally? for consistency (#6498).
git-svn-id: http://svn.redmine.org/redmine/trunk@13364 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-09-06 03:39:52 +00:00 |
|
Toshi MARUYAMA
|
c2e75254b7
|
remove trailing white-spaces from app/models/user.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13287 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-07-11 08:04:52 +00:00 |
|
Toshi MARUYAMA
|
a599442d05
|
introduce request_store to ensure that the current user doesn't leak across request boundaries (#16685)
Contributed by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@13110 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-05-01 00:44:01 +00:00 |
|
Jean-Philippe Lang
|
8405d57516
|
Strip invalid UTF-8 bytes in User#find_by_login (#16107).
git-svn-id: http://svn.redmine.org/redmine/trunk@12916 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-02-22 12:50:56 +00:00 |
|
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
|
2014-01-29 22:45:39 +00:00 |
|
Toshi MARUYAMA
|
ea8febad03
|
remove unneeded Relation#all from Principal model
git-svn-id: http://svn.redmine.org/redmine/trunk@12731 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-27 02:19:03 +00:00 |
|
Jean-Philippe Lang
|
e391be4086
|
Adds settings for disabling browser language detection and language preference (#2691).
git-svn-id: http://svn.redmine.org/redmine/trunk@12691 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-24 10:28:12 +00:00 |
|
Jean-Philippe Lang
|
6e6c6fac5c
|
Adds firstname initials+lastname user format.
git-svn-id: http://svn.redmine.org/redmine/trunk@12690 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-24 09:23:11 +00:00 |
|
Toshi MARUYAMA
|
ecda4d33e8
|
Rails4: replace deprecated Relation#update_all at User model
git-svn-id: http://svn.redmine.org/redmine/trunk@12544 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-09 02:37:06 +00:00 |
|
Toshi MARUYAMA
|
2b36ff7016
|
Rails4: replace deprecated Relation#update_all at User model
git-svn-id: http://svn.redmine.org/redmine/trunk@12524 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-08 06:58:33 +00:00 |
|
Toshi MARUYAMA
|
e9470e5585
|
explicitly define fix has_and_belongs_to_many join_table at Group and User
Rails4 cannot resolve automatically.
git-svn-id: http://svn.redmine.org/redmine/trunk@12471 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-12-27 23:33:15 +00:00 |
|
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
|
2013-08-05 17:58:33 +00:00 |
|
Jean-Philippe Lang
|
888c3581eb
|
Role based custom queries (#1019).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11994 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-07-11 17:45:10 +00:00 |
|
Toshi MARUYAMA
|
edb6e245cf
|
gender neutral source comment at app/models/user.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11989 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-07-06 00:04:58 +00:00 |
|
Jean-Philippe Lang
|
2f53246c13
|
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11967 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-06-13 19:31:43 +00:00 |
|
Jean-Philippe Lang
|
07d88851bf
|
Fixed tests broken by r11965.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11966 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-06-12 21:55:39 +00:00 |
|
Jean-Philippe Lang
|
e978b3ace0
|
Adds User#builtin_role.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11965 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-06-12 19:38:43 +00:00 |
|
Toshi MARUYAMA
|
cb140248ea
|
remove trailing white-space from app/models/user.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11954 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-06-10 08:48:49 +00:00 |
|
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
|
2013-06-09 10:01:56 +00:00 |
|
Jean-Philippe Lang
|
4a59b869c0
|
Update notified_project_ids while saving record.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11840 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-13 17:11:38 +00:00 |
|
Jean-Philippe Lang
|
447e15d6cb
|
Prevent one query per User#member_of? call after r11508 (#13301).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11605 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-03-12 17:08:50 +00:00 |
|
Jean-Philippe Lang
|
6803d95a32
|
Performance: avoid querying all memberships in User#roles_for_project (#13301).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11508 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-03-01 10:24:23 +00:00 |
|
Jean-Philippe Lang
|
5c1e1ee4bb
|
Fixed that #reload raises a Stack too deep error with ruby 2.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11497 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-28 18:47:25 +00:00 |
|
Jean-Philippe Lang
|
fac4a79d4c
|
Option to generate a random password on user creation/update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11456 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-23 16:50:07 +00:00 |
|
Toshi MARUYAMA
|
f76dcf33ef
|
fix typo at app/models/user.rb (#5719)
Contributed by Tom Copeland.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11427 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-18 11:00:21 +00:00 |
|
Jean-Philippe Lang
|
3c3ac3c6ee
|
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11375 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-14 22:13:49 +00:00 |
|
Jean-Philippe Lang
|
b3a2d07257
|
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11313 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-03 08:23:20 +00:00 |
|
Jean-Philippe Lang
|
9e0723c11b
|
Refactors methods for searching a user by token.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11296 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-02 08:46:58 +00:00 |
|