summaryrefslogtreecommitdiffstats
path: root/models/repo_list_test.go
Commit message (Collapse)AuthorAgeFilesLines
* This commit will reduce join star, repo_topic, topic tables on repo search, ↵Lunny Xiao2018-10-301-1/+1
| | | | | | | | so that fix extra columns problem on mssql (#5136) * This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql * fix tests
* feat(topic): search keyword by splitting provided values by , (#4939)Bo-Yi Wu2018-10-171-0/+3
|
* feat(repo): support search repository by topic name (#4505)Bo-Yi Wu2018-09-131-3/+28
| | | | * feat(repo): support search repository by topic name
* Fix redirect with non-ascii branch names (#4764) (#4810)SagePtr2018-09-061-3/+3
| | | | | | | | * Fix redirect with non-ascii branch names (#4764) * Add integration tests for non-ascii branch redirect * Fix mysql test and coverage test
* hide issues from org private repos w/o team assignment (#4034)David Schneiderbauer2018-06-211-3/+3
|
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-65/+123
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix repository search function (#2689)Morlinest2017-10-171-10/+19
| | | | | | | | | | | | | | | | * Fix and remove FIXME * Respect membership visibility * Fix/rewrite searchRepositoryByName function * Add unit tests * Add integration tests * Remove Searcher completely * Remove trailing space
* Remove redudant functions and code (#2652)Morlinest2017-10-101-1/+19
| | | * Remove redudant functions and code
* Add repository search unit and integration tests (#2575)Morlinest2017-10-101-6/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add more repo search tests * Fix repo search tests * Always test returned repos length * Add test with lower pagesize limit (test more pages) * Add and fix /api/repo/search integration tests * Simplify unit tests code * Simplify and unify integration tests code * Improve test coverage * Temporary fix tests due to bugs in current repo search implementation * Revert removing not nil Searcher * Add more checks to tests * Simplify privacy checks in /api/repo tests * Temporary remove privacy check from repo search tests
* Fix "index out of range" runtime error in repo_list tests (#2376)Morlinest2017-08-281-2/+6
|
* Add collaborative repositories to the dashboard (#2205)Bwko2017-08-231-0/+2
| | | | | | | | | | * Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
* refactor: move SearchRepositoryByName testing. (#1083)Bo-Yi Wu2017-02-281-0/+63