Commit Graph

12 Commits

Author SHA1 Message Date
d615b21c7d Proper dynamic config reload
A bunch of options can now be changed without a restart as the config is
now guaranteed to be reloaded on change through the use of a RELOADCONFIG environment variable.
2020-07-12 19:53:04 +01:00
24045034c8 Formatted with black 2020-06-21 20:29:53 +01:00
bfbaca4094 Move to Poetry for deps and packaging
setup.py has been removed, and Poetry is now used to package for
install. This fixed an issue i had with uploading to PyPI, so one can
now run 'pip install jellyfin-accounts' to install.
2020-06-16 20:07:47 +01:00
f4f18d41ea Modularized JSON storage
user_template and other files are now accessed via JSONStorage, which
has dictionary like attributes for each file which can be used like a
dictionary, without the need to manually read and write the file. This
was done so that other storage types (e.g a database) can be added in
future.
2020-06-14 17:58:18 +01:00
c84462bfbc Remove unnecessary import 2020-05-12 22:06:19 +01:00
17aca69583 Switch back to 'modified' fs event only
Originally i switched this to 'created' because of a Windows issue someone was
having, but I believe it was something else i'd done that fixed it.
Using 'created' also meant multiple password resets for a user wouldn't
be registered, as jellyfin would just overwrite the existing file.
Hopefully this doesn't break anything.
2020-05-09 20:49:42 +01:00
a2e7ff4def fix password reset recognition 2020-05-03 18:54:07 +01:00
5b767da91f Add windows fixes 2020-04-25 22:08:59 +01:00
200ad24f96 Added user email modification to admin page
Pressing the user settings button brings up a list of all jellyfin
users, and allows you to add or change their stored email addresses.
Additionally, changed emails.json to use user ID instead of username.
The program automatically converts the file to the new format at start.
2020-04-20 20:37:39 +01:00
e8ad3f98d6 added option to send invite to an address
The admin page now has the option to send an invite to an email address.
Since there are now two email types (invites and pw resets), the new
sections have been added to config.ini, and email_template and
email_plaintext have been renamed to email_html and email_text
respectively.
2020-04-19 22:35:51 +01:00
e6eda227fa add pw reset debug message; changed watchdog 'created' to 'modified'
Added an extra debugging message to tell the file being read for a
password reset, and changed watchdog form using 'created' events to
'modified', otherwise there may be issues where the file is read before
it is fully written.
2020-04-16 13:56:27 +01:00
d22ba6133b Add pw reset support; add logging 2020-04-12 21:25:27 +01:00