This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
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
2019-04-12 10:28:44 +08:00
..
admin Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
base Fixes pagination width on mobile view (#5711) (#6532) 2019-04-08 09:31:54 +03:00
custom
explore Allow to set organization visibility (public, internal, private) (#1763) 2019-02-18 18:00:27 +02:00
mail Make distinction between DisplayName and Username in email templates (#6495) 2019-04-04 10:52:48 +03:00
org Hacky fix for alignment of the create-organization dialog (#6455) 2019-03-28 20:36:17 +02:00
pwa Allow for user specific themes (#5668) 2019-01-09 12:22:57 -05:00
repo Support search operators for commits search (#6479) 2019-04-12 10:28:44 +08:00
status Minor UI tweaks (#5980) 2019-02-19 18:09:47 -05:00
swagger Fies #6468 - Uses space match and adds newline for all sed flavors (#6473) 2019-04-01 23:27:40 +08:00
user Show last commit status in pull request lists (#6465) 2019-04-02 15:54:29 -04:00
home.tmpl Translate home template to Czech (#5665) 2019-01-08 14:39:50 +01:00
install.tmpl Remove the required class from optional ssh port in installation page (#5428) 2018-11-29 18:47:57 +02:00