Commit Graph

132 Commits

Author SHA1 Message Date
Harvey Tindall 81a80afdf2 Improved admin page 2020-05-05 11:37:13 +01:00
Harvey Tindall a2e7ff4def fix password reset recognition 2020-05-03 18:54:07 +01:00
Harvey Tindall 754659b4f9 fix gitignore 2020-05-02 19:21:31 +01:00
Harvey Tindall ef7fc55864 Fix first start for docker 2020-05-02 19:09:02 +01:00
Harvey Tindall 922987454f Add setup wizard
Added a setup wizard that appears on first run, or when no config dir is
found.
2020-05-02 18:32:58 +01:00
Harvey Tindall 16a7ceb8ea Added STARTTLS for SMTP
As many services don't support full encryption, there is now an
encryption option in the [smtp] section, allowing you to choose between
ssl_tls and starttls.
2020-04-26 21:28:55 +01:00
Harvey Tindall 3499843878 Added re-authentication after expiry to jf_api 2020-04-26 19:44:31 +01:00
Harvey Tindall 5b767da91f Add windows fixes 2020-04-25 22:08:59 +01:00
Harvey Tindall b9cefcc111 Added ability to log in with jellyfin credentials
The new jellyfin_login and admin_only allow anyone use their username and
password from jellyfin to login to the admin page, and restrict this to jellyfin
admins only, respectively.
2020-04-25 17:20:46 +01:00
Harvey Tindall 9b8204eb12 Added extra auths with jellyfin to avoid expiry
Also fixed running multiple authentications on one Jellyfin object.
2020-04-22 21:54:31 +01:00
Harvey Tindall 785cf76a17 Added spinner for create account button 2020-04-21 15:14:36 +01:00
Harvey Tindall 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
Harvey Tindall 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
Harvey Tindall 561e87984c updated images 2020-04-17 18:24:07 +01:00
Harvey Tindall dc6a3b9af2 Fixed invite alignment on admin page
Invites and the generate invite form are now displayed as cards. Invite
codes are displayed in a monospace font so they are always aligned with
eachother. The delete button is now inline with the rest of the text.
2020-04-17 15:24:56 +01:00
Harvey Tindall 4df78a22c5 Fixed password validation on form; added lowercase option
Fixed an issue where some criteria on the form page wouldn't change to
red or green when one set one of them to 0 in the config. Also added a
lowercase option.
2020-04-16 14:33:23 +01:00
Harvey Tindall 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
Harvey Tindall 60cd54f436 moved Dockerfile to separate repo 2020-04-15 12:04:05 +01:00
Harvey Tindall 21fd6e452e Added Dockerfile
Dockerfile added. Working on getting this up on docker hub aswell.
2020-04-15 11:16:29 +01:00
Harvey Tindall b43f145ac5 added requirements.txt 2020-04-15 10:58:35 +01:00
Harvey Tindall 690de58e9f added password validation; changed create account layout
Password validation added, configurable under the [password_validation]
section in config.ini. Each criterion is displayed next to the form, in
red or green depending on whether the password passes it. form.html now
looks different because of it, whether it is enabled or disabled. An
error message is now displayed if the user already exists.
2020-04-14 21:31:44 +01:00
Harvey Tindall 0ab93990e8 improved admin page behaviour
Changed admin.js so that instead of deleting all invites and then
generating them, new ones are created, pre-existing ones have their
expiry updated, and newly invalid ones are deleted. Accidentally
improved their layout, as well.
2020-04-13 20:02:00 +01:00
Harvey Tindall c00311bd15 typo 2020-04-13 15:16:48 +01:00
Harvey Tindall ed0ca7e490 Merge branch 'master' of https://github.com/hrfee/jellyfin-accounts 2020-04-13 15:12:56 +01:00
Harvey Tindall 32f408d54f all the other missing deps 2020-04-13 15:08:40 +01:00
Harvey Tindall 42196b5fe7
reference wiki pages 2020-04-13 15:05:37 +01:00
Harvey Tindall 90cdfe1ccc add missing pyOpenSSL dep 2020-04-13 14:26:40 +01:00
Harvey Tindall 5725bbf45d
remove todo section
Moved these over to issues
2020-04-12 21:52:51 +01:00
Harvey Tindall d22ba6133b Add pw reset support; add logging 2020-04-12 21:25:27 +01:00
Harvey Tindall 2e22e5f840
Add requirements to README
Added requirements, notably python >= 3.6 due to f-string usage.
2020-04-11 19:00:50 +01:00
Harvey Tindall 19ab6ed4d7 update readme 2020-04-11 15:21:57 +01:00
Harvey Tindall d321726d62 first commit 2020-04-11 15:20:25 +01:00