1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers
silverwind 3a21f8a986
Inline manifest.json (#14038)
* Inline manifest.json

Improve performance by eliminating this separate request and just inline
this small JSON in HTML directly as a data uri.

Also update previously static app name scripts to use AppName.

I've confirmed this as working via "Add to Homescreen" feature which
offered to save the shortcut under the new app name.

* prerender manifest data on startup

* move to settings

* restore setting.AppStartTime and use it on admin page

* use double quotes because template.URL escapes everything

* fix lint

* move variable to global context variable

* delete template file

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2020-12-22 19:13:50 +08:00
..
admin Inline manifest.json (#14038) 2020-12-22 19:13:50 +08:00
api/v1 Add user filter to issueTrackedTimes, enable usage for issue managers (#14081) 2020-12-22 04:47:17 +01:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Add markdown support in organization description (#13549) 2020-11-15 16:28:08 +00:00
private Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
repo Use the text of pull-request as the squash commit's message (#13071) 2020-12-21 17:46:14 +01:00
routes Inline manifest.json (#14038) 2020-12-22 19:13:50 +08:00
user rework heatmap permissions (#14080) 2020-12-22 03:53:37 +01:00
utils Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
install.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00