Commit Graph

126 Commits

Author SHA1 Message Date
GitLab Bot 9297025d0b Add latest changes from gitlab-org/gitlab@16-7-stable-ee 2023-12-19 11:01:45 +00:00
GitLab Bot 419c53ec62 Add latest changes from gitlab-org/gitlab@16-5-stable-ee 2023-10-19 12:57:54 +00:00
GitLab Bot 5afcbe03ea Add latest changes from gitlab-org/gitlab@16-4-stable-ee 2023-09-20 11:18:08 +00:00
GitLab Bot db384e6b19 Add latest changes from gitlab-org/gitlab@16-3-stable-ee 2023-08-18 10:50:51 +00:00
GitLab Bot 3b1af5cc7e Add latest changes from gitlab-org/gitlab@16-1-stable-ee 2023-06-20 10:43:29 +00:00
GitLab Bot 43a25d93eb Add latest changes from gitlab-org/gitlab@16-0-stable-ee 2023-05-17 16:05:49 +00:00
GitLab Bot 71786ddc8e Add latest changes from gitlab-org/gitlab@15-9-stable-ee 2023-02-20 13:49:51 +00:00
GitLab Bot 05f0ebba3a Add latest changes from gitlab-org/gitlab@15-8-stable-ee 2023-01-18 19:00:14 +00:00
GitLab Bot 7021455bd1 Add latest changes from gitlab-org/gitlab@15-6-stable-ee 2022-11-17 11:33:21 +00:00
GitLab Bot ee664acb35 Add latest changes from gitlab-org/gitlab@15-5-stable-ee 2022-10-20 09:40:42 +00:00
GitLab Bot b39512ed75 Add latest changes from gitlab-org/gitlab@15-3-stable-ee 2022-08-18 08:17:02 +00:00
GitLab Bot b595cb0c1d Add latest changes from gitlab-org/gitlab@15-2-stable-ee 2022-07-20 15:40:28 +00:00
GitLab Bot 0ea3fcec39 Add latest changes from gitlab-org/gitlab@15-1-stable-ee 2022-06-20 11:10:13 +00:00
GitLab Bot 36a59d088e Add latest changes from gitlab-org/gitlab@15-0-stable-ee 2022-05-19 07:33:21 +00:00
GitLab Bot 3cccd102ba Add latest changes from gitlab-org/gitlab@14-10-stable-ee 2022-04-20 10:00:54 +00:00
GitLab Bot a7b3560714 Add latest changes from gitlab-org/gitlab@14-8-stable-ee 2022-02-18 09:45:46 +00:00
GitLab Bot aee0a117a8 Add latest changes from gitlab-org/gitlab@14-6-stable-ee 2021-12-20 13:37:47 +00:00
GitLab Bot d9ab72d608 Add latest changes from gitlab-org/gitlab@14-4-stable-ee 2021-10-20 08:43:02 +00:00
GitLab Bot 4555e1b21c Add latest changes from gitlab-org/gitlab@13-12-stable-ee 2021-05-19 15:44:42 +00:00
GitLab Bot 7e9c479f7d Add latest changes from gitlab-org/gitlab@13-6-stable-ee 2020-11-19 08:27:35 +00:00
GitLab Bot 48aff82709 Add latest changes from gitlab-org/gitlab@13-5-stable-ee 2020-10-21 07:08:36 +00:00
GitLab Bot 85dc423f70 Add latest changes from gitlab-org/gitlab@13-4-stable-ee 2020-09-19 01:45:44 +00:00
GitLab Bot a986819a7b Add latest changes from gitlab-org/security/gitlab@13-3-stable-ee 2020-09-01 16:52:41 +00:00
GitLab Bot 6e4e1050d9 Add latest changes from gitlab-org/gitlab@13-3-stable-ee 2020-08-20 18:42:06 +00:00
GitLab Bot 9f46488805 Add latest changes from gitlab-org/gitlab@13-0-stable-ee 2020-05-20 14:34:42 +00:00
GitLab Bot 2e31c85a97 Add latest changes from gitlab-org/gitlab@master 2020-03-18 00:09:16 +00:00
GitLab Bot dc889678d1 Add latest changes from gitlab-org/gitlab@master 2020-03-12 15:09:39 +00:00
GitLab Bot 76e9fc7b29 Add latest changes from gitlab-org/gitlab@master 2020-03-11 18:09:23 +00:00
GitLab Bot cf6a3e7ed4 Add latest changes from gitlab-org/gitlab@master 2020-02-21 15:09:05 +00:00
GitLab Bot 669c24d927 Add latest changes from gitlab-org/gitlab@master 2020-01-06 09:07:42 +00:00
GitLab Bot 8078bd185f Add latest changes from gitlab-org/gitlab@master 2019-11-01 00:06:02 +00:00
GitLab Bot b3f7042d06 Add latest changes from gitlab-org/gitlab@master 2019-10-23 15:06:29 +00:00
GitLab Bot 308146dc39 Add latest changes from gitlab-org/gitlab@master 2019-10-10 00:06:44 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
dineshpanda 980303b542 Avoid calling freeze on already frozen strings in app/controllers 2019-09-01 01:57:25 +05:30
Małgorzata Ksionek dfcf4cf5f1 Add captcha if there are multiple failed login attempts
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
2019-07-31 11:47:55 +02:00
Imre Farkas 929b403d21 Ensure Warden triggers after_authentication callback
By not triggering the callback:
- ActiveSession lookup keys are not cleaned
- Devise also misses its hook related to session cleanup
2019-07-26 07:05:50 +00:00
George Thomas a9707e8cf7
Rewrite `if:` argument in before_action and alike when `only:` is also used
Closes #55564
This is first discovered in #54739 (comment 122609857) that if both if: and only:
are used in a before_action or after_action or alike, if: is completely ignored.
2019-07-18 10:04:06 +05:30
James Edwards-Jones fab6a50f17 Prevent password sign in restriction bypass 2019-05-21 14:12:41 +07:00
Illya Klymov 3eff85a97c Remove "You are already signed in" banner 2019-04-24 13:23:07 +00:00
Martin Wortschack 76e8960f4a Externalize strings in flash messages
- Externalize strings in controllers
- Update PO file
2019-04-08 14:17:45 +00:00
Jasper Maes 616fbd028c Rails5: env is deprecated and will be removed from Rails 5.1 2018-11-15 08:12:24 +01:00
gfyoung 73322a0e55 Enable frozen string in app/controllers/**/*.rb
Enables frozen string for the following:

* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb

Partially addresses #47424.
2018-09-18 21:22:45 -07:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Sean McGivern e6dd3c5276 Merge branch 'feature/gb/login-activity-metrics' into 'master'
Add user authentication activity metrics

Closes #47789

See merge request gitlab-org/gitlab-ce!20668
2018-07-31 10:44:22 +00:00
Grzegorz Bizon 68547bc0e0 Track blocked users and two factor authentications 2018-07-23 15:13:11 +02:00
Lin Jen-Shin d0afab482f Disable SAML if OmniAuth is disabled
We also try to unify the way we setup OmniAuth, and how we check
if it's enabled or not.
2018-07-20 18:54:46 +08:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
Stan Hu 7376ffc3a3 Add Prometheus metrics to track reCAPTCHA success/failures 2018-07-03 11:39:00 -07:00
Stan Hu 9b48d9f43f Show a reCAPTCHA on signin page if custom header is set
This will only be displayed if `X-GitLab-Show-Login-Captcha` is set as an HTTP
header.
2018-06-21 15:37:34 -07:00