Marin Jankovski
685754b088
Fix typo in comment.
2014-09-16 08:44:50 +02:00
Marin Jankovski
b99b2e60d5
Ordering and sorting for MR in api.
2014-09-15 11:54:49 +02:00
Dmitriy Zaporozhets
3162140dfa
Fix tag tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-05 09:36:11 +03:00
Dmitriy Zaporozhets
66516da3c1
Explicit issues order in API. Fixes tests for mysql. Again :)
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-04 17:15:08 +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
Dmitriy Zaporozhets
260fd2127c
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
2014-09-04 15:55:14 +03:00
Dmitriy Zaporozhets
9bb1d8fc8d
Merge pull request #7382 from Razer6/git_ref_validation
...
Validate branch/tag-names and references WebUI, API
2014-09-04 15:52:42 +03:00
jubianchi and jubianchi
0ac4a933ff
Filters issues by labels via API
2014-09-04 14:41:31 +02:00
Dmitriy Zaporozhets
93f15a4953
Explicit order of issues in API. Fixes specs for mysql db
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-03 22:57:32 +03:00
Robert Schilling
392113919a
Validate tag-names and references in WebUI, API
2014-09-03 13:08:36 +02:00
Robert Schilling
551145bc98
Validate branch-names and references in WebUI, API
...
Add specs for GitRefValidator
2014-09-03 13:08:35 +02:00
Dmitriy Zaporozhets
cf53b361b9
Make sure /api/allowed return 200 status code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-03 13:33:44 +03:00
Dmitriy Zaporozhets
0a7dea29aa
/api/allowed use POST now
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-03 09:06:16 +03:00
Dmitriy Zaporozhets
20c2e90222
Refactor finders. Prevent circular dependency error
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-02 15:28:27 +03:00
Dmitriy Zaporozhets
3a3c4ea436
Merge branch 'gitlab-shell-2-0' into 'master'
...
Modify GitLab to work with gitlab-shell 2.0
Related to #1516
See merge request !1057
2014-09-02 09:20:15 +00:00
Dmitriy Zaporozhets
0306a4e2e4
Rewrite GitAccess for gitlab-shell v2
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-01 19:57:25 +03:00
jubianchi and jubianchi
4fdd21685c
Filters issues by state via API
2014-09-01 13:51:40 +02:00
Robert Schilling
66f6ca0770
Fix tests after #7526
2014-08-20 20:34:55 +02:00
jubianchi
7ad93ab250
Improve labels validation and expose error messages
2014-08-20 12:09:19 +02:00
Jacob Vosmaer
6dc24e3bcf
Merge pull request #7527 from Razer6/api_labels_return_code
...
API: Fix labels return code
2014-08-18 17:16:32 +02:00
Robert Schilling
4ca3f64719
Fix labels return code
2014-08-18 00:25:49 +02:00
Dmitriy Zaporozhets
6063a1e6c1
Add labels api authorization. Update permission doc
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-15 11:59:19 +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
433dac7799
Merge pull request #7465 from Razer6/better_label_color_validation
...
Better label color validation, fixes #7454
2014-08-15 10:17:16 +03:00
Robert Schilling
cbc90565b5
Do label validation for issues/merge requests API
2014-08-14 10:17:52 +02:00
Dmitriy Zaporozhets
1d63464c82
Fix repository archive
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-13 21:28:22 +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
cf3ba0209d
Update labels via API
2014-08-13 12:29:03 +02:00
Robert Schilling
9284038dbe
Add, delete labels via API
2014-08-13 12:28:19 +02:00
Dmitriy Zaporozhets
f8eedb4cda
Cleaner variable name
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-11 15:25:25 +03: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
Dmitriy Zaporozhets
d10ecacc47
Merge branch 'master' into 'master'
...
Let users limit by archived/not archived projects in GitLab API GET /projects
Adds a boolean parameter, archived, to the /projects endpoint.
See merge request !158
2014-08-11 09:27:24 +00: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
70f868b737
Fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-30 16:05:43 +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
Sasha Joseph
37c4ba6f8d
Add an option to GET /projects in the GitLab API to exclude archived projects
2014-07-28 12:48:13 -04:00
Christian Taedcke and Christian Taedcke
e59674f954
Add full commit message to commit api as field message.
2014-07-25 08:25:16 +02:00
Dmitriy Zaporozhets
66098dbb59
Merge pull request #7089 from NARKOZ/api-patch
...
API patch
2014-07-23 20:26:36 +03:00
Dmitriy Zaporozhets
767bd78081
Use Contributor class instead of hash
2014-07-02 15:09:06 +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
2e3818f14f
Add contributors API endpoint
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-02 09:49:10 +03:00
Dmitriy Zaporozhets
4967c08786
Fix signup and project visibility
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-30 16:43:32 +03:00
Dmitriy Zaporozhets
8fee5a0572
Make app works with strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 23:24:17 +03:00
Dmitriy Zaporozhets
85333f093b
Fix notes creation via API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-18 09:26:04 +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
c4b02642d2
Replace milestone observer with services
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-10 18:07:52 +03:00