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
Mura Li 3186ef554c Support search operators for commits search (#6479)
* Support searching commits with prefix syntax

For now, support auther: committer:
When more than one prefix is supplied is presented, the result is the union.
When different prefixes are supplied, the result is the intersection.

For example,
"author:alice author:bob"
=> the result is all commits authored by Alice OR Bob

"hello committer:alice"
=> the result is all commits committed by Alice AND has the keyword
'hello' in the message.

Note that there should NOT have any space after the colon(:) of the prefix.
For example,
"author:bill" => correct
"author: bill" => wrong

* Remove unneeded logging

* Add missing files of test repository

* Add missing repo_unit entries to test fixtures

* Update test cases

* Add tooltip for commits search button

* Update tooltip text

I have no idea about how to format it with line breaks.

* Make the usage example more real

* Add a test case

* Add new options struct for SearchCommits

* Prefer len(s) > 0 over s != ""

* Add NewSearchCommitsOptions
5 years ago
..
access.yml Add search mode option to /api/repo/search (#2756) 7 years ago
access_token.yml Unit tests for token and update models 8 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 Unit tests for models/access.go (#606) 8 years ago
comment.yml Hide outdated comments in file view (#5017) 6 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
hook_task.yml API endpoint for testing webhook (#3550) 6 years ago
issue.yml Add option to close issues via commit on a non master branch (#5992) 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 Unit tests for issue_milestone (#878) 7 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 Remove IsOwner, NumTeams from OrgUser (#3269) 7 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 MySQL, Postgres integration tests in drone (#1638) 7 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 Support search operators for commits search (#6479) 5 years ago
repository.yml Support search operators for commits search (#6479) 5 years ago
review.yml Show review summary in pull requests (#5132) 6 years ago
star.yml Unit tests for models/star (#752) 8 years ago
stopwatch.yml Feature: Timetracking (#2211) 7 years ago
team.yml Restrict permission check on repositories and fix some problems (#5314) 6 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 Restrict permission check on repositories and fix some problems (#5314) 6 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
u2f_registration.yml Add support for FIDO U2F (#3971) 6 years ago
user.yml Support search operators for commits search (#6479) 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