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/modules
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
..
auth Better logging (#6038) (#6095) 5 years ago
avatar Use assert in legacy unit tests (#867) 7 years ago
base Better logging (#6038) (#6095) 5 years ago
cache Fix memcache support when value is returned as string always (#2924) 7 years ago
context wrap the ServerError and NotFound and log from the caller (#6550) 5 years ago
cron Better logging (#6038) (#6095) 5 years ago
generate Integrate OAuth2 Provider (#5378) 5 years ago
git Support search operators for commits search (#6479) 5 years ago
gzip Pooled and buffered gzip implementation (#5722) 6 years ago
highlight No highlighting for .txt files (#1922) 7 years ago
httplib Add sensitive headers (#3429) 7 years ago
indexer Issue indexer queue redis support (#6218) 5 years ago
lfs Better logging (#6038) (#6095) 5 years ago
log Quieter Integration Tests (#6513) 5 years ago
mailer Add X-Auto-Response-Suppress header to outgoing messages (#6492) 5 years ago
markup Render SHA1 links as code blocks (#6546) 5 years ago
metrics Prometheus endpoint (#5256) 6 years ago
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 7 years ago
notification fix mail notification when close/reopen issue (#6581) 5 years ago
options Fix typos in models/ and modules/ (#1248) 7 years ago
pprof Better logging (#6038) (#6095) 5 years ago
private Clean up various use of escape/unescape functions for URL generation (#6334) 5 years ago
process Fix run command race (#1470) 7 years ago
public When redirecting clean the path to avoid redirecting to //www.othersite.com (#5669) 6 years ago
recaptcha Add Recaptcha functionality to Gitea (#4044) 6 years ago
search Global code search support (#3664) 6 years ago
secret Integrate OAuth2 Provider (#5378) 5 years ago
setting Issue indexer queue redis support (#6218) 5 years ago
ssh Better logging (#6038) (#6095) 5 years ago
structs Allow to set organization visibility (public, internal, private) (#1763) 5 years ago
sync Fix status table race condition (#1835) 7 years ago
templates Better logging (#6038) (#6095) 5 years ago
test move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
uploader move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
user Remove check for negative length (#5120) 6 years ago
util Better logging (#6038) (#6095) 5 years ago
validation Clean up ref name rules (#6437) 5 years ago