Commit graph

8 commits

Author SHA1 Message Date
Cairo Noleto
36dc4a5ce7 Allow bulk (un)subscription from issues in issue index
fixies #19747
2016-07-14 19:36:19 -03:00
Valery Sizov
3baed8cb6d Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
Sean McGivern
165d799fb3 Allow bulk-updating to remove all labels
Instead of passing `remove_label_ids`, just pass an empty array for
`label_ids` (and don't pass `add_label_ids` or `remove_label_ids`).
2016-06-03 17:14:23 -05:00
Sean McGivern
81a21c945e WIP: allow adding and removing labels in bulk 2016-06-03 17:11:41 -05:00
Dmitriy Zaporozhets
342d553709
Rename abilities to correspond contoller/model action names
write_ was renamed to create_
modify_  was renamed to update_

So now in update action we have next code

def create
  can?(current_user, :create_issue, @issue)
end

def update
  can?(current_user, :update_issue, @issue)
end

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26 15:55:56 +02:00
Douwe Maan
515e9d51df Make sure issue assignee is properly reset. 2015-03-24 16:52:02 +01:00
Douwe Maan
b673d87227 Send notifications and leave system comments when bulk updating issues. 2015-03-06 15:01:13 +01:00
Dmitriy Zaporozhets
1d2bdb4d58
Move all Context classes into Services
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-16 19:03:42 +02:00
Renamed from app/contexts/issues/bulk_update_context.rb (Browse further)