0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 04:08:25 +01:00
gitea/templates
KN4CK3R 59b867dc2d
Add ContextUser to http request context (#18798)
This PR adds a middleware which sets a ContextUser (like GetUserByParams before) in a single place which can be used by other methods. For routes which represent a repo or org the respective middlewares set the field too.

Also fix a bug in modules/context/org.go during refactoring.
2022-03-26 17:04:22 +08:00
..
admin Prevent 500 when there is an error during new auth source post (#19041) 2022-03-10 23:40:43 +01:00
base Set OpenGraph title to DisplayName in profile pages (#19206) 2022-03-25 20:15:13 +02:00
custom
explore
mail Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
org Fix <strong> html in translation (#18929) 2022-02-27 15:46:45 +00:00
repo Use the new/choose link for New Issue on project page (#19172) 2022-03-22 19:54:24 +00:00
shared
status
swagger Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
user Do not send activation email if manual confirm is set (#19119) 2022-03-18 17:57:07 +08:00
home.tmpl
install.tmpl
post-install.tmpl