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