summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactor DN error classesMichael Kozono2017-10-071-48/+48
|
* Add migration specsMichael Kozono2017-10-071-0/+36
|
* Normalize values, reusing DN normalization codeMichael Kozono2017-10-072-28/+74
| | | | I first attempted to extract logic from the code that normalizes DNs, but I was unsuccessful. This is a hack but it works.
* Remove telephoneNumber format commentMichael Kozono2017-10-071-6/+0
| | | | Since that behavior changed, and is now under the malformed DN context.
* Fix space strippingMichael Kozono2017-10-071-1/+7
| | | | Especially from the last attribute value.
* Rename method to `to_normalized_s`Michael Kozono2017-10-071-2/+2
|
* Move downcasing to normalize methodMichael Kozono2017-10-071-4/+4
|
* Resolve Rubocop offensesMichael Kozono2017-10-071-16/+16
| | | | Disabling some for now since this is based on `Net::LDAP::DN`.
* Switch to new DN classMichael Kozono2017-10-072-57/+8
| | | | for normalizing and parsing DNs
* Fix newline testsMichael Kozono2017-10-071-3/+3
|
* Fix trailing escaped newlineMichael Kozono2017-10-071-1/+1
|
* Add valid DN tests using OIDsMichael Kozono2017-10-071-0/+2
|
* Test malformed DNsMichael Kozono2017-10-071-4/+102
|
* Raise UnsupportedDnFormatError on multivalued RDNsMichael Kozono2017-10-071-2/+30
|
* Allow unescaped, non-reserved Unicode charactersMichael Kozono2017-10-071-1/+1
|
* Handle CR and LF charactersMichael Kozono2017-10-071-0/+3
|
* Fix escaped hex comma testMichael Kozono2017-10-071-1/+1
|
* Reword escaped comma testMichael Kozono2017-10-071-1/+1
|
* Fix escaped equal signsMichael Kozono2017-10-071-2/+2
|
* Clarify testMichael Kozono2017-10-071-1/+1
|
* Fix to_s_normalize for escaped leading spaceMichael Kozono2017-10-071-1/+1
|
* Add `DN#to_s_normalized`Michael Kozono2017-10-071-0/+55
|
* Rely on LDAP providers giving DNs, not UIDsMichael Kozono2017-10-071-35/+0
|
* Rescue DN normalization attemptsMichael Kozono2017-10-071-0/+24
|
* Note invalid DNsMichael Kozono2017-10-071-18/+18
|
* Fix `dn?` for a UID with an escaped equal signMichael Kozono2017-10-071-2/+3
|
* Remove redundant `is_`Michael Kozono2017-10-071-2/+2
|
* Dry up spec some moreMichael Kozono2017-10-071-91/+46
| | | | …to stop copy pasting test cases.
* Downcase normalized LDAP DNs and UIDsMichael Kozono2017-10-072-60/+68
|
* Fix normalize behavior for escaped delimiter charsMichael Kozono2017-10-071-2/+16
|
* Refactor specMichael Kozono2017-10-071-254/+105
|
* Refactor to distinguish between UIDs and DNsMichael Kozono2017-10-071-8/+162
|
* Trim extraneous spaces from DNsMichael Kozono2017-10-072-1/+145
|
* Merge branch 'tc-geo-read-only-idea' into 'master'Douwe Maan2017-10-075-11/+200
|\ | | | | | | | | | | | | Create idea of read-only database Closes #37534 See merge request gitlab-org/gitlab-ce!14688
| * Create idea of read-only databasetc-geo-read-only-ideaToon Claes2017-10-065-11/+200
| | | | | | | | | | | | | | | | | | | | | | | | In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo secondary node). But in GitLab CE it also might be useful to have the "read-only" idea around. So port it back to GitLab CE. Also having the principle of read-only in GitLab CE would hopefully lead to less errors introduced, doing write operations when there aren't allowed for read-only calls. Closes gitlab-org/gitlab-ce#37534.
* | Add a migration to populate fork networksBob Van Landuyt2017-10-072-0/+202
| | | | | | | | This uses the existing ForkedProjectLinks
* | Add a project forks spec helperBob Van Landuyt2017-10-073-6/+11
| | | | | | | | | | The helper creates a fork of a project with all provided attributes, but skipping the creation of the repository on disk.
* | Add a model for `fork_networks`Bob Van Landuyt2017-10-071-0/+3
| | | | | | | | | | The fork network will keep track of the root project as long as it's present.
* | Merge branch 'master' into '37970-ci-sections-tracking'Kamil Trzciński2017-10-0721-117/+937
|\ \ | | | | | | | | | # Conflicts: # db/schema.rb
| * | Commenting on image diffsFelipe Artur2017-10-074-18/+145
| |/
| * Ensure we set SUITE_FLAKY_RSPEC_REPORT_PATH to nil in RspecFlaky::Listener specRémy Coutable2017-10-061-0/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Merge branch ↵Kamil Trzciński2017-10-065-0/+201
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 'feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service' into 'master' Create Kubernetes cluster on GKE from k8s service Closes #35954 See merge request gitlab-org/gitlab-ce!14470
| | * Merge branch ↵feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-serviceShinya Maeda2017-10-071-16/+10
| | |\ | | | | | | | | | | | | 'feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service' of https://gitlab.com/gitlab-org/gitlab-ce into feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service
| | | * Improve redirect uri state and fix all remaining testsKamil Trzcinski2017-10-061-16/+10
| | | |
| | * | Merge branch 'master' into ↵Shinya Maeda2017-10-0712-95/+540
| | |\ \ | | | |/ | | |/| | | | | feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service
| | * | Merge branch 'master' into ↵Shinya Maeda2017-10-061-4/+48
| | |\ \ | | | | | | | | | | | | | | | feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service
| | * | | Security fix: redirection in google_api/authorizations_controllerShinya Maeda2017-10-061-0/+23
| | | | |
| | * | | Use utc for time comparisionShinya Maeda2017-10-061-2/+2
| | | | |
| | * | | fetch_kubernetes_token_service_spec. Fix static analysys.Shinya Maeda2017-10-051-0/+1
| | | | |
| | * | | spec/lib/google_api/auth_spec. spec/lib/google_api/cloud_platform/client_specShinya Maeda2017-10-052-0/+152
| | | | |