- Mar 23, 2020
-
-
GitLab Bot authored
-
- Feb 26, 2020
-
-
GitLab Bot authored
-
- Jan 03, 2020
-
-
GitLab Bot authored
-
- Dec 10, 2019
-
-
GitLab Bot authored
-
- Oct 29, 2019
-
-
GitLab Bot authored
-
- Aug 23, 2019
-
-
Stan Hu authored
Similar to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31834, we see that in https://gitlab.com/gitlab-org/gitlab-ce/issues/65957 there can be hundreds, even thousands, of Gitaly requests in the `/api/:version/projects/:id/merge_requests/:noteable_id/notes` endpoint. Previously, the API to retrieve notes generated hundreds of Gitaly calls to determine whether a system note should be shown to the user. It did this by: 1. Rendering the Markdown 2. Extracting cross-references from the Markdown 3. Issuing a Gitaly `FindCommit` RPC for every reference to validate that the commit exists. The last step is unnecessary because we don't need to display a commit if the user doesn't have access to the project in the first place. `RendersNotes#prepare_notes_for_rendering` is already used in `MergeRequestsController`, which is why we don't see N+1 Gitaly calls there. We use it here to optimize the note redaction process.
-
- Jan 24, 2019
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Dec 18, 2018
-
-
blackst0ne authored
Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
-
- Jul 11, 2018
-
-
Mark Chao authored
-
- Jul 09, 2018
-
-
Lin Jen-Shin authored
-
- Mar 07, 2018
-
-
Jan Provaznik authored
* adds basic discussions API for issues and snippets * reorganizes notes specs (so same tests can be used for all noteable types - issues, MRs, snippets)
-
- Jan 02, 2018
-
-
Oswaldo Ferreir authored
-
- Dec 22, 2017
-
-
blackst0ne authored
-
- Nov 29, 2017
-
-
haseeb authored
-
- Oct 20, 2017
-
-
Jacopo authored
-
- Sep 14, 2017
-
-
Jarka Kadlecova authored
-
- Aug 28, 2017
-
-
Robert Schilling authored
-
- Aug 02, 2017
-
-
Robert Speicher authored
-
- Jun 21, 2017
-
-
Grzegorz Bizon authored
-
- Jun 14, 2017
-
-
Robert Speicher authored
-
- Apr 21, 2017
-
-
Jacopo authored
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
-
- Mar 27, 2017
-
-
Toon Claes authored
In API V4 all endpoints were changed so Merge Requests and Issues should be referred by iid, instead of id. Except the /notes endpoint was forgotten. So change the endpoints from: - /projects/:id/issues/:issue_id/notes - /projects/:id/merge_requests/:merge_request_id/notes To: - /projects/:id/issues/:issue_iid/notes - /projects/:id/merge_requests/:merge_request_iid/notes For Project Snippets nothing changes.
-
- Feb 28, 2017
-
-
mhasbini authored
add /award slash command; Allow posting of just an emoji in comment
-
Robert Schilling authored
-
- Feb 23, 2017
-
-
Douwe Maan authored
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
-
Douwe Maan authored
-
- Feb 20, 2017
-
-
Robert Schilling authored
-
- Feb 16, 2017
-
-
Robert Schilling authored
-
- Jan 23, 2017
-
-
Robert Speicher authored
Prevent users from creating notes on resources they can't access See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2054
-
- Jan 17, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Nov 28, 2016
-
-
Livier authored
Restore changes for api spec files Fix error in rspec Users Delete extra space Repositories-spec
-
- Nov 24, 2016
-
-
Douwe Maan authored
-
- Oct 24, 2016
-
-
barthc authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Oct 17, 2016
-
-
Nick Thomas authored
The amount of precision times have in databases is variable, so we need tolerances when comparing in specs. It's better to have the tolerance defined in one place than several.
-
- Sep 16, 2016
-
-
Zeger-Jan van de Weg authored
-
- Aug 25, 2016
-
-
Clement Ho authored
-
- Aug 09, 2016
-
-
tiagonbotelho authored
-
- Jul 01, 2016
-
-
Grzegorz Bizon authored
-
- Jun 27, 2016
-
-
Zeger-Jan van de Weg authored
-
- Jun 03, 2016
-
-
James Lopez authored
This reverts commit 3e991230.
-