forgejo/docs/content/doc/advanced
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
..
api-usage.en-us.md Add documentation for OTP/2FA header in API for basic auth (#6872) 2019-05-07 16:53:45 -04:00
api-usage.zh-cn.md Adapt documentation to renamed ENABLE_SWAGGER option (#5811) 2019-01-23 20:09:18 +00:00
config-cheat-sheet.en-us.md Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
config-cheat-sheet.zh-cn.md Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
customizing-gitea.en-us.md Add section about customizing mail (#7419) 2019-07-11 01:27:57 -04:00
customizing-gitea.zh-cn.md
external-renderers.en-us.md Correct formatting of bullet list (#7794) 2019-08-08 07:47:57 +03:00
hacking-on-gitea.en-us.md Use vendors when go generate (#7340) 2019-07-06 23:00:41 -04:00
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md Move serv hook functionality & drop GitLogger (#6993) 2019-06-01 23:00:21 +08:00
make.en-us.md
make.fr-fr.md
make.zh-cn.md
migrations.en-us.md Import topics during migration (#7851) 2019-08-14 14:16:12 +08:00
oauth2-provider.md Add oauth2 documentation (#6604) 2019-04-14 10:42:11 +02:00
specific-variables.en-us.md Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
specific-variables.zh-cn.md
third-party-tools.en-us.md Update third-party-tools.en-us.md (#6301) 2019-03-11 19:35:18 +08:00