Commit Graph

95 Commits

Author SHA1 Message Date
a3d3d97b3b Added theme toggle to Admin page
The admin can switch between the two default themes without a page
reload, with a nice animation (on small screens). Preference is stored
as a cookie, so the default theme setting will still apply to others.
2020-07-06 20:53:14 +01:00
781306f1ef Automation of CSS compilation, fixed .gitignore build issue
The grabbing of dependencies and compilation of SCSS can now simply be
done with a:

poetry run task compile-css

before a:

poetry build

When building from source. The issue where the .gitignore had to be
removed before building has been fixed, too.
2020-07-06 15:04:28 +01:00
a62eab9565 bump to 0.3.2 due to packaging errors 2020-07-05 21:50:52 +01:00
a2a2abc7f2 fix mime type for admin.js 2020-07-05 21:39:58 +01:00
fa0527c6a7 Remove all css
Removed css because I don't want the "Languages" section to show 90%
CSS. Build instructions will be updated with how to build CSS yourself.
2020-07-05 16:42:39 +01:00
b33922059c remove extra css 2020-07-05 16:39:48 +01:00
9da3832e3a
Merge pull request #28 from hrfee/bs5
Add themes, Bootstrap 5 support, bump to 0.3.0
2020-07-05 16:34:32 +01:00
dcdb02f9db
Merge branch 'master' into bs5 2020-07-05 16:34:05 +01:00
4be88c4670 modify and add new images to readme 2020-07-05 16:25:55 +01:00
4fb99d1724 Cleanup, add theme options
Add theme options to settings to choose between light and dark.
2020-07-05 15:09:42 +01:00
adef32ef89 BS4 by default, BS5 optional
Bootstrap 4 w/ jQuery is used by default unless bs5 is enabled in
settings/ui. bs4 also now has a jellyfin-style look.
2020-07-05 14:38:07 +01:00
ade935da4e jellyfin-lookin theme, changes from master, bump to 0.3.0
Now uses a customized bootstrap that looks something like Jellyfin. Some
small ui changes were needed. This be overridden by downloading bs5's css and using the custom_css
option if you don't like it. sass file is included for your own modification. Changes made to master have been added also.
2020-07-04 22:17:49 +01:00
81bb2520ad Starting work on jellyfin-esque css 2020-07-04 14:00:17 +01:00
acad3b1853 Fix admin, convert invite form, change readme 2020-07-03 22:22:47 +01:00
d1cd83f5ff no more jQuery on admin page
Functions well, but a few changes might be necessary visually.
2020-07-03 21:07:04 +01:00
061fdd65bb fixed image on readme 2020-07-02 18:46:48 +01:00
34e58f5cb2 Add systemd service
Add -i, which currently only creates a systemd service file in the
current directory for the user to install themselves.
2020-07-02 18:44:42 +01:00
fe12b7c4be Change to bs5 (not functional) 2020-07-02 17:59:15 +01:00
ac500e14cd
Merge pull request #26 from hrfee/dynamic-settings
Add live reloading to some options, email fix
2020-06-30 21:28:00 +01:00
ac60cc37da Add live reloading to some options, email fix
live reloading was intended for previous release, but needed some
tweaking. Settings that still require a restart are marked with an R.
Fixed issue where default values weren't being filled in on reload of
config that broke emails if settings were changed at all.
2020-06-30 21:24:07 +01:00
46751e3743
Merge pull request #25 from hrfee/dynamic-settings
Full settings added to web UI
2020-06-30 20:02:41 +01:00
0bb54d1c45 Remove config from readme, bump to 0.2.5 2020-06-30 19:58:06 +01:00
8e94f04d5a Add tooltips; cleanup 2020-06-30 18:57:04 +01:00
eb8e04d5a2 Added settings menu to UI
Currently all setting changes require a restart to apply, so there's a
bit of commented out code that i implemented before i realized.
Still needs tooltips for each setting.
2020-06-30 16:17:40 +01:00
52a11c3905 auth fix 2020-06-29 23:24:54 +01:00
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