Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Add latest changes from gitlab-org/gitlab@12-0-stable-ee" | Alessio Caiazza | 2019-12-13 | 1 | -2/+0 |
| | | | This reverts commit a21e41126b4430cfdde3ba19fcf29eb1b945967b | ||||
* | Add latest changes from gitlab-org/gitlab@12-0-stable-ee | GitLab Bot | 2019-12-13 | 1 | -0/+2 |
| | |||||
* | Adds Identity#for_user for use in an EE MRce-jej/group-saml-cleans-up-identity | James Edwards-Jones | 2019-05-24 | 1 | -0/+1 |
| | |||||
* | Inherit from ApplicationRecord instead of ActiveRecord::Base | Nick Thomas | 2019-03-28 | 1 | -1/+1 |
| | |||||
* | Fix failed LDAP logins when nil user_id present | Stan Hu | 2019-01-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | When a LDAP user signs in the for the first time and if there is an `Identity` object with `user_id` of `nil`, new users will not be able to be register until that entry is cleared because of the way identities are created: 1. First, the User object is built but not saved, so it has no `id`. 2. Then, `user.identities.build(provider: 'ldapmain')` is called, but it does not have an associated `user_id` as a result. 3. `User#save` is called, but the `Identity` validation fails if an existing entry with `user_id` of `nil` already exists. The uniqueness validation for `nil` values doesn't make any sense in this case. We should be enforcing this at the database level with a foreign key constraint. To work around the issue we can validate against the user instead, which does the right thing even when the user isn't saved yet. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56734 | ||||
* | Move Identity.uniqueness_scope to a modulerefactor-reference-regexes-and-identity-scopes | Yorick Peterse | 2018-11-12 | 1 | -6/+2 |
| | | | | | | Moving this method to a separate module looks a bit odd, but it allows for EE to extend the method without also having to redefine a variety of validation rules. | ||||
* | Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models | gfyoung | 2018-07-26 | 1 | -0/+2 |
| | | | | Partially addresses #47424. | ||||
* | Backport Identity.uniqueness_scope from EE | James Edwards-Jones | 2018-05-02 | 1 | -2/+6 |
| | | | | Originates in 'SamlProvider has many linked Identities' from EE | ||||
* | Moved o_auth/saml/ldap modules under gitlab/auth | Horatiu Eugen Vlad | 2018-02-28 | 1 | -3/+3 |
| | |||||
* | Fixed user synced attributes metadata after removing current provider | Francisco Javier López | 2018-02-15 | 1 | -0/+9 |
| | |||||
* | LDAP extern_uids are not normalized when updated via API | Francisco Javier López | 2017-12-21 | 1 | -0/+10 |
| | |||||
* | Make sure user email is read only when synced with LDAP | Douwe Maan | 2017-12-15 | 1 | -2/+2 |
| | |||||
* | Changing OAuth lookup to be case insensitive | Francisco Javier López | 2017-11-17 | 1 | -3/+12 |
| | |||||
* | Normalize LDAP DN when looking up identity | Douwe Maan | 2017-10-31 | 1 | -1/+4 |
| | |||||
* | Implement search by extern_uid in Users API | Robin Bobbitt | 2017-04-18 | 1 | -0/+2 |
| | |||||
* | Remove the annotate gem and delete old annotations | Jeroen van Baarsen | 2016-05-09 | 1 | -12/+0 |
| | | | | | | | | | In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382 | ||||
* | Annotate the models | Zeger-Jan van de Weg | 2016-05-06 | 1 | -2/+2 |
| | |||||
* | Codestyle changes | Gabriel Mazetto | 2016-01-12 | 1 | -1/+1 |
| | |||||
* | Repair ldap_blocked state when no ldap identity exist anymore | Gabriel Mazetto | 2016-01-08 | 1 | -0/+4 |
| | |||||
* | Fix identity and user retrieval when special characters are used | Patricio Cano | 2015-12-22 | 1 | -0/+1 |
| | |||||
* | Validate presence of provider field in Identityidentity-validation | Dmitriy Zaporozhets | 2015-06-23 | 1 | -0/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | fix ldap identities | Valery Sizov | 2015-04-11 | 1 | -0/+1 |
| | |||||
* | Re-annotate models | Dmitriy Zaporozhets | 2015-03-04 | 1 | -0/+2 |
| | |||||
* | Explicitly define ordering in models using default_scope | Dmitriy Zaporozhets | 2015-02-05 | 1 | -0/+1 |
| | |||||
* | Rubocop enabled for: Use spaces inside hash literal braces | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+1 |
| | |||||
* | Annotate models | Dmitriy Zaporozhets | 2015-01-22 | 1 | -1/+11 |
| | |||||
* | Supporting for multiple omniauth provider for the same user | Valery Sizov | 2014-12-04 | 1 | -2/+0 |
| | |||||
* | Multi-provider auth. LDAP is not reworked | Valery Sizov | 2014-12-04 | 1 | -0/+7 |