Imre Farkas
|
b1e070bf49
|
Fix API::Namespaces to accept namepaces with dots
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to
API::NAMESPACE_OR_PROJECT_REQUIREMENTS
|
2018-11-28 12:54:11 +01:00 |
gfyoung
|
3836d69119
|
Enable frozen string in lib/api and lib/backup
Partially addresses #47424.
Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:
https://github.com/rspec/rspec-mocks/issues/1190
|
2018-09-29 21:04:50 -07:00 |
Robert Schilling
|
6a2ee0968e
|
API: Use defined project requirements
|
2017-08-31 14:57:47 +02:00 |
Rémy Coutable
|
d40e1f547e
|
Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
2017-05-10 18:25:45 +02:00 |
Rémy Coutable
|
63360adeae
|
Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
2017-03-16 18:00:24 +01:00 |
Robert Schilling
|
1d38230a4a
|
Remove last merge_request endpoint
|
2017-02-23 14:15:06 +01:00 |
Robert Schilling
|
55f2425a67
|
API: Make subscription API more RESTfuL
|
2017-02-21 17:44:44 +01:00 |
Robert Speicher
|
3a5df1d8fc
|
Merge branch 'fix-api-mr-permissions' into 'security'
Ensure that only privileged users can access merge requests in the API
See merge request !2053
|
2017-01-23 13:54:35 -05:00 |
Douglas Barbosa Alexandre
|
b34c063ec4
|
Pass project to Entities::Label to check if user is subscribed
|
2016-11-17 15:10:13 -02:00 |
Robert Schilling
|
f0b42c1079
|
Grapify subscription API
|
2016-11-14 11:05:06 +01:00 |
Ahmad Sherif
|
0c22698bd4
|
Add API endpoints for un/subscribing from/to a label
Closes #15638
|
2016-05-12 22:48:09 +02:00 |