You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/fixtures
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>
5 years ago
..
access.yml Add search mode option to /api/repo/search (#2756) 7 years ago
access_token.yml Hash App token (#6724) 5 years ago
action.yml User action heatmap (#5131) 6 years ago
attachment.yml MySQL, Postgres integration tests in drone (#1638) 7 years ago
collaboration.yml Allow collaborators to view repo owned private org (#6965) 5 years ago
comment.yml fix 500 when reviewer is deleted with integration tests (#6856) 5 years ago
commit_status.yml Status-API (#1332) 7 years ago
deleted_branch.yml Add deleted_branch table fixture (#2832) 7 years ago
deploy_key.yml Writable deploy keys (closes #671) (#3225) 7 years ago
email_address.yml test: Add user mail testing. (#833) 8 years ago
follow.yml Fix and test for delete user (#1713) 7 years ago
gpg_key.yml Add missing fixture to clean gpg_key table (#2494) 7 years ago
gpg_key_import.yml add .gpg url (match github behaviour) (#6610) 5 years ago
hook_task.yml API endpoint for testing webhook (#3550) 6 years ago
issue.yml Add commit statuses reports on pull request view (#6845) 5 years ago
issue_assignees.yml Multiple assignees (#3705) 6 years ago
issue_label.yml Bug fixes and unit tests for models/issue_label (#802) 8 years ago
issue_user.yml Multiple assignees (#3705) 6 years ago
issue_watch.yml Hide unactive on explore users and some refactors (#2741) 7 years ago
label.yml Bug fixes and unit tests for models/issue_label (#802) 8 years ago
login_source.yml Add LDAP integration tests (#3897) 6 years ago
milestone.yml Add state param to milestone listing API (#7131) 5 years ago
notice.yml Unit tests for models/admin 8 years ago
notification.yml Add 'mark all read' option to notifications (#3097) 7 years ago
oauth2_application.yml Integrate OAuth2 Provider (#5378) 5 years ago
oauth2_authorization_code.yml Integrate OAuth2 Provider (#5378) 5 years ago
oauth2_grant.yml Integrate OAuth2 Provider (#5378) 5 years ago
org_user.yml org/members: display 2FA members states + optimize sql requests (#7621) 5 years ago
protected_branch.yml Don't recreate database in integration tests (#1697) 7 years ago
public_key.yml Fixtures for public_key table (#3140) 7 years ago
pull_request.yml Add commit statuses reports on pull request view (#6845) 5 years ago
reaction.yml Add reactions to issues/PR and comments (#2856) 7 years ago
release.yml Fix release display and correct paging (#2080) 7 years ago
repo_indexer_status.yml Code/repo search (#2582) 7 years ago
repo_redirect.yml Unit tests for repo redirects (#961) 7 years ago
repo_topic.yml feat(repo): support search repository by topic name (#4505) 6 years ago
repo_unit.yml Fix 404 when send pull request some situation (#6871) 5 years ago
repository.yml Include description in repository search. (#7942) 5 years ago
review.yml fix 500 when reviewer is deleted with integration tests (#6856) 5 years ago
star.yml Unit tests for models/star (#752) 8 years ago
stopwatch.yml Feature: Timetracking (#2211) 7 years ago
team.yml org/members: display 2FA members states + optimize sql requests (#7621) 5 years ago
team_repo.yml Restrict permission check on repositories and fix some problems (#5314) 6 years ago
team_unit.yml Restrict permission check on repositories and fix some problems (#5314) 6 years ago
team_user.yml org/members: display 2FA members states + optimize sql requests (#7621) 5 years ago
topic.yml feat(repo): support search repository by topic name (#4505) 6 years ago
tracked_time.yml Feature: Timetracking (#2211) 7 years ago
two_factor.yml org/members: display 2FA members states + optimize sql requests (#7621) 5 years ago
u2f_registration.yml Add support for FIDO U2F (#3971) 6 years ago
user.yml org/members: display 2FA members states + optimize sql requests (#7621) 5 years ago
user_open_id.yml Show user OpenID URIs in their profile (#1314) 7 years ago
watch.yml Hide unactive on explore users and some refactors (#2741) 7 years ago
webhook.yml Bug fixes and unit tests for models/webhook (#751) 8 years ago