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
2017-09-28refactor services to match EE signatureJames Lopez
2017-09-28Standardize capitalization and statusBrian Neel
2017-09-28# This is a combination of 1 commit.Brian Neel
# This is the 1st commit message: Add logging for all web authentication events # This is the commit message #2: Re-add underscore to after_inactive_sign_up_path_for # This is the commit message #3: Standardize on username= # This is the commit message #4: after_filter -> after_action, _resource -> resource # This is the commit message #5: Add two-factor login failures and account lockouts # This is the commit message #6: Move logging from two-factor concern to user model # This is the commit message #7: Add spaces around default parameter assignments # This is the commit message #8: Move logs out of user model # This is the commit message #9: Replace filtered_params with user_params # This is the commit message #10: Standardize case # This is the commit message #1: Fixes for username and AppLogger.info
2017-08-24Define ldap methods at runtimeBob Van Landuyt
This avoids loading the `OmniAuthCallbacksController` at boot time so it doesn't mess up the `before_action`-chain
2017-07-27Backport some recent changes related to LDAP from EERubén Dávila
2017-07-25Explicitly add `protect_from_forgery` actionBob Van Landuyt
Otherwise the token might be cleared before authentication is done, causing the authentication itself to fail
2017-07-14Merge branch 'bjk/metric_names' into 'master'Douwe Maan
Update metric names to match Prometheus guidelines. Closes #35031 See merge request !12812
2017-07-13Fixes needed when GitLab sign-in is not enabledRobin Bobbitt
When sign-in is disabled: - skip password expiration checks - prevent password reset requests - don’t show Password tab in User Settings - don’t allow login with username/password for Git over HTTP requests - render 404 on requests to Profiles::PasswordsController
2017-07-12Update sessions metric name.Ben Kochie
2017-06-23refactor update user service not to do auth checksJames Lopez
2017-06-23more refactoring based on feedbackJames Lopez
2017-06-23added service in the rest of controllers and classesJames Lopez
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-07Merge branch 'instrument-infra' into 'master'Grzegorz Bizon
Add Prometheus metrics endpoint and basic infrastructure to meter code See merge request !11553
2017-06-02Allow manual bypass of auto_sign_in_with_providerMaxime Besson
This commit lets a user bypass the automatic signin on the login form, in order to login with a technical (admin, etc) account Closes #3786 Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-02Move Prometheus presentation logic to PrometheusTextPawel Chojnacki
+ Use NullMetrics to mock metrics when unused + Use method_missing in NullMetrics mocking + Update prometheus gem to version that correctly uses transitive dependencies + Ensure correct folders are used in Multiprocess prometheus client tests. + rename Sessions controller's metric
2017-06-02Make login_counter instance variable instead of class one.Pawel Chojnacki
+ remove unecessarey require + fix small formatiing issues
2017-06-02Add trailing newline to response.Kevin Lyda
Prometheus requires a trailing newline in its response. + cleanup
2017-06-02Initial pass at prometheus monitoring.Kevin Lyda
This is a step for #29118. Add a single metric to count successful logins. Summary types are not supported so remove Collector. Either we need to support the summary type or we need to create a multiprocess-friendly Collector. Add config to load prometheus and set up the Collector and the Exporter. Fix `Gemfile` as current prometheus-client gemspec is missing the `mmap2` dependency.
2017-04-14Add user activity service and spec. Also added relevant - NOT offline - ↵James Lopez
migration It uses a user activity table instead of a column in users. Tested with mySQL and postgreSQL
2017-04-06Rename check_2fa_requirement to check_two_factor_requirementMarkus Koller
2017-04-02Fix redirection after login when the referer have paramsmhasbini
2017-02-23Revert "Prefer leading style for Style/DotPosition"Douwe Maan
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23Prefer leading style for Style/DotPositionDouwe Maan
2017-02-23Fix code for copsDouwe Maan
2017-02-23Enable Style/ConditionalAssignmentDouwe Maan
2016-12-16Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741Rydkin Maxim
2016-12-12fix: removed signed_out notificationjnoortheen
test: replaced signed_out message check with check for sign_in button fixes #25294
2016-12-07fix: 24982- Remove'Signed in successfully' messagejnoortheen
After this change the sign-in-success flash message will not be shown refactor: set flash message to be nil while signing in test: changed tests to reflect removal of sign-in message refactor: adding signed_in message back See Merge Request !7837 issue#24982
2016-08-03Remove provider path, replace with dynamic path.Connor Shea
2016-08-03Add an oauth provider path helper.Connor Shea
The helper constructs the path for a given oauth provider since Devise 4.0 deprecated passing the provider to the omniauth authentication path. Fixes #18110.
2016-06-15Merge branch '18225-avoid-full-table-users-count' into 'master' Jacob Vosmaer (GitLab)
Check if the Users table has exactly one user limiting the whole set ## What does this MR do? Limit the query set so about a full scan for all the rows on the users table (only scan to records) #18225 See merge request !4492
2016-06-08Merge branch 'password-min-length-placeholder' into 'master' Robert Speicher
Added minimum password length to password field Add a placeholder to the password field in the register form with the minimum number of characters required. Also added a pattern to the field to stop it submitting if less than that. Closes #17765 See merge request !4458
2016-06-06Check if the Users table has exactly one user limiting the whole setPaco Guzman
2016-06-06Add a U2F-specific audit log entry after logging in.Timothy Andrew
- "two-factor" for OTP-based 2FA - "two-factor-via-u2f-device" for U2F-based 2FA - "standard" for non-2FA login
2016-06-06Implement authentication (login) using a U2F device.Timothy Andrew
- Move the `authenticate_with_two_factor` method from `ApplicationController` to the `AuthenticatesWithTwoFactor` module, where it should be.
2016-06-03Added minimum password length to password fieldPhil Hughes
Closes #17765
2016-05-31Pass the "Remember me" value to the 2FA token formRobert Speicher
Prior, if a user had 2FA enabled and checked the "Remember me" field, the setting was ignored because the OTP input was on a new form and the value was never passed. Closes #18000
2016-04-07Fix 2FA authentication spoofing vulnerabilityGrzegorz Bizon
This commit attempts to change default user search scope if otp_user_id session variable has been set. If it is present, it means that user has 2FA enabled, and has already been verified with login and password. In this case we should look for user with otp_user_id first, before picking it up by login.
2016-03-05Allow the initial admin to set a passwordRobert Speicher
Closes #1980
2016-01-24Skip the 2FA requirement during logoutRobert Speicher
2015-12-28reCAPTCHA is configurable through Admin Settings, no reload needed.Gabriel Mazetto
2015-12-27Add support for Google reCAPTCHA in user registration to prevent spammersStan Hu
2015-09-20Bump devise-two-factor to 2.0.0Robert Speicher
Addresses internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2605 See https://github.com/tinfoil/devise-two-factor/pull/43
2015-09-02Crowd integrationValery Sizov
2015-08-12Fix redirection after sign in when using auto_sign_in_with_providerAlex Lossent
Logic for redirect path moved to a filter.
2015-07-23Allow custom label to be set for authentication providers.Douwe Maan
2015-07-06Audit log for user authenticationValery Sizov
2015-06-19Use User#two_factor_enabled instead of otp_required_for_loginRobert Speicher
2015-05-29Add an option to automatically sign-in with an Omniauth provider without ↵Alex Lossent
showing the GitLab sign-in page This is useful when integrating with existing SSO environments and we want to use a single Omniauth provider for all user authentication.