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
a83975ab8d
API: Create project - make sure project path is respected
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-09 10:48:58 +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
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
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
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
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
7f99aa57a2
Fix specs for internal api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-02 11:35:34 +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
Robert Schilling
4ca3f64719
Fix labels return code
2014-08-18 00:25:49 +02: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
Robert Schilling
cbc90565b5
Do label validation for issues/merge requests API
2014-08-14 10:17:52 +02: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
e4c6dbe35f
Fix api files specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-06 09:57:15 +03:00
Dmitriy Zaporozhets
7e1680934b
Fix API branch specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 17:30:28 +03: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
70f868b737
Fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-30 16:05:43 +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
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
2d87556847
Remove rails observers from application
2014-06-17 22:51:43 +03:00
Dmitriy Zaporozhets
47d6f70528
Add /api/users test for admin role. Updated CHANGELOG
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 19:42:17 +03:00
Dmitriy Zaporozhets
8ff171f628
Fix api specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 19:39:12 +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
d593c98fcb
Delete wall notes tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 14:29:26 +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
Dmitriy Zaporozhets
14f78d067d
Modify specs for new project transfer code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 19:04:18 +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
Dmitriy Zaporozhets
d575ee3e90
Improve branch deletion via API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-23 15:34:02 +03:00
Jacob Vosmaer
2d8c310f11
Make user access test pass for the right reason
...
If we do not set a private token during the test, current_user will be
nil because the user is not found, not due to the access check.
2014-05-15 10:30:50 +02:00
Jacob Vosmaer
02b85fd236
Check user access status in API for current_user
2014-05-15 10:22:59 +02:00
Jacob Vosmaer
6d45909f03
Add test for current behavior of current_user
2014-05-15 09:57:21 +02: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