Douwe Maan
2b2bd402dc
Track who created a group or project member.
2015-04-14 12:06:42 +02:00
Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-02-12 19:17:35 +01:00
jubianchi
39e54e21cb
Handle errors on API when a project does not have a repository ( Closes #6289 )
2015-01-19 14:13:30 +01:00
Ciro Santilli
e4a38e4471
Factor using Repository#path_to_repo
2014-11-05 17:51:49 +01: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
Dmitriy Zaporozhets
e145f46a93
Fix contributors api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-30 11:56:48 +03:00
Dmitriy Zaporozhets
77c64a9b36
Replace project_access attribute with access_level in specs and API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-15 11:36:50 +03:00
Dmitriy Zaporozhets
bdbadebe3e
Fix adminarea and emails for new membership logic
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-15 10:57:02 +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
9f505954a6
Fix tests for CI
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-06 13:20:37 +03:00
Dmitriy Zaporozhets
3a971ca9ef
Fix tests by using non-exist tag names
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-05 13:12:41 +03:00
Dmitriy Zaporozhets
3162140dfa
Fix tag tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-05 09:36:11 +03:00
Sean Edge
468b2e8e0b
Added annotated tags. Updated tag haml file and call to gitlab-shell. Updated API for annotated tags. Added tests for API. Strip leading/trailing whitespace from message, if present. Update CHANGELOG.
2014-09-04 09:47:20 -04:00
Robert Schilling
392113919a
Validate tag-names and references in WebUI, API
2014-09-03 13:08:36 +02:00
Dmitriy Zaporozhets
72053703e8
Fix API repository specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 15:41:02 +03:00
Dmitriy Zaporozhets
5a88873e5c
Move API contributors logic to repository model
2014-07-02 14:43:23 +03:00
Dmitriy Zaporozhets
81d41c0f92
Collect contributors info via API
2014-07-02 12:40:20 +03:00
Dmitriy Zaporozhets
2d87556847
Remove rails observers from application
2014-06-17 22:51:43 +03:00
Dmitriy Zaporozhets
6fdd900827
Merge pull request #7014 from asedge/api_create_tag
...
Add CreateTagService. Use new service to allow tag creation through API.
2014-05-29 15:37:42 +03:00
Sean Edge
28de31f520
Fix broken repositories_spec test for creating new tags.
2014-05-28 11:14:51 -04:00
Sean Edge
a8f2977c6a
More fixup for HoundCI. Fix up some small issues in docs.
2014-05-27 08:22:04 -04: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
Sean Edge
435740b8a2
Fixup for HoundCI.
2014-05-26 12:32:01 -04:00
Sean Edge
446e920a1b
Add tests for creating tag with API.
2014-05-26 12:30:58 -04:00
Dmitriy Zaporozhets
242291850d
Add some tests to compare api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-26 18:05:55 +03:00
Jeroen van Baarsen
5dd2f36ae1
Added API testing group
2014-04-11 21:45:56 +02:00
Dmitriy Zaporozhets
9b276f0003
Move branches api to separate class
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-31 16:31:53 +03:00
Dmitriy Zaporozhets
6cf39fe10d
Extract commits API to separate file
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-18 12:41:21 +02:00
Dmitriy Zaporozhets
c227aa44f9
Make changes to tests
...
* project_with_code -> project
* project -> ermpty_project
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-01-22 21:03:52 +02:00
Jason Hollingsworth
7cc2520541
Add support for various archive formats.
...
Used mime-types gem instead of hardcoding content types.
Allow multiple extensions in archive route (.tar.gz, .tar.bz2).
Change content disposition from infile(?) to attachment for api.
Fixed api would return “archive” instead of {project}-{hash}.{ext}
2014-01-02 10:18:56 -06:00
Thom Gerdes
27912f9c21
Add api support for raw blob search
...
See issue
http://feedback.gitlab.com/forums/176466-general/suggestions/4566001-expose-raw-object-search-via-the-gitlab-api
2013-12-26 08:54:13 -05:00
Izaak Alpert
72bf6a47e0
Remove file compairson
...
Change-Id: Id2cae87c8cd383bc6cbcbdecf0f77c161bb82eab
2013-10-10 09:19:28 -04:00
Izaak Alpert
7cad12f77f
Added more tests for archive api
...
Change-Id: I2b0752bc2593a944d42dde0ffe0ef9ce408228a5
2013-10-10 09:19:28 -04:00
Izaak Alpert
ce21d8688d
feature API call to download repo archive
...
defaults to HEAD
Conflicts:
spec/requests/api/repositories_spec.rb
Change-Id: Id114aca6c59d75f18e49bf9f33809a04e010bfb6
2013-10-10 09:19:28 -04:00
Dmitriy Zaporozhets
726fa6c76a
Respect authorization in Repository API
...
* dont allow protect/unprotect branches for users without master permissions
* dont allow access to Repository api for guests
2013-09-29 16:04:57 +03:00
Alex Van't Hof
59f428dca2
Standardize commit diff api url, change blob api url, add get single commit
...
Use "/commits/:sha/diff" as opposed to "/commit/:sha", keeping in line
with existing api urls (e.g. "/projects/:id", etc.)
Fix 500 error resulting from a diff api call with an invalid commit hash
Move "/commits/:sha/blob" to "/blobs/:sha", leaving the old path for
backwards compatibility.
Add ability to get a single commit via "/commits/:sha"
2013-08-27 21:22:42 -04:00
Gabor Nagy
d139cc6b32
Adds feature: get a diff via API.
2013-08-25 23:48:11 +02:00
Izaak Alpert
216d5e2c1a
Fix intermittently failing notification_service test
...
Change-Id: Ic23cb46901f8adc77943bf3cc79566587364e22a
2013-07-17 22:42:51 -04:00
Dmitriy Zaporozhets
da6f4f06c7
API: implement retrieve of repository tree
2013-06-06 18:01:03 +03:00
Dmitriy Zaporozhets
25236efe6e
fix missing user2 in api:repositories specs
2013-05-23 12:26:06 +03:00
Dmitriy Zaporozhets
068cf2f467
split repositories and projects api
2013-05-23 12:23:47 +03:00