0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 14:12:57 +01:00
gitea/docs/content/doc
David Svantesson c9546d4cdd Include description in repository search. (#7942)
* Add description in repository search.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Refactor SearchRepositoryByName with a general function SearchRepository

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Allow to specify if description shall be included in API repo search.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add new app.ini setting for whether to search within repo description.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Search keyword in description (if setting enabled) on:
 - Explore page
 - Organization profile page
 - User profile page
 - Admin repo page

Do not search keyword in description on:
 - Any non-keyword search (not relevant)
 - Incremental search (uses API)

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Put parameters related to keyword directly after it

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add test cases for including (and not including) repository description in search.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Rename test function from TestSearchRepositoryByName to TestSearchRepository.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Make setting SEARCH_REPO_DESCRIPTION default to true

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
2019-08-25 20:06:36 +03:00
..
advanced Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
features Add Issue link to feature compare "reject unsigned" (#7465) 2019-07-14 21:58:58 +08:00
help Add FAQ for version downloads (#6742) 2019-04-24 14:44:58 -04:00
installation Support SSH_LISTEN_PORT env var in docker app.ini template (#7829) 2019-08-24 01:44:24 +02:00
upgrade Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
usage Fix regression in reverse proxy documentation (#7634) 2019-07-26 18:09:12 -04:00
advanced.en-us.md
advanced.fr-fr.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
advanced.zh-cn.md
features.en-us.md
features.zh-cn.md
features.zh-tw.md
help.en-us.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
help.zh-cn.md
installation.en-us.md
installation.fr-fr.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
installation.zh-cn.md
installation.zh-tw.md
upgrade.en-us.md
upgrade.fr-fr.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
upgrade.zh-cn.md
upgrade.zh-tw.md
usage.en-us.md
usage.zh-cn.md ZH-CN translation of Usage part (#5086) 2018-10-17 14:19:04 -04:00