Harvey Tindall
4c653fea36
fix url base on invite and broken getLanguages
4 years ago
Harvey Tindall
f72def0399
serve on / and URL base for easy proxying
4 years ago
Harvey Tindall
d061721f56
explicitly set js mimetype
4 years ago
Harvey Tindall
b037b08152
respect URL Base in http preloads and inline html links
4 years ago
Harvey Tindall
90c6cee780
add restart button
4 years ago
Harvey Tindall
8c871bc5fa
Add ts to link setting dependance
...
Also make store each setting as classes in a settings object, to make it
easier to serialize on submitting. Also, added
"substitute_jellyfin_strings", "no_username" and welcome_email.
4 years ago
Harvey Tindall
bf1e6230dc
split some strings into common file; use lang file to setup page
4 years ago
Harvey Tindall
cd2ea2e579
reload email after lang is loaded
...
fixes #37 .
4 years ago
Harvey Tindall
e834445b0b
Restructure language loading to support incomplete translations
...
On startup, files are scanned and any missing values are replaced with
the english version.
4 years ago
Harvey Tindall
772e12d11c
add optional tls/http2 support
...
Allows for http2 server push, see the advanced section.
4 years ago
Harvey Tindall
bc99dc34ee
Add email translation, add part of french translations
...
Admin translation from @Killianbe, Email translation from
@Cornichon420. French is currently not functional, a few things are
missing which i'm waiting on.
4 years ago
Harvey Tindall
4679c6f355
add language selector to admin
4 years ago
Harvey Tindall
c470e40737
Start adding translation support for admin
4 years ago
Harvey Tindall
3fbbc7f620
add language selector to form
4 years ago
Harvey Tindall
e532000ad0
Mention emby in README, add notices about password resets
4 years ago
Harvey Tindall
8d0dc232d7
option to substitute "Jellyfin" in form.html
...
setting is jellyfin/substitute_jellyfin_strings.
4 years ago
Harvey Tindall
f5602f1e96
change settings description and console warning
4 years ago
Harvey Tindall
d9e1e2f58b
compiles, basic issues fixed
...
Server type is found under the Jellyfin settings tab, where you can
change it to emby. Currently:
* logs in
* creates users
* parses accounts
4 years ago
Harvey Tindall
5d56ed5378
fix most incompatibilites, start separating api clients
4 years ago
Harvey Tindall
eb370d64df
Merge a17t-redesign, kinda ts-ify setup.js
...
the web ui has been redesigned with the a17t toolkit, which imo looks a
lot better than bootstrap. This also brought a complete rework of the
web code, which now makes a lot more sense hopefully. the setup page is
still stuck with bootstrap, its not much of a priority but i'll rewrite
it eventually.
4 years ago
Harvey Tindall
ee6f81b9e9
Add ability to revert to non-hyphenated user IDs
...
The first 10.7.0 build i tried used hyphens, but a later one didn't.
emails.json can now be converted between the two forms depending on what
the server uses.
4 years ago
Harvey Tindall
3c952d21f7
fix 10.7.0 compatibility, simplify scss
...
Hyphens are added to user IDs from 10.7.0, so if the server is running
it, emails.json will be modified to include them. The existing file is
backed up. Also, scss files have been simplified since bs4-jf and bs5-jf share
much of the same content.
4 years ago
Harvey Tindall
9dbf60e3df
add URL base option for subfolder proxies
...
also cleaned up the naming of some things.
4 years ago
Harvey Tindall
d64e98da37
use Bearer auth instead of Basic
...
this was a relic from the python version, i'd modeled the auth code off
some random blog post back then.
4 years ago
Harvey Tindall
493f10fa36
add french, fix language selector in settings
...
note: custom language files can now be added in data/lang/form and will be
listed in settings.
4 years ago
Harvey Tindall
8e45ecb214
add cache_timeout option
...
controls how old the Jellyfin user cache can be before refetching. defaults to 30 minutes.
4 years ago
Harvey Tindall
c84ea17af4
refactor; separate jfapi and ombi into modules
4 years ago
Harvey Tindall
d64d5c194f
initial steps for localisation
4 years ago
Harvey Tindall
9abb177427
use typescript for form.html in separate file, allow customization of
...
requirement strings
Password requirement text is now loaded by the typescript, and can be
customized by changing the validationStrings variable. See wiki for more
info.
4 years ago
Harvey Tindall
2f9965bcda
Print full error if writing config fails
4 years ago
Harvey Tindall
82d07e423c
add optional path to custom web ui pages
...
'html_templates' in 'files' can be set to a directory, in which you can
place custom version of the web ui pages. Added for #9 . Wiki explainer
to follow.
4 years ago
Harvey Tindall
2a2435ae11
remove version, device, device_id options, set them automatically
...
not sure why i exposed these to the user in the first place. they are
set to <jfa-go version>, <jfa-go>, <jfa-go-<version>-<commit>>
respectively.
4 years ago
Harvey Tindall
e104bd8362
small changes, new images and readme updated
4 years ago
Harvey Tindall
64ad8ccf6e
Fix docker build; add some color
4 years ago
Harvey Tindall
313b75bead
Add SWAGGER and DEBUG env variables
...
Should be useful for docker installations.
4 years ago
Harvey Tindall
9f6e405d1c
Add auth and tags to swagger
4 years ago
Harvey Tindall
b6537cef65
Add basic swagger documentation
...
accessible by running with -swagger. Accessible at /swagger/index.html.
Currently doesn't have authentication setup, so no requests will work.
4 years ago
Harvey Tindall
544f5674e8
rename routes to make more sense
...
for example, /getInvite and /generateInvite become GET(/invites) and
POST(/invites) respectively.
4 years ago
Harvey Tindall
89e70f6f7a
Add default profile functionality
...
Default profile can be selected in settings.
4 years ago
Harvey Tindall
903a61d0f2
Profiles replace user templates
...
Profile functionality is essentially complete, and they can be created
in settings. Only thing currently missing is a way to set a default
profile.
4 years ago
Harvey Tindall
b6ceee508c
Fix bug with invites in webui, add profile selector
...
invite codes starting with a digit don't work with the webui, so
GenerateInvite regenerates uuids until theres one that doesn't.
4 years ago
Harvey Tindall
c4acb43cb8
Initial features for move to profiles
...
user templates will become profiles. You will be able to make multiple,
and assign them to invites individually. This commit migrates the
separate template files into one profile entry called "Default", and
lets you select them on invites. No way to create profiles has been
added yet.
4 years ago
Harvey Tindall
d4b94bc9d9
add user button
...
added create user button for the admin to use.
4 years ago
Harvey Tindall
9213f2a078
Add account deletion with email notification
...
Select users to delete, then optionally opt to notify the user in an
email with a provided reason.
4 years ago
Harvey Tindall
7ac750879f
Remove email addresses in settings, move to accounts tab
...
still a little rough, but it works.
4 years ago
Harvey Tindall
cd61989495
Initial features of accounts tab
...
It's rough right now, but the accounts tab shows a list of users and
info. Right now the only action available is to apply settings (from
template or another user) to a selection of users. More to come.
4 years ago
Harvey Tindall
7d84fdec96
userByName reloads cache if user not found, more things in test
4 years ago
Harvey Tindall
e0c4d7c545
add "test" mode for debugging
...
running with "test" in the arguments will print jellyfin server info,
and try to getUsers.
4 years ago
Harvey Tindall
51839b5942
Restructure email sending
...
smtp and mailgun now implement an emailClient interface, which the
Emailer can use.
4 years ago
Harvey Tindall
831296a3e8
remove windows related messages
...
self restarts now work, so no need.
4 years ago