Commit Graph

56 Commits

Author SHA1 Message Date
GitLab Bot eda8522f83 Add latest changes from gitlab-org/gitlab@master 2025-05-22 18:23:25 +00:00
GitLab Bot bf76d94f5a Add latest changes from gitlab-org/gitlab@master 2025-05-09 06:10:02 +00:00
GitLab Bot c1553a2569 Add latest changes from gitlab-org/gitlab@master 2025-03-13 12:11:38 +00:00
GitLab Bot f2d71682a9 Add latest changes from gitlab-org/gitlab@master 2025-03-06 09:11:04 +00:00
GitLab Bot b16f62a9de Add latest changes from gitlab-org/gitlab@master 2025-01-20 06:29:07 +00:00
GitLab Bot ecb6bda4d4 Add latest changes from gitlab-org/gitlab@master 2025-01-17 12:48:37 +00:00
GitLab Bot afc0360bc1 Add latest changes from gitlab-org/gitlab@master 2025-01-07 06:31:58 +00:00
GitLab Bot afd97e44a0 Add latest changes from gitlab-org/gitlab@master 2024-08-12 03:07:23 +00:00
GitLab Bot 5b1cd63561 Add latest changes from gitlab-org/gitlab@master 2024-08-02 09:07:51 +00:00
GitLab Bot 7fe35959a2 Add latest changes from gitlab-org/gitlab@master 2024-02-28 12:12:40 +00:00
GitLab Bot 6b262ae86b Add latest changes from gitlab-org/gitlab@master 2024-02-27 12:08:45 +00:00
GitLab Bot 44667210f6 Add latest changes from gitlab-org/gitlab@master 2024-02-14 18:09:56 +00:00
GitLab Bot 336b65a1c7 Add latest changes from gitlab-org/gitlab@master 2024-02-14 09:08:15 +00:00
GitLab Bot 0b84d7017e Add latest changes from gitlab-org/gitlab@master 2024-02-08 18:11:25 +00:00
GitLab Bot f45c9dd1a8 Add latest changes from gitlab-org/gitlab@master 2024-02-08 09:11:21 +00:00
GitLab Bot fc23bd54a1 Add latest changes from gitlab-org/gitlab@master 2024-01-05 09:11:29 +00:00
GitLab Bot 06c9acad67 Add latest changes from gitlab-org/gitlab@master 2023-09-07 15:08:44 +00:00
GitLab Bot 03d0856547 Add latest changes from gitlab-org/gitlab@master 2022-01-13 06:14:35 +00:00
GitLab Bot 844eb8879a Add latest changes from gitlab-org/gitlab@master 2021-11-24 18:14:31 +00:00
GitLab Bot f7406657b9 Add latest changes from gitlab-org/gitlab@master 2021-11-05 12:10:25 +00:00
GitLab Bot 26c3184b62 Add latest changes from gitlab-org/gitlab@master 2021-09-15 03:11:01 +00:00
GitLab Bot a16109b67f Add latest changes from gitlab-org/gitlab@master 2021-07-30 09:10:05 +00:00
GitLab Bot e5e0589e09 Add latest changes from gitlab-org/gitlab@master 2021-04-26 12:09:44 +00:00
GitLab Bot a1ed241c82 Add latest changes from gitlab-org/gitlab@master 2021-02-03 21:09:17 +00:00
Alexis Reigel ( 🌴 may 2nd - may 9th 🌴 ) 9b33e3d36f Display and revoke active sessions 2018-05-02 08:08:16 +00:00
Sean McGivern 5883ce95ef `current_application_settings` belongs on `Gitlab::CurrentSettings`
The initializers including this were doing so at the top level, so every object
loaded after them had a `current_application_settings` method. However, if
someone had rack-attack enabled (which was loaded before these initializers), it
would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't
have that method.

To fix this:

1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need
   `Object.new.current_application_settings` to work.
2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it
   like that in several places.
3. Change the initializers to use that new form.
2017-08-31 13:38:33 +01:00
Paul Charlton cb3b4a15e6 Support multiple Redis instances based on queue type 2017-07-11 03:35:47 +00:00
Eric Eastwood 0087f93989 Update session cookie key name to be unique to instance in development
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/31644
2017-06-01 08:27:40 -05:00
Gabriel Mazetto 926cee002d Deduplicated resque.yml loading from several places
We will trust redis configuration params loading to Gitlab::RedisConfig.
2016-08-04 18:55:37 +02:00
Grzegorz Bizon c370dce01c Enable Style/RedundantParentheses rubocop cop
See #17478
2016-05-30 15:07:18 +02:00
Jacob Vosmaer dc0ff9a174 Fix "remember me" sign in option 2016-05-02 17:22:03 +02:00
Valery Sizov 2244aaf98f Redis configuration consistency 2016-04-13 20:57:19 +03:00
Jacob Vosmaer 0163e27631 Add Gitlab::Redis connection pool 2016-04-04 17:00:09 +02:00
Jacob Vosmaer c46e6eff10 Parse config/resque.yml in one place only 2016-03-09 15:16:46 +01:00
Douwe Maan 2955ca613b Merge branch 'master' into reference-pipeline-and-caching 2015-12-02 11:20:51 +01:00
Valery Sizov 40ff1318d2 Rails update to 4.2.4 2015-11-25 18:18:44 +02:00
Marin Jankovski 0985032132 Also fallback to a default value if none is set. 2015-11-24 15:57:28 +01:00
Marin Jankovski 9595ec036a Maybe rescue session_expire_delay by setting a default value. 2015-11-24 12:11:31 +01:00
Valery Sizov 9e0d443f9e Disabling cache for test environment 2015-11-16 12:18:31 +02:00
Douwe Maan c1ecfb5de9 Disabling caching in test environment because it was causing issues with Markdown 2015-10-22 15:38:11 +02:00
Dmitriy Zaporozhets e3c30bf2e8
Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-11 16:32:11 +02:00
Kamil Trzcinski 0d66d4d342 Fix reading session_expire_delay when application settings are not yet created and migrations are not yet done 2015-09-09 15:31:40 +01:00
Douwe Maan 046b283127 Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
Robert Speicher 567a25b630 Ensure `session_expire_delay` field exists before accessing it
Closes #1798
2015-06-13 00:31:08 -04:00
themaze75 1d080f5745 session_expire_seconds => session_expire_delay
delay is in seconds
more legible code in session_store
Added `GitLab restart required` help block to session_expire_delay
2015-06-10 22:10:00 -04:00
Eric Maziade 84a414fe53 Add session expiration delay configuration through UI application
settings
2015-06-05 11:50:37 -04:00
Dmitriy Zaporozhets c1d2640b2e
Merge branch 'redis_settings'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	CHANGELOG
2014-08-28 15:03:22 +03:00
Jacob Vosmaer c0b146899b Store sessions in a Redis namespace
This makes less of a mess of the Redis root.
2014-08-26 13:44:39 +02:00
Jacob Vosmaer 99b81be887 Expire Rack sessions after 1 week 2014-08-26 10:58:16 +02:00
Jacob Vosmaer 8d78662e69 Give the Rails cache its own Redis namespace
Before this change, Rails cache data was stored in a global Redis
namespace. As a consequence, clearing the Rails cache (`rake
cache:clear`) would also delete all Sidekiq queue data and session
storage. This change puts all Rails cache data in a `cache:gitlab`
namespace, making `rake cache:clear` safe again.
2014-04-15 15:53:14 +02:00