gitlab-org--gitlab-foss/app/services/notes
Patrick Derichs a13abd6731 Add edit_note and spec for editing quick actions
Call QuickActionsService on Note update

Add support for notes which just contain
commands after editing

Return http status gone (410) if note was deleted

Temporary frontend addition so it is not
failing when a note is deleted

Move specs to shared examples

Fix rubocop style issue

Deleting note on frontend when status is 410

Use guard clause for note which got deleted

Simplified condition for nil note

This method should no longer be called
with nil note

Refactoring of execute method to reduce
complexity

Move errors update to delete_note method

Note is now deleted visually when it only
contains commands after update

Add expectation

Fix style issues

Changing action to fix tests

Add tests for removeNote and update
deleteNote expectations
2019-08-26 09:20:00 +00:00
..
base_service.rb Record usage on snippet usage 2019-08-08 13:18:57 +00:00
build_service.rb Add reply to notes to turn into discussions 2019-02-06 10:31:46 +00:00
create_service.rb Improve quick action error messages 2019-08-13 00:40:39 +00:00
destroy_service.rb Comment on any expanded diff line on MRs 2018-11-09 16:56:48 -02:00
post_process_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
quick_actions_service.rb Show commands applied message when promoting issues 2019-03-04 09:21:47 +00:00
render_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
resolve_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
update_service.rb Add edit_note and spec for editing quick actions 2019-08-26 09:20:00 +00:00