Commit Graph

22 Commits (1e585d7991e106c7ee525291031dbdffca49b4c9)

Author SHA1 Message Date
Lunny Xiao aa7c34cf86 Fix error log when loading issues caused by a xorm bug ()
* fix error log when loading issues caused by a xorm bug

* upgrade packages

* fix fmt

* fix Consistency

* fix tests
kolaente f9ec2f89f2 Add golangci ()
zeripath 56ae539bed SearchRepositoryByName improvements and unification ()
Rémy Boulanouar 64ce159a6e Allow to set organization visibility (public, internal, private) ()
Lunny Xiao 10370651fc This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql ()
* This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql

* fix tests
Bo-Yi Wu 486e989a39 feat(topic): search keyword by splitting provided values by , ()
Bo-Yi Wu ea20adaa84
feat(repo): support search repository by topic name ()
* feat(repo): support search repository by topic name
Alexey Terentyev b908ac9fab Added repository search ordered by stars or forks. Forks column in admin repo list. ()
* 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>
Lunny Xiao 9e5d0a09eb
Global code search support ()
* 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
Sandro Santilli 8cd987af0c Add repo-sync-releases admin command ()
* Add repo-sync-releases admin command

Will help recovering corrupted database, see 

* 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
Ethan Koenig c0a7899416 Sort repos in issues dashboard sidebar ()
* Sort repos in issues dashboard sidebar

* Sort repos by name
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 dff26e25ca Remove redudant functions and code ()
* Remove redudant functions and code
Morlinest 9a75a5d59b Use custom type and constants to hold order by options ()
Lunny Xiao f61a1d210c Fix missing collabrative repos ()
* fix missing collabrative repos

* fix bug of collabrative

* fix SQL quotes
Bwko 1a5fe4326f Add collaborative repositories to the dashboard ()
* Add collaborative repositories to the dashboard

Remove some unused code from the Dashboard func

* fix some bug and some refactor

* fix tests
Ethan Koenig 7e0654bd9e Fix counts on issues dashboard ()
* Fix counts on issues dashboard

* setupSess -> setupSession

* Unit test

* Load repo owners for issues
Andrey Nering ab79069dc7 Improve dashboard repo search ()
* Add VueJS

* Improve dashboard search

* Fix tab switching

* Fix input autofocus
Antoine GIRARD 3edb0c5894 Generate swagger json ()
- 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
Ethan Koenig c99e7e1a62 Simplify RepositoryList.loadAttributes() ()
Lunny Xiao 32faec00e6 move all repo list functions as a standalone file ()