Commit graph

14 commits

Author SHA1 Message Date
GitLab Bot
4c5468b408 Add latest changes from gitlab-org/gitlab@master 2020-06-24 15:08:50 +00:00
GitLab Bot
1219a9dce9 Add latest changes from gitlab-org/gitlab@master 2020-04-01 15:07:45 +00:00
GitLab Bot
ed58c35137 Add latest changes from gitlab-org/gitlab@master 2019-10-03 06:06:07 +00:00
Heinrich Lee Yu
1ce5bcacdb Remove code related to object hierarchy in MySQL
These are not required because MySQL is not
supported anymore
2019-07-25 15:35:06 +08:00
Felipe Artur
be33946819 Delete unauthorized Todos when project is private
Delete Todos for guest users when project visibility
level is updated to private.
2019-06-05 10:51:52 -03:00
Sean McGivern
9bc3dfea4f Stop serialising project when removing todos
`Todos::Destroy::EntityLeaveService#project_ids` was returning
ActiveRecord objects with IDs, not simply IDs. That means we were
serialising more than we needed to in Sidekiq.

We can simply rename this method to `#projects` as this class doesn't
use any of the superclass methods that would use `#project_ids`.
2019-04-29 15:31:29 +01:00
Thong Kuah
85b29c1c2f Add frozen_string_literal to spec/services
Probably useful as we often move these files to "new" files.
2019-04-12 10:14:54 +12:00
Rémy Coutable
3a2abc1d50
Enable the Layout/ExtraSpacing cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24 13:05:45 +01:00
Jarka Kadlecová
6dc7490789 Add changes from the EE 2018-08-06 14:18:21 +02:00
Jarka Kadlecová
02b077925d Fix removing todos for users without access 2018-08-06 10:42:51 +02:00
Jarka Kadlecová
4d4b8f8bbe Remove group todos when a users looses access 2018-08-02 16:16:58 +02:00
Jarka Kadlecová
bdc8396e25 Remove todos when project feature visibility changes 2018-07-31 12:32:08 +02:00
Jarka Kadlecová
7934b91311 Fix removing todos for confidential issues
- dont remove todos for authos & assignees
- remove todos for project guests
2018-07-30 13:29:18 +02:00
Jarka Kadlecová
501fb04ec6 Delete todos when users loses target read permissions 2018-07-30 13:29:18 +02:00