diff options
author | Morlinest <morlinest@gmail.com> | 2017-10-26 23:16:13 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-10-27 00:16:13 +0300 |
commit | ddb7f59ef414ffad8dc2485055c246aaea0507d7 (patch) | |
tree | 1e0f10f02b05896a43f609dd91a29d727e1b4a2a /models/fixtures/access.yml | |
parent | 4d01ecaef350c6df0c27913f05cc0537bed5f7e9 (diff) | |
download | gitea-ddb7f59ef414ffad8dc2485055c246aaea0507d7.tar.gz gitea-ddb7f59ef414ffad8dc2485055c246aaea0507d7.zip |
Add search mode option to /api/repo/search (#2756)
* 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
Diffstat (limited to 'models/fixtures/access.yml')
-rw-r--r-- | models/fixtures/access.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/models/fixtures/access.yml b/models/fixtures/access.yml index 9c149b78d0..af2c8a5293 100644 --- a/models/fixtures/access.yml +++ b/models/fixtures/access.yml @@ -62,4 +62,16 @@ id: 11 user_id: 18 repo_id: 21 - mode: 2 # write
\ No newline at end of file + mode: 2 # write + +- + id: 12 + user_id: 20 + repo_id: 27 + mode: 4 # owner + +- + id: 13 + user_id: 20 + repo_id: 28 + mode: 4 # owner
\ No newline at end of file |