summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Sync up hard coded DN class in migrationmk-normalize-ldap-user-dnsMichael Kozono2017-10-071-20/+28
|
* Redefine `respond_to?` in light of `method_missing`Michael Kozono2017-10-071-0/+6
|
* Make internal methods privateMichael Kozono2017-10-071-20/+22
|
* Leave bad DNs alone instead of raising errorsMichael Kozono2017-10-072-3/+10
|
* Refactor DN error classesMichael Kozono2017-10-073-28/+30
|
* Move migration to backgroundMichael Kozono2017-10-071-0/+304
|
* Normalize values, reusing DN normalization codeMichael Kozono2017-10-072-33/+8
| | | | I first attempted to extract logic from the code that normalizes DNs, but I was unsuccessful. This is a hack but it works.
* Fix space strippingMichael Kozono2017-10-071-20/+24
| | | | Especially from the last attribute value.
* Rename method to `to_normalized_s`Michael Kozono2017-10-073-3/+3
|
* Refactor initialize method for clarityMichael Kozono2017-10-071-11/+20
|
* Move downcasing to normalize methodMichael Kozono2017-10-071-10/+10
|
* Resolve Rubocop offensesMichael Kozono2017-10-071-17/+25
| | | | Disabling some for now since this is based on `Net::LDAP::DN`.
* Switch to new DN classMichael Kozono2017-10-072-17/+2
| | | | for normalizing and parsing DNs
* Fix trailing escaped newlineMichael Kozono2017-10-071-2/+2
|
* Test malformed DNsMichael Kozono2017-10-071-9/+12
|
* Raise UnsupportedDnFormatError on multivalued RDNsMichael Kozono2017-10-071-0/+2
|
* Fix for null DNMichael Kozono2017-10-071-1/+1
|
* Handle CR and LF charactersMichael Kozono2017-10-071-1/+12
|
* Fix escaped equal signsMichael Kozono2017-10-071-4/+6
|
* Fix trailing escaped spaceMichael Kozono2017-10-071-0/+11
|
* Fix to_s_normalize for escaped leading spaceMichael Kozono2017-10-071-11/+3
|
* Always downcase DNsMichael Kozono2017-10-071-10/+12
|
* Add `DN#to_s_normalized`Michael Kozono2017-10-071-1/+7
|
* Adapt DN class for GitlabMichael Kozono2017-10-071-195/+207
|
* Extract Net::LDAP::DN class from ruby-net-ldap gemMichael Kozono2017-10-071-0/+224
|
* Rely on LDAP providers giving DNs, not UIDsMichael Kozono2017-10-072-23/+1
|
* Rescue DN normalization attemptsMichael Kozono2017-10-071-0/+15
|
* Fix `dn?` for a UID with an escaped equal signMichael Kozono2017-10-071-1/+1
|
* Remove redundant `is_`Michael Kozono2017-10-071-2/+2
|
* Downcase normalized LDAP DNs and UIDsMichael Kozono2017-10-071-1/+1
|
* Fix normalize behavior for escaped delimiter charsMichael Kozono2017-10-071-1/+1
|
* Refactor to distinguish between UIDs and DNsMichael Kozono2017-10-072-1/+30
|
* Trim extraneous spaces from DNsMichael Kozono2017-10-072-1/+44
|
* Merge branch 'tc-geo-read-only-idea' into 'master'Douwe Maan2017-10-076-10/+112
|\ | | | | | | | | | | | | 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-066-10/+112
| | | | | | | | | | | | | | | | | | | | | | | | 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/+114
| | | | | | | | This uses the existing ForkedProjectLinks
* | Allow creating merge requests across forks of a projectBob Van Landuyt2017-10-071-1/+2
| |
* | Merge branch 'master' into '37970-ci-sections-tracking'Kamil Trzciński2017-10-0760-352/+900
|\ \ | | | | | | | | | # Conflicts: # db/schema.rb
| * | Commenting on image diffsFelipe Artur2017-10-076-59/+236
| |/
| * Gitaly feature flag metadataAndrew Newdigate2017-10-061-2/+19
| |
| * Merge branch ↵Kamil Trzciński2017-10-067-0/+160
| |\ | | | | | | | | | | | | | | | | | | | | | | | | '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-3/+8
| | |\ | | | | | | | | | | | | '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-3/+8
| | | |
| | * | Merge branch 'master' into ↵Shinya Maeda2017-10-0714-59/+182
| | |\ \ | | | |/ | | |/| | | | | feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service
| | * | Merge branch 'master' into ↵Shinya Maeda2017-10-0611-122/+178
| | |\ \ | | | | | | | | | | | | | | | feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service
| | * | | Security fix: redirection in google_api/authorizations_controllerShinya Maeda2017-10-061-0/+5
| | | | |
| | * | | Use utc for time comparisionShinya Maeda2017-10-061-3/+8
| | | | |
| | * | | Merge remote-tracking branch 'origin/master' into ↵Kamil Trzcinski2017-10-0519-107/+115
| | |\ \ \ | | | | | | | | | | | | | | | | | | feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service
| | * | | | spec/lib/google_api/auth_spec. spec/lib/google_api/cloud_platform/client_specShinya Maeda2017-10-051-1/+2
| | | | | |
| | * | | | Merge branch 'master' into ↵Shinya Maeda2017-10-056-20/+84
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service