Harvey Tindall
98a9e20cc0
Fix docker build, add GOBINARY flag for make
...
GOBINARY defaults to "go", but if you want to build on a normal system,
you'll likely set it to go1.16rc1 with "make all GOBINARY=go1.16rc1".
4 years ago
Harvey Tindall
cb12c6f441
update goreleaser
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
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
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
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
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
0e415020f7
get swag in goreleaser.yml
4 years ago
Harvey Tindall
a834aa30cf
dont use esbuild.sh in goreleaser
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
d31254b18e
fix goreleaser to include data subdirectories
4 years ago
Harvey Tindall
18458c2b0d
fix versioning mistake
4 years ago
Harvey Tindall
9850545f1b
add version to default config file
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
252e13757b
Disable i386 builds
...
disabling this because building for darwin/386 is no longer available
and goreleaser hasn't picked up on this yet, i believe.
4 years ago
Harvey Tindall
02183c7fcc
added -y option to prebuild scripts using node_bin
...
similar to apt, -y assumes yes to all questions, specifically if
node_bin is correct here. This is necessary for goreleaser, as it is not
interactive.
4 years ago
Harvey Tindall
c72e1a1c63
Images, fixed "data" path
4 years ago
Harvey Tindall
94b8495f02
Fixed goreleaser config
4 years ago
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.
4 years ago