Commit Graph

2957 Commits

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason e00a7faba0 Add support for SSH certificate authentication
Why and how to enable this is covered in the docs being changed
here. This requires gitlab-org/gitlab-shell@2e8b670 ("Add support for
SSH certificate authentication", 2018-06-14) which has been merged in
and tagged as 8.0.0, so GITLAB_SHELL_VERSION needs to be bumped.

Merging this closes gitlab-org/gitlab-ce#34572 see
gitlab-org/gitlab-shell!207 for the gitlab-shell MR.

Implementation notes:

 - The APIs being changed here are all internal, and their sole
   consumer is gitlab-shell.

 - Most of the changed code is a MR to gitlab-shell, see the
   gitlab-org/gitlab-shell!207 MR. That change covers why only some of
   the internal methods get a new "username" parameter, and why some
   others only get a "user_id".
2018-08-01 08:44:39 +02:00
Sean McGivern ed81ee9ba2 Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' into 'master'"
This reverts merge request !20679
2018-07-27 13:12:35 +00:00
Sean McGivern 636ea40e18 Merge branch '41416-making-instance-wide-data-tools-more-accessible' into 'master'
Resolve "Making instance-wide data tools more accessible"

Closes #41416 and #48507

See merge request gitlab-org/gitlab-ce!20679
2018-07-27 13:03:50 +00:00
Bob Van Landuyt a79094b292 Add instance statistics settings to API 2018-07-27 14:14:47 +02:00
Felipe Artur 13ea4b387d Merge remote-tracking branch 'dev/master' 2018-07-26 18:30:50 -03:00
🙈 jacopo beschi 🙉 046796cc3a Resolve "API endpoint that returns all members, including the inherited membership through ancestor group" 2018-07-25 21:45:42 +00:00
Felipe Artur Cardozo 236ed1f2f3 Merge branch 'security-event-counters-private-data' into 'master'
[master] Don't expose project names in various counters

See merge request gitlab/gitlabhq!2418
2018-07-24 20:25:25 +00:00
JX Terry 99011a61cf Add an option to have a private profile on GitLab 2018-07-24 12:46:19 +00:00
Marko, Peter 6d72bb3832 Add min_access_level filter to projects API
Signed-off-by: Marko, Peter <peter.marko@siemens.com>
2018-07-23 20:57:50 +02:00
Marko, Peter 9cdf4292c5 Add min_access_level filter to groups API
Signed-off-by: Marko, Peter <peter.marko@siemens.com>
2018-07-23 20:57:50 +02:00
Sean McGivern 82a8903979 Merge branch 'hangouts_chat_integration' into 'master'
Hangouts chat integration

See merge request gitlab-org/gitlab-ce!20290
2018-07-23 09:20:16 +00:00
Francisco Javier López c52ab9141c Fix gitlab import project load 2018-07-23 07:52:15 +00:00
Douwe Maan 480b534568 Merge branch 'rs-web_url-for-pipelines-and-jobs' into 'master'
Expose web_url attribute in PipelineBasic and JobBasic

See merge request gitlab-org/gitlab-ce!20703
2018-07-23 07:50:27 +00:00
Robert Speicher 0f02ce3563
Ensure a job preloads the project's namespace to avoid N+1 2018-07-20 10:00:09 -07:00
Valery Sizov c3c7f26a34 Backport of gitlab-org/gitlab-ee!6137 2018-07-19 18:32:12 +00:00
Robert Speicher 6cb52964a6
Expose web_url attribute in PipelineBasic and JobBasic 2018-07-18 15:04:45 -07:00
Jan Provaznik f665e5b8fb Fix serialization of LegacyDiffNote 2018-07-18 14:49:52 +00:00
Rémy Coutable 7f0431dd85 Merge branch 'fix-project-api-archived' into 'master'
Fix archived parameter for projects API

Closes #32301

See merge request gitlab-org/gitlab-ce!20566
2018-07-16 18:29:14 +00:00
Marko, Peter 209fd86442 Fix archived parameter for projects API 2018-07-16 16:25:38 +02:00
Kukovskii Vladimir 07d9b036a9 Add dummy Google Hangouts Chat integration 2018-07-14 20:45:04 +09:00
Filipa Lacerda 6717643c30 Merge branch 'ide-merge-requests-forks' into 'master'
Allow merge requests from forks to be opened in Web IDE

Closes #47460

See merge request gitlab-org/gitlab-ce!20521
2018-07-13 14:48:15 +00:00
Yorick Peterse 5a55dd9936 Merge branch 'fix-performance-problem-of-tags-query' into 'master'
Fix performance problem of tags query

Closes gitlab-com/infrastructure#4550

See merge request gitlab-org/gitlab-ce!20555
2018-07-12 13:50:08 +00:00
Douwe Maan 2f83794d2b Merge branch 'dz-manifest-import' into 'master'
Add manifest import

See merge request gitlab-org/gitlab-ce!20304
2018-07-12 11:50:27 +00:00
Kamil Trzciński 1399eb058b Fix performance problem of accessing tag list for projects api endpoints 2018-07-12 13:40:43 +02:00
Bob Van Landuyt b7ffc097fb Allow collaboration with forks through the API
These APIs are used by the web IDE.

They need to be on par with git & web access, allowing edits from
maintainers to forks with merge requests that allow access.
2018-07-12 12:14:54 +02:00
Kia Mei Somabes 37af75a2e0 Resolve "do not set updated_at when creating note" 2018-07-12 09:26:09 +00:00
Jarka Kadlecová 8717c7dad9 Revert "Merge branch 'ee-5481-epic-todos' into 'master'"
This reverts commit 4d9a3f42f1, reversing
changes made to ecf9c145f6.
2018-07-11 18:33:24 +02:00
Dmitriy Zaporozhets 0f9dacf431 Fix icon for manifest import and mention manifest feature in API
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-07-11 12:22:57 +03:00
gfyoung 068defa750 Add missing maximum_timeout parameter 2018-07-11 09:13:28 +00:00
Rémy Coutable f5f5a4e677 Merge branch '48537-update-avatar-only-via-api' into 'master'
Resolve "PUT /projects/:id : unable to update avatar alone"

Closes #48537

See merge request gitlab-org/gitlab-ce!20505
2018-07-10 08:44:20 +00:00
Douwe Maan e6b91cc357 Merge branch '42415-omit-projects-from-get-group-endpoint' into 'master'
Resolve "API: /groups/:name query very slow for groups with many projects"

Closes #42415

See merge request gitlab-org/gitlab-ce!20494
2018-07-10 08:44:02 +00:00
Winnie Hellmann d79cef3a9a Support manually stopping any environment from the UI 2018-07-10 08:11:04 +00:00
Jamie Schembri 38d407d7a7 Fix #48537 - Update avatar only via the projects API 2018-07-09 19:03:44 +02:00
Tiago Botelho e6f3452314 Adds with_projects optional parameter to /groups/:id API endpoint 2018-07-09 16:28:17 +01:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
Sean McGivern e0c0ce28ea Merge branch '46246-gitlab-project-export-should-use-object-storage' into 'master'
Resolve "GitLab Project export should use object storage"

Closes #46246

See merge request gitlab-org/gitlab-ce!20105
2018-07-06 18:57:58 +00:00
James Lopez a2bf164154
Update Import/Export to use object storage (based on aa feature flag) 2018-07-06 15:46:18 +02:00
Phil Hughes e241fe6b78
added API docs
CHANGELOG
improved comments in API code
improved spec description
2018-07-05 15:44:56 +01:00
Phil Hughes c1322ab992
karma & rubocop fixes 2018-07-05 15:44:55 +01:00
Phil Hughes 5428e91374
only include _html fields when asked for 2018-07-05 15:44:54 +01:00
Phil Hughes 6021ab6f77
added html to response 2018-07-05 15:44:54 +01:00
Francisco Javier López a7a1531fe5 Web Terminal Ci Build 2018-07-05 13:55:10 +00:00
Douwe Maan fa349c08ce Merge branch '4266-board-with-config-api-ce' into 'master'
Backport of EE changes: Allow Labels::FindOrCreateService to find ancestor group labels

Closes #4266

See merge request gitlab-org/gitlab-ce!20364
2018-07-04 15:20:48 +00:00
Sean McGivern 4d9a3f42f1 Merge branch 'ee-5481-epic-todos' into 'master'
Port of Todos for epics

See merge request gitlab-org/gitlab-ce!19908
2018-07-04 12:57:37 +00:00
Mark Chao 4f795ed823 Backport from EE !5954
Allow Labels::FindOrCreateService to find ancestor group labels
Add authentication check on API endpoint
Update flayignore
2018-07-04 20:48:50 +08:00
Grzegorz Bizon 48bbb36347 Merge branch 'remove-is-shared-from-ci-runners' into 'master'
Remove the use of `is_shared` of `Ci::Runner`

See merge request gitlab-org/gitlab-ce!20172
2018-07-04 10:39:28 +00:00
Kamil Trzciński d3bcb06dc6 Make deprecated scopes of Runner explicit 2018-07-04 11:02:45 +02:00
Bob Van Landuyt 04b046587f Add pipeline lists to GraphQL
This adds Keyset pagination to GraphQL lists. PoC for that is
pipelines on merge requests and projects.

When paginating a list, the base-64 encoded id of the ordering
field (in most cases the primary key) can be passed in the `before` or
`after` GraphQL argument.
2018-07-04 10:53:39 +02:00
Jan Provaznik 7458ca8ebb [backend] Addressed review comments
* Group filtering now includes also issues/MRs from
subgroups/subprojects
* fixed due_date
* Also DRYed todo controller specs
2018-07-03 09:34:44 +02:00
Jarka Kadlecová 57a44f2da3 Support todos for epics backport 2018-07-03 09:34:44 +02:00