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/templates
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
..
admin Better logging (#6038) (#6095) 5 years ago
base Fixes pagination width on mobile view (#5711) (#6532) 5 years ago
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 7 years ago
explore Allow to set organization visibility (public, internal, private) (#1763) 5 years ago
mail Make distinction between DisplayName and Username in email templates (#6495) 5 years ago
org Hacky fix for alignment of the create-organization dialog (#6455) 5 years ago
pwa Allow for user specific themes (#5668) 6 years ago
repo Support search operators for commits search (#6479) 5 years ago
status Minor UI tweaks (#5980) 5 years ago
swagger Fies #6468 - Uses space match and adds newline for all sed flavors (#6473) 5 years ago
user Show last commit status in pull request lists (#6465) 5 years ago
home.tmpl Translate home template to Czech (#5665) 6 years ago
install.tmpl Remove the required class from optional ssh port in installation page (#5428) 6 years ago