summaryrefslogtreecommitdiffstats
path: root/models/repo_list.go
Commit message (Collapse)AuthorAgeFilesLines
* This commit will reduce join star, repo_topic, topic tables on repo search, ↵Lunny Xiao2018-10-311-36/+19
| | | | | | | so that fix extra columns problem on mssql (#5136) (#5229) * This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql * fix tests
* feat(repo): support search repository by topic name (#4505)Bo-Yi Wu2018-09-131-3/+30
| | | | * feat(repo): support search repository by topic name
* Added repository search ordered by stars or forks. Forks column in admin ↵Alexey Terentyev2018-05-241-0/+4
| | | | | | | | | | | | | repo list. (#3969) * Added repository search order by stars or forks. Added Forks column to admin repository list. Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Renamed search repo template Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Global code search support (#3664)Lunny Xiao2018-03-161-0/+25
| | | | | | | | | | | | * add global code search on explore * fix bug when no anyone public repos * change the icon * fix typo and add UnitTypeCode check for login non-admin user * fix ui description when no match
* Add repo-sync-releases admin command (#3254)Sandro Santilli2017-12-311-0/+7
| | | | | | | | | | | | | | | | | | * Add repo-sync-releases admin command Will help recovering corrupted database, see #3247 * Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo * Fix debug output about num releases * Introduce RepositoryListDefaultPageSize constant, set to 64 Use it from the new admin command * Use RepositoryListDefaultPageSize in more places * Document RepositoryListDefaultPageSize
* Sort repos in issues dashboard sidebar (#3072)Ethan Koenig2017-12-041-0/+12
| | | | | | * Sort repos in issues dashboard sidebar * Sort repos by name
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-31/+42
| | | | | | | | | | | | | | | | | | | | | | | | * 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-51/+38
| | | | | | | | | | | | | | | | * 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-80/+12
| | | * Remove redudant functions and code
* Use custom type and constants to hold order by options (#2572)Morlinest2017-09-221-13/+32
|
* Fix missing collabrative repos (#2367)Lunny Xiao2017-08-241-24/+26
| | | | | | | | * fix missing collabrative repos * fix bug of collabrative * fix SQL quotes
* Add collaborative repositories to the dashboard (#2205)Bwko2017-08-231-26/+30
| | | | | | | | | | * Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-031-0/+5
| | | | | | | | | | * Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues
* Improve dashboard repo search (#1652)Andrey Nering2017-05-091-3/+0
| | | | | | | | | | * Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
* Generate swagger json (#1402)Antoine GIRARD2017-05-021-9/+20
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* Simplify RepositoryList.loadAttributes() (#1211)Ethan Koenig2017-03-111-12/+5
|
* move all repo list functions as a standalone file (#1061)Lunny Xiao2017-02-271-0/+271