Valery Sizov
3a5ed5260b
Supporting for multiple omniauth provider for the same user
2014-12-04 13:03:55 +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
Jan-Willem van der Meer
5e1c39cb78
Merge tests to support Multiple LDAP groups
2014-10-13 17:33:44 +02:00
Valery Sizov
4e0da2325b
Admin: user sorting
2014-10-13 16:07: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
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
Jacob Vosmaer
1118a6fd34
Add a spec for User#requires_ldap_check?
2014-08-06 18:03:01 +02: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
Dmitriy Zaporozhets
13f017f01b
Fix user model specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-30 14:22:09 +03:00
Dmitriy Zaporozhets
0f550aa386
Remove mass assgnment specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 23:57:55 +03:00
Dmitriy Zaporozhets
2d87556847
Remove rails observers from application
2014-06-17 22:51:43 +03:00
Marin Jankovski
f43e41973f
Test for the apostrophe in the email
2014-06-11 13:36:30 +02:00
Dmitriy Zaporozhets
36f861f1b1
Re-annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 15:05:03 +03:00
Marin Jankovski
466203eb0c
Additional check in the test.
2014-03-26 12:56:25 +01:00
Marin Jankovski
961d87937b
Add the tests for user search.
2014-03-26 12:44:00 +01:00
GitLab
4b9c28bccd
remove unwanted spaces, reduce diff, clean before merge
2014-02-11 21:12:27 +05:30
GitLab
b1492a2a62
sync with upstream for ease to merge
2014-02-06 19:47:21 +05:30
GitLab
1c9a41e0d5
adding tests for the ssh keys feature
2014-02-06 14:42:59 +05:30
Dmitriy Zaporozhets
3628eb84c4
Merge pull request #6072 from jvanbaarsen/fix-3516
...
Better check on the validity of emails
2014-01-19 10:29:06 -08:00
Jerome Dalbert
2e3f250d45
Add website url to user
2014-01-18 19:15:10 +00:00
Jeroen van Baarsen
05e4af5b4c
Better check on the validity of emails
...
At this moment it was possible to enter emails like:
mailto:info@example.com . This was causing some issue in the frontend,
since those links became html mailto: links.
Fixes : #3516
2014-01-16 12:14:47 +01:00
Dmitriy Zaporozhets
62f1c97720
Add User#avatar_type tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-24 10:55:45 +02:00
Dmitriy Zaporozhets
58601ebdab
Fix tests after user password length was changed
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-25 20:07:55 +02:00
Dmitriy Zaporozhets
201d489780
Annotate
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-13 14:10:03 +02:00
Dmitriy Zaporozhets
b813a4888a
Remove User#namespaces method from code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-05 17:15:43 +02:00
Dmitriy Zaporozhets
0a2a34a4d1
Ignore owner_id for Group in tests
2013-09-26 14:52:17 +03:00
Izaak Alpert
8a8123a3d4
Update for readability
...
fixed a test a broke in the configurable theme PR
Change-Id: Id894506941bc01ab0d259d48ca7ff9b80bb2c57e
2013-09-22 20:56:17 -04:00
Izaak Alpert
51e6095dd1
Make users theme configurable
...
GITLAB-1262
Change-Id: I690cb8ea294df53ebe8405a519c23c501af2c21a
Conflicts:
app/models/user.rb
config/initializers/1_settings.rb
spec/models/user_spec.rb
2013-09-22 01:05:14 -04:00
Dmitriy Zaporozhets
e0e88cddd8
Fix tests
2013-09-14 22:01:31 +03:00
Izaak Alpert
5dae40f579
Update to only provide one way to get a default user
...
-calling build_user will now apply defaults and only override them if as: :admin is set
Change-Id: Id1d938c0967752ecc14370af54f2d88128d18c44
2013-09-11 14:04:15 -04:00
Stephen Holdaway
e19526c2ac
Fix several_namespaces? to work with multiple ownership of groups
2013-09-12 00:10:45 +12:00
Izaak Alpert
7a56075efa
Some of the requested updates, rebase on master
...
Change-Id: I305266fe9acbbb5136adeeb52e7e4e1d6629a30a
2013-09-09 12:04:38 -04:00
Dmitriy Zaporozhets
668358439e
Fix tests after can_create_team was removed
2013-08-21 15:07:09 +03:00
Dmitriy Zaporozhets
8dd37afe34
Reannotate
2013-08-21 12:34:02 +03:00
Dmitriy Zaporozhets
7b87fcbad4
Fix broken factory
2013-06-22 16:46:57 +03:00
Dmitriy Zaporozhets
0bc714c271
Remove form for adding user to several projects from admin area.
...
Remove unnecessary projects order on User#show
2013-06-22 13:41:08 +03:00
Dmitriy Zaporozhets
8c918e583a
Remove tests for missing method
2013-06-21 21:50:34 +03:00
Dmitriy Zaporozhets
6e35aceff2
Annotated
2013-06-19 15:40:33 +03:00
Dmitriy Zaporozhets
1b3b90dbfd
Remove teams specs
2013-06-18 22:06:20 +03:00
Dmitriy Zaporozhets
470f9064fa
Merge pull request #4206 from babatakao/authorize_all_teams_to_admin
...
Authorize all teams to admin: fix 500 error on showing team page.
2013-06-06 07:14:50 -07:00
babatakao
86a262de1a
Authorize all teams to admin: fix 500 error on showing team page.
...
500 error was occured in the following steps:
1. user1 creates new team "team1".
2. Assign team1 to project1.
3. Sign in as admin. This admin is not a member of team1.
4. Open project1 team setting page (/project1/team).
5. Click "team1" link in "Assigned teams" area.
6. 500 error.
Fixed this issue.
2013-06-05 15:41:33 +09:00
babatakao and baba
37a90d5f76
Selectable deploy keys contain master projects
2013-06-05 02:59:30 +09:00
Dmitriy Zaporozhets
bcc4e4dc7e
Merge branch 'gist' of https://github.com/Andrew8xx8/gitlabhq into Andrew8xx8-gist
...
Conflicts:
Gemfile.lock
app/models/ability.rb
app/models/project.rb
app/views/snippets/_form.html.haml
db/schema.rb
features/steps/shared/paths.rb
spec/factories.rb
spec/models/project_spec.rb
2013-06-04 18:36:22 +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
615e496846
change user_spec to pass postgres
2013-04-15 16:30:26 +03:00
Dmitriy Zaporozhets
5f14a6bcf8
annotated
2013-03-27 18:26:37 +02:00
Andrew8xx8
9e2525cbd0
Association form user to snippets added
2013-03-24 23:09:59 +04:00