Commit graph

14 commits

Author SHA1 Message Date
GitLab Bot
d7ed3b4766 Add latest changes from gitlab-org/gitlab@master 2020-06-01 18:08:07 +00:00
GitLab Bot
04edf65458 Add latest changes from gitlab-org/gitlab@master 2020-04-30 12:09:45 +00:00
GitLab Bot
b71a496c7a Add latest changes from gitlab-org/gitlab@master 2020-04-15 03:09:11 +00:00
GitLab Bot
c0d8f9f3f9 Add latest changes from gitlab-org/gitlab@master 2020-01-03 09:07:33 +00:00
GitLab Bot
71221554dd Add latest changes from gitlab-org/gitlab@master 2019-12-04 21:07:31 +00:00
GitLab Bot
a19a376bf3 Add latest changes from gitlab-org/gitlab@master 2019-12-02 21:06:51 +00:00
GitLab Bot
20758bc3b3 Add latest changes from gitlab-org/gitlab@master 2019-11-27 18:06:30 +00:00
Imre Farkas
9fd644f8f8 ActiveSession.cleaned_up_lookup_entries to use Redis#pipelined 2019-08-07 09:32:05 +00:00
Imre Farkas
313f145b55
Rake task to cleanup expired ActiveSession lookup keys
In some cases ActiveSession.cleanup was not called after authentication,
so for some user ActiveSession lookup keys grew without ever cleaning
up. This Rake task manually iterates over the lookup keys and removes
ones without existing ActiveSession.
2019-07-22 17:15:57 +02:00
Imre Farkas
f463a2d95b Do Redis lookup in batches in ActiveSession.sessions_from_ids
By doing smaller mget calls to Redis, it can better schedule the
workload. Currently a single mget with a lot of keys can keep Redis busy
for long, while nothing in its queue gets processed.
2019-07-17 11:07:26 +00:00
James Edwards-Jones
79f05f8a7e Sessions can be listed for a given user
Adds ActiveSession#session_ids_for_user for listing session IDs for a
given user, and adds ActiveSession#list_sessions for listing session
data directly.
2019-05-15 16:02:15 +07:00
Imre Farkas
44c4aad983
Filter active sessions belonging to an admin impersonating the user 2019-02-27 11:44:58 +01:00
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Alexis Reigel ( 🌴 may 2nd - may 9th 🌴 )
9b33e3d36f Display and revoke active sessions 2018-05-02 08:08:16 +00:00