Commit Graph

1390 Commits

Author SHA1 Message Date
mezzovide 00cec2b157 translation from Weblate (Indonesian)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/id/
2021-02-13 17:57:39 +01:00
Marketos Damigos 41ff0be839 Translated using Weblate (Greek)
Currently translated at 1.0% (1 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/setup/el/
2021-02-13 17:57:39 +01:00
mezzovide 25330533bd add translation from Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
mezzovide 4afd1bd4b5 Added translation using Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
mezzovide cf185efdfc add translation from Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
mezzovide 4ec9756f58 Added translation using Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
mezzovide cda7db5718 Added translation using Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
Marketos Damigos 3b37fb5692 Added translation using Weblate (Greek) 2021-02-13 17:57:39 +01:00
Marketos Damigos 40c83803de Added translation using Weblate (Greek) 2021-02-13 17:57:39 +01:00
Marketos Damigos a9811c164e Added translation using Weblate (Greek) 2021-02-13 17:57:39 +01:00
Marketos Damigos 8f000876b3 add translation from Weblate (Greek) 2021-02-13 17:57:39 +01:00
Marketos Damigos 0af393236f add translation from Weblate (Greek) 2021-02-13 17:57:39 +01:00
hrfee 3153c65f5a Translated using Weblate (English)
Currently translated at 100.0% (95 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/setup/en/
2021-02-13 17:57:39 +01:00
virusperfect 6ce825bd41 translation from Weblate (German)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/de/
2021-02-13 17:57:38 +01:00
Harvey Tindall 060f0efc16 pull containers before manifest, run on different host 2021-02-13 14:05:04 +00:00
Harvey Tindall c3fb00a307 wrong go version container 2021-02-12 15:37:19 +00:00
Harvey Tindall 988829a6db dont build docker on go1.16 branch 2021-02-12 15:22:21 +00:00
Harvey Tindall 76935a300a dont build docker on go1.16 branch 2021-02-12 15:21:58 +00:00
Harvey Tindall a6a7710a79 use filepath.Join wrapper for different embed and os path styles
If using internal, "/" is used as a separator always, and with external,
filepath.Join is used.
2021-02-12 14:59:35 +00:00
Harvey Tindall 873afb47cd strip debug symbols in makefile 2021-02-12 14:59:35 +00:00
Harvey Tindall ea99966057 refactor, move route loading to router.go 2021-02-12 14:59:16 +00:00
Harvey Tindall aaed272bf2 use embed.fs wrapper on data 2021-02-12 14:35:16 +00:00
Harvey Tindall e6775cd2d1 use embed.fs wrapper for langFS so lang/ is not needed in paths
[files]lang_files is now the path to the lang directory, not path to a
directory containing it.
2021-02-12 14:35:16 +00:00
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".
2021-02-12 14:35:13 +00:00
Harvey Tindall ee37588959 drone image 2021-02-12 14:32:57 +00:00
Harvey Tindall cb12c6f441 update goreleaser 2021-02-12 14:32:57 +00:00
Harvey Tindall 72cf3e2240 add external/internal data options
"make all" will build with internal data, whereas "make debug"/"make
all-external" will make an external "data/" directory.
2021-02-12 14:32:48 +00:00
Harvey Tindall 815bdc35ac fully self-contained
paths are pretty janky, but it works. Also, [files]/lang_files now must
be the path to a directory CONTAINING a "lang/" directory. I'll work
around this at a later date.
2021-02-12 14:28:09 +00:00
Harvey Tindall 0330540f87 Use fs for language, add lang_files option
The local app translations are loaded, and then if [files]/lang_files
is provided (a directory containing custom translations), any found
inside it are loaded over top. This makes customizing much easier.
2021-02-12 14:28:09 +00:00
Harvey Tindall fefe2d82a4 rebase 12/02, use go1.16rc1 in make, remove ioutil, start switching to io/fs for file i/o
ioutil's contents are now in io and os.
Eventually jfa-go's files will be embedded in the binary with go1.16's
new embed feature. Using io/fs will provide abstraction for accessing
these files, and allow for both embedded and non-embedded versions.
Also, internal paths to things like email templates, etc. will be
prefixed with "jfa-go:" to indicate to use the app's own Filesystem
instead of reading the file normally. This also allows for custom files
to continue to be used as they are currently.
2021-02-12 14:27:01 +00:00
Harvey Tindall 1af8d1f77d fix url in account creation success page 2021-02-12 13:38:34 +00:00
Harvey Tindall 4c653fea36 fix url base on invite and broken getLanguages 2021-02-12 12:52:08 +00:00
Harvey Tindall 2ee0ed55f6 forgot key agh 2021-02-12 00:35:20 +00:00
Harvey Tindall 94981f4891 dont use drone manifest plugin 2021-02-11 23:52:05 +00:00
Harvey Tindall f72def0399 serve on / and URL base for easy proxying 2021-02-11 23:06:51 +00:00
Harvey Tindall 81fb0fc69f fix triggers aarch64 = arm64 2021-02-11 22:25:00 +00:00
Harvey Tindall c3af0f4380 remove tag event from unstable build 2021-02-11 21:48:57 +00:00
Harvey Tindall 3a9e4950d4 run docker amd64 builds on drone, attempt multiarch 2021-02-11 21:18:32 +00:00
Harvey Tindall 06dada297b up command_timeout for slow rpi builds 2021-02-11 18:47:24 +00:00
Harvey Tindall 2b55a1873c fix css, oops 2021-02-11 18:28:25 +00:00
Harvey Tindall c2e68bdc77 add GOESBUILD option for platform without esbuild on npm 2021-02-11 18:21:21 +00:00
Harvey Tindall e1c3b312ff split armhf and arm64, add stable build 2021-02-11 16:24:32 +00:00
Harvey Tindall e235ed9fda fix key again 2021-02-11 16:14:39 +00:00
Harvey Tindall 5cda12dd3b separate into pipelines, add armhf 2021-02-11 16:11:07 +00:00
Harvey Tindall a9d48083fd fix keyfile 2021-02-11 15:48:13 +00:00
Harvey Tindall e28c50401e use key path 2021-02-11 15:37:02 +00:00
Harvey Tindall 4a3b015a40 start adding automated arm builds 2021-02-11 15:29:33 +00:00
Harvey Tindall 1a6727312c dont override header on email confirmation fail 2021-02-11 14:04:15 +00:00
Harvey Tindall 91d3d2596e fix broken invite links 2021-02-11 13:49:06 +00:00
Harvey Tindall 192c9a4764 account for lack of trailing slash in url 2021-02-09 20:45:35 +00:00