Commit Graph

6 Commits (fa165621ed8c94722652e76d6853d0a0a41bfc5e)

Author SHA1 Message Date
Morlinest ddb7f59ef4 Add search mode option to /api/repo/search ()
* Add repo type option to /api/repo/search

* Add tests and fix result of collaborative filter in specific condition

* Fix/optimize search & tests

* Improve integration tests

* Fix lint errors

* Fix unit tests

* Change and improve internal implementation of repo search

* Use NonexistentID

* Make search api more general

* Change mirror and fork search behaviour

* Fix tests & typo in comment
Morlinest ccd3577970 Fix repository search function ()
* Fix and remove FIXME

* Respect membership visibility

* Fix/rewrite searchRepositoryByName function

* Add unit tests

* Add integration tests

* Remove Searcher completely

* Remove trailing space
Morlinest ca68a75b5b Expand fixtures ()
* Add more repo search tests

* Add and fix /api/repo/search integration tests

* Add owner to access table for organization repositories

* Remove tests
Lauris BH f33e6ae09e Remove unit types commits and settings ()
* Remove unit types commits and settings

* Can not limit units in administrator teams

* Limit changing units only to teams with read and write access mode

* Small code optimization
Ethan Koenig f1ab906c51 Unit tests for models/repo_collaboration ()
Ethan Koenig 6072b03291 Unit tests for models/access.go ()