Commit Graph

13 Commits

Author SHA1 Message Date
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
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
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
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
258656fbf9 version based on current tag for makefile
if there isnt a tag, version is 'git'. this fixes versioning for aur package and docker.
2020-09-15 12:12:51 +01:00
Harvey Tindall
9850545f1b add version to default config file 2020-09-05 17:32:13 +01:00
Harvey Tindall
17994352b1 Disable cgo and add compress step to makefile 2020-09-02 20:06:02 +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
c778837593 Added install step to makefile; start PKGBUILD
Also added MIT License
2020-08-19 12:10:34 +01:00
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
2020-08-16 20:11:16 +01:00
Harvey Tindall
54af15cc5a Added makefile
Alternative to goreleaser.
2020-08-03 18:00:54 +01:00