Commit Graph

27 Commits

Author SHA1 Message Date
Harvey Tindall d1b1b90de3 Add email list accessible by edit button in settings 2021-02-21 15:51:42 +00:00
Harvey Tindall 058cac2e7b implement email editor w/ live(?) preview
not accessible in the ui currently, but the object is available as
window.ee for testing.
2021-02-20 22:49:59 +00:00
Harvey Tindall fa433c88a8 add announcement emails
After selecting users in the accounts tab, you can press 'Announce',
then write a subject and message (with markdown), and an email will be
sent to each selected user.
2021-02-18 14:58:53 +00:00
Harvey Tindall 91d3d2596e fix broken invite links 2021-02-11 13:49:06 +00:00
Harvey Tindall 192c9a4764 account for lack of trailing slash in url 2021-02-09 20:45:35 +00:00
Harvey Tindall c09ffb49e7 switch emails to normal text when not editing
fixes padding on small screens.
2021-02-05 18:24:27 +00:00
Harvey Tindall 2c8be42bbc fix invite links with URL base 2021-02-05 13:33:34 +00:00
Harvey Tindall 6691ae27f4 fix navigation with URL base set 2021-02-05 13:31:56 +00:00
Harvey Tindall 90c6cee780 add restart button 2021-01-31 19:01:20 +00:00
Harvey Tindall 456ef556b1 add inter-section dependency for settings
Currently used to hide all email sections when [email]/method is blank
(disabled).
2021-01-31 18:50:04 +00:00
Harvey Tindall 3dd83bffbf Merge branch 'new-setup'
Merge new setup wizard

This is much more up-to-date than the previous setup page, with a new
design and previously missing/new settings. Currently only available in
english (hopefully that changes soon).

also fixes conflict in _post.
2021-01-27 22:06:44 +00:00
Harvey Tindall 167fae9892 add jellyfin connection test, submission
fully functional now, but still need to add some sections (ombi mainly).
2021-01-27 12:55:39 +00:00
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.
2021-01-26 22:57:29 +00:00
Harvey Tindall 8af1c13d7e Display error messages on form
two new strings need translating in lang/form.
2021-01-25 18:01:18 +00:00
Harvey Tindall dd96d71280 Add optional label for invites
Requested in #38.
2021-01-24 15:55:45 +00:00
Harvey Tindall ea262ca60b add optional welcome email for new users
When enabled, an email with the server URL and username will be sent to
created users. Requested in #38.
2021-01-24 15:19:58 +00:00
Harvey Tindall b66654787c make whole invite clickable to expand 2021-01-21 17:59:16 +00:00
Harvey Tindall 72a7759ca5 Fix invite link when non-default language selected 2021-01-17 12:36:16 +00:00
Harvey Tindall 4679c6f355 add language selector to admin 2021-01-15 14:43:32 +00:00
Harvey Tindall 422f13202b Use lang file in typescript 2021-01-15 14:43:31 +00:00
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.
2021-01-05 18:16:23 +00:00
Harvey Tindall 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
Harvey Tindall 9dbf60e3df add URL base option for subfolder proxies
also cleaned up the naming of some things.
2020-11-22 16:36:43 +00:00
Harvey Tindall f3c3b3ce76 use badges to denote admin users in accounts tab 2020-11-15 17:13:35 +00:00
Harvey Tindall b6f3cd7c1f dont re-b64 the jwt
pointless, and messed up swagger auth.
2020-11-12 21:25:52 +00:00
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.
2020-11-12 21:05:46 +00:00
Harvey Tindall 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