Commit Graph

81 Commits

Author SHA1 Message Date
GitLab Bot 4f49d2c8cd Add latest changes from gitlab-org/gitlab@master 2021-05-04 21:10:01 +00:00
GitLab Bot b5944525b0 Add latest changes from gitlab-org/gitlab@master 2021-02-09 21:09:19 +00:00
GitLab Bot fcef382cb9 Add latest changes from gitlab-org/gitlab@master 2021-01-19 09:10:32 +00:00
GitLab Bot a6c51b8876 Add latest changes from gitlab-org/gitlab@master 2021-01-11 21:10:36 +00:00
GitLab Bot a8704bd33c Add latest changes from gitlab-org/gitlab@master 2020-12-11 15:10:04 +00:00
GitLab Bot f8bb64721a Add latest changes from gitlab-org/gitlab@master 2020-11-26 06:09:20 +00:00
GitLab Bot 6535cf9c79 Add latest changes from gitlab-org/gitlab@master 2020-11-17 15:09:28 +00:00
GitLab Bot 77d49e6a73 Add latest changes from gitlab-org/gitlab@master 2020-10-28 15:08:49 +00:00
GitLab Bot 3d6d338697 Add latest changes from gitlab-org/gitlab@master 2020-09-11 15:08:30 +00:00
GitLab Bot b86a07e9b7 Add latest changes from gitlab-org/gitlab@master 2020-07-29 21:09:52 +00:00
GitLab Bot ed00b1a6a3 Add latest changes from gitlab-org/gitlab@master 2020-07-28 12:09:49 +00:00
GitLab Bot e69e3f1eb6 Add latest changes from gitlab-org/gitlab@master 2020-07-15 15:09:21 +00:00
GitLab Bot 6985123d92 Add latest changes from gitlab-org/gitlab@master 2020-05-28 00:08:37 +00:00
GitLab Bot 2c72daf2f1 Add latest changes from gitlab-org/gitlab@master 2020-03-30 18:08:07 +00:00
GitLab Bot c72e5ebe99 Add latest changes from gitlab-org/gitlab@master 2020-02-27 09:09:01 +00:00
GitLab Bot 5ee120f467 Add latest changes from gitlab-org/gitlab@master 2020-02-18 03:08:54 +00:00
GitLab Bot 536aa3a1f4 Add latest changes from gitlab-org/gitlab@master 2020-01-30 15:09:15 +00:00
GitLab Bot 886c682334 Add latest changes from gitlab-org/gitlab@master 2019-10-20 21:06:17 +00:00
Thomas Randolph e92b8219d7 Remove spaces from lines failing lint 2019-08-29 19:57:20 -06:00
Alexandru Croitor 5af535d919 Limit the size of issuable description and comments
Limiting the size of issuable description and comments to 1_000_000,
which is close to ~1MB of ASCII characters, which represents 99.9% of
all descriptions and comments we have in DB at the moment. This should
help prevent DoS attacks when comments contain refference strings.

Also this change updates regexp matching the namespaces paths by
limiting the namespaces paths to Namespace::NUMBER_OF_ANCESTORS_ALLOWED,
as we allow 20 levels deep groups.

see https://gitlab.com/gitlab-org/gitlab-ce/issues/61974#note_191274234
2019-08-22 10:43:13 +03:00
Marcel Amirault 73c6477b7e Changing badges to use parentheses not brackets
Previously, we used brackets to denote the tier badges,
but this made Kramdown, the docs site Markdown renderer,
show many warnings when building the site. This is now
fixed by using parentheses instead of square brackets.

This was caused by [PREMIUM] looking like a link to
Kramdown, which couldn't find a URL there.

See:
- https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/484
- https://gitlab.com/gitlab-org/gitlab-ce/issues/63800
2019-07-08 08:50:38 +00:00
Achilleas Pipinellis 77eb61e898 Port some EE API docs to CE
The following EE files had small differences with their CE counterpart
so they have been ported to CE:

- doc/api/boards.md
- doc/api/discussions.md
- doc/api/notes.md
- doc/api/resource_label_events.md
- doc/api/services.md
2019-05-29 23:25:19 +00:00
Victor Wu 6063c0d988 Link to resource label events API 2019-04-16 16:31:23 +00:00
James Ramsay 09caaed403 Add pagination to notes and discussions docs 2019-04-15 19:36:16 -04:00
Achilleas Pipinellis 0e078d1a8a
Replace look-alike token with '<your_access_token>'
Replace all '9koXpg98eAheJpvBs5tK' occurrences with
'<your_access_token>' in API docs.
2019-01-04 13:19:27 +01:00
Artur Pomadowski 9628fafa2d Fix param typo in notes.md 2018-10-16 20:32:12 +00:00
Florent Dubois b63ed7cff6 Allow date parameters on Issues and Notes API for group owners
- Allow `created_at` and `updated_at` parameters on Issues API
- Allow `created_at` on Issue Notes API

Closes gitlab-org/gitlab-ce#40059
2018-08-22 12:16:48 +01:00
Kia Mei Somabes 37af75a2e0 Resolve "do not set updated_at when creating note" 2018-07-12 09:26:09 +00:00
Jan Provaznik 7a76caa5a8 Merge request and commit discussions API 2018-05-01 12:39:44 +00:00
Jan Provaznik dcdfa04b32 Add discussion API
* adds basic discussions API for issues and snippets
* reorganizes notes specs (so same tests can be used for all noteable types - issues, MRs, snippets)
2018-03-07 12:27:50 +01:00
Ville Skyttä 0cbbb08e79 doc: Spelling fixes 2018-01-19 12:09:59 +02:00
haseeb 57d9121127 support ordering of project notes in notes api 2017-11-29 16:22:22 +00:00
sue445 7bc0486162 Expose noteable_iid in Note 2017-08-08 11:31:55 +00:00
Marcia Ramos 18a2928732 Add "API" to all respective headings (h1s) 2017-05-18 08:49:03 +00:00
Achilleas Pipinellis b472f9995a Fix wrong copy edits for URL-encoded substitutions in API docs 2017-04-10 11:17:04 +02:00
Achilleas Pipinellis 5422554b86 Mention URL path encoding to all API docs 2017-04-08 12:38:59 +02:00
Dawid Goslawski 82fad17a7d Add information about namespace encoding to API docs 2017-04-08 12:38:59 +02:00
Toon Claes add5cd996f API: Make the /notes endpoint work with noteable iid instead of id
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.
2017-03-27 15:29:37 +02:00
Robert Schilling 1ead6a9793 Use v4 endpoint in API docs 2017-03-01 18:39:40 +01:00
Robert Schilling f2dd260413 Update documentation 2017-02-28 08:32:39 +01:00
Robert Schilling 0b402e11e3 Remove deprecated `upvotes` and `downvotes` from the notes API 2017-02-22 13:07:49 +01:00
Rémy Coutable d03ca3d02e Merge branch 'issue-24534' into 'master'
Remove unnecessary sentences for return codes in the API documentation

Closes #24534

See merge request !7511
2016-11-25 15:43:05 +00:00
Luis Alonso Chavez Armendariz ed61d44e1e Remove unnecessary sentences for status codes in the API documentation 2016-11-24 10:28:52 -07:00
Douwe Maan 6df22f72c6 Rephrase some system notes to be compatible with new system note style 2016-11-24 18:26:29 +08:00
Dmitriy Zaporozhets cb7872c3a0
Remove /u/ prefix from user pages in documentation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-13 14:24:09 +03:00
Z.J. van de Weg cf00fbecc5 Fix API notes endpoint when posting only emoji 2016-09-16 16:28:53 +02:00
winniehell e0a858efcc use long options for curl examples in API documentation (!5703) 2016-08-09 01:42:50 +02:00
Rémy Coutable 63c45fa75b Revert "Merge branch 'patch-1' into 'master'"
This reverts merge request !4030
2016-05-09 15:21:23 +00:00
Aral Balkan 82b5bb9117 Made it clearer that issue_id means iid, not id. 2016-05-04 06:58:40 +00:00
Michael Greene c1467f5d97 Allow back dating notes on creation 2016-04-13 12:04:09 -05:00