c47eadc483
respect notificationsEnabled
2021-01-01 23:42:15 +00:00
88f4de9c46
implement accounts tab functionality
...
also:
* added a homemade loading animation to buttons
* respect disabled invite emails and email address as username
2021-01-01 23:31:32 +00:00
2d443fb50b
fully functional invites tab, flesh out bugs
...
also:
* fix select chevrons appearing above modals
* add custom errors and use them for http errors, also now appear above
modals.
* functional logout button
* slightly cleaned up admin.ts
2020-12-30 23:48:01 +00:00
28187d0aa0
add connection error notification, implement notify/delete function
2020-12-30 18:31:38 +00:00
1b41621569
implement invites as a class, use tooltip for email send status
...
the DOMInvite class represents an invite on the dom, and modifying its
attributes applies the changes on the web page. Email send status
message is now on the right of the invite and represented by an icon.
Hovering reveals the "Sent to"/"Failed to send to" message.
2020-12-30 15:32:44 +00:00
95db48d8f8
start main app integration, restructure build process
...
the backend code has been added back in, and the build process has been
modified so that no output files are left outside of build/. Admin page
loads and logs in correctly, nothing else functionality-wise yet.
2020-12-29 18:42:26 +00:00
0e2c005e05
more organisation, add tooltips
2020-12-28 19:56:11 +00:00
b0ff1ddfd2
add form, restructure ts
2020-12-28 18:15:52 +00:00
9ae90e0a0f
fix weird bevel look of inputs/selects, thicken borders, use badges for settings
...
required/restarts
2020-12-27 16:56:55 +00:00
9ea72fbc32
cleanup css
2020-12-26 15:51:07 +00:00
90c7745a77
change main theme, add dark theme
2020-12-24 21:22:28 +00:00
d59d5faa03
add remaining modals
2020-12-23 01:34:22 +00:00
e50a7948e7
organise code, use typescript, add more modals
2020-12-20 22:49:54 +00:00
cb280975b7
implement modals, move css to separate file
2020-12-16 18:25:16 +00:00
d75a2de414
fix checklist
2020-12-14 21:42:19 +00:00
7ab2f3e59a
add settings; images
2020-12-14 21:40:25 +00:00
5d5ba7a12c
start accounts tab
2020-12-13 22:00:44 +00:00
6efb7c4ecb
first
2020-12-12 22:15:43 +00:00
c79f86137e
separate head into template, add description meta tag
2020-12-07 22:46:17 +00:00
8ef27f7fda
upgrade bootstrap and popper js
...
bootstrap css was on alpha 3 while js was on alpha 1 previously.
2020-12-05 22:36:03 +00:00
a1e30ff5db
fix/improve parsing of last active dates
...
parseDT only uses the magic json.Unmarshal method if theres an error
with the better version. Error came from some times being sent without a
"Z" at the end denoting UTC.
2020-12-03 20:49:50 +00:00
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.
2020-11-29 18:01:10 +00:00
9dbf60e3df
add URL base option for subfolder proxies
...
also cleaned up the naming of some things.
2020-11-22 16:36:43 +00:00
e35d0579c8
package upgrades
2020-11-15 17:20:19 +00:00
ea80d2cb78
upgrade to bs5-alpha3
...
still works fine, so no code changes needed.
2020-11-15 17:16:57 +00:00
f3c3b3ce76
use badges to denote admin users in accounts tab
2020-11-15 17:13:35 +00:00
fa96f21429
Fix smtp sending
...
there were a bunch of problems, namely using the jfa-go host address
instead of that of the smtp server in smtp.PlainAuth. For #15 .
2020-11-14 15:33:25 +00:00
b6f3cd7c1f
dont re-b64 the jwt
...
pointless, and messed up swagger auth.
2020-11-12 21:25:52 +00:00
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.
2020-11-12 21:05:46 +00:00
ba601935b5
add "re-enter password" field on form
...
for #14 .
2020-11-04 20:46:06 +00:00
34135d645d
credit for french translation
2020-11-04 10:56:35 +00:00
47abf20e1d
store emails even if password resets are disabled
...
there are other reasons to store email addresses now, so this is no
longer a just requirement.
2020-11-03 21:20:38 +00:00
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.
2020-11-03 21:11:43 +00:00
8e45ecb214
add cache_timeout option
...
controls how old the Jellyfin user cache can be before refetching. defaults to 30 minutes.
2020-11-02 23:26:46 +00:00
d4a92adc65
add rough error logging for read/write errors
2020-11-02 23:20:06 +00:00
c84ea17af4
refactor; separate jfapi and ombi into modules
2020-11-02 00:53:08 +00:00
0f4e77364b
remove hardcoded string from form.ts
2020-10-30 23:14:29 +00:00
d64d5c194f
initial steps for localisation
2020-10-30 22:51:47 +00:00
95c9f4f42d
Apply email addres changes to ombi
...
for #11 .
2020-10-30 21:13:13 +00:00
a89dc40ff2
delete ombi user when deleting jf user
...
also fix ombi defaults menu in ui. responds to #11 .
2020-10-29 16:03:00 +00:00
8089187b3e
use bs5 alpha2, config description changes
...
alpha2's new close buttons are used, also fixed html_templates
settings being automatically filled in with an incorrect value.
2020-10-23 14:39:04 +01:00
29775e2e75
make goreleaser include modules subdir
2020-10-22 18:13:11 +01:00
9d62b70daa
Fix esbuild and snapshot versioning in goreleaser
...
snapshots are now "jfa-go_git-<commit>..." instead of
"jfa-go_v0.0.0...".
2020-10-22 17:57:05 +01:00
301f502052
Rework typescript to use modules
...
web UI now uses modules, and relies less on bodge to make things work.
Also fixes an issue where invites where "failed to send to xx" appeared
in invite form.
2020-10-22 17:50:40 +01:00
2d6b1717db
move all shared typescript to common.ts
2020-10-20 23:33:32 +01:00
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.
2020-10-20 23:00:30 +01:00
2f9965bcda
Print full error if writing config fails
2020-10-20 21:16:46 +01:00
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.
2020-10-18 21:48:20 +01:00
8e6cf799cd
use npx to avoid looking for node_modules, get rid of useless
...
get_node_deps
makefile works without interaction by default now.
2020-10-18 00:57:53 +01:00
8672d7dc18
Separate email address and username for smtp
...
A username can now be set for SMTP. If not set, the send from address
will be used as before.
2020-10-11 22:32:51 +01:00