Dmitriy Zaporozhets
14f5199cdc
Merge branch 'feature-ldap-tests' into 'master'
...
Feature ldap tests
Move specs to proper places. Relates to #154
This is already mergeable, will continue in a new branch for additions & refactorings.
See merge request !1053
2014-08-30 07:16:45 +00:00
Jan-Willem van der Meer
0d5ae2802e
Move and rename ldap / oauth specs
2014-08-29 17:30:42 +02:00
Jan-Willem van der Meer
97547428bd
Rename ldap tests even further
2014-08-29 16:04:00 +02:00
Jacob Vosmaer
614ca3ec65
Remove LDAP::Access#find_user
...
This method existed to allow LDAP users to take over existing GitLab
accounts if the part before the '@' of their LDAP email attribute
matched the username of an existing GitLab user. I propose to disable
this behavior in order to prevent unintended GitLab account takeovers.
After this change it is still possible to take over an existing GitLab
account with your LDAP credentials, as long as the GitLab account email
address matches the LDAP user email address.
2014-08-29 15:38:05 +02:00
Jan-Willem van der Meer
6840a276d5
Fix naming convention of LDAP tests
2014-08-29 13:49:01 +02:00
Job van der Voort
68fd66c6e3
block visibility level restriction override in controller
2014-08-28 20:33:41 +02:00
Dmitriy Zaporozhets
c5c906fe64
Fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-27 15:26:35 +03:00
Dmitriy Zaporozhets
5087f36d23
Merge branch 'annotate' into 'master'
...
Annotate
See merge request !1040
2014-08-25 10:33:53 +00:00
Dmitriy Zaporozhets
92deb451da
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-25 12:25:02 +03:00
Dmitriy Zaporozhets
2e497d8438
Prevent project stars duplication when fork project
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-25 12:19:52 +03:00
Robert Schilling
66f6ca0770
Fix tests after #7526
2014-08-20 20:34:55 +02:00
jubianchi
9d5c690193
Add spec on labels validation
2014-08-20 12:31:19 +02:00
jubianchi
7ad93ab250
Improve labels validation and expose error messages
2014-08-20 12:09:19 +02:00
Robert Schilling
4ca3f64719
Fix labels return code
2014-08-18 00:25:49 +02:00
Dmitriy Zaporozhets
27cf081e1b
Merge pull request #7479 from Razer6/feature/labels_api
...
Implement complete labels API (create/delete/update)
2014-08-15 10:25:48 +03:00
Robert Schilling
cbc90565b5
Do label validation for issues/merge requests API
2014-08-14 10:17:52 +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
Robert Schilling
cf3ba0209d
Update labels via API
2014-08-13 12:29:03 +02:00
Robert Schilling
9284038dbe
Add, delete labels via API
2014-08-13 12:28:19 +02:00
Dmitriy Zaporozhets
53ead2e35c
Merge branch 'more-email-threading' into 'master'
...
Additions to email threading
This MR follows !142 :
* Add threading to "Merge request reopened" emails (see 310231dbed )
See merge request !145
2014-08-12 12:28:19 +00:00
Robert Schilling
8265d43d01
Force of markup output to be the input encoding
2014-08-11 12:18:07 +02:00
Robert Schilling
99eb283101
Use readme we support to render if there are multiple readmes
2014-08-11 08:50:56 +02:00
Dmitriy Zaporozhets
a0755d2f05
Fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-07 20:46:17 +03:00
Dmitriy Zaporozhets
fe228b89d5
Fix application helper specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-07 20:12:02 +03: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
Dmitriy Zaporozhets
349eaaa9c2
Fix gfm specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-06 12:15:05 +03:00
Dmitriy Zaporozhets
e4c6dbe35f
Fix api files specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-06 09:57:15 +03:00
Dmitriy Zaporozhets
8f1e60b057
Fix satellite tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-06 09:52:56 +03:00
Dmitriy Zaporozhets
b954f24420
Fix MR controller tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-06 09:07:11 +03:00
Dmitriy Zaporozhets
4710a76a8d
Fix commit specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 18:06:28 +03:00
Dmitriy Zaporozhets
9338ed0606
Fix project and notes specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 17:54:44 +03:00
Dmitriy Zaporozhets
7e1680934b
Fix API branch specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 17:30:28 +03:00
Dmitriy Zaporozhets
72053703e8
Fix API repository specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 15:41:02 +03:00
Dmitriy Zaporozhets
0082cfb146
Fix notify specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 15:18:17 +03:00
Dmitriy Zaporozhets
ff5176d45a
Fix git_push service specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 15:11:27 +03:00
Dmitriy Zaporozhets
394ac378f8
Fix markdown tests. Use new repo for testing. Fixed gitlab-shell test setup
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 23:05:30 +03:00
Dmitriy Zaporozhets
7783f5ec73
Improve copy test repo cmd
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 21:30:35 +03:00
Dmitriy Zaporozhets
a35a22ae05
Remove test dir only if exists
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 21:01:42 +03:00
Dmitriy Zaporozhets
cbe4891d7c
Fix form mr tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 20:13:27 +03:00
Dmitriy Zaporozhets
49b119fa31
Remove old test seeds
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 19:38:26 +03:00
Dmitriy Zaporozhets
61f70334ef
Cleanup test dir before install gitlab-shell. Fix fork test scenario
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 19:35:07 +03:00
Dmitriy Zaporozhets
b238b1544c
Recreate tmp/tests on each test run
2014-07-31 19:24:53 +03:00
Dmitriy Zaporozhets
ee4643c732
Fix MR tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 19:19:40 +03:00
Dmitriy Zaporozhets
5a68c20fba
Fix MR factory and some MR tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 18:07:24 +03:00
Dmitriy Zaporozhets
c2c7d14ec5
Move all test repos data to ReposHelpers
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 17:23:40 +03:00
Dmitriy Zaporozhets
bb2f4d665e
Fix browse code spinach tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-31 16:20:47 +03:00
Dmitriy Zaporozhets
f82b9e48ec
Dont stub gitlab-shell calls. Make test environment closer to real one
2014-07-31 15:39:01 +03:00
Dmitriy Zaporozhets
d9d8d3b799
Fix old api compatibility and tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-30 17:17:29 +03:00
Dmitriy Zaporozhets
70f868b737
Fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-30 16:05:43 +03:00