From b5af2e7f9d7563995c766a3a5d59775c18b60b34 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Fri, 17 Jul 2020 17:35:24 +0100 Subject: [PATCH] Bump to 0.3.7 --- config-default.ini | 19 +++++++++++++++++-- jellyfin_accounts/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/config-default.ini b/config-default.ini index 93cb739..6c0d5dd 100644 --- a/config-default.ini +++ b/config-default.ini @@ -9,9 +9,9 @@ server = http://jellyfin.local:8096 public_server = https://jellyf.in:443 ; this and below settings will show on the jellyfin dashboard when the program connects. you may as well leave them alone. client = jf-accounts -version = 0.3.6 +version = 0.3.7 device = jf-accounts -device_id = jf-accounts-0.3.6 +device_id = jf-accounts-0.3.7 [ui] ; settings related to the ui and program functionality. @@ -28,6 +28,8 @@ admin_only = true username = your username ; password for admin page (leave blank if using jellyfin_login) password = your password +; address to send notifications to (leave blank if using jellyfin_login) +email = example@example.com debug = false ; displayed at bottom of all pages except admin contact_message = Need help? contact me. @@ -88,6 +90,19 @@ subject = Invite - Jellyfin ; base url for jf-accounts. this is necessary because using a reverse proxy means the program has no way of knowing the url itself. url_base = http://accounts.jellyf.in:8056/invite +[notifications] +; notification related settings. +; enabling adds optional toggles to invites to notify on expiry and user creation. +enabled = true +; path to expiry notification email html. +expiry_html = +; path to expiry notification email in plaintext. +expiry_text = +; path to user creation notification email html. +created_html = +; path to user creation notification email in plaintext. +created_text = + [mailgun] ; mailgun api connection settings api_url = https://api.mailgun.net... diff --git a/jellyfin_accounts/__init__.py b/jellyfin_accounts/__init__.py index 4f2a291..082c961 100755 --- a/jellyfin_accounts/__init__.py +++ b/jellyfin_accounts/__init__.py @@ -1,5 +1,5 @@ # Runs it! -__version__ = "0.3.6" +__version__ = "0.3.7" import secrets import configparser diff --git a/pyproject.toml b/pyproject.toml index 6faee59..2927b07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "jellyfin-accounts" -version = "0.3.6" +version = "0.3.7" readme = "README.md" description = "A simple account management system for Jellyfin" authors = ["Harvey Tindall "]