Harvey Tindall
2b55a1873c
fix css, oops
4 years ago
Harvey Tindall
c2e68bdc77
add GOESBUILD option for platform without esbuild on npm
4 years ago
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.
4 years ago
Harvey Tindall
406fef6595
bundle typescript
4 years ago
Harvey Tindall
f7d8feac5d
bundle css with esbuild
4 years ago
Harvey Tindall
fdc97b4e86
rename ts to typescript
...
unusual name conflict meant this step gets skipped.
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
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
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
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
Harvey Tindall
04a4a4ca95
use esbuild to compile and minify ts
...
tsc is still used for ts-debug.
4 years ago
Harvey Tindall
9fec714da7
fix goreleaser builds
...
wrapped tsc in a a shell script to ignore duplicate function errors.
4 years ago
Harvey Tindall
64ad8ccf6e
Fix docker build; add some color
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
ce844e0574
add ts-debug option to makefile for including typescript and sourcemaps
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
258656fbf9
version based on current tag for makefile
...
if there isnt a tag, version is 'git'. this fixes versioning for aur package and docker.
4 years ago
Harvey Tindall
9850545f1b
add version to default config file
4 years ago
Harvey Tindall
17994352b1
Disable cgo and add compress step to makefile
4 years ago
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.
4 years ago
Harvey Tindall
c778837593
Added install step to makefile; start PKGBUILD
...
Also added MIT License
4 years ago
Harvey Tindall
8c4bd4541c
Added non interactive makefile option; fixed flags again
...
fixed another problem with the -data option, and added 'make headless'
for use in the dockerfile
4 years ago
Harvey Tindall
54af15cc5a
Added makefile
...
Alternative to goreleaser.
4 years ago