Rémy Coutable
9c560b5cdf
Replace many :project with :empty_projects in API specs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-17 11:41:27 -05:00
Livier
eb4f15571d
Changed API spec files to describe the correct class
...
Restore changes for api spec files
Fix error in rspec Users
Delete extra space Repositories-spec
2016-11-28 10:55:27 -07:00
Douglas Barbosa Alexandre
0c052f116c
Remove default value for `project` argument on subscribable concern
2016-11-17 15:10:13 -02:00
Francesco Coda Zabetta
8966c6e33d
add tests
2016-11-15 11:45:57 +01:00
Francesco Coda Zabetta
a58e2f4762
use Enumerable#find insted of select + first
2016-11-15 09:50:39 +01:00
Francesco Coda Zabetta
c57c83336d
fix style
2016-11-14 16:15:53 +01:00
Francesco Coda Zabetta
d5981dd44d
fix style
2016-11-14 16:05:39 +01:00
Francesco Coda Zabetta
84ac742fa6
fix labels API adding missing parameter (current_user)
2016-11-14 15:52:43 +01:00
Rémy Coutable
bf39c4bcdf
Remove order-dependent expectation
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-09 19:50:32 +01:00
Rares Sfirlogea
63f0b09974
Expose Label id to API
...
[e44da1c] Add Label API expected keys to tests
[ac929c8] Update Label API documentation
2016-11-07 15:09:33 +01:00
Robert Schilling
76c237460a
Ability to update labels priority via API
2016-11-07 09:26:57 +01:00
Rémy Coutable
d38dd3c4ca
Merge remote-tracking branch 'origin/labels-api'
...
See merge request !7014
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-04 16:43:28 +01:00
Robert Schilling
21666dbe11
Grapify the labels API
2016-10-24 16:52:34 +02:00
Douwe Maan
64e2d884d6
Return conflict error in label API when title is taken by group label
2016-10-20 12:15:29 +02:00
Douwe Maan
d9d0b81bc6
Make label API spec independent of order
2016-10-20 12:10:27 +02:00
Douglas Barbosa Alexandre
9b28823854
List all available labels to the project on the labels API
2016-10-19 14:58:26 -02:00
tiagonbotelho
1d268a89de
adds second batch of tests changed to active tense
2016-08-09 15:11:39 +01:00
Douglas Barbosa Alexandre
e186626d25
Allow '?', or '&' for label titles
2016-07-05 20:57:09 -03:00
Grzegorz Bizon
9e211091a8
Enable Style/EmptyLines cop, remove redundant ones
2016-07-01 21:56:17 +02:00
Z.J. van de Weg
abca19da8b
Use HTTP matchers if possible
2016-06-27 20:10:42 +02:00
Ahmad Sherif
0c22698bd4
Add API endpoints for un/subscribing from/to a label
...
Closes #15638
2016-05-12 22:48:09 +02:00
Mariusz Jachimowicz
c8be7f1cf0
api - expose label description
2016-03-24 18:44:52 +00:00
Robert Speicher
e48391b813
Add custom ColorValidator
2015-12-07 16:57:26 -05: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
998cd3cb63
Improve error reporting on users API
...
* users (#6878 , #3526 , #4209 ): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username
* MRs (#5335 ): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks
* issues
* labels
* projects
2014-09-16 01:25:24 +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
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
70f868b737
Fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-30 16:05:43 +03:00