Stan Hu
e80d7a804f
Fix error when deleting a user who has projects
...
Closes #1856
Closes https://github.com/gitlabhq/gitlabhq/issues/9394
2015-06-23 04:39:49 -07:00
Dmitriy Zaporozhets
2db026793d
Fix current user removal
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 12:53:04 +02:00
Dmitriy Zaporozhets
499154518a
You can not remove user if he/she is an only owner of group
...
To prevent loose of group data you need to transfer or remove group
first before you can remove user
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-28 12:00:02 +02:00
Jeroen van Baarsen
5a4ebfb47a
Fixed the Rails/ActionFilter cop
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02:00
Douwe Maan
ab22caa97e
Redirect signup page to signin page.
...
Resolves #1916 .
2015-02-05 15:56:28 +01:00
Dmitriy Zaporozhets
11591573e1
Merge pull request #7925 from cirosantilli/unused-arguments
...
Remove or prepend underscore _ to unused method arguments
2015-01-15 14:42:03 -08:00
Dmitriy Zaporozhets
939c046a98
Fix feature and tests
2015-01-08 13:21:00 -08:00
Dmitriy Zaporozhets
57a65ede77
Improve application settings and write tests
2015-01-08 09:53:35 -08:00
Dmitriy Zaporozhets
8589b4e137
Init ApplicationSettings resource with defaults from config file
2015-01-08 00:22:50 -08:00
Ciro Santilli
6c65b91d8c
Remove or prepend _ to unused method arguments
2014-12-27 22:38:25 +01:00
Ciro Santilli
2e9f5de868
Add parenthesis to function def with arguments.
2014-10-03 09:18:46 +02:00
Marin Jankovski
60cc1d8e92
Override strong params for sign up.
2014-07-10 19:31:05 +02:00
Marin Jankovski
87f89bc970
Redirect to sign in page after signup, this will show the correct flash message.
2014-07-04 14:19:59 +02:00
Dmitriy Zaporozhets
4967c08786
Fix signup and project visibility
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-30 16:43:32 +03:00
Dmitriy Zaporozhets
8e238f4273
Fix user remove tests. Remove user even if he has projects
2013-09-04 16:20:40 +03:00
Dmitry Medvinsky
22279bc558
Add settings for user permission defaults
...
“Can create groups” and “Can create teams” had hardcoded defaults to
`true`. Sometimes it is desirable to prohibit these for newly created
users by default.
2013-05-16 18:02:22 +04:00
Dmitriy Zaporozhets
aa5327a565
Fix project_limit being ignored on signup
2013-03-18 13:22:41 +02:00
Marin Jankovski
1b4ba3eb99
Add user delete option.
2013-02-06 12:44:09 +01:00
Marin Jankovski
296cdd591f
Add optional signup.
2013-01-18 11:57:31 +01:00