summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Better message for failed pushes because of git hooksValery Sizov2014-11-182-14/+14
| | | | | | Conflicts: lib/gitlab/git_access.rb spec/lib/gitlab/git_access_spec.rb
* Merge branch 'master' of github.com:gitlabhq/gitlabhqDmitriy Zaporozhets2014-11-041-3/+4
|\
| * Fix push not allowed to protected branch ifCiro Santilli2014-11-031-3/+4
| | | | | | | | commit starts with 7 zeros.
* | Session API: Use case-insensitive authentication like in UIAndrey Krivko2014-10-301-1/+9
|/
* Add a comment in interceptor spec.Marin Jankovski2014-10-271-0/+3
|
* Add interceptor test.Marin Jankovski2014-10-271-0/+23
|
* Fix LDAP config lookup for provider 'ldap'Jacob Vosmaer2014-10-231-1/+15
|
* Fix account existing blockingDmitriy Zaporozhets2014-10-171-10/+66
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add regressiontest to verify allow_single_sign_on settingJan-Willem van der Meer2014-10-161-11/+8
| | | | | | | verification for #1677 Since testing omniauth_callback_controller.rb is very difficult, the logic is moved to the models
* Remove LDAP save testJan-Willem van der Meer2014-10-161-8/+8
| | | | This is handled within the LDAP class
* Add specs for authentication and configJan-Willem van der Meer2014-10-142-0/+73
|
* Merge tests to support Multiple LDAP groupsJan-Willem van der Meer2014-10-133-24/+7
|
* Refactor lib files for multiple LDAP groupsJan-Willem van der Meer2014-10-131-16/+10
|
* Refactor OAuth refactorings to CEJan-Willem van der Meer2014-10-103-69/+94
|
* Developers can push to wiki repo. Protected branches does not affect wiki ↵Dmitriy Zaporozhets2014-10-071-0/+22
| | | | | | repo any more Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Track projects in ReferenceExtractorVinnie Okada2014-10-031-24/+28
| | | | | | Store both the project and identifier of extracted references. This prevents `ReferenceExtractor` from returning objects in the wrong project for cross-project references.
* Add parenthesis to function def with arguments.Ciro Santilli2014-10-031-1/+1
|
* Add option to gitlab config to specify if LDAP server is active directory.Marin Jankovski2014-09-301-0/+15
|
* Refactor Gitlab::GitAccess testsDmitriy Zaporozhets2014-09-241-119/+66
|
* Add GitAccess specsDmitriy Zaporozhets2014-09-241-0/+180
|
* Merge pull request #7692 from mr-vinn/fix-spec-rmJacob Vosmaer2014-09-231-1/+1
|\ | | | | Use FileUtils to delete instead of File
| * Fix invalid method in testVinnie Okada2014-09-221-1/+1
| | | | | | | | Use FileUtils::rm_f to delete the satellite lock file.
* | Merge remote-tracking branch 'origin/master' into feature-oauth-refactoringJan-Willem van der Meer2014-09-113-0/+134
|\ \ | |/
| * Refactoring inside refactoring. We need to go deeperDmitriy Zaporozhets2014-09-082-8/+2
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Specs for diff parser! Yay!Dmitriy Zaporozhets2014-09-082-0/+120
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Validate branch-names and references in WebUI, APIRobert Schilling2014-09-031-0/+20
| | | | | | | | Add specs for GitRefValidator
* | Test authenticate method for Gitlab::LDAP::UserJan-Willem van der Meer2014-09-081-0/+16
| |
* | Ensure Gitlab::LDAP::authentication is testedJan-Willem van der Meer2014-09-081-0/+17
| |
* | Refactor gitlab auth testsJan-Willem van der Meer2014-09-081-11/+13
| |
* | Move auth hash to a seperate classJan-Willem van der Meer2014-09-041-4/+4
|/
* Refactor: beter naming for active directory disabled usersJan-Willem van der Meer2014-09-011-4/+4
|
* Get uid from auth instead of info hashJan-Willem van der Meer2014-09-011-9/+8
| | | | As found in the omniauth specs: https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema
* Add basic find / create specs for LDAP userJan-Willem van der Meer2014-09-011-30/+22
|
* Ensure oath callbacks without a nickname work (google)Jan-Willem van der Meer2014-09-011-0/+12
|
* Handle user creation if email is not providedJan-Willem van der Meer2014-09-011-0/+12
| | | | This fixes #1541
* Use local vars for testsJan-Willem van der Meer2014-09-011-6/+6
|
* Add tests for finding an oauth authenticated userJan-Willem van der Meer2014-09-011-11/+26
|
* Merge branch 'feature-ldap-tests' into 'master'Dmitriy Zaporozhets2014-08-305-1/+1
|\ | | | | | | | | | | | | | | | | | | 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
| * Move and rename ldap / oauth specsJan-Willem van der Meer2014-08-293-1/+1
| |
| * Rename ldap tests even furtherJan-Willem van der Meer2014-08-291-0/+0
| |
| * Fix naming convention of LDAP testsJan-Willem van der Meer2014-08-293-0/+0
| |
* | Remove LDAP::Access#find_userJacob Vosmaer2014-08-291-12/+0
|/ | | | | | | | | | | 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.
* Use readme we support to render if there are multiple readmesRobert Schilling2014-08-111-0/+28
|
* Fix satellite testsDmitriy Zaporozhets2014-08-061-69/+24
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix testDmitriy Zaporozhets2014-07-241-2/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add support to set satellites timeoutAyrton Araújo2014-07-211-1/+4
|
* Dont allow ? in project pathDmitriy Zaporozhets2014-07-081-0/+21
| | | | | | | Because it causes 500 error on every page where link to such project exists Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fixed the specJeroen van Baarsen2014-06-141-1/+1
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Added an UrlBuilder for building rails named routesJeroen van Baarsen2014-06-131-0/+11
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Improve ad_disabled method nameJacob Vosmaer2014-05-141-2/+2
|