GitLab Bot
c2908ec6a0
Add latest changes from gitlab-org/gitlab@master
2020-04-27 15:10:16 +00:00
GitLab Bot
0d83264a7a
Add latest changes from gitlab-org/gitlab@master
2020-04-15 15:09:17 +00:00
GitLab Bot
1dffba3bd8
Add latest changes from gitlab-org/gitlab@master
2020-04-01 03:07:57 +00:00
GitLab Bot
4560c92ab1
Add latest changes from gitlab-org/gitlab@master
2020-03-27 03:07:56 +00:00
GitLab Bot
4fe93274de
Add latest changes from gitlab-org/gitlab@master
2020-03-04 00:07:52 +00:00
GitLab Bot
c72e5ebe99
Add latest changes from gitlab-org/gitlab@master
2020-02-27 09:09:01 +00:00
GitLab Bot
b98fa9ef3d
Add latest changes from gitlab-org/gitlab@master
2020-02-25 09:09:10 +00:00
GitLab Bot
5ee120f467
Add latest changes from gitlab-org/gitlab@master
2020-02-18 03:08:54 +00:00
GitLab Bot
0eb3d2f799
Add latest changes from gitlab-org/gitlab@master
2020-02-06 15:09:11 +00:00
GitLab Bot
b042382bbf
Add latest changes from gitlab-org/gitlab@master
2020-02-05 18:09:06 +00:00
GitLab Bot
536aa3a1f4
Add latest changes from gitlab-org/gitlab@master
2020-01-30 15:09:15 +00:00
GitLab Bot
b0bfadd486
Add latest changes from gitlab-org/gitlab@master
2019-12-30 12:09:15 +00:00
GitLab Bot
fb73ca3398
Add latest changes from gitlab-org/gitlab@master
2019-12-27 15:08:16 +00:00
GitLab Bot
6b13a226dd
Add latest changes from gitlab-org/gitlab@master
2019-11-29 09:06:31 +00:00
GitLab Bot
3269a20692
Add latest changes from gitlab-org/gitlab@master
2019-11-27 12:06:30 +00:00
GitLab Bot
ff67e3ed08
Add latest changes from gitlab-org/gitlab@master
2019-11-11 18:06:27 +00:00
GitLab Bot
82cef8dd1f
Add latest changes from gitlab-org/gitlab@master
2019-11-05 21:07:46 +00:00
GitLab Bot
886c682334
Add latest changes from gitlab-org/gitlab@master
2019-10-20 21:06:17 +00:00
GitLab Bot
25989ab7ef
Add latest changes from gitlab-org/gitlab@master
2019-10-18 11:11:44 +00:00
GitLab Bot
1bab0ba591
Add latest changes from gitlab-org/gitlab@master
2019-10-01 09:10:39 +00:00
GitLab Bot
80f61b4035
Add latest changes from gitlab-org/gitlab@master
2019-09-18 14:02:45 +00:00
GitLab Bot
bd860c22f6
Add latest changes from gitlab-org/gitlab@master
2019-09-17 12:06:48 +00:00
Winnie Hellmann
61515737a5
Add epic_iid to issue API entity
...
(cherry picked from commit 0bf7fecdee5a200eeb4f27b4888a57ceee63bde9)
2019-09-04 14:44:37 +00:00
Robert Speicher
7698d40550
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
2019-08-29 17:17:37 -05:00
GitLab Release Tools Bot
b01c7ad291
Merge branch 'security-61974-limit-issue-comment-size' into 'master'
...
Limit the size of issuable description and comments
See merge request gitlab/gitlabhq!3267
2019-08-29 21:34:15 +00:00
Stan Hu
440635015f
Fix N+1 Gitaly calls in /api/v4/projects/:id/issues
...
This is a follow-up from
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31938 .
In GitLab 9.0,
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9661 removed the
`subscribed` flag from the API when the user requested a list of issues
or merge requests since calculating this value triggers extensive
Markdown processing.
In GitLab 12.0 via a4fbf39e
, we accidentally reintroduced this
performance regression by changing `IssueBasic` to `Issue` in
`entities.rb`. This showed up as a Gitaly N+1 issue since the Markdown
processing would attempt to extract a commit if it detected a regex that
matched a commit.
We restore the prior behavior by once again removing the `subscribed`
flag for the bulk list of issues and merge requests and add a test to
ensure they aren't reintroduced.
Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/66202
2019-08-23 21:26:50 -07:00
Alexandru Croitor
f5b855546e
Update sort options for issues list
...
Increase sort options for issues list from updated_at and create_at,
to include more options close to what is required in actual issue list
UI.
This helps us to use REST API for issues list with sorting capabilities
https://gitlab.com/gitlab-org/gitlab-ce/issues/57402
2019-08-23 11:32:15 +03: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
Evan Read
d35788d74b
Merge branch 'docs-fix-soft-deletion' into 'master'
...
Fix outdated references to soft deletion
See merge request gitlab-org/gitlab-ce!31982
2019-08-21 01:04:09 +00:00
Markus Koller
44ca24f4f2
Fix outdated references to soft deletion
...
We stopped using soft deletion for issues and merge requests in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15789 ,
and for boards we apparently never used it.
2019-08-19 21:01:40 +02:00
Stan Hu
ba7c501fef
Fix Gitaly N+1 calls with listing issues/MRs via API
...
In GitLab 9.0,
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9661 removed the
`subscribed` flag from the API when the user requested a list of issues
or merge requests since calculating this value triggers extensive
Markdown processing.
In GitLab 12.0 via a4fbf39e
, we accidentally reintroduced this
performance regression by changing `IssueBasic` to `Issue` in
`entities.rb`. This showed up as a Gitaly N+1 issue since the Markdown
processing would attempt to extract a commit if it detected a regex that
matched a commit.
We restore the prior behavior by once again removing the `subscribed`
flag for the bulk list of issues and merge requests and add a test to
ensure they aren't reintroduced.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66202
2019-08-17 20:35:37 -07:00
Marcel Amirault
4121c63676
Remove extra blank lines from docs
...
Removing extra blank lines in docs that serve
no purpose, as well as some --- lines that also
are not needed.
2019-07-15 01:04:35 +00:00
Marcel Amirault
25aa4e0322
Remove extra whitespaces in docs
...
Removes all the extra whitespaces at end of lines,
inside tags, and removes extra newlines
2019-07-09 03:28:41 +00: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
Marcel Amirault
e108f0d961
Small markdown tweaks to clear kramdown warnings
...
Fixing square brackets, links, etc in:
merge_requests.md
vulnerabilities.md
issues.md
issues_statistics.md
pipelines.md
services.md
group_milestones.md
milestones.md
runners.md
changelog.md
issue_workflow.md
elasticsearch.md
api_graphql_styleguide.md
automatic_ce_ee_merge.md
file_storage.md
architecture.md
database_debugging.md
index.md
index.md
frontend_testing.md
pry_debugging.md
vue.md
development_process.md
2019-07-04 22:46:12 +00:00
Marcel Amirault
a347d15972
Update api docs to finish aligning EE and CE docs
...
Squashing a few commits and continuing work
on merging the 12 api docs that have not
been ported to CE yet.
2019-07-03 09:32:54 +00:00
Patrick Derichs
b70d23c25a
Add task count and completed count to responses of Issue and MR
...
Add spec for task_completion_status
Add test cases for task_completion_status result
Extracted shared samples
Add new spec file for task completion status response
Fix style errors
Add changelog entry
Changed samples to Hashes
Remove test for successful request
Remove not nil expectation
Add task_completion_status to api documentation for issues
Add task_completion_status to api documentation for merge_requests
Refactor spec so it just requests one specific item
Add task_completion_status to Taskable
Simplified task completion status in entities
Refactor spec so it separates status code check and content check
Fix spec description text and field name
2019-06-07 11:15:55 +02:00
Alexandru Croitor
9ff6edf690
Review updates and cleanup
...
* Cleaned issues and issues_statistics docs
* Renamed param with_labels_data to with_labels_details
* Added spec for N+1 check when retrieving labels from issue
* Refactoed CheckAssigneesCount validation class
2019-05-17 13:56:25 +03:00
Alexandru Croitor
f117c032ac
Add params validations and remove extra params support
...
Remove label_name and milestone_title params support
Add mutually_exclusive validation for author_id and author_username
Add mutually_exclusive validation for assignee_id and assignee_username
Add validation to allow single value for asignee_username on CE
Add separate issue_stats_params helper for statistics params and
reuse in issues_params.
2019-05-15 10:15:17 +03:00
Kamil Trzciński
a555a227dd
Merge branch 'filter-confidential-issues' into 'master'
...
Ability to filter confidential issues
Closes #50747
See merge request gitlab-org/gitlab-ce!24960
2019-02-26 12:24:39 +01:00
Michael Kozono
9ffdd736f8
Revert "Merge branch '49449-add-an-api-endpoint-for-bulk-updating-issues-and-mrs' into 'master'"
...
This reverts commit 7981c0292b
, reversing
changes made to 9202bbd129
.
2019-02-25 12:43:14 -08:00
Michael Kozono
e95b88a06d
Revert "Merge branch 'filter-confidential-issues' into 'master'"
...
This reverts commit d133bf84c6
, reversing
changes made to 7981c0292b
.
2019-02-25 12:42:34 -08:00
Kamil Trzciński
d133bf84c6
Merge branch 'filter-confidential-issues' into 'master'
...
Ability to filter confidential issues
Closes #50747
See merge request gitlab-org/gitlab-ce!24960
2019-02-25 11:00:24 +00:00
Rémy Coutable
7981c0292b
Merge branch '49449-add-an-api-endpoint-for-bulk-updating-issues-and-mrs' into 'master'
...
API endpoint for bulk updating issues and MRs
Closes #49449
See merge request gitlab-org/gitlab-ce!25201
2019-02-25 10:51:58 +00:00
Robert Schilling
73e3a1cd02
Add API support for filtering confidential issues
2019-02-21 14:02:38 +01:00
Patrick Derichs
4235620170
Add related merge request count to api response
2019-02-19 11:30:07 +00:00
Robert Schilling
64ed7069c7
Incorporate review feedback
...
Use shared examples for issues and merge requests
rather than a loop creating common specs.
2019-02-18 14:38:14 +01:00
Evan Read
47fb1c5235
Remove consecutive blank lines from markdown files
...
For the sake of consistency, removes any extraneous
consecutive blank lines from the doc suite.
2019-02-18 09:36:13 +00:00
Robert Schilling
6b2673bc7a
Add new to test bulk_update endpoint for issues and MRs
...
Add documentation for issues and MRs. Add shared tests
for both bulk updating issues and MRs.
2019-02-14 23:14:23 +01:00
Sean McGivern
068b41275f
Merge branch 'search-title' into 'master'
...
Add 'in' filter that modifies scope of 'search' filter to issues and merge requests API
See merge request gitlab-org/gitlab-ce!24350
2019-02-05 09:52:40 +00:00
Hiroyuki Sato
40198f8184
Fix grammar and spelling
2019-02-05 17:32:27 +09:00
Mario de la Ossa
35aee4e82c
Add missing attrs to Issue example API responses
2019-01-24 11:48:51 -06:00
Hiroyuki Sato
d32aec06fe
Add 'in' filter that modifies scope of 'search' filter to issues and merge requests API
2019-01-14 12:02:55 +09: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
Jacopo
c068ac67b3
Filter by `None`/`Any` for labels in issues/mrs API
...
By using the parameters `?labels=None|Any` the user can filter
issues/mrs from the API that has `none/any` label.
Affected endpoints are:
- /api/issues
- /api/projects/:id/issues
- /api/groups/:id/issues
- /api/merge_requests
- /api/projects/:id/merge_requests
- /api/groups/:id/merge_requests
2018-11-23 16:11:52 +01:00
Cynthia Ng
39e4ad13a3
Docs: fix API move issue curl command
2018-11-22 02:56:17 +00:00
Helmut Januschka
17a7b41132
add related merge request endpoint
2018-11-01 12:36:01 +01:00
Sean McGivern
c49f57fe43
Merge branch 'engwan/gitlab-ce-44012-filter-reactions-none-any'
2018-11-01 11:07:09 +00:00
Heinrich Lee Yu
4f53ab13c6
Add documentation
2018-11-01 07:45:36 +08:00
Heinrich Lee Yu
afa33274d0
Add API docs
2018-11-01 07:39:45 +08:00
Heinrich Lee Yu
31d3330810
Add documentation
2018-10-26 10:32:14 +08:00
Jacopo
a1c3d40739
Allows to filter issues by `Any milestone` in the API
...
In GET `api/v4/projects/:id/issues` the user can filter issues
that have an assigned milestone through the parameter
`milestone=Any+Milestone`.
2018-10-03 14:19:08 +02: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
Jamie Schembri
e72388246b
Resolve "Allow issue's Internal ID (`iid`) to be set when creating via the API"
2018-08-01 09:03:14 +00:00
Victor Wu
d93b627b57
Add `No+Milestone` for querying by milestone
2018-07-23 14:01:33 +00:00
Mark Fletcher
be9a7e6774
Clarify milestone_id scope for API operations on Issuables
2018-05-24 10:11:02 +01:00
Mark Chao
d839b880a2
Add created_by_me and assigned_to_me scopes
...
Deprecate corresponding dash versions created-by-me and assigned-to-me
2018-05-21 09:55:30 +08:00
Sean McGivern
7c36e8561c
Merge branch '41967_issue_api_closed_by_info' into 'master'
...
Add closed by information to issue API
See merge request gitlab-org/gitlab-ce!17042
2018-03-30 15:43:45 +00:00
haseeb
b5987e62ea
added missing space in docs and a changelog
2018-03-06 21:46:51 +05:30
Jacopo
168ff28506
Adds updated_at filter to issues and merge_requests API
2018-03-05 14:10:32 +01:00
haseeb
a73c9a63a7
note added
2018-03-03 16:07:13 +05:30
haseeb
989acbac98
documentation updated
2018-02-28 19:25:24 +05:30
Brent Greeff
34b9cc9674
API: get participants from merge_requests & issues
2018-01-05 15:21:53 +00:00
Achilleas Pipinellis
6704a4fdf5
[API] Document how to unassign labels, milestones, and assignees
2017-12-01 15:10:23 +01:00
Luke "Jared" Bennett
ff7b545c8e
Merge remote-tracking branch 'origin/master' into 18608-lock-issues
2017-09-20 15:23:00 +01:00
Vitaliy @blackst0ne Klachkov
c0845e837d
Add 'closed_at' attribute to Issues API
2017-09-16 20:51:02 +11:00
Jarka Kadlecova
994e7d1359
Create system notes for MR too, improve doc + clean up code
2017-09-14 14:50:32 +02:00
Jarka Kadlecova
073ba05d31
Support discussion lock in the API
2017-09-14 14:50:32 +02:00
Hiroyuki Sato
785834cfc0
Fix API document
2017-09-05 11:56:18 +09:00
Hiroyuki Sato
cf9c54bd31
Add my_reaction_emoji param to /issues API
2017-09-05 11:56:17 +09:00
Achilleas Pipinellis
d8633bd14a
Merge branch 'docs-fix-15669-issue-move-api' into 'master'
...
Add to_project_id parameter to Move Issue via API example
Closes #15669
See merge request !14008
2017-09-04 09:06:20 +00:00
Mark Fletcher
03af5e2e8d
Add to_project_id parameter to Move Issue via API example
2017-09-02 13:52:12 +08:00
Travis Miller
8cbc9c4ed0
Add time stats documentation to issue and merge request end points
2017-08-29 08:31:36 -05:00
Frank Pavageau
e3393dbec8
Fix the iids parameters in the API documentation
...
Since the parameter name is really `iids[]`, it should be used consistently
across the documentation.
2017-08-07 22:43:41 +02:00
Toon Claes
39c39ae791
Modify/add some forgotten issues API documentation
...
Should have been part of !13004 .
2017-07-28 00:08:44 +02:00
Sean McGivern
5e56890e31
Merge branch 'tc-issue-api-assignee' into 'master'
...
Add author_id & assignee_id param to /issues API
Closes #29430
See merge request !13004
2017-07-27 09:59:38 +00:00
Oswaldo Ferreira
33dc5171e5
Resolve "More RESTful API: include resource URLs in responses"
2017-07-25 09:35:45 +00:00
Toon Claes
d8798c907d
Allow query param scope for /issues API endpoint
2017-07-24 22:46:02 +02:00
Toon Claes
8bf89cb4ab
Add author_id & assignee_id param to /issues API
...
Allow issues filtering on `author_id` and `assignee_id`.
2017-07-24 22:16:14 +02:00
James Lopez
2aa95aa018
refactor code based on feedback
2017-07-06 15:27:49 +02:00
James Lopez
47e17fe12a
fix docs
2017-07-06 15:27:49 +02:00
James Lopez
bd9b62114f
add API documentation
2017-07-06 15:27:48 +02:00
Kyle Bishop
ef633d2478
add since and until params to issuables
2017-06-18 15:43:51 -07:00
Valery Sizov
22722659c2
fix for Follow-up from "Backport of Multiple Assignees feature
2017-05-11 19:11:49 +03:00
Marcia Ramos
d5eb66663e
update API doc with +API (h1 heading)
2017-05-10 15:48:07 -03:00
Valery Sizov
387c4b2c21
Backport of multiple_assignees_feature [ci skip]
2017-05-04 17:11:53 +03:00
mhasbini
327e344417
Add issues/:iid/closed_by api endpoint
2017-04-12 14:38:00 +03:00
Achilleas Pipinellis
6536e3d561
Add URL encoding link to issues API
...
[ci skip]
2017-04-10 15:37:14 +02:00
Achilleas Pipinellis
7d543837f3
Fix markdown table in API Issues docs
2017-04-06 17:18:51 +02:00
Oswaldo Ferreira
7cb907cc77
Add "search" optional param and docs for V4
...
Notice that this param is being supported since V3, but we have not added the proper docs for it
2017-04-05 13:50:12 -03:00
Toon Claes
670427cdde
Put the use of "No Label" in the description
...
To get the issues that have no label, the special keyword `No Label`
can be used. This `No Label` label can be used like any other label.
2017-03-16 13:54:49 +01:00
Bob Van Landuyt
ea70a0d674
Rename variable
...
merge_request_for_resolving_discussions ->
merge_request_to_resolve_discussions_of
2017-03-13 08:27:52 +01:00
Bob Van Landuyt
f86928953d
Always require MR-iid for resolving discussions
...
And deduplicate the finding of MR's & discussions. Now the searching
is done in the service, istead of the controller & the API.
2017-03-13 08:27:51 +01:00
Bob Van Landuyt
0267b83898
Delegate a single discussion to a new issue
...
Delegate a discussion in a merge request into a new issue.
The discussion wil be marked as resolved and a system note will be
added linking to the newly created issue.
2017-03-13 08:27:51 +01:00
Timothy Andrew
72ef8af758
Add documentation for !9530 .
2017-03-07 13:56:00 +05:30
Adam Niedzielski
c727d4328f
Remove "subscribed" field from API responses returning list of issues or merge requests
2017-03-06 14:17:07 +01:00
Vignesh Ravichandran
305f19ca26
Be able to list issues with no labels using API
2017-03-03 23:28:34 -08:00
Sean McGivern
d77bf0ed71
Merge branch '28257-issues-iids' into 'master'
...
API issues - support filtering by iids
Closes #28257
See merge request !9541
2017-03-02 10:57:17 +00:00
Robert Schilling
1ead6a9793
Use v4 endpoint in API docs
2017-03-01 18:39:40 +01:00
Jarka Kadlecova
c6181f9799
API issues - support filtering by iids
2017-03-01 07:28:10 +01:00
Robert Schilling
f2dd260413
Update documentation
2017-02-28 08:32:39 +01:00
Robert Schilling
abbc592ee1
Use POST in the endpoint description for :ressource/unsubscribe [ci skip]
2017-02-23 13:37:19 +01:00
Robert Schilling
ca68c81733
Update documentation
2017-02-22 09:43:27 +01:00
Oswaldo Ferreira
c2426b4eac
Unify issues search behavior by always filtering when ALL labels matches
2017-02-20 13:21:22 -03:00
Oswaldo Ferreira
c2d64d6702
Remove deprecated MR and Issue endpoints and preserve V3 namespace
2017-02-06 10:12:20 -02:00
Ruben Davila
0f3c9355c1
Add some API endpoints for time tracking.
...
New endpoints are:
POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_estimate"
POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_time_estimate"
POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/add_spent_time"
POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_spent_time"
GET :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_stats"
2017-01-18 10:48:16 -06:00
David Eisner
7ef1c6408e
API: Implement project issues iid param with IssuesFinder and add tests
...
- Use IssuesFinder for the /issues API resouce
- Tests for iid filter in project issues API resource
- Tests for No Milestone filter in issues API resources
The "No Milestone" case was not previously tested, and the `/issues`
resource did not support the the `milestone` parameter.
- Return issues where all labels match from the issues and project issues
API resources, like the group issues resource already does. See
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6825#note_17474533
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-12 17:51:06 -05:00
Bob Van Landuyt
1123057ab7
Feature: delegate all open discussions to Issue
...
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.
2016-12-05 20:55:45 +01:00
Luis Alonso Chavez Armendariz
ed61d44e1e
Remove unnecessary sentences for status codes in the API documentation
2016-11-24 10:28:52 -07: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
Robert Schilling
036cc8c27e
API: Expose issue#confidential
2016-08-31 09:20:04 +02:00
Douwe Maan
90441e85dd
Merge branch 'entity-api-web-url' into 'master'
...
api: expose web_url for project entities
## What does this MR do?
Adds a `web_url` field to project snippet, issues, and merge request API returned objects.
## Are there points in the code the reviewer needs to double check?
Tests. Are they sufficient? (I'm working on getting them to pass.)
## Why was this MR needed?
Creating the URL for an MR or issue from the MR is tedious in API libraries; it's easy for Gitlab to just provide it.
## What are the relevant issue numbers?
N/A
## Screenshots (if relevant)
N/A
## Does this MR meet the acceptance criteria?
- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG ) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md )
- [x] API support added
- Tests
- [x] Added for this feature/bug
- [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides )
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits )
See merge request !5631
2016-08-24 19:26:04 +00:00
Ben Boeckel
e43c4060b6
api: expose web_url for project entities
...
This allows web hooks to have a URL back to entities without having to
generate it themselves.
2016-08-24 10:32:31 -04:00
Ben Boeckel
a5f3bdc5c8
docs: fix table alignment
2016-08-24 10:29:58 -04:00
Ben Boeckel
ae4efc8d5e
docs: update created_at docs for creating issues via API
...
See also #19863 .
Fixes #18458 .
2016-08-24 10:29:41 -04:00
winniehell
e0a858efcc
use long options for curl examples in API documentation ( !5703 )
2016-08-09 01:42:50 +02:00
Robert Schilling
e7d9fcc1c9
API: Expose due_date for issues
2016-07-12 17:59:21 +02:00
Robert Schilling
87ac9c9850
Support creating a todo on issuables via API
2016-07-01 14:52:04 +02:00
Marc Siegfriedt
6587feba65
gitlab-org/gitlab-ce#17818 - add api call for issues by group
...
rely only on IssuesFinder
docs and changelog
2016-06-23 16:31:48 +00:00
Achilleas Pipinellis
870470730c
Merge branch 'doc/issue-move-assigns-labels-and-milestone' into 'master'
...
Add docs for assigning labels/milestone when moving issue
Extends https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3934
See merge request !4069
2016-06-15 09:36:19 +00:00
Grzegorz Bizon
0daa6b4321
Add docs for assigning labels/milestone when moving issue
...
[ci skip]
2016-06-15 11:33:09 +02:00
cnam-dep
5364400741
API: Expose Issue#user_notes_count
2016-05-09 16:07:35 +02:00
Michael Greene
28a7fe25fd
Allow back dating issues on update
2016-04-13 12:04:09 -05:00
Robert Schilling
fa3009095f
Make subscription API more RESTful
2016-04-13 13:52:13 +02:00
Robert Schilling
bd0be13f5b
API: Ability to subscribe and unsubscribe from an issue
2016-04-13 13:45:00 +02:00
Robert Schilling
fdbf368202
Fix doc for moving an issue
2016-04-13 12:03:05 +02:00
Robert Schilling
2b036025d6
Update tests for moving issues via API
2016-04-13 11:31:50 +02:00
Robert Schilling
482f67edb4
API: Ability to move an issue
2016-04-13 11:23:42 +02:00
Robert Schilling
fb2fde9d62
API: Expose subscribed? on issues
2016-04-08 15:53:04 +02:00
Zeger-Jan van de Weg
473b261261
Back dating of issues when creating throught the API
2016-03-28 16:45:36 +02:00
Zeger-Jan van de Weg
d28a587e82
Fix typos and denting
2016-03-21 19:30:45 +01:00
Zeger-Jan van de Weg
3b088fc5b5
Minor improvements on IssuableActions
2016-03-21 16:59:35 +01:00
Zeger-Jan van de Weg
7342a4566c
Dry destroy action on issuables
2016-03-19 21:24:05 +01:00
Zeger-Jan van de Weg
212e83bab3
Soft delete issuables
2016-03-19 21:23:03 +01:00
Achilleas Pipinellis
13f52de0fa
Refactor issues API documentation
...
[ci skip]
2016-01-18 09:11:01 +01:00
jubianchi
2c544d43c8
Query issues, merge requests and milestones with their IID through API
2015-05-02 10:44:52 +02:00
Derek Campbell
874640123b
To close an issue you must set 'state_event' to 'close'. I cannot set 'closed' to '1'.
2015-02-20 09:20:42 -04:00
Dmitriy Zaporozhets
bdfb349ff7
Refactor and improve sorting objects in API for projects, issues and merge requests
2015-02-05 22:00:54 -08:00
Ewan Edwards
ad6c372eee
Fix a number of discovered typos, capitalization of developer and
...
product names, plus a couple of instances of bad Markdown markup.
2015-02-03 15:18:40 -08:00
jubianchi
f258a59ef6
Filters issues by milestone via API
2014-09-26 22:03:37 +02:00