Rémy Coutable
cf306b17bf
Merge branch 'api-group-leaking' into 'master'
...
API: Return 404 if user does not have access to group
Closes #15185
After !3587 is merged, I'll update this one to also fix the return code of the tests in !3587 .
See merge request !3683
2016-04-13 11:32:25 +00:00
Robert Schilling
4cd04443f5
Fix group_member_spec to not leak information
2016-04-13 12:10:12 +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
ca40479c51
API: Avoid group leak while updating the group
2016-04-13 11:20:45 +02:00
Robert Schilling
b2f48d8c46
API: Return 404 if user does not have access to group
2016-04-13 11:11:09 +02:00
Rémy Coutable
fc9e1be1fd
Merge branch 'api-group-visibility' into 'master'
...
API: Ability to update a group
This makes it much easier to update a group after introducing the group visibility.
* Closes #14991
See merge request !3587
2016-04-13 08:23:29 +00:00
Robert Schilling
5fb572417e
Fix minor issues according development guidelines
2016-04-12 19:08:35 +02:00
Rémy Coutable
e322b993e7
Merge branch 'api-delete-note' into 'master'
...
Delete notes via API
Supports deleting issues, snippets, and merge requests via the API.
* Closes #14944
* Closes #14845
* Closes #6060
@zj I did not see that you assigned yourself in #6060 . Hopefully, you did not start yet.
@rymai In #6060 this is targeted for 8.7 release. Could you review that and maybe this still lands in 8.7.
See merge request !3557
2016-04-12 14:34:50 +00:00
Rémy Coutable
a5512099ce
Merge branch 'api-get-tag' into 'master'
...
API: Ability to retrieve a single tag
* Closes #14330
/cc @dblessing
See merge request !3577
2016-04-12 14:04:40 +00:00
Robert Schilling
d0cdc2ee73
API: Ability to update a group
2016-04-12 15:47:20 +02:00
Robert Schilling
dc39c8372d
Adapt tests to new testing guidelines
2016-04-12 15:43:29 +02:00
Zeger-Jan van de Weg
6dbcb880cc
Allow a project member to leave the projected through the API
2016-04-12 14:30:42 +02:00
Robert Schilling
9aefaa41ab
Fix code review issues
2016-04-12 14:24:05 +02:00
Robert Schilling
ba21c00f01
Delete notes via API
2016-04-12 14:24:05 +02:00
Robert Schilling
f81352f531
Fix minor styling issues from code review
2016-04-12 14:12:30 +02:00
Robert Schilling
20d4ca4cc3
API: Ability to retrieve a single tag
2016-04-12 12:38:59 +02:00
Robert Schilling
9d03e8fd5c
API: Add iid filter to milestones
2016-04-12 12:37:16 +02:00
Rémy Coutable
92897d7683
Merge branch 'api-filter-milestone' into 'master'
...
API: Ability to filter milestones by state
Ability to filter milestones by `active` and `closed` state.
* Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14931
See merge request !3566
2016-04-07 08:45:35 +00:00
Robert Schilling
dc3272dccb
Revert "API: Ability to retrieve a single tag"
...
This reverts commit 7f287c9136 .
2016-04-06 21:03:24 +02:00
Robert Schilling
e6215a9a8e
Improve coding and doc style
2016-04-06 20:53:17 +02:00
Robert Schilling
0728588c34
API: Ability to filter milestones by state
2016-04-06 20:39:43 +02:00
Robert Schilling
7f287c9136
API: Ability to retrieve a single tag
2016-04-06 13:59:50 +02:00
Douwe Maan
df725aec98
Merge branch 'add-ability-to-archive-a-project-via-api-14296' into 'master'
...
Add endpoints for archiving and unarchiving
Closes #14296
See merge request !3372
2016-04-03 13:19:25 +00:00
Robert Speicher
999ae7f76b
Merge branch 'mariusz_jachimowicz/gitlab-ce-i_14415_expose_label_description' into 'master'
...
api - expose label description
Resolves #14415
See merge request !3314
2016-03-29 16:21:16 -04:00
Zeger-Jan van de Weg
b231742687
Merge branch 'master' into add-ability-to-archive-a-project-via-api-14296
2016-03-29 16:14:59 +02:00
Abhi Rao
762d6ab4fd
Ensuring Merge Request API returns boolean values for work_in_progress
...
Fixes #14692
2016-03-28 22:11:44 -05:00
Zeger-Jan van de Weg
473b261261
Back dating of issues when creating throught the API
2016-03-28 16:45:36 +02:00
Mariusz Jachimowicz
c8be7f1cf0
api - expose label description
2016-03-24 18:44:52 +00:00
Zeger-Jan van de Weg
3549d7c1d4
PUT becomes POST on archiving endpoints
...
Also the specs have a minor improvement. Mainly the access right spec.
Changes are reflected in the docs
2016-03-24 18:58:42 +01:00
Zeger-Jan van de Weg
2c5bcf2e1b
Add endpoints for archiving and unarchiving
2016-03-23 22:36:35 +01:00
Douwe Maan
ae7b2ef62c
Merge branch 'master' into issue_12658
...
# Conflicts:
# app/models/issue.rb
# app/views/projects/_home_panel.html.haml
# app/views/shared/projects/_project.html.haml
# db/schema.rb
# spec/models/project_spec.rb
2016-03-21 23:22:21 +01: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
Douwe Maan
b689e2c0e0
Fix spec
2016-03-21 00:42:30 +01:00
Douwe Maan
7c51d5efec
Fix some specs
2016-03-20 22:55:08 +01:00
Douwe Maan
2eb19ea3ea
Merge branch 'master' into issue_12658
2016-03-20 14:57:25 +01:00
Zeger-Jan van de Weg
1d77822816
minor improvements and fixed specs
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
Felipe Artur
8b830b8c3b
Fix specs
2016-03-18 21:04:53 -03:00
Douglas Barbosa Alexandre
e4f1c001e6
Restrict access to confidential issues through API
2016-03-17 20:55:59 -03:00
Zeger-Jan van de Weg
51300d9b2a
API support for setting External flag on existing users
2016-03-17 09:36:00 +01:00
Zeger-Jan van de Weg
88f8d3a4d6
Merge branch 'master' into 4009-external-users
2016-03-14 20:08:02 +01:00
Dmitriy Zaporozhets
d324bf8434
Merge branch 'share-project-ce' into 'master'
...
Bring from EE: Share Project with Group
- [x] Models and migrations
- [x] Logic, UI
- [x] Tests
- [x] Documentation
- [x] Share with group lock
- [x] Api feature
- [x] Api docs
- [x] Api tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
For #12831
cc @DouweM @rspeicher @vsizov
See merge request !3186
2016-03-14 16:38:52 +00:00
Zeger-Jan van de Weg
42fcd3881f
External Users
...
The user has the rights of a public user execpt it can never create a project,
group, or team. Also it cant view internal projects.
2016-03-13 19:08:04 +01:00
Dmitriy Zaporozhets
e8b3b92dde
Bring share project with group API from EE
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-13 11:52:43 +01:00
Robert Speicher
befa7a9c17
Don't remove ProjectSnippet#expires_at from API
...
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3103
This partially reverts commit 836d593033 .
2016-03-09 16:56:42 -05:00
Robert Speicher
fe9a445faa
Merge branch 'evuez/gitlab-ce-add-info-user-api' into 'master'
...
Expose User#last_sign_in_at and User#confirmed_at for admins
Closes #840
See merge request !3090
2016-03-08 17:30:10 +00:00
Robert Speicher
de944c914b
Add traits for each access_level to ProjectMember factory
2016-03-06 16:53:22 -05:00
evuez and Rémy Coutable
b0d24ab1b5
Add fields to GET /users/* API endpoints for admins
...
Added fields are last_sign_in_at and confirmed_at.
They are available for GET /users/ and GET /users/:id for admins.
Closes #840
2016-03-04 11:59:43 +01:00