Commit Graph

22 Commits

Author SHA1 Message Date
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 c79f86137e
separate head into template, add description meta tag 2020-12-07 22:46:17 +00:00
Harvey Tindall e35d0579c8
package upgrades 2020-11-15 17:20:19 +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 ba601935b5
add "re-enter password" field on form
for #14.
2020-11-04 20:46:06 +00:00
Harvey Tindall c84ea17af4
refactor; separate jfapi and ombi into modules 2020-11-02 00:53:08 +00:00
Harvey Tindall 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
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.
2020-10-20 23:00:30 +01:00
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.
2020-10-18 00:57:53 +01:00
Harvey Tindall a12678bd4d
upload tar.gz instead of zip 2020-10-08 21:37:44 +01:00
Harvey Tindall 04a4a4ca95
use esbuild to compile and minify ts
tsc is still used for ts-debug.
2020-09-29 20:35:06 +01:00
Harvey Tindall 64ad8ccf6e
Fix docker build; add some color 2020-09-24 21:59:08 +01:00
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.
2020-09-24 17:51:13 +01:00
Harvey Tindall dd0eabf157
Upgrade packages 2020-08-16 14:33:10 +01:00
Harvey Tindall 8ed1662a2f
add pprof middleware 2020-08-03 00:13:09 +01:00
Harvey Tindall a38d56f362 add smtp email 2020-08-02 17:20:50 +01:00
Harvey Tindall 62621dabb9 CLI flags, start setting up goreleaser, add build scripts
Copied and fixed the build scripts from jf-accounts, added them to the
.goreleaser.yml. Also:
data directory now stored in user's config folder
Handle timeouts in jfapi
Maybe more i forgot about.
2020-08-01 21:20:02 +01:00
Harvey Tindall c4d4b395d5 Password resets 2020-08-01 16:31:08 +01:00
Harvey Tindall 326b274329 Settings functional, start adding logging
Modifying settings also formats it nicely, as a bonus.
Also we using shortuuid instead of normal uuidv4 now because its the same
length as what I used in the python version.
2020-07-31 22:07:09 +01:00
Harvey Tindall 024c0b56aa Display settings with hacky solution to retain order
Python utility included to convert config-base.json into a new version
which includes lists that define the order settings should be displayed.
admin.js edited to recognize this.
2020-07-31 16:09:30 +01:00
Harvey Tindall 961b9afa75 Functioning user creation, notifications,
Fixed password validation for new users, add invite route, couple other
fixes.
2020-07-31 12:48:37 +01:00
Harvey Tindall d8fb6e5613 first 2020-07-29 22:11:28 +01:00