forgejo/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 User Settings: Ignore empty language codes & validate (#13755) 2020-12-04 08:20:30 +02:00
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 Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
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 Move LFSLock APIFormat into convert package (#13808) 2020-12-03 16:05:48 +02:00
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 Add Allow-/Block-List for Migrate & Mirrors (#13610) 2020-11-28 19:37:58 -05:00
metrics
migrations [API] Add Ref to Issue (#13946) 2020-12-13 11:34:11 +00:00
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 Migrations: Use Process Manager to create own Context (#13792) 2020-12-02 18:36:06 +00:00
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