Commit graph

16 commits

Author SHA1 Message Date
Brett Walker
d9c5668d29
Refactor toggling of task list item 2019-01-30 23:18:16 +01:00
Heinrich Lee Yu
9d1090d49b Run CommonSystemNotesService on issuable create
Adds system notes for labels, milestone and due date on create
2018-12-18 08:36:56 +08:00
Jarka Košanová
4af1712d01 Extract code from Issues::MoveService
Extract code to make it easier reusable
- introduce AttributesRewriter and ContentRewriter
  - support group entites when rewriting content
- make Uploader copy_to working for Namespaces
2018-11-12 08:57:25 +01: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
Stan Hu
30227f8e8c Merge branch '38208-due-dates-system-notes' into 'master'
Add system note when due date is changed

Closes #38208

See merge request gitlab-org/gitlab-ce!21628
2018-09-09 21:19:05 +00:00
Eva Kadlecová
997dda50f4 Add system note when due date is changed 2018-09-09 21:43:37 +02:00
Jan Provaznik
d95c1f0335 Use ResourceLabelEvent for tracking label changes 2018-09-07 13:39:20 +00:00
gfyoung
265478ad74 Enable frozen string in apps/services/**/*.rb
For directories application_settings --> labels.

Partially addresses #47424.
2018-07-16 12:36:41 -07:00
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
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
Valery Sizov
22722659c2 fix for Follow-up from "Backport of Multiple Assignees feature 2017-05-11 19:11:49 +03:00
Valery Sizov
387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03: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