From e80ec10e8a5cdb330af5de395593b3f2b27db8f7 Mon Sep 17 00:00:00 2001 From: advplyr Date: Fri, 8 Oct 2021 17:30:20 -0500 Subject: [PATCH] Fix ebook url #75, download other files #75, fix book icon disappearing #88, backups #87 --- client/assets/app.css | 13 + client/components/app/BookShelfToolbar.vue | 2 +- client/components/app/Reader.vue | 21 +- client/components/cards/BookCard.vue | 1 + client/components/cards/BookCover.vue | 3 - client/components/controls/GlobalSearch.vue | 2 +- client/components/modals/edit-tabs/Cover.vue | 6 +- client/components/modals/edit-tabs/Tracks.vue | 5 +- client/components/prompt/Dialog.vue | 85 ++++++ client/components/tables/BackupsTable.vue | 190 ++++++++++++ client/components/tables/OtherFilesTable.vue | 42 ++- client/components/tables/TracksTable.vue | 5 +- client/components/tables/UsersTable.vue | 33 ++- client/components/ui/FileInput.vue | 14 +- client/components/ui/TextInput.vue | 4 + client/components/ui/Tooltip.vue | 1 + client/layouts/default.vue | 9 + client/nuxt.config.js | 1 + client/package.json | 2 +- client/pages/audiobook/_id/index.vue | 14 +- client/pages/config/index.vue | 89 +++--- client/store/index.js | 6 +- package-lock.json | 33 ++- package.json | 5 +- server/ApiController.js | 31 +- server/BackupManager.js | 277 ++++++++++++++++++ server/Db.js | 8 + server/Server.js | 26 +- server/StreamManager.js | 2 +- server/objects/Audiobook.js | 1 + server/objects/Backup.js | 75 +++++ server/objects/ServerSettings.js | 22 ++ 32 files changed, 954 insertions(+), 74 deletions(-) create mode 100644 client/components/prompt/Dialog.vue create mode 100644 client/components/tables/BackupsTable.vue create mode 100644 server/BackupManager.js create mode 100644 server/objects/Backup.js diff --git a/client/assets/app.css b/client/assets/app.css index a2de2393..975d62f6 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -51,6 +51,19 @@ opacity: 0; } +/* Chrome, Safari, Edge, Opera */ +.no-spinner::-webkit-outer-spin-button, +.no-spinner::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +/* Firefox */ +input[type=number] { + -moz-appearance: textfield; +} + + .tracksTable { border-collapse: collapse; width: 100%; diff --git a/client/components/app/BookShelfToolbar.vue b/client/components/app/BookShelfToolbar.vue index 637746e1..49559b8a 100644 --- a/client/components/app/BookShelfToolbar.vue +++ b/client/components/app/BookShelfToolbar.vue @@ -1,6 +1,6 @@