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
69bf81b658
change comment
4 years ago
Harvey Tindall
9125273036
Merge dependabot PR
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
72eb51e9c0
Merge pull request #20 from hrfee/dependabot/npm_and_yarn/ini-1.3.8
...
Bump ini from 1.3.5 to 1.3.8
4 years ago
dependabot[bot]
f3833f1433
Bump ini from 1.3.5 to 1.3.8
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Harvey Tindall
c79f86137e
separate head into template, add description meta tag
4 years ago
Harvey Tindall
8ef27f7fda
upgrade bootstrap and popper js
...
bootstrap css was on alpha 3 while js was on alpha 1 previously.
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
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
e35d0579c8
package upgrades
4 years ago
Harvey Tindall
ea80d2cb78
upgrade to bs5-alpha3
...
still works fine, so no code changes needed.
4 years ago
Harvey Tindall
f3c3b3ce76
use badges to denote admin users in accounts tab
4 years ago
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 .
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
34135d645d
credit for french translation
4 years ago
Harvey Tindall
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.
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
d4a92adc65
add rough error logging for read/write errors
4 years ago
Harvey Tindall
c84ea17af4
refactor; separate jfapi and ombi into modules
4 years ago
Harvey Tindall
0f4e77364b
remove hardcoded string from form.ts
4 years ago
Harvey Tindall
d64d5c194f
initial steps for localisation
4 years ago
Harvey Tindall
95c9f4f42d
Apply email addres changes to ombi
...
for #11 .
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
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.
4 years ago
Harvey Tindall
29775e2e75
make goreleaser include modules subdir
4 years ago
Harvey Tindall
9d62b70daa
Fix esbuild and snapshot versioning in goreleaser
...
snapshots are now "jfa-go_git-<commit>..." instead of
"jfa-go_v0.0.0...".
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
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
8e6cf799cd
use npx to avoid looking for node_modules, get rid of useless
...
get_node_deps
makefile works without interaction by default now.
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
5fd2e81fe4
install requests dep for upload.py
...
sorry for commit spam.
4 years ago
Harvey Tindall
a12678bd4d
upload tar.gz instead of zip
4 years ago
Harvey Tindall
0e415020f7
get swag in goreleaser.yml
4 years ago
Harvey Tindall
a834aa30cf
dont use esbuild.sh in goreleaser
4 years ago
Harvey Tindall
e3644e8fbf
fix indentation
4 years ago
Harvey Tindall
04198f3d49
initial buildrone integration
...
buildrone is a little build server thing i wrote. This change should
cause all new Drone builds to be uploaded to it.
4 years ago
Harvey Tindall
8f7a65bebb
fix drone.yml build
4 years ago
Harvey Tindall
1ef37f91b2
modify readme
4 years ago
Harvey Tindall
64c5badddd
more drone testing
4 years ago
Harvey Tindall
2e0519b183
drone testing
4 years ago
Harvey Tindall
9e739e79e7
initial drone ci setup
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