Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-20OmniauthInitializer created to improve devise.rbJames Edwards-Jones
This should simplify refactoring and allow testing
2018-02-28Moved o_auth/saml/ldap modules under gitlab/authHoratiu Eugen Vlad
2018-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
2017-11-16Adds Rubocop rule for line break after guard clauseJacopo
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-07Change Sign Out route from a DELETE to a GETJoe Marty
Closes #39708
2017-10-05Merge branch 'master' into ↵Douwe Maan
digitalmoksha/gitlab-ce-feature/verify_secondary_emails # Conflicts: # app/controllers/admin/users_controller.rb # app/controllers/confirmations_controller.rb # app/controllers/profiles/emails_controller.rb # app/models/user.rb # app/services/emails/base_service.rb # app/services/emails/destroy_service.rb # app/views/devise/mailer/confirmation_instructions.html.haml # lib/api/users.rb # spec/services/emails/destroy_service_spec.rb
2017-10-01Add `:email_confirmation` to devise `insensitive_keys`robdel12
This fixes a bug where the email confirmation input value is case sensative. For example, if the email input is `myemail@example.com` and the email confirmation input is `Myemail@example.com` the form would fail to submit.
2017-09-24must now set the devise default scope (since we now have an :email scope)Brett Walker
and rubocop fixes
2017-07-27Remove GitLab custom fealure app for deviseValery Sizov
2017-02-23Enable Style/SpaceInsideBracketsDouwe Maan
2017-02-20Added support for Authentiq Back-Channel LogoutAlexandros Keramidas
2016-11-16Merge branch 'fix-shibboleth-auth-with-no-uid' into 'master' Rémy Coutable
fix shibboleth misconfigurations resulting in authentication bypass This merge request fixes #22267 where a misconfigured Shibboleth `HTTP_UID` or `HTTP_EPPN` could result in users being logged into an account that did not belong to them. See merge request !7428
2016-11-15fix shibboleth misconfigurations resulting in authentication bypassBrian Neel
2016-11-12Centralize LDAP config/filter logicDrew Blessing
Centralize all LDAP config logic in `GitLab::LDAP::Config`. Previously, some logic was in the Devise initializer and it was not honoring the `user_filter`. If a user outside the configured `user_filter` signed in, an account would be created but they would then be denied access. Now that logic is centralized, the filter is honored and users outside the filter are never created.
2016-08-05Update to send changed password notification emailsTom Bell
Add the devise initializer config setting to enable the sending of notification emails when a user changes their password.
2016-06-29Enable Style/SpaceAfterComma Rubocop copGrzegorz Bizon
2016-05-13Codestyle: make sure we have space around operatorsGabriel Mazetto
2016-03-09Use a custom Devise failure app to handle unauthenticated .zip requestsRobert Speicher
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/12944
2015-12-21Merge branch 'add_email_unlock' into 'master' Robert Speicher
Allow account unlock via email We see a lot of users get confused about what it means when your account gets locked. Many try to reset their password and are still faced with a lockout. With this change, users receive an email that allows them to unlock their account immediately. The previous behavior where the account is auto-unlocked after a time also still works. See merge request !2049
2015-12-15add CAS authentication supporttduehr
2015-12-15Allow account unlock via emailDrew Blessing
2015-12-10Use devise paranoid mode and ensure the same message is returned every timeDrew Blessing
Skipped CI because it has already passed. Had to rebase due to CHANGELOG.
2015-09-30Take advantage of `Devise.sign_in_after_reset_password`Robert Speicher
2015-09-02Crowd integrationValery Sizov
2015-05-10Add support for backup codesDmitriy Zaporozhets
2015-05-10Fix rubocop complainDmitriy Zaporozhets
2015-05-10Init 2 factor authentication for user modelDmitriy Zaporozhets
2015-05-02Make Reply-To config apply to change e-mail confirmation and other notificationsStan Hu
sent through Devise Fix test case that was passing due to a broken `around` statement. Closes #1556
2015-04-10Use `\A` and `\z` in regexes instead of `^` and `$`.Douwe Maan
2015-01-23Increase password reset timeout since other people trigger it when they ↵Sytse Sijbrandij
create an account for you.
2014-10-15Only enable LDAP providers if LDAP is enabledJan-Willem van der Meer
2014-10-14Use Hash syntax for LDAP server declarationJan-Willem van der Meer
2014-10-13Apply configuration changes for Multiple LDAP serversJan-Willem van der Meer
2014-07-09Try to keep token authenticable compatibilityMarin Jankovski
2014-05-27Revert "Actually use the 'user_filter' configuration option"Jacob Vosmaer
This reverts commit e9d4587ff11c8510f01dfa184414f73d75b4550b, which is incompatible with GitLab's built in LDAP user filter: a GitLab LDAP filter is [added on top of the other filters used to find the user](https://gitlab.com/gitlab-org/gitlab-ce/blob/982d4d51e8110bec280eb00db0fb756b062103d9/lib/gitlab/ldap/adapter.rb#L61) Example GitLab LDAP filter: `(memberOf=cn=foo,dc=bar)`. In contrast, an omniauth-ldap filter [replaces the 'normal' filters](https://gitlab.com/gitlab-org/omniauth-ldap/blob/76d77543dec0c585bb4e974262f43675f9810953/lib/omniauth/strategies/ldap.rb#L55) Example omniauth-ldap user filter: `(&(uid=%{username})(memberOf=cn=foo,dc=bar))`.
2014-04-21Actually use the 'user_filter' configuration optionTravis Odom
2014-02-19Send emails from the authorPierre de La Morinerie
This changes the email "From" field from "gitlab@example.com" to either: * "John Doe <gitlab@example.com>" if the author of the action is known, * "GitLab <gitlab@example.com>" otherwise. Rationale: this allow mails to appear as if they were sent by the author. It appears in the mailbox more like a real discussion between the sender and the receiver ("John sent: we should refactor this") and less like a robot notifying about something.
2014-02-04Change Devise.confirm_within to Devise.allow_unconfirmed_access_forAthos Ribeiro
According to Devise's changelog (https://github.com/plataformatec/devise/blob/master/CHANGELOG.md), Devise.confirm_within was deprecated in favor of Devise.allow_unconfirmed_access_for in version 2.0.0.
2013-12-30refactor omniauth configuration methodRaffael Schmid
This refactoring allows a user to use omniauth providers which do not use ```app_id``` and ```app_secret``` without needing to change the devise configuration.
2013-12-10Migrate application to rails 4 step 1Dmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-01We welcome everyone to contribute.Sytse Sijbrandij
2013-11-25Minimal password length increasedDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-10-15Enable confirmable and reconfirmable modules for UserDmitriy Zaporozhets
Now when you want to signup or change existing email you will be forced to confirm that you really own this email. You get email with link to follow in order to confirm your email address Conflicts: app/models/user.rb
2013-07-18Update the proc/lamda to be consistentIzaak Alpert
Change-Id: I411c7544c7834b00d26e51dc9a6c0396c51bd4f3
2013-07-18Allow the ldap logins with email or usernameIzaak Alpert
Change-Id: I73b4aa4c46afd56ae02fb24abcd673c0724547e4
2013-05-05Replace old hashes with new 1.9 ruby hashes (rebase)Andrey Kumanyaev
2013-03-25login with both email or usernameDmitriy Zaporozhets
2013-02-28update devise gemDmitriy Zaporozhets
2012-12-24Allow the OmniAuth provider args parameter to pass through as either an ↵Aaron Stone
Array or a Hash.
2012-12-20Fix gravatar and ldap configRiyad Preukschas