Commit Graph

70 Commits

Author SHA1 Message Date
52f9b5c963 added new /getConfig 2020-06-29 23:23:43 +01:00
55d26b541a dynamically generate default config on first run 2020-06-29 23:06:58 +01:00
4606415a38 added config-base file and config.ini generator 2020-06-29 22:05:40 +01:00
00ba11940a add donation link 2020-06-29 13:03:09 +01:00
9532f24e7a
Merge pull request #24 from Spiritreader/master
Suggestion: Improve margins for admin and invite form templates
2020-06-29 12:42:39 +01:00
Sam
95e5d8fb3d
adjust margins in form template 2020-06-29 02:25:55 +02:00
Sam
3f1b2ad4a8
adjust margins in admin template 2020-06-29 02:25:18 +02:00
b775e36171 update readme 2020-06-29 00:39:30 +01:00
68a459023c Add option to use email address as username
Added option email/no_username to disable username input on form, and
instead use the provided email address as the username. Also added
missing 'packaging' dep from pevious update.
2020-06-29 00:35:51 +01:00
09bbe8fddf New version number 2020-06-27 15:52:03 +01:00
99c34d7916
Merge pull request #21 from hrfee/10.6.0-compatability
10.6.0 compatibility
2020-06-27 15:48:30 +01:00
db1b707ec1 ignore users using alternative auth providers 2020-06-27 15:45:12 +01:00
4809331502 10.6.0 compatability, cleanup, removed dep
Automatically fixes '*ProviderId' in user templates for versions of
Jellyfin >= 10.6.0. Removed unnecessary configparser dependency, the one
actually used is part of python. jf_api now has an info attribute.
2020-06-27 15:38:51 +01:00
24045034c8 Formatted with black 2020-06-21 20:29:53 +01:00
079dff8d9f cleanup 2020-06-21 20:21:33 +01:00
b943bd1f27 Fixed images for pypi 2020-06-16 20:36:57 +01:00
267a47087c Fixed dep 2020-06-16 20:25:41 +01:00
4d6872dc17 Remove secrets dep
The dependency on 'secrets' has been removed, as I realized that the
cryptographic 'secrets' package is included in python, and the one on
PyPI was related to LDAP. This the issues with python-ldap on some
systems no longer exist.
2020-06-16 20:17:25 +01:00
4372c9d12f
Merge pull request #19 from hrfee/modular-storage
Merge change to modular storage, Move to Poetry over setuptools
2020-06-16 20:15:06 +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
39a27eb762 Added new user defaults setting to web ui
What previously had to be done through 'jf-accounts -g' can now be done
in the settings menu on the web ui.
2020-06-08 13:33:04 +01:00
4041194d72 Added ability to set home layout to jf_api 2020-06-07 15:15:16 +01:00
674636b3a2 Add ability to set default homescreen layout
--get_policy is now --get_defaults, as it now allows you to store a
default user configuration and displayPreferences, which define the
layout of the home screen. It can also now display non publicly visible
accounts.
2020-06-07 15:00:31 +01:00
ac264a4f4b Added ability to set home layout to jf_api (Not used yet) 2020-06-06 18:06:25 +01:00
452ab4967d Added option to set user config in jf_api (Not used yet) 2020-06-06 16:01:38 +01:00
78de153557 Added separate public & private jellyfin address option 2020-06-03 12:17:29 +01:00
cb07cbb5bf Fixed host/port specification for first time setup 2020-05-24 15:24:23 +01:00
72ec233634 Added docstrings to jf_api 2020-05-24 15:19:39 +01:00
61368c4505 Fixed typo that broke sending invites to an address 2020-05-21 22:10:52 +01:00
a65f193407 Added custom_css to README 2020-05-17 15:36:43 +01:00
91eae9a4ce Added custom bootstrap CSS option 2020-05-17 15:22:50 +01:00
bb864ce46e Added icons and banner
Added a jellyfin inspired icon, and a banner to the README.md
2020-05-13 18:46:02 +01:00
c84462bfbc Remove unnecessary import 2020-05-12 22:06:19 +01:00
7f250b13fb Hide email input on admin when disabled 2020-05-12 20:44:04 +01:00
331dbc3d28 pw requirements now loaded with jinja over js
Originally i loaded the requirements through calling the web api in
javascript, but decided to switch it to jinja as i only recently found
out its capable of stuff more complicated than replacing strings.
2020-05-12 20:29:50 +01:00
8497cd4927 Speed up interface through adding caching
jf_api now caches the list of users, only fetching new data if the cache
is more than 30 minutes old. Also remove the pointless tempJF with an
instance named auth_jf since jf_api can now handle multiple
authentications.
2020-05-09 22:10:30 +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
81a80afdf2 Improved admin page 2020-05-05 11:37:13 +01:00
a2e7ff4def fix password reset recognition 2020-05-03 18:54:07 +01:00
754659b4f9 fix gitignore 2020-05-02 19:21:31 +01:00
ef7fc55864 Fix first start for docker 2020-05-02 19:09:02 +01:00
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
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
3499843878 Added re-authentication after expiry to jf_api 2020-04-26 19:44:31 +01:00
5b767da91f Add windows fixes 2020-04-25 22:08:59 +01:00
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
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
785cf76a17 Added spinner for create account button 2020-04-21 15:14:36 +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