Commit Graph

758 Commits

Author SHA1 Message Date
Dmitriy Zaporozhets d0b556eb1b Add User#organization to users api
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-09-27 14:04:39 +03:00
Z.J. van de Weg a3d3240d0f Add link to broadcast messages docs
Fixes #22508
[ci skip]
2016-09-23 15:39:50 +03:00
Rémy Coutable 24fed56787 Merge branch 'and-you-get-awards' into 'master'
And Snippets get awards

## What does this MR do?

Makes snippets more awesome, by making them awardables

## Why was this MR needed?

Because Snippets were left behind.

## What are the relevant issue numbers?

Closes #17878

See merge request !4456
2016-09-21 15:22:28 +00:00
Dmitriy Zaporozhets c2a7e7b8ac Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2016-09-21 12:22:02 +03:00
Dan Dunckel ace1155396 Add optional 'author' param when making commits 2016-09-19 10:00:26 -07:00
Z.J. van de Weg e8dd0d54cb Fix tests for Snippets toggling awards
Also incorporate feedback
2016-09-19 19:53:09 +03:00
Z.J. van de Weg fe0433984c API docs for award emoji on Snippets
[ci skip]
2016-09-19 19:47:43 +03:00
Rémy Coutable b94de5fd55 Merge branch 'issue_20978' into 'master'
Allow to set request_access_enabled for groups and projects using API

Closes #20978

See merge request !6359
2016-09-19 15:53:40 +00:00
Felipe Artur e0067d1850 Allow to set request_access_enabled for groups and projects using API 2016-09-19 12:13:57 -03:00
Nick Thomas 5d1b616eba Update API documentation to mention rails session cookies
[ci skip]
2016-09-19 12:49:12 +01:00
Achilleas Pipinellis b1436cccf1 Merge branch 'patch-3' into 'master'
docs: fix typo, it should refer to `domain_blacklist_enabled` setting

## What does this MR do?

fix the documentation

## Are there points in the code the reviewer needs to double check?

N/A

## Why was this MR needed?

typo fix

## What are the relevant issue numbers?

N/A

## Screenshots (if relevant)

N/A

## Does this MR meet the acceptance criteria?

yes, it's just a typo fix in the documentation without any code or business logic changes

See merge request !5899
2016-09-17 19:07:37 +00:00
Z.J. van de Weg cf00fbecc5 Fix API notes endpoint when posting only emoji 2016-09-16 16:28:53 +02:00
Patricio Cano 02ddb9dff4 Syntax fixes and better tests for helper methods. Updated docs. 2016-09-15 14:10:49 -05:00
Patricio Cano fd62142950 Added group-specific setting for LFS.
Groups can enable/disable LFS, but this setting can be overridden at the project level. Admin only
2016-09-15 12:27:32 -05:00
Tomasz Maczukin e940d97dc0
Fix a typo in documentation 2016-09-13 18:04:26 +02:00
Tomasz Maczukin 1c634131fd
Update API documentation
[ci skip]
2016-09-13 17:44:19 +02:00
Marc Siegfriedt 48333b9da3 Add notification_settings API calls
Use NotificationSetting::EMAIL_EVENTS for params
2016-09-09 17:08:06 +00:00
Rémy Coutable a83c5ff48f Merge branch '15571-api-for-ci-lint' into 'master'
API for CI Lint

## What does this MR do?
Add API for CI Lint. Can check if `.gitlab-ci.yml` content is valid.

## What are the relevant issue numbers?
Closes #15571 

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] API support added
- [x] Documentation
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing

cc @ubudzisz @grzesiek @yorickpeterse

See merge request !5953
2016-09-07 13:06:21 +00:00
Rémy Coutable 39d1e4acd2 Merge branch 'master' into 'master'
Issue #21440: Small fix to curl example for adding member to project

## What does this MR do?
Two lines changed in docs to move the user_id field out of the url and onto the query string 

## Why was this MR needed?
Issue #21440 reported under Issues. The documentation example for adding members to a project had a slight problem. 

## What are the relevant issue numbers?
Closes #21440.

See merge request !6236
2016-09-07 12:57:31 +00:00
Katarzyna Kobierska ea48310579 Improve curl commend, remove blank lines 2016-09-07 12:54:02 +02:00
Katarzyna Kobierska dac4c5bb53 Fix invalid curl command 2016-09-07 12:19:36 +02:00
Katarzyna Kobierska 99d7b3ea0c Improve documentation grammar 2016-09-07 12:10:49 +02:00
Katarzyna Kobierska ced7cf7bff Improve documentation 2016-09-07 12:10:49 +02:00
Katarzyna Kobierska 25ece82dab Rename file and update README 2016-09-07 12:10:49 +02:00
Katarzyna Kobierska ea714b625b Move ci_lint to api/ci 2016-09-07 12:10:49 +02:00
Katarzyna Kobierska b63d20a106 Add Documentation to Ci Lint API 2016-09-07 12:10:49 +02:00
Jonny McCullagh aaaa781a2e Issue #21440: Fix to curl example for adding member to project 2016-09-06 21:34:33 +01:00
Olaf Tomalka bad3fb895c Added fork API paremeter for a specific namespace
Browser interface allows forking to an owned grup.
This commit brings API up to speed by providing optional namespace
parameter to fork API. This allows forking to users and groups under
forker's control using their id or unique name.

Fixes #21591
2016-09-06 04:16:14 +02:00
Z.J. van de Weg 61fbe7efe9 Add link on API docs index page
[ci skip]
2016-09-03 09:58:03 +02:00
Douwe Maan ae439a62cc Merge branch 'merge-request-sha-info' into 'master'
Merge request sha info

## What does this MR do?

Exposes `sha` and `merge_commit_sha` items in `MergeRequest` API endpoint data.

## Are there points in the code the reviewer needs to double check?

No.

## Why was this MR needed?

It's useful information.

## What are the relevant issue numbers?

Closes #20456.

## 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 !5966
2016-09-01 14:49:36 +00:00
Robert Speicher 9d4af1b140 Add BroadcastMessage API documentation 2016-08-31 17:03:19 -03:00
Robert Speicher 1ba5988afb Merge branch 'api-confidential-issues' into 'master'
API: Expose issue confidentiality flag.

## What does this MR do?

This MR adds support for confidential issues the the API. The property as exposed and users can create or update confidential issues.

## What are the relevant issue numbers?

Closes #17199 

See merge request !5384
2016-08-31 15:51:27 +00:00
Achilleas Pipinellis 636dbc85e2 The ID of a project can be also a string
[ci skip]
2016-08-31 17:40:54 +02:00
Ben Boeckel 9c3db830c0 entities: expose {,merge_commit_}sha in MergeRequest
Fixes #20456.
2016-08-31 10:50:54 -04:00
Robert Schilling 036cc8c27e API: Expose issue#confidential 2016-08-31 09:20:04 +02:00
Timothy Andrew 727dff3f15 Don't expose a user's private token in the `/api/v3/user` API.
- This would allow anyone with a personal access token (even a read-only
  token, once scopes are implemented) to escalate their access by
  obtaining the private token.
2016-08-31 12:33:24 +05:30
Patricio Cano cf37d623e1 Renamed `enable_lfs` to `lfs_enabled` for the Project field, and related fixes. 2016-08-30 17:17:45 -05:00
Patricio Cano 0227e98d0d Added CHANGELOG, documentation, and API functionality 2016-08-30 16:17:41 -05:00
Achilleas Pipinellis a5c1b42bf1 Merge branch 'patch-5' into 'master'
Update projects.md

## What does this MR do?
Repaired  some examples for a branches in projects.md

See merge request !6018
2016-08-30 19:09:06 +00:00
Achilleas Pipinellis 8c101f9f86 Mention that the `:id` of a project can also be `NAMESPACE/PROJECT_NAME`
[ci skip]
2016-08-30 13:43:09 +02:00
Douwe Maan bbd9a6fe40 Merge branch 'dz-merge-request-version' 2016-08-25 12:59:21 -05:00
Miroslav Meca 01a1e3925a Update projects.md
The wrong example for "Branches".
Added option parameters in protect branch section.
Here is reason: 3ab07b8aae

Maybe this section could/should be deleted. Because in file repositories.md it had been deleted:  8f3701eff0
2016-08-25 12:01:52 +00:00
Douwe Maan 952c501fdf Merge branch 'api_only_allow_merge_if_build_succeeds' into 'master'
expose 'only_allow_merge_if_build_succeeds' project setting in the API

## What does this MR do?
Adds the 'only_allow_merge_if_build_succeeds' project setting in the API.

## Are there points in the code the reviewer needs to double check?
No, but maybe this code is not enough for ACLs or the like.

## Why was this MR needed?
Because that's a very useful setting to change via automation (through the API)

## What are the relevant issue numbers?

Closes #21085, closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20088.

## Screenshots (if relevant)

## 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 !5930
2016-08-24 19:27:58 +00: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
Robert Speicher b13dba7f25 Merge branch 'api-project-hook-wiki-page-events' into 'master'
Api project hook wiki page events

## What does this MR do?

Updates project hook API for wiki page events. Also updates docs and tests for forgotten hook fields.

See merge request !5969
2016-08-24 18:18:05 +00:00
Ben Boeckel 99c2f3b3c5 api: expose wiki_page_events project hook field in the API 2016-08-24 10:33:51 -04:00
Ben Boeckel f413d7ed80 docs: document other project webhook fields 2016-08-24 10:33:37 -04: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