Merge branch 'webui' into 'master'

WebUI

See merge request mangadex/mangadex_at_home!34
This commit is contained in:
Amos Ng 2020-06-19 00:12:16 +00:00
commit 9ed9489fdc
14 changed files with 313 additions and 314 deletions

View file

@ -25,7 +25,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- [2020-06-16] Reworked graceful shutdown [@carbotaniuman]. - [2020-06-16] Reworked graceful shutdown [@carbotaniuman].
- [2020-06-16] api/pastStats no longer called on load of WebUI (this shouldn't affect hits/misses), will be reimplemented later [@RedMatriz].
- [2020-06-17] Revamped configuration & units by [@lflare]. - [2020-06-17] Revamped configuration & units by [@lflare].
### Fixed ### Fixed

View file

@ -7,7 +7,7 @@ import java.time.Duration
object Constants { object Constants {
const val CLIENT_BUILD = 9 const val CLIENT_BUILD = 9
const val CLIENT_VERSION = "1.0" const val CLIENT_VERSION = "1.0"
const val WEBUI_VERSION = "0.0.4" const val WEBUI_VERSION = "0.1.0"
val MAX_AGE_CACHE: Duration = Duration.ofDays(14) val MAX_AGE_CACHE: Duration = Duration.ofDays(14)
@JvmField @JvmField
val GSON: Gson = GsonBuilder().setPrettyPrinting().create() val GSON: Gson = GsonBuilder().setPrettyPrinting().create()

View file

@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><title>MD@H Client</title><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css><link href=/css/app.e2aa2c39.css rel=preload as=style><link href=/css/chunk-vendors.21a2845f.css rel=preload as=style><link href=/js/app.dfb0f485.js rel=preload as=script><link href=/js/chunk-vendors.f7ffc240.js rel=preload as=script><link href=/css/chunk-vendors.21a2845f.css rel=stylesheet><link href=/css/app.e2aa2c39.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=/img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/img/icons/favicon-16x16.png><link rel=manifest href=/manifest.json><meta name=theme-color content=#f79421><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=apple-mobile-web-app-title content="MD@H Client Interface"><link rel=apple-touch-icon href=/img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=/img/icons/safari-pinned-tab.svg color=#f79421><meta name=msapplication-TileImage content=/img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000></head><body><noscript><strong>We're sorry but md_webui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.f7ffc240.js></script><script src=/js/app.dfb0f485.js></script></body></html> <!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><title>MD@H Client</title><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css><link href=/css/app.e2aa2c39.css rel=preload as=style><link href=/css/chunk-vendors.ff325645.css rel=preload as=style><link href=/js/app.3097c900.js rel=preload as=script><link href=/js/chunk-vendors.71e890e8.js rel=preload as=script><link href=/css/chunk-vendors.ff325645.css rel=stylesheet><link href=/css/app.e2aa2c39.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=/img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/img/icons/favicon-16x16.png><link rel=manifest href=/manifest.json><meta name=theme-color content=#f79421><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=apple-mobile-web-app-title content="MD@H Client Interface"><link rel=apple-touch-icon href=/img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=/img/icons/safari-pinned-tab.svg color=#f79421><meta name=msapplication-TileImage content=/img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000></head><body><noscript><strong>We're sorry but md_webui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.71e890e8.js></script><script src=/js/app.3097c900.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,23 +1,23 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([ self.__precacheManifest = (self.__precacheManifest || []).concat([
{ {
"revision": "42dc685cf939e8cb7a0e", "revision": "a22d9f2ef94e37b7a6ff",
"url": "/css/app.e2aa2c39.css" "url": "/css/app.e2aa2c39.css"
}, },
{ {
"revision": "b2aeed3dfb80b677859c", "revision": "a78a87eb753feb7eaa01",
"url": "/css/chunk-vendors.21a2845f.css" "url": "/css/chunk-vendors.ff325645.css"
}, },
{ {
"revision": "2c125ba699a0b75ad28728c89a6a4659", "revision": "54f026d023e13df87ab9e5f65c7ed268",
"url": "/index.html" "url": "/index.html"
}, },
{ {
"revision": "42dc685cf939e8cb7a0e", "revision": "a22d9f2ef94e37b7a6ff",
"url": "/js/app.dfb0f485.js" "url": "/js/app.3097c900.js"
}, },
{ {
"revision": "b2aeed3dfb80b677859c", "revision": "a78a87eb753feb7eaa01",
"url": "/js/chunk-vendors.f7ffc240.js" "url": "/js/chunk-vendors.71e890e8.js"
}, },
{ {
"revision": "8acb3b80fd7f13474f9b2cb074bca31a", "revision": "8acb3b80fd7f13474f9b2cb074bca31a",

View file

@ -1,3 +1,3 @@
importScripts("/precache-manifest.b7ba13b46eefa1a4adbdbd28f90546f7.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts("/precache-manifest.72870d39151ff907d309e4ed085688b9.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");