From 5922e50b981316f1f82bf93c09b125225cc457cb Mon Sep 17 00:00:00 2001 From: bullmoose20 <12549033+bullmoose20@users.noreply.github.com.> Date: Thu, 23 Jan 2025 22:20:21 -0500 Subject: [PATCH] run pre-commits --- .gitignore | 1 + .pre-commit-config.yaml | 1 + Dockerfile | 1 + README.md | 1 + app.py | 1 + json-schema/README.md | 1 + json-schema/config-schema.json | 1 + json-schema/prototype_config.yml | 1 + modules/plex.py | 0 requirements.txt | 1 + static/css/bootstrap.css | 1 + static/css/styles.css | 1 + static/js/bootstrap.bundle.js | 1 + templates/000-base.html | 1 + templates/001-start.html | 1 + templates/010-plex.html | 1 + templates/020-tmdb.html | 1 + templates/025-libraries.html | 1 + templates/027-playlist_files.html | 1 + templates/030-tautulli.html | 1 + templates/040-github.html | 1 + templates/050-omdb.html | 1 + templates/060-mdblist.html | 1 + templates/070-notifiarr.html | 1 + templates/080-gotify.html | 1 + templates/090-webhooks.html | 1 + templates/100-anidb.html | 1 + templates/110-radarr.html | 1 + templates/120-sonarr.html | 1 + templates/130-trakt.html | 1 + templates/140-mal.html | 1 + templates/150-settings.html | 1 + templates/900-final.html | 1 + templates/modals/001-start.html | 1 + templates/modals/010-plex.html | 3 +-- templates/modals/020-tmdb.html | 1 + templates/modals/025-libraries.html | 1 + templates/modals/027-playlist_files.html | 1 + templates/modals/030-tautulli.html | 1 + templates/modals/040-github.html | 1 + templates/modals/050-omdb.html | 1 + templates/modals/060-mdblist.html | 1 + templates/modals/070-notifiarr.html | 1 + templates/modals/080-gotify.html | 1 + templates/modals/090-webhooks.html | 1 + templates/modals/100-anidb.html | 1 + templates/modals/110-radarr.html | 1 + templates/modals/120-sonarr.html | 1 + templates/modals/130-trakt.html | 1 + templates/modals/140-mal.html | 1 + templates/modals/150-settings.html | 1 + templates/modals/900-final.html | 2 +- 52 files changed, 51 insertions(+), 3 deletions(-) delete mode 100644 modules/plex.py diff --git a/.gitignore b/.gitignore index 7dd9c99..b940ce4 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ logs/ 012*-*.js 013*-*.js 014*-*.js +# diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 66434a5..bfa36df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,3 +19,4 @@ repos: rev: v17.1.2 hooks: - id: standard +# diff --git a/Dockerfile b/Dockerfile index 97d65e5..6a6bb36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ + FROM python:3-alpine # Create app directory diff --git a/README.md b/README.md index 3e15f64..d4dab8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + ### WIP, not fully functional ![image](./static/images/header.png) diff --git a/app.py b/app.py index 30961a7..61930b2 100644 --- a/app.py +++ b/app.py @@ -12,6 +12,7 @@ from flask_session import Session from cachelib.file import FileSystemCache + import jsonschema import requests import io diff --git a/json-schema/README.md b/json-schema/README.md index d43cc26..1e69e70 100644 --- a/json-schema/README.md +++ b/json-schema/README.md @@ -1,3 +1,4 @@ + JSON schemas for Kometa YAML files How to: diff --git a/json-schema/config-schema.json b/json-schema/config-schema.json index 6b1e39d..56ba9fd 100644 --- a/json-schema/config-schema.json +++ b/json-schema/config-schema.json @@ -1,3 +1,4 @@ + { "$schema": "http://json-schema.org/draft-06/schema#", "properties": { diff --git a/json-schema/prototype_config.yml b/json-schema/prototype_config.yml index 77073e1..4bab5a6 100644 --- a/json-schema/prototype_config.yml +++ b/json-schema/prototype_config.yml @@ -1,4 +1,5 @@ + # yaml-language-server: $schema=./config-schema.json libraries: diff --git a/modules/plex.py b/modules/plex.py deleted file mode 100644 index e69de29..0000000 diff --git a/requirements.txt b/requirements.txt index b316a15..98d7818 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ + Flask Flask-Session gunicorn diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css index c19dc7e..f66d5d5 100644 --- a/static/css/bootstrap.css +++ b/static/css/bootstrap.css @@ -1,3 +1,4 @@ + @charset "UTF-8"; /*! * Bootstrap v5.3.3 (https://getbootstrap.com/) diff --git a/static/css/styles.css b/static/css/styles.css index 823c0a0..fb28724 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -1,3 +1,4 @@ + /* -------------------- */ /* GENERAL STYLES */ /* -------------------- */ diff --git a/static/js/bootstrap.bundle.js b/static/js/bootstrap.bundle.js index 33d837e..81d1086 100644 --- a/static/js/bootstrap.bundle.js +++ b/static/js/bootstrap.bundle.js @@ -1,3 +1,4 @@ + /*! * Bootstrap v5.3.3 (https://getbootstrap.com/) * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) diff --git a/templates/000-base.html b/templates/000-base.html index 5092b6e..98b8ff0 100644 --- a/templates/000-base.html +++ b/templates/000-base.html @@ -1,3 +1,4 @@ + diff --git a/templates/001-start.html b/templates/001-start.html index 8896fa6..c446286 100644 --- a/templates/001-start.html +++ b/templates/001-start.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/010-plex.html b/templates/010-plex.html index ea5cf57..97b202d 100644 --- a/templates/010-plex.html +++ b/templates/010-plex.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/020-tmdb.html b/templates/020-tmdb.html index 67c31b7..f5a30fd 100644 --- a/templates/020-tmdb.html +++ b/templates/020-tmdb.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/025-libraries.html b/templates/025-libraries.html index 4e9d0af..7ff2875 100644 --- a/templates/025-libraries.html +++ b/templates/025-libraries.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/027-playlist_files.html b/templates/027-playlist_files.html index 3f15a42..dd63983 100644 --- a/templates/027-playlist_files.html +++ b/templates/027-playlist_files.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/030-tautulli.html b/templates/030-tautulli.html index 7d723dc..9695fab 100644 --- a/templates/030-tautulli.html +++ b/templates/030-tautulli.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/040-github.html b/templates/040-github.html index 10a1189..44924bf 100644 --- a/templates/040-github.html +++ b/templates/040-github.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/050-omdb.html b/templates/050-omdb.html index 2f00de1..323c66d 100644 --- a/templates/050-omdb.html +++ b/templates/050-omdb.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/060-mdblist.html b/templates/060-mdblist.html index 4d11c79..3aca1f2 100644 --- a/templates/060-mdblist.html +++ b/templates/060-mdblist.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/070-notifiarr.html b/templates/070-notifiarr.html index bf795ff..36234d2 100644 --- a/templates/070-notifiarr.html +++ b/templates/070-notifiarr.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/080-gotify.html b/templates/080-gotify.html index 729e9f2..5c2d705 100644 --- a/templates/080-gotify.html +++ b/templates/080-gotify.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/090-webhooks.html b/templates/090-webhooks.html index f8c6f8b..ecda704 100644 --- a/templates/090-webhooks.html +++ b/templates/090-webhooks.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/100-anidb.html b/templates/100-anidb.html index 442771a..395c9d3 100644 --- a/templates/100-anidb.html +++ b/templates/100-anidb.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/110-radarr.html b/templates/110-radarr.html index 9040a3b..5cb63fa 100644 --- a/templates/110-radarr.html +++ b/templates/110-radarr.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/120-sonarr.html b/templates/120-sonarr.html index f9ae9aa..ebce7bc 100644 --- a/templates/120-sonarr.html +++ b/templates/120-sonarr.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/130-trakt.html b/templates/130-trakt.html index 6d7847a..884c571 100644 --- a/templates/130-trakt.html +++ b/templates/130-trakt.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/140-mal.html b/templates/140-mal.html index cff5c1d..aa59852 100644 --- a/templates/140-mal.html +++ b/templates/140-mal.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/150-settings.html b/templates/150-settings.html index 2edc67f..bc93b6f 100644 --- a/templates/150-settings.html +++ b/templates/150-settings.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/900-final.html b/templates/900-final.html index 44df704..932a7fb 100644 --- a/templates/900-final.html +++ b/templates/900-final.html @@ -1,3 +1,4 @@ + {% extends "000-base.html" %} {% block content %}
diff --git a/templates/modals/001-start.html b/templates/modals/001-start.html index a2d0a6b..403b27d 100644 --- a/templates/modals/001-start.html +++ b/templates/modals/001-start.html @@ -1,3 +1,4 @@ + diff --git a/templates/modals/010-plex.html b/templates/modals/010-plex.html index f3010e8..347168a 100644 --- a/templates/modals/010-plex.html +++ b/templates/modals/010-plex.html @@ -1,7 +1,6 @@ + - - diff --git a/templates/modals/020-tmdb.html b/templates/modals/020-tmdb.html index ea85122..a7f8332 100644 --- a/templates/modals/020-tmdb.html +++ b/templates/modals/020-tmdb.html @@ -1,3 +1,4 @@ +