- Mar 18, 2020
-
-
GitLab Bot authored
-
- Mar 11, 2020
-
-
GitLab Bot authored
-
- Jan 30, 2020
-
-
GitLab Bot authored
-
- Jan 27, 2020
-
-
GitLab Bot authored
-
- Nov 01, 2019
-
-
GitLab Bot authored
-
- Oct 23, 2019
-
-
GitLab Bot authored
-
- Oct 10, 2019
-
-
GitLab Bot authored
-
- Jul 31, 2019
-
-
mksionek authored
Add method to store session ids by ip Add new specs for storing session ids Add cleaning up records after login Add retrieving anonymous sessions Add login recaptcha setting Add new setting to sessions controller Add conditions for showing captcha Add sessions controller specs Add admin settings specs for login protection Add new settings to api Add stub to devise spec Add new translation key Add cr remarks Rename class call Add cr remarks Change if-clause for consistency Add cr remarks Add code review remarks Refactor AnonymousSession class Add changelog entry Move AnonymousSession class to lib Move store unauthenticated sessions to sessions controller Move link to recaptcha info Regenerate text file Improve copy on the spam page Change action filter for storing anonymous sessions Fix rubocop offences Add code review remarks
-
- May 21, 2019
-
-
James Edwards-Jones authored
-
- Apr 15, 2019
-
-
gfyoung authored
Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
-
- Dec 18, 2018
-
-
blackst0ne authored
Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
-
- Nov 15, 2018
-
-
George Tsiolis authored
-
- Jul 18, 2018
-
-
Imre (Admin) authored
-
- Jul 03, 2018
-
-
Stan Hu authored
-
- Jun 21, 2018
-
-
Stan Hu authored
This will only be displayed if `X-GitLab-Show-Login-Captcha` is set as an HTTP header.
-
- Jun 16, 2018
-
-
blackst0ne authored
Refactor sessions_controller_spec to work both in rails4 and rails5. Remove the stubbed `request.referer` method, set real header instead.
-
- May 04, 2018
-
-
Bob Van Landuyt authored
`InternalRedirect` prevents Open redirect issues by only allowing redirection to paths on the same host. It cleans up any unwanted strings from the path that could point to another host (fe. //about.gitlab.com/hello). While preserving the querystring and fragment of the uri. It is already used by: - `TermsController` - `ContinueParams` - `ImportsController` - `ForksController` - `SessionsController`: Only for verifying the host in CE. EE allows redirecting to a different instance using Geo.
-
- Oct 20, 2017
-
-
Jacopo authored
-
- Jul 20, 2017
-
-
Jacopo authored
Extracted `@request.env['devise.mapping'] = Devise.mappings[:user]` and `Rails.application.env_config['devise.mapping'] = Devise.mappings[:user]` in our tests into the helper method `set_devise_mapping`
-
- Jul 11, 2017
-
-
- Jun 21, 2017
-
-
Grzegorz Bizon authored
-
- Jun 14, 2017
-
-
Robert Speicher authored
-
- Jun 02, 2017
-
-
Maxime Besson authored
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>
-
- Apr 14, 2017
-
-
Rémy Coutable authored
This new class uses a Redis Hash instead of a Sorted Set. Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
James Lopez authored
Refactored specs and added a post deployment migration to remove the activity users table.
-
James Lopez authored
It uses a user activity table instead of a column in users. Tested with mySQL and postgreSQL
-
- Apr 02, 2017
-
-
mhasbini authored
-
- Mar 06, 2017
-
-
Pawel Chojnacki authored
+ rename shared context
-
Pawel Chojnacki authored
- cleanup formating in haml - clarify time window is in seconds - cleanup straneous chunks in db/schema - rename count_uniqe_ips to update_and_return_ips_count - other
-
Pawel Chojnacki authored
-
Pawel Chojnacki authored
-
- Feb 23, 2017
-
-
Douwe Maan authored
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
-
Douwe Maan authored
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
-
Douwe Maan authored
-
Douwe Maan authored
-
- Dec 07, 2016
-
-
jnoortheen authored
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
-
- Oct 04, 2016
-
-
Sean McGivern authored
Copy logic from `Devise::Models::Lockable#valid_for_authentication?`, as our custom login flow with two pages doesn't call this method. This will increment the failed login counter, and lock the user's account once they exceed the number of failed attempts. Also ensure that users who are locked can't continue to submit 2FA codes.
-
- Sep 02, 2016
-
-
DJ Mountney authored
Matches the changes done for non-u2f two-factor auth
-
- Jun 06, 2016
-
-
Timothy Andrew authored
- "two-factor" for OTP-based 2FA - "two-factor-via-u2f-device" for U2F-based 2FA - "standard" for non-2FA login
-
- Jun 03, 2016
-
-
James Lopez authored
This reverts commit 3e991230.
-