Dmitriy Zaporozhets
a7055be1fd
Merge pull request #2835 from Asquera/fixes/api
...
Fix API return codes
2013-03-07 08:33:34 -08:00
Sebastian Ziebell
ecf53bb9e6
API: fixes project creation and removed redundant info
2013-03-07 15:11:33 +01:00
Sebastian Ziebell
3374027e3a
Merge branch 'master' into fixes/api, code clean up and tests fixed
...
Conflicts:
doc/api/projects.md
spec/requests/api/projects_spec.rb
2013-03-07 14:51:56 +01:00
Dmitriy Zaporozhets
d2cec12632
block user should not be able to push
2013-03-07 14:18:30 +02:00
Dmitriy Zaporozhets
9c2a6e2013
Merge pull request #3047 from mikew/capistrano-deploy-example
...
Capistrano deploy example
2013-03-07 02:08:11 -08:00
Dmitriy Zaporozhets
7c408960ce
Merge pull request #3146 from amacarthur/AdminAPIs
...
Additional Admin APIs
2013-03-06 22:57:24 -08:00
Dmitriy Zaporozhets
afee5303ff
Merge pull request #3149 from m4tthumphrey/api-deploy-keys
...
Added methods to manage project deploy keys via API
2013-03-06 07:43:45 -08:00
Dmitriy Zaporozhets
65d78253cb
Merge pull request #3156 from m4tthumphrey/api-system-hooks
...
Added methods to manage system hooks from API
2013-03-06 07:42:43 -08:00
Matt Humphrey
1dd712ddc2
System hooks API.
2013-03-06 15:15:26 +00:00
Sato Hiroyuki
e7a67a5583
Don't set format manually, bacause set in routing.
2013-03-06 16:36:10 +09:00
Sebastian Ziebell
b5ef6d2268
API: refactored and simplified error handling in merge requests API
2013-03-05 23:43:05 +01:00
Sebastian Ziebell
cce35b6d05
Fixes api
2013-03-05 22:33:45 +01:00
Sebastian Ziebell
61cfa2a7a6
Merge branch 'master' into fixes/api
...
Conflicts:
lib/api/projects.rb
2013-03-05 22:29:49 +01:00
Matt Humphrey
f411772e33
Project deploy keys API
2013-03-05 21:23:29 +00:00
Angus MacArthur
61ffcab60f
Additional Admin APIs
2013-03-05 10:38:43 -05:00
Dmitriy Zaporozhets
f22488f726
Merge pull request #3143 from Undev/state-machine-3
...
State machine 3
2013-03-05 05:38:16 -08:00
Dmitriy Zaporozhets
3a09f02e11
Merge pull request #3109 from hiroponz/improve-network-graph
...
Improve network graph
2013-03-04 23:02:27 -08:00
Andrew8xx8
0d9a6fe7b1
User's blocked field refactored to use state machine
2013-03-04 18:52:30 +04:00
Matt Humphrey
1c0c7bd6e3
Missed comma.
2013-03-01 16:36:19 +00:00
Matt Humphrey
dd653f62f3
Added namespace_id to project creation via API
...
This allows you to set the namespace ID for projects via the the API. By default it is created for the current user. You can assign it to the global namespace by passing `GLN` which translates to 'Global Namespace'.
2013-03-01 16:34:11 +00:00
Dmitriy Zaporozhets
a73e58f70b
draper raise now RuntimeError instead of NoMethodError
2013-03-01 15:59:43 +02:00
Dmitriy Zaporozhets
e1f77b9be0
Merge branch 'link-to-issue-tracker' of https://github.com/Undev/gitlabhq into Undev-link-to-issue-tracker
...
Conflicts:
Gemfile.lock
2013-02-28 17:02:20 +02:00
Andrew8xx8
9e8a818696
Issues helper included to markdown helper
2013-02-28 16:11:13 +04:00
Andrew8xx8
68a7ecdaaf
Project issue tracker functions refactored
2013-02-28 16:10:00 +04:00
Andrew8xx8
e6d2e56961
Issue tracker field added to projects
2013-02-28 16:10:00 +04:00
Dmitriy Zaporozhets
aceb747bb8
use system call to start sidekiq
2013-02-27 20:40:01 +02:00
Sebastian Ziebell
d269d107d8
API: fixed adding a note
...
Now the correct attribute is checked if it's available or not. Also fixed a test.
2013-02-27 18:12:02 +01:00
Sebastian Ziebell
3bb342b961
Merge branch 'master' into fixes/api
2013-02-27 17:52:59 +01:00
Sebastian Ziebell
7499f65014
API: extracted helper method to validate required parameters, code clean up
...
Added a helper method to check if required parameters are given in an API call. Can be used
to return a `400 Bad Request` return code if a required attribute is missing.
Code clean up and fixed tests.
2013-02-27 17:50:30 +01:00
Nihad Abbasov
3c5954b8c8
proper fix for #2300
2013-02-27 06:47:04 -08:00
Sebastian Ziebell
07f306d8af
Merge branch 'master' into fixes/api
2013-02-27 15:15:47 +01:00
Sebastian Ziebell
3b3add35fb
API: merge request documentation updated, added return codes to functions
...
The API documentation of merge requests contains info to status codes for all functions.
Required arguments are now checked in the merge requests API functions and a `400 Bad Request` error is
returned if they are not given.
2013-02-27 15:07:42 +01:00
Nihad Abbasov
e4b67d3b18
Merge pull request #3095 from fdiary/update-grape-for-ruby2.0
...
update grape to 0.3.1 for ruby 2.0 support.
2013-02-27 06:06:02 -08:00
Nihad Abbasov
8d847b89d2
API: fix commits pagination
...
closes #2300
2013-02-27 06:00:33 -08:00
Sebastian Ziebell
e96d77d3db
API: issues documentation and API functions updated
...
The issues documentation is updated with infos to status codes and the deprecated `DELETE` function and
how to close an issue. A few more tests added to check status codes of API functions.
2013-02-27 14:36:20 +01:00
Sebastian Ziebell
873db06255
API: groups documentation updated, functions return different status codes
...
Updates the API documentation of groups with infos to return codes. The function calls
in the groups API have updated documentation and return `400 Bad Request` status code
if a required attribute is missing.
2013-02-27 12:34:45 +01:00
Sebastian Ziebell
e119b0a0cb
API repository documentation updated, includes infos to return codes
...
The API documentation of repository is updated and now contains infos to status codes.
Code documentation is also adjusted for `GET /projects/:id/repository/commits` and includes infos to
pagination attributes. Tests are updated.
2013-02-27 11:24:12 +01:00
Sebastian Ziebell
ac4a09e9cc
Merge branch 'master' into fixes/api
2013-02-27 10:16:48 +01:00
Dmitriy Zaporozhets
4e5164338a
specs for api/internal
2013-02-26 22:53:59 +02:00
Kazuhiko
3b548d9251
update grape to 0.3.1 for ruby 2.0 support.
...
add grape-entity, that is split from grape 0.3.0.
remove usage of deprecated error_format, that is removed in grape 0.2.3.
2013-02-26 21:31:45 +01:00
Sato Hiroyuki
d8a40d8c93
Move graph module from lib or vendor directory to app directory.
...
Because not autoloading lib directory at development mode.
2013-02-26 20:31:39 +09:00
Sebastian Ziebell
4a60c377b8
API documentation update for milestones
...
Updated the milestones API documentation and added return codes descriptions.
2013-02-20 22:51:59 +01:00
Sebastian Ziebell
33c1463645
API: fixes return codes for notes, documentation updated
...
The notes API documentation updated with return codes. API now returns `400 Bad Request` if
required attributes are not present. Return codes are documented now, also tested in added tests.
The documentation now reflects the current state of the API.
2013-02-20 22:17:05 +01:00
Axilleas Pipinellis
a3bbc5956b
We don't need to check .profile now that gitolite is replaced by gitlab-shell
2013-02-20 17:36:09 +02:00
Sebastian Ziebell
f0e417091c
Merge branch 'master' into fixes/api
...
Conflicts:
spec/requests/api/projects_spec.rb
2013-02-20 14:30:11 +01:00
Sebastian Ziebell
eefb27f5ae
Merge branch 'master' into fixes/api
...
Conflicts:
spec/requests/api/projects_spec.rb
2013-02-20 12:43:32 +01:00
Matt Humphrey
33c513274d
Fix RESTfulness of project hook deletions by API
2013-02-20 11:35:36 +00:00
Sebastian Ziebell
1b97a2eee8
API: fixes return codes, documentation updated with status codes, tests added
...
The users API updated with return codes, e.g. if required parameters are missing
a `400 Bad Request` error is returned instead of `404`. Fixes return codes of functions,
e.g. deletion of a ssh key is an idempotent function now.
The API documentation is updated to reflect the current status of the API. Descriptions
are more detailed and complete, infos to return values are added to all functions.
2013-02-20 12:23:56 +01:00
Dmitriy Zaporozhets
25e4c512d4
Merge pull request #3011 from Asquera/fix_access_to_nonvisible_hook
...
API: fixes visibility of project hook
2013-02-20 02:45:07 -08:00
Mike Wyatt
c6f5b96ba8
allow force=yes rake gitlab:setup for capistrano deploy:cold
2013-02-20 00:14:03 -03:30