Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 1 | -0/+1 |
| | |||||
* | Modify `LDAP::Person` to return username value based on attributes | Drew Blessing | 2018-01-04 | 3 | -8/+32 |
| | | | | | | | | | `Gitlab::LDAP::Person` did not respect the LDAP attributes username configuration and would simply return the uid value. There are cases where users would like to specify a different username field to allow more friendly GitLab usernames. For example, it's common in AD to have sAMAccountName be an employee ID like `A12345` while the local part of the email address is more human-friendly. | ||||
* | Make sure user email is read only when synced with LDAP | Douwe Maan | 2017-12-15 | 1 | -4/+0 |
| | |||||
* | Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master' | Rémy Coutable | 2017-11-20 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | Adds Rubocop rule for line break after guard clause Closes #18040 See merge request gitlab-org/gitlab-ce!15188 | ||||
| * | Adds Rubocop rule for line break after guard clause | Jacopo | 2017-11-16 | 1 | -0/+1 |
| | | | | | | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses. | ||||
* | | Changing OAuth lookup to be case insensitive | Francisco Javier López | 2017-11-17 | 1 | -4/+1 |
|/ | |||||
* | Normalize LDAP DN when looking up identity | Douwe Maan | 2017-10-31 | 2 | -3/+4 |
| | |||||
* | Redefine `respond_to?` in light of `method_missing` | Michael Kozono | 2017-10-07 | 1 | -0/+6 |
| | |||||
* | Make internal methods private | Michael Kozono | 2017-10-07 | 1 | -20/+22 |
| | |||||
* | Leave bad DNs alone instead of raising errors | Michael Kozono | 2017-10-07 | 2 | -3/+10 |
| | |||||
* | Refactor DN error classes | Michael Kozono | 2017-10-07 | 2 | -14/+15 |
| | |||||
* | Normalize values, reusing DN normalization code | Michael Kozono | 2017-10-07 | 2 | -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 stripping | Michael Kozono | 2017-10-07 | 1 | -20/+24 |
| | | | | Especially from the last attribute value. | ||||
* | Rename method to `to_normalized_s` | Michael Kozono | 2017-10-07 | 3 | -3/+3 |
| | |||||
* | Refactor initialize method for clarity | Michael Kozono | 2017-10-07 | 1 | -11/+20 |
| | |||||
* | Move downcasing to normalize method | Michael Kozono | 2017-10-07 | 1 | -10/+10 |
| | |||||
* | Resolve Rubocop offenses | Michael Kozono | 2017-10-07 | 1 | -17/+25 |
| | | | | Disabling some for now since this is based on `Net::LDAP::DN`. | ||||
* | Switch to new DN class | Michael Kozono | 2017-10-07 | 2 | -17/+2 |
| | | | | for normalizing and parsing DNs | ||||
* | Fix trailing escaped newline | Michael Kozono | 2017-10-07 | 1 | -2/+2 |
| | |||||
* | Test malformed DNs | Michael Kozono | 2017-10-07 | 1 | -9/+12 |
| | |||||
* | Raise UnsupportedDnFormatError on multivalued RDNs | Michael Kozono | 2017-10-07 | 1 | -0/+2 |
| | |||||
* | Fix for null DN | Michael Kozono | 2017-10-07 | 1 | -1/+1 |
| | |||||
* | Handle CR and LF characters | Michael Kozono | 2017-10-07 | 1 | -1/+12 |
| | |||||
* | Fix escaped equal signs | Michael Kozono | 2017-10-07 | 1 | -4/+6 |
| | |||||
* | Fix trailing escaped space | Michael Kozono | 2017-10-07 | 1 | -0/+11 |
| | |||||
* | Fix to_s_normalize for escaped leading space | Michael Kozono | 2017-10-07 | 1 | -11/+3 |
| | |||||
* | Always downcase DNs | Michael Kozono | 2017-10-07 | 1 | -10/+12 |
| | |||||
* | Add `DN#to_s_normalized` | Michael Kozono | 2017-10-07 | 1 | -1/+7 |
| | |||||
* | Adapt DN class for Gitlab | Michael Kozono | 2017-10-07 | 1 | -195/+207 |
| | |||||
* | Extract Net::LDAP::DN class from ruby-net-ldap gem | Michael Kozono | 2017-10-07 | 1 | -0/+224 |
| | |||||
* | Rely on LDAP providers giving DNs, not UIDs | Michael Kozono | 2017-10-07 | 2 | -23/+1 |
| | |||||
* | Rescue DN normalization attempts | Michael Kozono | 2017-10-07 | 1 | -0/+15 |
| | |||||
* | Fix `dn?` for a UID with an escaped equal sign | Michael Kozono | 2017-10-07 | 1 | -1/+1 |
| | |||||
* | Remove redundant `is_` | Michael Kozono | 2017-10-07 | 1 | -2/+2 |
| | |||||
* | Downcase normalized LDAP DNs and UIDs | Michael Kozono | 2017-10-07 | 1 | -1/+1 |
| | |||||
* | Fix normalize behavior for escaped delimiter chars | Michael Kozono | 2017-10-07 | 1 | -1/+1 |
| | |||||
* | Refactor to distinguish between UIDs and DNs | Michael Kozono | 2017-10-07 | 2 | -1/+30 |
| | |||||
* | Trim extraneous spaces from DNs | Michael Kozono | 2017-10-07 | 2 | -1/+44 |
| | |||||
* | Merge branch '33493-attempt-to-link-saml-users-to-ldap-by-email' into 'master' | Douwe Maan | 2017-10-02 | 3 | -33/+21 |
|\ | | | | | | | | | | | | | Attempt to link saml users to ldap by email Closes #33493 See merge request gitlab-org/gitlab-ce!14216 | ||||
| * | Refactors SAML identity creation in gl_user. | Tiago Botelho | 2017-10-02 | 3 | -36/+12 |
| | | |||||
| * | Creates compound query for LDAP email attributes. | Tiago Botelho | 2017-09-25 | 2 | -7/+15 |
| | | |||||
| * | Attempt to link saml users to ldap by email | Tiago Botelho | 2017-09-25 | 1 | -0/+4 |
| | | |||||
* | | refactor users update service | James Lopez | 2017-09-28 | 1 | -1/+1 |
| | | |||||
* | | refactor services to match EE signature | James Lopez | 2017-09-28 | 1 | -1/+1 |
|/ | |||||
* | Profile updates from providers | Alexander Keramidas | 2017-09-06 | 1 | -2/+2 |
| | |||||
* | Support simple string LDAP attribute specifications, and search for name ↵dm-ldap-adapter-attributes | Douwe Maan | 2017-08-23 | 2 | -5/+10 |
| | | | | rather than username attributes | ||||
* | Merge branch 'rs-more-public-send-whitelists' into 'master' | Rémy Coutable | 2017-08-16 | 1 | -2/+2 |
|\ | | | | | | | | | Whitelist or fix additional `Gitlab/PublicSend` cop violations See merge request !13467 | ||||
| * | Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelists | Robert Speicher | 2017-08-14 | 1 | -2/+2 |
| | | | | | | | | | | An upcoming update to rubocop-gitlab-security added additional violations. | ||||
* | | Enable Layout/TrailingWhitespace cop and auto-correct offenses | Robert Speicher | 2017-08-15 | 1 | -1/+1 |
|/ | |||||
* | Pass OmniAuth formatted options to OmniAuth::LDAP::Adaptordm-ldap-authentication-ssl-verification | Douwe Maan | 2017-07-31 | 1 | -1/+1 |
| |