1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-29 08:17:31 -04:00
gitea/routers/admin
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_test.go Shadow the password on cache and session config on admin panel (#7300) 2019-06-27 00:12:38 +08:00
admin.go Inline manifest.json (#14038) 2020-12-22 19:13:50 +08:00
auths.go Remove PAM from auth dropdown when unavailable (#13276) 2020-10-23 11:10:29 +01:00
emails.go Admin page for managing user e-mail activation (#10557) 2020-03-02 15:25:36 -03:00
hooks.go System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00
main_test.go Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
notice.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
orgs.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repos.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
users_test.go Add email validity check (#13475) 2020-11-14 11:53:43 -05:00
users.go Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00