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
23fecb16b2
merge language changes
2021-02-05 13:11:00 +00:00
Harvey Tindall
b037b08152
respect URL Base in http preloads and inline html links
2021-02-05 13:10:47 +00:00
Harvey Tindall
95a6b48c3e
add go1.16 branch do drone builds
...
This branch has fully self-contained binaries, so I thought it'd be a
good idea to build it alongside.
2021-02-01 18:43:30 +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
ce98b2eb5a
add backwards navigation
2021-01-31 17:32:03 +00:00
Harvey Tindall
ee026714d4
Add optional email confirmation
...
If enabled, a confirmation email will be sent before the user can create
their account.
2021-01-30 19:19:12 +00:00
Harvey Tindall
736c39840f
fix default jellyfin path for setup in dockerfile
2021-01-29 17:13:15 +00:00
Harvey Tindall
e755bc6b61
fix language names
2021-01-29 13:49:58 +00:00
Harvey Tindall
4fc9bdb35b
element already existed, oops
2021-01-29 01:32:44 +00:00
Harvey Tindall
c0a05be44e
add strftime notice on setup
...
string was already in translations, just forgot to include it.
2021-01-29 01:29:54 +00:00
Harvey Tindall
482c9d5719
update license date
2021-01-29 01:20:05 +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
79987ffa22
add refresh button that uses url base if given
2021-01-27 21:51:01 +00:00
Harvey Tindall
764639bbba
add header template
2021-01-27 21:38:35 +00:00
Harvey Tindall
eb67116ee6
replace og setup
2021-01-27 21:37:43 +00:00
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.
2021-01-27 21:35:41 +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
c7f5aa2e2b
split into pages, hide email pages when disabled, add history navigation
2021-01-27 00:51:19 +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
1f6bbc75ff
remove junk files
2021-01-26 00:39:35 +00:00
Harvey Tindall
23ae18d732
compile setup.ts in Makefile/Goreleaser
...
surprised there hasn't been issues for this, the setup page would've
been broken for a while.
2021-01-26 00:37:32 +00:00
Harvey Tindall
bf1e6230dc
split some strings into common file; use lang file to setup page
2021-01-25 21:26:54 +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
061945218a
fix extra whitespace after pin code
...
for #39
2021-01-25 17:18:35 +00:00
Harvey Tindall
687edf2b0b
Initial setup page content
...
Rewritten with a17t. Content right now is just a copy of the original
setup.html, but settings for new features will be added later.Currently
all cards are shown, only the current one will show in future.
2021-01-24 23:05:04 +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
406fef6595
bundle typescript
2021-01-23 19:08:27 +00:00
Harvey Tindall
f7d8feac5d
bundle css with esbuild
2021-01-23 18:53:14 +00:00
Harvey Tindall
cd2ea2e579
reload email after lang is loaded
...
fixes #37 .
2021-01-21 18:57:32 +00:00
Harvey Tindall
b66654787c
make whole invite clickable to expand
2021-01-21 17:59:16 +00:00
Harvey Tindall
882a3467db
fix language settings loading
2021-01-21 14:16:03 +00:00
Harvey Tindall
27ac0bf43e
merge german translation
2021-01-21 11:49:20 +00:00
Harvey Tindall
4485622354
remove some comments
2021-01-21 10:56:58 +00:00
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.
2021-01-19 00:29:29 +00:00
Harvey Tindall
1aadd12006
move validationStrings out of strings in lang/form
2021-01-18 22:06:50 +00:00
Harvey Tindall
26a1f30d32
Fix initial language setting value
...
For some reason it was set as en-US, not en-us.
2021-01-18 00:14:12 +00:00
Harvey Tindall
e0a17c6a74
mention new weblate instance
2021-01-17 20:02:02 +00:00
Harvey Tindall
7ce1b5001c
merge nl-nl with invite url fix
2021-01-17 12:38:50 +00:00
Harvey Tindall
72a7759ca5
Fix invite link when non-default language selected
2021-01-17 12:36:16 +00:00
Harvey Tindall
e68dccbc17
keep language choice in url when changing tabs
2021-01-15 21:16:11 +00:00
Harvey Tindall
ffc62574ec
Fix server push and use Link header to load CSS
...
Nginx with http2_push_preload on will convert the Link header to server
pushes, so we use it to load css.
2021-01-15 18:57:12 +00:00
Harvey Tindall
ca0889aaab
Merge branch 'main' of github.com:hrfee/jfa-go into main
...
made a mistake, tried to fix it, messed up again.
2021-01-15 14:47:12 +00:00
Harvey Tindall
772e12d11c
add optional tls/http2 support
...
Allows for http2 server push, see the advanced section.
2021-01-15 14:43:32 +00:00
Harvey Tindall
7d04487b18
update CONTRIBUTING.md
2021-01-15 14:43:32 +00:00
Harvey Tindall
0b482116bb
fix display of username box on add account modal
2021-01-15 14:43:32 +00:00
Harvey Tindall
a579bcd463
add finished french for admin
2021-01-15 14:43:32 +00:00
Harvey Tindall
ab7017ff12
fix spelling in french email
2021-01-15 14:43:32 +00:00
Harvey Tindall
3d5bea003a
Fix email language selection, add finished french emails
2021-01-15 14:43:32 +00:00
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.
2021-01-15 14:43:32 +00:00
Harvey Tindall
965c449f1c
attempt to use http2 server push
2021-01-15 14:43:32 +00:00
Harvey Tindall
4679c6f355
add language selector to admin
2021-01-15 14:43:32 +00:00
Harvey Tindall
a3351f4da8
separate options for form and admin language
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
c470e40737
Start adding translation support for admin
2021-01-15 14:43:31 +00:00
Harvey Tindall and Harvey Tindall
0f92ce2166
update CONTRIBUTING.md
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
b1becb9ef5
fix display of username box on add account modal
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
3c1599b6b7
add finished french for admin
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
3e53b742f4
fix spelling in french email
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
5401593279
Fix email language selection, add finished french emails
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
0710e05479
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.
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
1707d011a2
attempt to use http2 server push
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
5e8d7944bd
add language selector to admin
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
2d2727f7e8
separate options for form and admin language
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
c72282613d
Use lang file in typescript
2021-01-15 13:48:18 +00:00
Harvey Tindall and Harvey Tindall
4ac62a107c
Start adding translation support for admin
2021-01-15 13:48:18 +00:00
Harvey Tindall
a102199d5a
include code in invite form instead of getting from url
...
potentially solves #34 ?
2021-01-14 14:22:20 +00:00
Harvey Tindall
3c799b8783
remove debug printfs
2021-01-11 19:19:19 +00:00
Harvey Tindall
3fbbc7f620
add language selector to form
2021-01-11 19:17:43 +00:00
Harvey Tindall
461efa7f60
oops
2021-01-11 16:10:04 +00:00
Harvey Tindall
1321f8df50
mention contributing.md
2021-01-11 16:09:30 +00:00
Harvey Tindall and Harvey Tindall
e532000ad0
Mention emby in README, add notices about password resets
2021-01-10 16:10:03 +00:00
Harvey Tindall and Harvey Tindall
8d0dc232d7
option to substitute "Jellyfin" in form.html
...
setting is jellyfin/substitute_jellyfin_strings.
2021-01-10 16:10:03 +00:00
Harvey Tindall and Harvey Tindall
f5602f1e96
change settings description and console warning
2021-01-10 16:10:03 +00:00
Harvey Tindall and 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
2021-01-10 16:10:03 +00:00
Harvey Tindall and Harvey Tindall
5d56ed5378
fix most incompatibilites, start separating api clients
2021-01-10 16:10:03 +00:00
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).
2021-01-09 01:00:27 +00:00
Harvey Tindall
6860933498
functional continue button in form, hide empty contactMessage box
2021-01-09 00:07:19 +00:00
Harvey Tindall
0171fb8569
dont attempt to release PRs on buildrone
2021-01-08 23:52:36 +00:00
Harvey Tindall
fdc97b4e86
rename ts to typescript
...
unusual name conflict meant this step gets skipped.
2021-01-05 18:40:19 +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
69bf81b658
change comment
2021-01-05 17:34:27 +00:00
Harvey Tindall
9125273036
Merge dependabot PR
2020-12-18 15:46:34 +00:00
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.
2020-12-18 15:44:19 +00:00
Harvey Tindall
c79f86137e
separate head into template, add description meta tag
2020-12-07 22:46:17 +00:00
Harvey Tindall
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
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
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
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
e35d0579c8
package upgrades
2020-11-15 17:20:19 +00:00
Harvey Tindall
ea80d2cb78
upgrade to bs5-alpha3
...
still works fine, so no code changes needed.
2020-11-15 17:16:57 +00:00
Harvey Tindall
f3c3b3ce76
use badges to denote admin users in accounts tab
2020-11-15 17:13:35 +00:00
Harvey Tindall
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
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
ba601935b5
add "re-enter password" field on form
...
for #14 .
2020-11-04 20:46:06 +00:00
Harvey Tindall
34135d645d
credit for french translation
2020-11-04 10:56:35 +00:00