0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 02:42:49 +01:00
gitea/routers/private
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
..
hook.go Show Signer in commit lists and add basic trust (#10425) 2020-02-27 16:20:55 -03:00
internal.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
key.go AuthorizedKeysCommand should not query db directly (#9371) 2019-12-16 20:49:07 -05:00
manager.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
manager_unix.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
manager_windows.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
serv.go Fix push-create SSH bugs (#10145) 2020-02-05 10:40:35 +01:00