Peter Leitzen
7b87ed1499
Cleanup usages of JSON.parse
in specs
...
Prefer `json_response` where applicable.
2019-07-16 08:03:49 +00:00
GitLab Release Tools Bot
38e4977dc7
Merge branch 'security-fix_milestones_search_api_leak' into 'master'
...
Resolve: Milestones leaked via search API
Closes #2822
See merge request gitlab/gitlabhq!2997
2019-06-03 12:34:07 +00:00
Felipe Artur
b70b43d07e
Resolve: Milestones leaked via search API
...
Fix milestone titles being leaked using search API
when users cannot read milestones
2019-05-20 11:08:34 -03:00
Lee Tickett
a4e9259d8a
#46469 - Added ref querystring parameter to project search to allow searching on branches other than master
2019-05-17 06:10:08 +00:00
Alexis Reigel
b0981097c3
return 400 on users search and feature is disabled
...
as the params block is evaluated when loading the class and the db
connection is not available yet we can't use the feature toggle inside
that block.
2019-03-14 18:39:54 +01:00
Alexis Reigel
0592233a1a
add users search to search api
2019-03-14 18:21:01 +01:00
Nermin Vehabovic
f9e38cd39f
Added: Documentation for the API
...
Added: Specs for the API action
2019-02-26 23:18:40 +00:00
blackst0ne
b44a2c801a
Update specs to rails5 format
...
Updates specs to use new rails5 format.
The old format:
`get :show, { some: params }, { some: headers }`
The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Mario de la Ossa
7357209f91
Implement filtering by filename on code search
2018-06-19 09:30:09 -06:00
Zeger-Jan van de Weg
92482e01b4
Bump Gitaly to 0.98.0
...
Hooks were run for wikis, but given the internal API wasn't responding
failures happended, as seen on:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18693
2018-05-07 14:10:04 +02:00
Jan Provaznik
2370ff85fe
Optional '/-/' delimiter for search API
...
'/-/' delimiter is used only in UI, in API we don't use it for
other endpoints. To align search endpoints with the rest of API
endpoints, this patch makes '/-/' optional for existing endpoints (to
keep backward compatibility).
Documentation is updated to prefer paths without '/-/'.
2018-03-19 20:02:15 +01:00
Jarka Kadlecová
b0b4ae1875
API - Include project in commits&blobs search results
2018-02-14 09:00:26 +01:00
Jarka Kadlecová
68ff219c4e
API - fix searching in group/project specified by path
2018-02-09 18:51:06 +01:00
Jarka Kadlecová
1b2400b529
Return only limited pagination headers for search API endpoints
2018-02-06 17:58:18 +01:00
Jarka Kadlecová
7381944565
Support search in API
2018-02-06 16:02:02 +01:00