- Feb 24, 2020
-
-
GitLab Bot authored
-
- Nov 21, 2019
-
-
GitLab Bot authored
-
- Oct 23, 2019
-
-
Dylan Griffith authored
This is to be more consistent as there is already a :read_note policy in NotePolicy. To keep other behaviour the same we've introduced a Note#noteable_ability_name that is used anywhere this was expected.
-
- Sep 30, 2019
-
-
Alexandru Croitor authored
-
- Sep 23, 2019
-
-
Alexandru Croitor authored
-
- Jul 10, 2019
-
-
Luke Duncalfe authored
A new `discussion_id` argument on the `createNote` mutation allows people to create a note within that discussion. The ability to lazy-load Discussions has been added, so GraphQL.object_from_id can treat Discussions the same as AR objects and batch load them. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826 https://gitlab.com/gitlab-org/gitlab-ee/issues/9489
-
- Jun 14, 2019
-
-
Bob Van Landuyt authored
This exposes `Note`s on Issues & MergeRequests using a `Types::Notes::NoteableType` in GraphQL. Exposing notes on a new type can be done by implementing the `NoteableType` interface on the type. The presented object should be a `Noteable`.
-
- Feb 13, 2019
-
-
Heinrich Lee Yu authored
Sets `updated_at` so that the transformed note is returned together with the new reply
-
- Feb 06, 2019
-
-
Heinrich Lee Yu authored
-
- Jul 26, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
- Jun 21, 2018
-
-
- Dec 07, 2017
-
-
Douwe Maan authored
-
- Oct 07, 2017
-
-
- Jul 21, 2017
-
-
Douwe Maan authored
-
- Jun 01, 2017
-
-
Douwe Maan authored
-
- May 31, 2017
-
-
Douwe Maan authored
-
- May 29, 2017
-
-
Douwe Maan authored
-
- Apr 07, 2017
-
-
Douwe Maan authored
-
- Apr 06, 2017
-
-
Douwe Maan authored
-
- Apr 05, 2017
-
-
- Dec 05, 2016
-
-
Bob Van Landuyt authored
When a merge request can only be merged when all discussions are resolved. This feature allows to easily delegate those discussions to a new issue, while marking them as resolved in the merge request. The user is presented with a new issue, prepared with mentions of all unresolved discussions, including the first unresolved note of the discussion, time and link to the note. When the issue is created, the discussions in the merge request will get a system note directing the user to the newly created issue.
-
- Nov 28, 2016
-
-
Sean McGivern authored
-
- Nov 25, 2016
-
-
hhoopes authored
* Added keyword arguments to truncated_diff_lines method to allow for using highlighting or not (html templates vs. text) * Tweaked templates for consistency and format appropriateness
-
hhoopes authored
Previously the `truncated_diff_lines` method for outputting a discussion diff took in already highlighted lines, which meant it wasn't reuseable for truncating ANY lines. In the way it was used, it also meant that for any email truncation, the whole diff was being highlighted before being truncated, meaning wasted time highlighting lines that wouldn't even be used (granted, they were being memoized, so perhaps this wasn't that great of an issue). I refactored truncation away from highlighting, in order to truncate formatted diffs for text templates in email, using `>`s to designate each line, but otherwise retaining the parsing already done to create `diff_lines`. Additionally, while notes on merge requests or commits had already been tested, there was no existing test for notes on a diff on an MR or commit. Added mailer tests for such, and a unit test for truncating diff lines.
-
- Sep 06, 2016
-
-
Alejandro Rodríguez authored
Use `update_all` to only require one query per discussion to update the notes resolved status. Some changes had to be made to the discussion spec to accout for the fact that notes are not individually updated now
-
- Aug 19, 2016
-
-
Douwe Maan authored
-
- Aug 17, 2016
-
-
Douwe Maan authored
-
- Aug 16, 2016
-
-
Douwe Maan authored
-
- Aug 12, 2016
-
-
Douwe Maan authored
-
- Aug 02, 2016
-
-
Paco Guzman authored
Speedup DiffNote#active? on discussions, preloading noteables and avoid touching git repository to return diff_refs when possible - Preloading noteable we share the same noteable instance when more than one discussion refers to the same noteable. - Any other call to that object that is cached in that object will be for any discussion. - In those cases where merge_request_diff has all the sha stored to build a diff_refs get that diff_refs using directly those sha instead accessing to the git repository to first get the commits and later the sha.
-
- Jul 29, 2016
-
-
Douwe Maan authored
-
- Jul 27, 2016
-
-
Phil Hughes authored
-
- Jul 26, 2016
-
-
Douwe Maan authored
-