forgejo/templates/repo
zeripath 90919bb37e
Show Signer in commit lists and add basic trust (#10425)
* Show Signer in commit lists and add basic trust

Show the avatar of the signer in the commit list pages as we do not
enforce that the signer is an author or committer. This makes it
clearer who has signed the commit.

Also display commits signed by non-members differently from
members and in particular make it clear when a non-member signer
is different from the committer to help reduce the risk of
spoofing.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* ensure orange text and background is available

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update gpg_key.go

* Update models/gpg_key.go

* Apply suggestions from code review

* Require team collaborators to have access to UnitTypeCode

* as per @6543

* fix position of sha as per @silverwind

* as per @guillep2k
2020-02-27 16:20:55 -03:00
..
branch Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
diff Fix reply on code review (#10227) 2020-02-13 13:22:15 +08:00
editor Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
issue Change action GETs to POST (#10462) 2020-02-25 14:28:47 -06:00
pulls Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
release Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
settings Fixed wrong AppSubUrl in multiple templates (#10447) 2020-02-25 09:58:37 -06:00
wiki Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
activity.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
blame.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
branch_dropdown.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
commit_page.tmpl Show Signer in commit lists and add basic trust (#10425) 2020-02-27 16:20:55 -03:00
commit_status.tmpl UI: Fix overflow issues in repo (#7190) 2019-06-14 09:32:13 +08:00
commits.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
commits_list.tmpl Show Signer in commit lists and add basic trust (#10425) 2020-02-27 16:20:55 -03:00
commits_table.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
create.tmpl Show label list on label set (#9251) 2019-12-06 21:13:19 -05:00
empty.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
header.tmpl Change action GETs to POST (#10462) 2020-02-25 14:28:47 -06:00
home.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
migrate.tmpl Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
migrating.tmpl [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
search.tmpl Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
sub_menu.tmpl Tweak language stats bar (#10487) 2020-02-26 22:44:14 +02:00
user_cards.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
view_file.tmpl Render READMEs in docs/ .gitea or .github from root (#10361) 2020-02-21 17:04:20 -06:00
view_list.tmpl Show Signer in commit lists and add basic trust (#10425) 2020-02-27 16:20:55 -03:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00