Commit Graph

17 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 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
Harvey Tindall 9fec714da7
fix goreleaser builds
wrapped tsc in a a shell script to ignore duplicate function errors.
2020-09-25 00:11:52 +01:00
Harvey Tindall 84fb69d440
add go.mod back 2020-09-24 17:55:09 +01:00
Harvey Tindall 62543cd0be
remove generated documentation
can be regenerated by running 'make swagger' before 'make compile'.
depends on swaggo/swag.
2020-09-24 17:52:38 +01:00
Harvey Tindall 544f5674e8
rename routes to make more sense
for example, /getInvite and /generateInvite become GET(/invites) and
    POST(/invites) respectively.
2020-09-24 14:03:25 +01:00
Harvey Tindall ce844e0574
add ts-debug option to makefile for including typescript and sourcemaps 2020-09-23 20:14:16 +01:00
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
2020-09-21 22:06:27 +01:00
Harvey Tindall 35a0be6a2c
Remove view settings button
i doubt there's much use for it.
2020-09-18 22:06:28 +01:00
Harvey Tindall 7d84fdec96
userByName reloads cache if user not found, more things in test 2020-09-16 19:19:04 +01:00
Harvey Tindall 1b0ca34586
include version and commit hash at compile time
when using makefile, version is set to "git". Currently  printed on
start, but an about page in the web UI will be added.
2020-08-31 14:57:42 +01:00
Harvey Tindall d12335bb4a
cleaned up auth 2020-08-23 14:59:07 +01:00
Harvey Tindall 681d2ce38d
link to usr/bin, add license 2020-08-19 16:11:06 +01:00
Harvey Tindall 54af15cc5a
Added makefile
Alternative to goreleaser.
2020-08-03 18:00:54 +01:00
Harvey Tindall 25348a9b1a
ignore binary 2020-08-03 00:11:06 +01:00
Harvey Tindall 94b8495f02 Fixed goreleaser config 2020-08-02 00:36:27 +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