Harvey Tindall
192c9a4764
account for lack of trailing slash in url
4 years ago
Harvey Tindall
218882b7c6
remove debug console.log
4 years ago
Harvey Tindall
c09ffb49e7
switch emails to normal text when not editing
...
fixes padding on small screens.
4 years ago
Harvey Tindall
2c8be42bbc
fix invite links with URL base
4 years ago
Harvey Tindall
6691ae27f4
fix navigation with URL base set
4 years ago
Harvey Tindall
90c6cee780
add restart button
4 years ago
Harvey Tindall
456ef556b1
add inter-section dependency for settings
...
Currently used to hide all email sections when [email]/method is blank
(disabled).
4 years ago
Harvey Tindall
ce98b2eb5a
add backwards navigation
4 years ago
Harvey Tindall
ee026714d4
Add optional email confirmation
...
If enabled, a confirmation email will be sent before the user can create
their account.
4 years ago
Harvey Tindall
4fc9bdb35b
element already existed, oops
4 years ago
Harvey Tindall
c0a05be44e
add strftime notice on setup
...
string was already in translations, just forgot to include it.
4 years ago
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.
4 years ago
Harvey Tindall
79987ffa22
add refresh button that uses url base if given
4 years ago
Harvey Tindall
7baea9101e
Add general settings, ombi
...
host, port, theme, tls are included in general. Page theme changes with
setting. Fixed checkbox support messages. Split some cards into columns.
4 years ago
Harvey Tindall
167fae9892
add jellyfin connection test, submission
...
fully functional now, but still need to add some sections (ombi mainly).
4 years ago
Harvey Tindall
c7f5aa2e2b
split into pages, hide email pages when disabled, add history navigation
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
8af1c13d7e
Display error messages on form
...
two new strings need translating in lang/form.
4 years ago
Harvey Tindall
dd96d71280
Add optional label for invites
...
Requested in #38 .
4 years ago
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 .
4 years ago
Harvey Tindall
b66654787c
make whole invite clickable to expand
4 years ago
Harvey Tindall
72a7759ca5
Fix invite link when non-default language selected
4 years ago
Harvey Tindall
e68dccbc17
keep language choice in url when changing tabs
4 years ago
Harvey Tindall
4679c6f355
add language selector to admin
4 years ago
Harvey Tindall
422f13202b
Use lang file in typescript
4 years ago
Harvey Tindall
a102199d5a
include code in invite form instead of getting from url
...
potentially solves #34 ?
4 years ago
Harvey Tindall
3fbbc7f620
add language selector to form
4 years ago
Harvey Tindall
4aae655180
live validation on form, change special character definition
...
The internal array of special characters was lacking, so a character is
now special when not a digit and (uppercase form) == (lowercase form).
4 years ago
alexh-name
377c8d3e4e
fix typo in form/en-us
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
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.
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
f3c3b3ce76
use badges to denote admin users in accounts tab
4 years ago
Harvey Tindall
b6f3cd7c1f
dont re-b64 the jwt
...
pointless, and messed up swagger auth.
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
ba601935b5
add "re-enter password" field on form
...
for #14 .
4 years ago
Harvey Tindall
0f4e77364b
remove hardcoded string from form.ts
4 years ago
Harvey Tindall
a89dc40ff2
delete ombi user when deleting jf user
...
also fix ombi defaults menu in ui. responds to #11 .
4 years ago
Harvey Tindall
29775e2e75
make goreleaser include modules subdir
4 years ago
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.
4 years ago
Harvey Tindall
2d6b1717db
move all shared typescript to common.ts
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
e104bd8362
small changes, new images and readme updated
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
9bd7fca95e
fix table sizing on bootstrap 4; fix profile application on single-use
...
invites
use table-sm and no form-check-input so profile menu looks normal on
bs4. Profile was being read after being marked as used on invites, so
single-use invites were deleted and no profile was applied.
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
2ab9b48f4b
Move settings menu to a tab
...
settings is now its own tab instead of a modal.
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
32b8ed4aa2
rewrite* most web ui code in typescript
...
i wanted to split up the web ui components into multiple files, and
figured it'd be a good chance to try out typescript. run make typescript
to compile everything in ts/ and put it in data/static/.
This is less of a rewrite and more of a refactoring, most of it still
works the same but bits have been cleaned up too.
Remaining javascript found in setup.js and form.html
4 years ago
Harvey Tindall
73886fc037
rewrite accounts.js in typescript
...
slight refactor too.
4 years ago