Commit graph

18 commits

Author SHA1 Message Date
m b
b099c6ff9f Deleting a MR you are assigned to should decrements counter
The merge request counter in the UI was not decreasing when a merge
request was deleting.

This was just due to the cache not being
refreshed on a delete action.

fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/44458
2018-04-05 13:24:45 -05:00
blackst0ne
27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Sean McGivern
ef454f68e8 Reset todo counters when the target is deleted
When the target is deleted, todos are destroyed, but we did not reset the todo
cache for users with todos on the deleted target. This would only update after
the next time the todo cache was updated for that user.
2017-12-18 12:23:00 +00:00
George Andrinopoulos
7fb1bb01bd Create issue and merge request destroy services 2017-11-25 22:09:18 +02:00
Felipe Artur
5c2c471a83 Fix WIP system note not being created 2017-11-23 17:25:14 -02:00
Jarka Kadlecova
064c8949bd CE port of code changed for epics 2017-11-02 07:14:35 +01:00
Rémy Coutable
c946ee1282
Enable the Layout/SpaceBeforeBlockBraces cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-09 11:52:22 +02:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Valery Sizov
223b87d7b1 Backport Fix '/unassign' slash command 2017-06-07 09:47:26 +03:00
Valery Sizov
22722659c2 fix for Follow-up from "Backport of Multiple Assignees feature 2017-05-11 19:11:49 +03:00
Rémy Coutable
d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Valery Sizov
387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
Rémy Coutable
e9bc346dff
Use match_array instead of eq when order is irrelevant
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-22 17:31:30 +01:00
Felipe Artur
1b082a4c33 Check if user can read issue before being assigned 2016-12-27 19:25:17 -02:00
Douglas Barbosa Alexandre
0c052f116c Remove default value for project argument on subscribable concern 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
091efb3152 Fix specs to pass a project when creating subscriptions 2016-11-17 15:10:13 -02:00
Dmitriy Zaporozhets
f28ca293b7 Add bulk update support for merge requests list
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-09-08 11:52:20 +03:00