Commit graph

13 commits

Author SHA1 Message Date
Rémy Coutable
c563e29fb3
Get rid of the user_namespace API helper method
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-24 19:39:59 +02:00
Rubén Dávila
b2cf4b9525 Backports some changes from gitlab-ee!7885 2018-12-07 08:29:53 -05:00
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
Tomasz Maczukin
dfbfd3c7d7
Allow request namespace by ID or path 2017-11-23 17:44:05 +01:00
Tomasz Maczukin
392cc88709
Add new API endpoint - get a namespace by ID 2017-11-23 14:34:34 +01:00
Oswaldo Ferreira
bd4c2847f4 Rename members_count to members_count_with_descendants and expose only to group admins 2017-06-28 17:27:01 -03:00
Robert Schilling
74c8669b0a Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
Z.J. van de Weg
d6e42e0ca1 GrapeDSL for Namespace endpoint 2016-10-04 07:47:29 +02:00
Stan Hu
67992b9be6 Make namespace API available to all users
Closes https://github.com/gitlabhq/gitlabhq/issues/9328
2015-05-28 11:39:12 -07:00
Dmitriy Zaporozhets
da884aabc7 Avoid using {...} for multi-line blocks 2015-02-02 21:22:57 -08:00
skv
d89527839e fix most of warnings 2013-12-15 00:05:10 +04:00
Dmitriy Zaporozhets
0759dd4513
Namespaces API for admin users
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-15 15:24:10 +02:00