gitea/models/fixtures
David Svantesson c9546d4cdd Include description in repository search. ()
* 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>
..
access.yml Add search mode option to /api/repo/search ()
access_token.yml Hash App token ()
action.yml User action heatmap ()
attachment.yml MySQL, Postgres integration tests in drone ()
collaboration.yml Allow collaborators to view repo owned private org ()
comment.yml fix 500 when reviewer is deleted with integration tests ()
commit_status.yml Status-API ()
deleted_branch.yml Add deleted_branch table fixture ()
deploy_key.yml Writable deploy keys (closes ) ()
email_address.yml test: Add user mail testing. ()
follow.yml Fix and test for delete user ()
gpg_key.yml Add missing fixture to clean gpg_key table ()
gpg_key_import.yml add .gpg url (match github behaviour) ()
hook_task.yml API endpoint for testing webhook ()
issue.yml Add commit statuses reports on pull request view ()
issue_assignees.yml Multiple assignees ()
issue_label.yml Bug fixes and unit tests for models/issue_label ()
issue_user.yml Multiple assignees ()
issue_watch.yml Hide unactive on explore users and some refactors ()
label.yml Bug fixes and unit tests for models/issue_label ()
login_source.yml Add LDAP integration tests ()
milestone.yml Add state param to milestone listing API ()
notice.yml Unit tests for models/admin
notification.yml Add 'mark all read' option to notifications ()
oauth2_application.yml Integrate OAuth2 Provider ()
oauth2_authorization_code.yml Integrate OAuth2 Provider ()
oauth2_grant.yml Integrate OAuth2 Provider ()
org_user.yml org/members: display 2FA members states + optimize sql requests ()
protected_branch.yml Don't recreate database in integration tests ()
public_key.yml Fixtures for public_key table ()
pull_request.yml Add commit statuses reports on pull request view ()
reaction.yml Add reactions to issues/PR and comments ()
release.yml Fix release display and correct paging ()
repo_indexer_status.yml Code/repo search ()
repo_redirect.yml Unit tests for repo redirects ()
repo_topic.yml feat(repo): support search repository by topic name ()
repo_unit.yml Fix 404 when send pull request some situation ()
repository.yml Include description in repository search. ()
review.yml fix 500 when reviewer is deleted with integration tests ()
star.yml Unit tests for models/star ()
stopwatch.yml Feature: Timetracking ()
team.yml org/members: display 2FA members states + optimize sql requests ()
team_repo.yml Restrict permission check on repositories and fix some problems ()
team_unit.yml Restrict permission check on repositories and fix some problems ()
team_user.yml org/members: display 2FA members states + optimize sql requests ()
topic.yml feat(repo): support search repository by topic name ()
tracked_time.yml Feature: Timetracking ()
two_factor.yml org/members: display 2FA members states + optimize sql requests ()
u2f_registration.yml Add support for FIDO U2F ()
user.yml org/members: display 2FA members states + optimize sql requests ()
user_open_id.yml Show user OpenID URIs in their profile ()
watch.yml Hide unactive on explore users and some refactors ()
webhook.yml Bug fixes and unit tests for models/webhook ()