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
Francisco Javier López
7350eb1fa8
Add ability to search wiki titles
2018-06-04 11:41:37 +00: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á
86e98c832a
Small code/doc changes
2018-02-07 14:20:18 +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