Dmitriy Zaporozhets
57a65ede77
Improve application settings and write tests
2015-01-08 09:53:35 -08:00
Dmitriy Zaporozhets
592e396869
Rework oauth2 feature
...
* improve UI
* add authorization
* add separate page for oauth applications
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-25 18:35:04 +02:00
Valery Sizov
e41dadcb33
Doorkeeper integration
2014-12-24 15:38:07 +02:00
Valery Sizov
3a5ed5260b
Supporting for multiple omniauth provider for the same user
2014-12-04 13:03:55 +02:00
Valery Sizov
1a80d13a39
Multi-provider auth. LDAP is not reworked
2014-12-04 13:01:50 +02:00
Sytse Sijbrandij
8f60144782
Change avatar file size to 200kb.
2014-12-02 10:32:24 +01:00
Dmitriy Zaporozhets
e08e405ac4
Select namespace where to fork project
...
Now you can fork project into group or personal namespace.
Also I moved fork logic from ProjectsController to own fork resource
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-13 22:06:19 +02:00
Valeriy Sizov
5c6b21f1c2
Merge pull request #7967 from Bugagazavr/issue-actor
...
Add issueable actor to hooks
2014-11-05 12:10:50 +02:00
Andrey Krivko and Dmitriy Zaporozhets
bafd30f92c
Session API: Use case-insensitive authentication like in UI
2014-10-30 18:29:18 +02:00
Ciro Santilli
b66a152735
Factor abilities methods
...
in app controller, user model and services.
2014-10-19 11:12:39 +02:00
Jan-Willem van der Meer
6c0994a3b3
Merge remote-tracking branch 'origin/master' into feature-multiple-ldap-servers
...
Conflicts:
app/controllers/omniauth_callbacks_controller.rb
2014-10-13 17:07:53 +02:00
Valery Sizov
4e0da2325b
Admin: user sorting
2014-10-13 16:07:57 +03:00
Jan-Willem van der Meer
a7e071e982
Add refactoring for multiple LDAP server support
...
These changes are ported from EE to CE. Apply changes for app directory
2014-10-13 13:39:54 +02:00
Kirill Zaitsev
11848febd1
Add issueable actor
2014-10-05 20:41:33 +04:00
Ciro Santilli
2e9f5de868
Add parenthesis to function def with arguments.
2014-10-03 09:18:46 +02:00
Dmitriy Zaporozhets
bdbadebe3e
Fix adminarea and emails for new membership logic
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-15 10:57:02 +03:00
Dmitriy Zaporozhets
13af7de941
Fix migration and association for new members table
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-14 20:38:57 +03:00
Dmitriy Zaporozhets
8210d81381
Replace old references of users_project & users_group
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-14 19:51:54 +03:00
Dmitriy Zaporozhets
c69b8e0459
Huge replace of old users_project and users_group references
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-14 19:32:51 +03:00
Jan-Willem van der Meer
62fc80642d
Refactor Oauth::User class to use instance methods
2014-09-03 15:59:50 +02:00
Dmitriy Zaporozhets
ffc284301e
Merge branch 'ldap/cache_check' into 'master'
...
Cache LDAP check everywhere
See merge request !1008
2014-08-13 13:11:04 +00:00
Jacob Vosmaer
e0fea696c6
Skip LDAP cache check when LDAP is disabled
2014-08-06 18:03:01 +02:00
Dmitriy Zaporozhets
e21ca9f8b1
Merge branch 'star' of https://github.com/cirosantilli/gitlabhq into cirosantilli-star
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
2014-07-24 10:54:42 +03:00
Dmitriy Zaporozhets
c29857ac00
Merge branch 'new_user_password_set' into 'master'
...
Admin created user should get password reset link instead of mailed temporary password
Fixes #1405
See merge request !973
2014-07-23 16:44:07 +00:00
Dmitriy Zaporozhets
72f50fcb2c
Merge branch 'fix/avatar_relative_url' into 'master'
...
Fix Avatar and Relative URL
Fixes https://github.com/gitlabhq/gitlabhq/issues/7270
Instead of `URI::join` use a simple join with a slash. This is how all other places in GitLab join URLs and it doesn't muck with the relative path.
See merge request !144
2014-07-21 10:34:41 +00:00
Ciro Santilli
9b5c7a4d60
Add star count, view logic, more tests.
2014-07-17 22:47:16 +02:00
Ciro Santilli
714f7201d3
Add project stars.
2014-07-17 22:47:16 +02:00
Marin Jankovski
188b6f48d4
Use a better name for token.
2014-07-16 10:01:13 +02:00
Marin Jankovski
56398ea161
Do not sent a generated password via email for admin created user.
2014-07-15 13:25:11 +02:00
Marin Jankovski
4024aa8e81
Try to keep token authenticable compatibility
2014-07-09 14:42:25 +02:00
Drew Blessing
fe1553e943
Don't use URI join
2014-07-07 16:25:05 -05:00
Dmitriy Zaporozhets
d35a99e6cb
Merge pull request #7204 from cirosantilli/user-validation-msg
...
Fix username validation message to match regexp.
2014-07-02 09:57:14 +03:00
Dmitriy Zaporozhets
8fee5a0572
Make app works with strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 23:24:17 +03:00
Dmitriy Zaporozhets
98ba075c32
User model to strong params. Comment other attr_accessible to let tests run
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 15:11:45 +03:00
Ciro Santilli
b1c40e8151
Fix username validation message to match regexp.
...
Also used for project, group and web ui new file names.
2014-06-26 13:31:34 +02:00
Dmitriy Zaporozhets
1817b9aec4
Fix namespace selector on Projects#new page
...
If user does not own any group he does not see namespace selector when
visit new project page even if he has master membership in one of
groups. This commit fixes it.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-24 15:12:08 +03:00
Dmitriy Zaporozhets
6d352790c4
Fix user notifications
2014-06-17 22:54:21 +03:00
Dmitriy Zaporozhets
a90a201d0e
Remove user observer
2014-06-17 22:32:35 +03:00
Dmitriy Zaporozhets
a7345e368a
Fix gravatar size and update docs for new users API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 18:02:42 +03:00
Dmitriy Zaporozhets
ae564c97d4
Dont expose user email via API
...
To prevent leaking of users info we reduce amount of user information
retrieved via API for normal users.
What user can get via API:
* if not admin: only id, state, name, username and avatar_url
* if admin: all user information
* about himself: all informaion
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 17:46:48 +03:00
Dmitriy Zaporozhets
e9de569458
Fix tests for user page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-02 13:43:07 +03:00
Dmitriy Zaporozhets
aea79b8035
Add ability rule for creating project in namespace
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 19:03:01 +03:00
Dmitriy Zaporozhets
36f861f1b1
Re-annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 15:05:03 +03:00
Dmitriy Zaporozhets
c5cdd07899
Add values to default fields to prevent 500 error when migrate from MySQL to Postgres
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 13:36:25 +03:00
Dmitriy Zaporozhets
e6f58cb87d
Avoid false validation when create user
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-07 16:47:37 +03:00
Dmitriy Zaporozhets
a73df4f72d
Allow oauth signup without email
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-07 14:09:29 +03:00
Marin Jankovski
1aabfcb92d
Change the user search query to be case insensitive.
2014-03-26 12:45:39 +01:00
Sytse Sijbrandij
6b522bf950
Merge pull request #6457 from lol768/patch-1
...
Fix registration error info typo
2014-03-19 16:06:31 +01:00
Dmitriy Zaporozhets
c6d39a14d6
Add User#requires_ldap_check? method
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-11 10:24:07 +02:00
lol768
39bb54feb3
Fix registration error info typo
2014-03-02 18:45:38 +00:00