13 Commits (e78786ef39526fac6705a831fc291c55f1ca091b)

Author SHA1 Message Date
Sandro Santilli 8cd987af0c Add repo-sync-releases admin command (#3254)
* 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
7 years ago
Ethan Koenig 4c9341f689 Fix bugs in issue dashboard stats (#3073) 7 years ago
Ethan Koenig 6abfa48c0e Remove unnecessary updates to issue indexer (#3212) 7 years ago
Ethan Koenig 0f6dc411df Remove unnecessary IssueList attribute loads (#2936) 7 years ago
Morlinest ddb7f59ef4 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
7 years ago
Morlinest dff26e25ca Remove redudant functions and code (#2652)
* Remove redudant functions and code
7 years ago
Ethan Koenig fa28de820e Make indexer code more reusable (#2590) 7 years ago
Ethan Koenig b0f7457d9e Improve issue search (#2387)
* Improve issue indexer

* Fix new issue sqlite bug

* Different test indexer paths for each db

* Add integration indexer paths to make clean
7 years ago
Ethan Koenig 7e0654bd9e Fix counts on issues dashboard (#2215)
* Fix counts on issues dashboard

* setupSess -> setupSession

* Unit test

* Load repo owners for issues
7 years ago
Ethan Koenig b38b61bbc1 Fix import order (#1951) 7 years ago
Bo-Yi Wu 95574a3640 fix: Admin can see all private repositories on Explore page. (#1026)
* fix: Admin can see all private repositories on Explore page.

* refactor: fix session
7 years ago
bit 490d3771f7 s/fields/terms (#1031)
use terms instead of fields as variable name to avoid confusion: NewPhraseQuery(terms []string, field string)
7 years ago
Ethan Koenig 833f8b94c2 Search bar for issues/pulls (#530) 8 years ago