Dmitriy Zaporozhets
8df699a336
API: project events
2013-06-06 19:19:17 +03:00
Dmitriy Zaporozhets
da6f4f06c7
API: implement retrieve of repository tree
2013-06-06 18:01:03 +03:00
Dmitriy Zaporozhets
bcc4e4dc7e
Merge branch 'gist' of https://github.com/Andrew8xx8/gitlabhq into Andrew8xx8-gist
...
Conflicts:
Gemfile.lock
app/models/ability.rb
app/models/project.rb
app/views/snippets/_form.html.haml
db/schema.rb
features/steps/shared/paths.rb
spec/factories.rb
spec/models/project_spec.rb
2013-06-04 18:36:22 +03:00
Dmitriy Zaporozhets
c3ba0ee64b
Merge branch 'feature_teams_api' of https://github.com/former03/gitlabhq into former03-feature_teams_api
...
Conflicts:
doc/api/README.md
2013-05-27 15:05:01 +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
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
04da04ff64
fix api delete hook test
2013-05-07 19:46:35 +03:00
Dmitriy Zaporozhets
af5d0e9e92
Merge pull request #3275 from Undev/feature/code_cleanup_remove_old_hashes
...
Code cleanup: Replace old hashes and remove trailing spaces
2013-05-07 06:59:03 -07:00
Nihad Abbasov
77d0e41df0
fix API route to delete project hook
2013-05-07 00:09:23 +05:00
Dmitriy Zaporozhets
4528fa9817
modify api to work with new deploy keys
2013-05-06 16:24:58 +03:00
Andrey Kumanyaev
b1b354b0f8
remove trailing spaces
2013-05-05 18:02:02 +04:00
Andrey Kumanyaev
67ccc8b52a
Replace old hashes with new 1.9 ruby hashes (rebase)
2013-05-05 18:01:10 +04:00
Dmitriy Zaporozhets
4f5aae1d26
fix test
2013-05-02 08:47:42 +03:00
Dmitriy Zaporozhets
083d66563e
Update all gems!
2013-05-01 13:29:29 +03:00
Dmitriy Zaporozhets
001f3bc59e
Specs refactoring to reduce test time. Disabled observers by default for specs
2013-04-10 23:28:42 +03:00
Dmitriy Zaporozhets
f536c13355
fixed test using repo with commits but old factory
2013-04-01 19:06:47 +03:00
Andrew8xx8
d4543eb5a7
Tests fixed
2013-03-25 11:20:14 +04:00
Alex Denisov
28e7d1a8bf
Abilities added to /user and /sign_in requests
2013-03-18 20:11:28 +00:00
Kevin Lyda
415bade302
Result of misspellings run.
...
Most of these are comments but a few are strings for users.
Might be an idea to run this from time to time:
https://github.com/lyda/misspell-check
It runs mostly clean now.
2013-03-17 19:46:54 +00:00
Dmitriy Zaporozhets
dc3590d619
fix api internal test
2013-03-11 15:47:44 +02:00
Sebastian Ziebell
562de2a438
Merge branch 'master' into api/system_hooks_adjustments
2013-03-07 17:59:27 +01:00
Sebastian Ziebell
32f1eaaf0f
API: system hooks API functions and documentation updated
...
* updated system hooks documentation and code comments
* fixed access to system hooks if no user given resulting in a `500 Server Error`
* added tests
2013-03-07 17:56:11 +01:00
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
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
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
Matt Humphrey
1dd712ddc2
System hooks API.
2013-03-06 15:15:26 +00:00
Matt Humphrey
f411772e33
Project deploy keys API
2013-03-05 21:23:29 +00:00
Angus MacArthur and Angus MacArthur
61ffcab60f
Additional Admin APIs
2013-03-05 10:38:43 -05: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
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
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
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
dffc2b8a8b
API: session documentation updated and test added
2013-02-27 12:58:06 +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
Sebastian Ziebell
9ee6c58acc
API documentation updated for project snippets.
...
The API Documentation for project snippets got infos to return codes. Tests are added
to check status codes when handling project snippets.
2013-02-21 21:13:46 +01:00
Sebastian Ziebell
ce9e35c295
API: Fixes tests for changed hook deletion
2013-02-21 21:04:16 +01:00
Dmitriy Zaporozhets
5aeaf248f1
Fixing rspec after upgrade to capybara pt1
2013-02-21 13:09:47 +02: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
Sebastian Ziebell
f0e417091c
Merge branch 'master' into fixes/api
...
Conflicts:
spec/requests/api/projects_spec.rb
2013-02-20 14:30:11 +01:00
Matt Humphrey
dddf6eab2d
Removed unnecessary paramter hash. Also tidied up hash format in hook creation spec
2013-02-20 11:45:54 +00: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