You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/context
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>
4 years ago
..
api.go Send error message when CSRF token is missing (#13676) 4 years ago
api_org.go Golint fixed for modules/context 8 years ago
api_test.go fix API link header (#7298) 5 years ago
auth.go Move install pages out of main macaron routes (#13195) 4 years ago
context.go Inline manifest.json (#14038) 4 years ago
org.go API add/generalize pagination (#9452) 4 years ago
pagination.go Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 4 years ago
panic.go Use gitea forked macaron (#7933) 5 years ago
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 5 years ago
repo.go Support shortened commit SHAs in URLs (#13686) 4 years ago