0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-02 16:54:34 +01:00
gitea/modules
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
..
analyze
auth
avatar
base Fix panic in BasicAuthDecode (#14046) 2020-12-17 20:51:28 -05:00
cache Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
charset
context Inline manifest.json (#14038) 2020-12-22 19:13:50 +08:00
convert [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
cron Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
doctor
emoji
eventsource
generate
git Add Test for Fix #14040 (#14045) 2020-12-21 18:27:23 +01:00
gitgraph [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
graceful
hcaptcha
highlight
httpcache
httplib
indexer Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
lfs
log
markup Add mentionable teams to tributeValues and change team mention rules to gh's style (#13198) 2020-12-21 16:39:28 +01:00
matchlist
metrics
migrations
nosql
notification Cause NotifyMigrateRepository to emit a repo create webhook (#14004) 2020-12-17 13:26:22 +01:00
options Add StatDir and replace com.StatDir (#14099) 2020-12-22 07:40:57 +08:00
password
pprof
private
process
public
queue
recaptcha
references Add mentionable teams to tributeValues and change team mention rules to gh's style (#13198) 2020-12-21 16:39:28 +01:00
repofiles Standardize Co-Authored-By / Reviewed-By strings (#14097) 2020-12-21 21:19:33 -05:00
repository Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
secret
session
setting Inline manifest.json (#14038) 2020-12-22 19:13:50 +08:00
ssh Standardise logging of failed authentication attempts in internal SSH (#13962) 2020-12-15 08:45:13 +00:00
storage
structs Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
svg
sync
task
templates Add StatDir and replace com.StatDir (#14099) 2020-12-22 07:40:57 +08:00
test
timeutil
upload
user
util Add StatDir and replace com.StatDir (#14099) 2020-12-22 07:40:57 +08:00
validation