Stan Hu
91cbf9db0c
Add allow_failure field to commit status API
...
Closes #3196
2015-11-03 20:41:19 -08:00
Valery Sizov
4117d9b310
Merge branch 'feature/api_hide_service_password' of gitlab.com:cernvcs/gitlab-ce
2015-10-14 14:15:34 +03:00
Kamil Trzcinski
c61dc13150
Fix some changes
2015-10-12 16:41:36 +02:00
Alex Lossent
024e34e94d
Hide passwords to non-admin users in the services API
...
In order to be consistent with !1490 doing it for the web interface
2015-10-12 15:24:00 +02:00
Kamil Trzcinski
7ef156a242
Add author to statuses
2015-10-12 12:16:55 +02:00
Kamil Trzcinski
914cfbd2f1
Implement Commit Status API
2015-10-12 11:53:49 +02:00
Ben Boeckel
22db4398c6
api: expose note_events and enable_ssl_verification for hooks
2015-09-24 12:33:11 -04:00
Dmitriy Zaporozhets
0b5d627cd4
Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g
2015-09-09 14:56:02 +02:00
Artem V. Navrotskiy
8ec59bd18b
Add API method for get user by ID of an SSH key
2015-09-03 15:47:22 +03:00
Douwe Maan
046b283127
Groundwork for merging CI into CE
2015-08-25 18:42:46 -07:00
Stan Hu
e56fd693ee
Merge pull request #9567 from bigsurge/bigsurge-patch-1
...
add CommitNote field expose :created_at
2015-08-19 00:23:17 -07:00
bigsurge
cecc18616a
add CommitNote field expose :created_at
...
add CommitNote field expose :created_at
2015-08-19 14:29:18 +08:00
Ben Boeckel
95f8f7c729
api: add 'system', 'upvote', and 'downvote' fields to note queries
...
This reverts commit 4c586dc7c2 .
2015-08-12 17:02:33 -04:00
Douwe Maan
51e5f379dd
Merge branch 'master' into api-useremails
2015-07-31 14:34:53 +02:00
Douwe Maan
b8066e2cd0
No more web url
2015-07-30 11:56:15 +02:00
Douwe Maan
4fb6ddfe06
Add ability to manage user email addresses via the API.
2015-07-29 15:40:08 +02:00
Douwe Maan
a784b996b3
Add project star and fork count, group avatar URL and user/group web URL attributes to API
2015-07-28 15:49:44 +02:00
Ben Boeckel
414cacd7f4
api: expose work_in_progress flag
2015-07-10 10:33:43 -04:00
Stan Hu
4c586dc7c2
Revert "api: add 'system', 'upvote', and 'downvote' fields to note queries"
...
This reverts commit dd4fee5fdb .
2015-07-09 12:35:53 -07:00
Ben Boeckel
dd4fee5fdb
api: add 'system', 'upvote', and 'downvote' fields to note queries
2015-07-09 11:24:28 -04:00
Dmitriy Zaporozhets
c2ee6862c8
API to set application settings for admin
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-03 16:50:21 +02:00
Stan Hu
6548e9b48c
Add 2FA status to user admin API
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9391
2015-06-23 22:41:59 -07:00
Sven Selberg
361284fec2
Add current_sign_in_at to api User
2015-05-04 09:42:11 +02:00
Douwe Maan
84a1590252
Let commit model know about its project.
2015-04-24 12:29:36 +02:00
Christoph Dreis
1fdc610fa5
Include creator_id in project info of API
2015-04-10 18:35:05 +02:00
Cristian Medina
f045490568
Modified lib/api/entities.rb to expose Project class tag_list property to the API
...
Updated projects.md to show tag_list field when performing GETs
Updated projects_spec.rb to include check for tag_list key in project list
Added changes to the CHANGELOG
2015-04-03 04:35:12 -04:00
Dmitriy Zaporozhets
8348e1a9b5
Enable ParenthesesAsGroupedExpression rule
2015-03-02 18:45:28 -08:00
sue445
51abeaa1bc
Expose avatar_url in projects API
...
* Impl Project#avatar_url
* Refactor ApplicationHelper: Use Project#avatar_url
* Update changelog
2015-03-01 10:13:01 +09:00
Dmitriy Zaporozhets
24d939afb9
Remove Group#owner_id from API since it is not used any more
2015-02-17 16:23:44 -08:00
Douwe Maan
42422dcc6a
Add internal broadcast message API.
2015-02-07 16:41:30 +01:00
Dmitriy Zaporozhets
fc13ea7137
Merge pull request #8712 from jvanbaarsen/add-merge-request-files-endpoint
...
Added a way to retrieve MR files
2015-02-04 14:46:54 -08:00
Jeroen van Baarsen
b60d06eb2c
Added a way to retrieve MR files
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-04 10:24:25 +01:00
Dmitriy Zaporozhets
4f1d1fc51b
Convert hashes to ruby 1.9 style
2015-02-02 19:30:09 -08:00
Daniel Serodio
6ac8bb0f7c
Add description attribute to group API (GET and POST)
2015-01-16 16:52:48 -02:00
Valery Sizov
3a5ed5260b
Supporting for multiple omniauth provider for the same user
2014-12-04 13:03:55 +02:00
Dmitriy Zaporozhets
940ed58e76
Merge branch 'commit-comments' of https://gitlab.com/jeroenj/gitlab-ce into jeroenj/gitlab-ce-commit-comments
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
CHANGELOG
2014-11-12 13:19:35 +02:00
Valeriy Sizov
24276ed836
Merge pull request #8224 from liammonahan/master
...
Expose projects_limit through users API if UserFull.
2014-11-04 17:33:20 +02:00
Liam Monahan
2edf212a8b
Expose projects_limit through users API if UserFull.
2014-11-02 18:51:34 -05:00
Dmitriy Zaporozhets
ef9f8677e6
Expose author username in project events API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-10-31 12:08:45 +02:00
Sean Edge
822d9aa6ba
Create RepoTag Grape entity and present it when doing stuff with tags via API. Update API doc for repositories. Add tag message to tag list page in UI. Update Changelog. Update spec to set .gitconfig identity, required for annotated tags.
2014-10-30 09:48:23 -04:00
Kirill Zaitsev
b4963e9dda
Add tag_push_events to project hook api
2014-10-03 10:23:32 +04:00
Jeroen Jacobs
430758653c
Adds comments to commits in the API
2014-09-26 10:58:11 +02:00
Dmitriy Zaporozhets
4f1bb91a75
Fix finder and tests for new membership models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-15 16:45:28 +03:00
Dmitriy Zaporozhets
ce49f035cf
Fix access_level api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-15 11:55:36 +03:00
Dmitriy Zaporozhets
c69b8e0459
Huge replace of old users_project and users_group references
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-14 19:32:51 +03:00
Dmitriy Zaporozhets
27cf081e1b
Merge pull request #7479 from Razer6/feature/labels_api
...
Implement complete labels API (create/delete/update)
2014-08-15 10:25:48 +03:00
Dmitriy Zaporozhets
71f87ffb66
Merge pull request #6788 from CingleVue/master
...
Patched `MergeRequest` to return more data.
2014-08-13 16:47:51 +03:00
Robert Schilling
9284038dbe
Add, delete labels via API
2014-08-13 12:28:19 +02:00
Dmitriy Zaporozhets
5b52d7b979
Merge branch 'add_complete_commit_message_to_api' of https://gitlab.com/christian.taedcke/gitlab-ce into christian.taedcke/gitlab-ce-add_complete_commit_message_to_api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
CHANGELOG
2014-08-11 12:33:04 +03:00
mabdullah-cinglevue
d048a27771
Patched `MergeRequest` to return more data.
...
Added milestone to merge_requests instead of milestone id.
2014-08-01 18:41:09 +08:00
mabdullah-cinglevue
4a36d669b5
# This is a combination of 2 commits.
...
# The first commit's message is:
Patched `MergeRequest` to return more data.
Patched `MergeRequest` to return the `description` & `milestone`
Conflicts:
lib/api/entities.rb
# This is the 2nd commit message:
Update merge_requests.md
Update documentation for merge request endpoint adding support for description.
2014-08-01 18:29:23 +08:00
Dmitriy Zaporozhets
d9d8d3b799
Fix old api compatibility and tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-30 17:17:29 +03:00
Dmitriy Zaporozhets
2f780af246
Git::Compare does not have limit param any more
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-29 14:29:59 +03:00
Christian Taedcke
e59674f954
Add full commit message to commit api as field message.
2014-07-25 08:25:16 +02:00
Dmitriy Zaporozhets
767bd78081
Use Contributor class instead of hash
2014-07-02 15:09:06 +03:00
Dmitriy Zaporozhets
ae564c97d4
Dont expose user email via API
...
To prevent leaking of users info we reduce amount of user information
retrieved via API for normal users.
What user can get via API:
* if not admin: only id, state, name, username and avatar_url
* if admin: all user information
* about himself: all informaion
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-13 17:46:48 +03:00
Dmitriy Zaporozhets
1355ede49d
Wipe wall notes feature
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-13 14:24:54 +03:00
Dmitriy Zaporozhets
c7e00aca2d
Better specs for Compare API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-27 11:27:42 +03:00
Dmitriy Zaporozhets
10ee137e9c
Expose timeout and same_ref compare fields
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-27 11:16:50 +03:00
Dmitriy Zaporozhets
f441436e53
Add compare branches endpoint to API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-26 16:08:22 +03:00
Dmitriy Zaporozhets
1f1c59b61d
Merge pull request #6778 from dblessing/feature/mr_labels
...
Merge Request Labels
2014-05-13 14:43:46 +03:00
Drew Blessing
5f25cdfe19
Implement Merge Request Labels
2014-05-13 06:41:36 -05:00
Marcus Ilgner
b5a73b1f90
Expose archive status of projects in API
...
That way clients like Gitlab CI can decide to show or hide projects
based on that information
2014-04-18 17:55:06 +02:00
Mart Sõmermaa
0da8428f8e
Expose event and and mergerequest timestamps in API, make code more DRY.
2014-04-10 20:24:20 +03:00
Ábner Silva de Oliveira
44aa6b90dd
added api method to return labels of a given project
2014-03-21 06:25:25 -03:00
Dmitriy Zaporozhets
c02e3d441b
Fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-17 15:29:45 +02:00
Dmitriy Zaporozhets
928b7f3bff
Add tests for API project permissions info
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-17 15:14:27 +02:00
Dmitriy Zaporozhets
0ea0e542a9
Remove old entities
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-17 14:35:50 +02:00
Dmitriy Zaporozhets
eea317795e
Add current user permissions info to /api/projects/:id.json
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-17 14:33:41 +02:00
Jeroen van Baarsen
c2ed468d80
Also expose username for the /discover endpoint
...
Fixes #6328
2014-02-20 10:59:03 +01:00
Dmitriy Zaporozhets
1d48904ac8
Show avatars in ajax user selectbox
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-13 15:45:24 +02:00
Dmitriy Zaporozhets
97a4d8aea4
Improve code according to new gitlab_git
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-04 14:46:15 +02:00
Dmitriy Zaporozhets
4d56c359d3
Merge pull request #6075 from skv-headless/remove_deprecated_finders
...
Remove deprecated finders
2014-01-22 11:04:56 -08:00
skv
a3f645ef51
Remove deprecated finders
2014-01-19 23:39:56 +04:00
Jerome Dalbert
2e3f250d45
Add website url to user
2014-01-18 19:15:10 +00:00
François Bobot
7b3b63d4d4
[API] add parent_ids to specific commit informations
2013-12-11 14:41:07 +01:00
Dmitriy Zaporozhets
882029d9c6
Expose ProjectHook attributes via API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-04 13:37:39 +02:00
Jason Hollingsworth
d9bb4230cc
Adding authenticated public mode (internal).
...
Added visibility_level icons to project view (rather than just text).
Added public projects to search results.
Added ability to restrict visibility levels standard users can set.
2013-11-26 22:22:07 -06:00
Dmitriy Zaporozhets
0759dd4513
Namespaces API for admin users
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-15 15:24:10 +02:00
Dmitriy Zaporozhets
12800e5445
Extend API Issues, MergeRequets, Milestones with iid field
2013-10-14 16:39:54 +03:00
Islam Amer
29c807ced3
Expose votes in merge request api
...
Signed-off-by: Islam Amer <islam.amer@jollamobile.com>
2013-10-08 09:32:00 +02:00
Boyan Tabakov
479631aafc
Extended User API to expose admin and can_create_group for user creation/updating.
...
Also, is_admin and can_create_group are exposed in the user information.
Fixed attributes_for_keys to process properly keys with boolean values (since false.present? is false).
2013-09-29 11:47:29 +03:00
Izaak Alpert
8248e1f2b8
Add group membership api
...
Change-Id: I5b174bba02856ede788dcb51ec9b0d598ea7d0df
2013-09-04 13:17:17 -04:00
Andrew Austin
45280499b8
Fix project_id field in MergeRequest API
2013-08-27 01:54:09 +00:00
Angus MacArthur
ace5c54ab9
enhance project creation apis to allow setting of public attribute
...
Change-Id: Ib71ce8cf993627eada63d7d596fb302ec702f36e
2013-07-12 12:10:42 -04:00
Dmitriy Zaporozhets
5181816970
Merge branch 'master' into 6-0-dev
2013-07-12 14:42:35 +03:00
Dmitriy Zaporozhets
8cdfa86b57
Merge pull request #3993 from bke-drewb/3599
...
Issue 3599: Add snippets_enabled flag to projects for API
2013-07-11 09:54:15 -07:00
Dmitriy Zaporozhets
6a9aed1e87
Merge branch 'master' into 6-0-dev
...
Conflicts:
CHANGELOG
VERSION
app/views/admin/teams/projects/new.html.haml
app/views/projects/teams/available.html.haml
doc/install/installation.md
2013-07-10 14:03:00 +03:00
Angus MacArthur
ea5a006f27
Additon of apis for fork administration.
...
Added ability to add and remove the forked from/to relatioinship
between existing repos.
2013-07-08 17:34:00 -04:00
Dmitriy Zaporozhets
439f399bec
Remove all team resources except models. Move models to deprecated directory
2013-06-18 21:22:34 +03:00
Drew Blessing
31b06ebd01
Issue 3599: Add snippets_enabled flag to projects for API
...
s 3599: Add snippets_enabled flag to projects for API
Replace missing comma
2013-06-11 21:38:02 -05:00
Dmitriy Zaporozhets
8df699a336
API: project events
2013-06-06 19:19:17 +03:00
Dmitriy Zaporozhets
543506f3c5
API: Add last_activity_at date to project entity
2013-06-06 18:40:05 +03:00
Dmitriy Zaporozhets
50e8d6c0c0
Add api to collect owned user projects. Api deploy_key.create: Enable deploy key if it exist in other owned project
2013-06-03 19:49:04 +03:00
Dmitriy Zaporozhets
cd5685ca8c
Merge pull request #4115 from bke-drewb/apidocs
...
Update api docs and remove old attribute from User entity.
2013-05-29 23:25:40 -07:00
Drew Blessing
07fd95f384
Update api docs and remove old attribute from User entity.
...
The API docs incorrectly referenced a few attributes associated with users. The 'blocked' attribute has been replaced with 'state'. Also, 'dark_scheme' seems to no longer be available in the User model so it should be removed from the exposed attributes in the API User entity.
Add color scheme ID to API User entity
2013-05-29 05:40:17 -05:00
Christian Simon
0ebfa5e5a2
[FEATURE] Basic user_teams api
...
* Closing #3066
* Closing #3609
2013-05-21 23:13:30 +02:00
Dmitriy Zaporozhets
634cbd7138
Refactor API classes. So api classes like Gitlab::Issues become API::Issues
2013-05-14 15:33:31 +03:00
Dmitriy Zaporozhets
124a5e270e
add attachemnts support for wall
2013-03-19 13:28:29 +02:00
Alex Denisov
a15fe61fb0
API docs updated
2013-03-19 04:47:08 +00:00
Alex Denisov
28e7d1a8bf
Abilities added to /user and /sign_in requests
2013-03-18 20:11:28 +00:00
Dmitriy Zaporozhets
11b57d979c
Reduce amount of user info provided with internal api
2013-03-11 14:35:00 +02:00
Andrew8xx8
0d9a6fe7b1
User's blocked field refactored to use state machine
2013-03-04 18:52:30 +04:00
Dmitriy Zaporozhets
67465dc5ef
Fix private flag for project
2013-02-19 11:45:49 +02:00
Andrew8xx8
1644117a1a
Issue uses StateMachine now
2013-02-18 14:43:50 +04:00
Andrew8xx8
29f70acc98
Merge Request uses StateMachine now
2013-02-18 14:43:50 +04:00
livedata
bbd1bfd155
fixed API access to the project
2013-02-15 15:37:06 +01:00
Christian Simon
33c48ecd35
Code deduplication using inheritance for GroupDetail
2013-02-03 19:38:33 +01:00
Christian Simon
149ccd5d91
Fix groups api: differ between users and admin
2013-02-01 15:00:12 +01:00
Christian Simon
8edc6b6a8c
Add api for creating/listing/viewing groups
2013-02-01 12:11:19 +01:00
Dmitriy Zaporozhets
5857a7a9ce
Merge pull request #2839 from m4tthumphrey/protected-branches-api
...
Added methods to protect and unprotect branches in from the API
2013-01-31 10:44:20 -08:00
Dmitriy Zaporozhets
fd1b9fdc12
Merge branch 'extend_user_api' of https://github.com/bladealslayer/gitlabhq into bladealslayer-extend_user_api
...
Conflicts:
spec/requests/api/users_spec.rb
2013-01-31 13:00:50 +02:00
Matt Humphrey
2c7554e897
Added methods to protect and unprotect branches
2013-01-31 09:26:03 +00:00
Dmitriy Zaporozhets
193a5624b2
add path and path_with_namespace to api project entity
2013-01-31 09:11:35 +02:00
Jakob Borg
0f07922f19
'namespace' should be exposed via the API
...
Since it's now an integral part of the project name, it should be
visible via the API.
2013-01-02 21:31:20 +01:00
Riyad Preukschas
056fa05b86
Remove path parameter from projects API
2012-12-22 20:06:18 +01:00
Riyad Preukschas
931ec399bd
Remove the code parameter from the projects API
2012-12-21 18:43:46 +01:00
Boyan Tabakov
e954438a1d
Extended users API to support updating and deleting users.
...
Also added tests.
2012-12-18 21:24:31 +02:00
Cyril
d3b8952f8f
Add username to User and UserBasic entities in API and in examples in doc.
2012-12-12 18:51:20 +01:00
Nihad Abbasov
42ef89c98a
API: expose created date for project hooks and user SSH keys
2012-12-01 02:04:44 -08:00
Nihad Abbasov
2a98a060ca
API: don't expose 'updated_at' for notes
2012-11-29 14:41:24 -08:00
Nihad Abbasov
961cb285b0
API: restore broken merge request commenting
2012-11-29 12:11:01 -08:00
Nihad Abbasov
01eab583d0
API: list wall, snippet and issue notes
2012-11-29 12:11:00 -08:00
Valeriy Sizov
4281de3640
API: review 2
2012-10-25 13:38:55 +03:00
Valeriy Sizov
93e8d426c5
API: merge request: post comment call
2012-10-22 23:09:21 +03:00
Valeriy Sizov
bd049e5e7c
API:merge request show && list
2012-10-22 23:09:21 +03:00
Nihad Abbasov
b62445813d
API: SSH keys belong to user entity
2012-09-21 04:49:28 -07:00
Nihad Abbasov
4a072be2d7
API: commits belong to project repository
2012-09-21 04:34:07 -07:00
Dmitriy Zaporozhets
131553627d
Merge pull request #1521 from NARKOZ/api
...
API for project team members
2012-09-21 04:19:16 -07:00
Nihad Abbasov
25b745271a
add API for project team members
2012-09-21 03:23:17 -07:00
Dmitriy Zaporozhets
10d3a30b25
APi for commits. Better api docs
2012-09-21 13:22:30 +03:00
Nihad Abbasov
3dd940d4cb
API: extend UserLogin entity from UserBasic
2012-09-20 08:36:43 -07:00
Dmitriy Zaporozhets
9aafe77e70
I want be able to get token via api. Used for mobile applications
2012-09-20 17:45:07 +03:00
Nihad Abbasov
37817cc31d
API: expose project id for milestones
2012-09-20 18:38:34 +06:00
Alex Denisov
c23eb40829
SSH Keys API implemented
2012-09-16 17:52:06 +03:00
miks
3b5a90bdf6
Projects hooks API implemented
2012-09-08 20:51:12 +03:00
miks
909c8c345d
Make project users API more RESTful
2012-09-06 23:49:29 +03:00
Robert Speicher
7754189187
Fully embrace Ruby 1.9 hash syntax
...
Didn't bother with files in db/, config/, or features/
2012-08-10 18:25:15 -04:00
Nihad Abbasov
f7dd067490
API: expose issues project id
2012-07-25 04:22:21 -07:00
Nihad Abbasov
7b33d8cbca
add issues API
2012-07-24 05:19:51 -07:00
Nihad Abbasov
0f604e62fb
refactor projects API
2012-07-06 06:36:43 -07:00
Nihad Abbasov
5f38f67247
don't expose full user info unless needed
2012-07-05 06:47:00 -07:00
Nihad Abbasov
378dc55d29
add project snippets API
2012-06-29 06:34:08 -07:00
Nihad Abbasov
7b5c3cc8be
add projects API
2012-06-28 03:44:20 -07:00
Nihad Abbasov
4ad91d3c11
add users API
2012-06-28 03:43:41 -07:00