githaven/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 Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
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 Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
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 Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00