- Feb 24, 2020
-
-
GitLab Bot authored
-
- Nov 19, 2019
-
-
GitLab Bot authored
-
- Aug 28, 2019
-
-
Patrick Derichs authored
-
- Aug 26, 2019
-
-
Patrick Derichs authored
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
-
- Aug 01, 2019
-
-
Patrick Derichs authored
Remove project from NotesFinder constructor Add project parameter to specs Also look for methods in private scope Fix specs to match new NotesFinder constructor
-
- Jun 06, 2019
-
-
Markus Koller authored
In the Snippets::NotesController the noteable was resolved and authorized through the :snippet_id, so by passing a :target_id for a different snippet it was possible to create a note on a snippet where the user would be unauthorized to do so otherwise. This fixes the problem by ignoring the :target_id and :target_type from the request, and using the same noteable for creation and authorization.
-
- Mar 18, 2019
-
-
Heinrich Lee Yu authored
When executing quick actions, this limits the `commands_changes` response to only those used by the frontend
-
- Feb 23, 2019
-
-
Heinrich Lee Yu authored
Removes unneeded params from permitted list This also fixes commenting on commits with a hash starting with a large number
-
- Nov 29, 2018
-
-
Cindy Pallares authored
[master]Fixed ability to comment on and edit/delete comments on locked or confidential issues See merge request gitlab/gitlabhq!2612
-
- Nov 28, 2018
-
-
Chantal Rollison authored
-
- Oct 23, 2018
-
-
Oswaldo Ferreir authored
-
- Sep 21, 2018
-
-
- Sep 19, 2018
-
-
gfyoung authored
Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424.
-
- Sep 07, 2018
-
-
Jan Provaznik authored
-
- Jul 30, 2018
-
-
Bob Van Landuyt authored
The status is shown for - The author of a commit when viewing a commit - Notes on a commit (regular/diff) - The user that triggered a pipeline when viewing a pipeline - The author of a merge request when viewing a merge request - The author of notes on a merge request (regular/diff) - The author of an issue when viewing an issue - The author of notes on an issue - The author of a snippet when viewing a snippet - The author of notes on a snippet - A user's profile page - The list of members of a group/user
-
- Jun 21, 2018
-
-
- Apr 18, 2018
-
-
🙈 jacopo beschi 🙉 authored
-
- Apr 11, 2018
-
-
Yorick Peterse authored
This refactors the Markdown pipeline so it supports the rendering of multiple documents that may belong to different projects. An example of where this happens is when displaying the event feed of a group. In this case we retrieve events for all projects in the group. Previously we would group events per project and render these chunks separately, but this would result in many SQL queries being executed. By extending the Markdown pipeline to support this out of the box we can drastically reduce the number of SQL queries. To achieve this we introduce a new object to the pipeline: Banzai::RenderContext. This object simply wraps two other objects: an optional Project instance, and an optional User instance. On its own this wouldn't be very helpful, but a RenderContext can also be used to associate HTML documents with specific Project instances. This work is done in Banzai::ObjectRenderer and allows us to reuse as many queries (and results) as possible.
-
- Apr 03, 2018
-
-
Jan Provaznik authored
-
- Feb 28, 2018
-
-
- Nov 22, 2017
-
-
Lin Jen-Shin authored
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
-
- Nov 17, 2017
-
-
Lin Jen-Shin authored
-
- Nov 16, 2017
-
-
Douwe Maan authored
-
- Nov 06, 2017
-
-
- Nov 03, 2017
-
-
Felipe Artur authored
-
- Nov 02, 2017
-
-
Luke "Jared" Bennett authored
-
- Oct 21, 2017
-
-
Luke "Jared" Bennett authored
-
Luke "Jared" Bennett authored
-
Luke "Jared" Bennett authored
Added discussion_line_code value to note response and use it to query the right row for the discussion UI
-
- Oct 07, 2017
-
-
- Oct 03, 2017
-
-
Stan Hu authored
Reduces the number of queries needed to redact notes to which the user does not have access. Also includes an N+1 query test as a guard against future issues. This is a follow-up from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14327#note_40976854.
-
- Sep 18, 2017
-
-
Lin Jen-Shin authored
-
- Aug 30, 2017
-
-
Douwe Maan authored
-
- Aug 18, 2017
-
-
Douwe Maan authored
-
- Aug 17, 2017
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- Aug 07, 2017
-
-
Sean McGivern authored
-
- Aug 03, 2017
-
-
Filipa Lacerda authored
-
- Aug 02, 2017
-
-
Filipa Lacerda authored
-
- Jul 28, 2017
-
-
Sean McGivern authored
A commit comment shows in the MR, but if the MR is from a fork, it will have a different project ID to the MR's target project. In that case, add an note_project_id param so that we can pick the correct project for the note.
-