1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-10 04:10:10 +00:00
Commit Graph

1728 Commits

Author SHA1 Message Date
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
060f0efc16
pull containers before manifest, run on different host 2021-02-13 14:05:04 +00:00
c3fb00a307
wrong go version container 2021-02-12 15:37:19 +00:00
988829a6db
dont build docker on go1.16 branch 2021-02-12 15:22:21 +00:00
76935a300a
dont build docker on go1.16 branch 2021-02-12 15:21:58 +00:00
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
873afb47cd
strip debug symbols in makefile 2021-02-12 14:59:35 +00:00
ea99966057
refactor, move route loading to router.go 2021-02-12 14:59:16 +00:00
aaed272bf2
use embed.fs wrapper on data 2021-02-12 14:35:16 +00:00
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
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
ee37588959
drone image 2021-02-12 14:32:57 +00:00
cb12c6f441
update goreleaser 2021-02-12 14:32:57 +00:00
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
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
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
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
1af8d1f77d
fix url in account creation success page 2021-02-12 13:38:34 +00:00
4c653fea36
fix url base on invite and broken getLanguages 2021-02-12 12:52:08 +00:00
2ee0ed55f6
forgot key agh 2021-02-12 00:35:20 +00:00
94981f4891
dont use drone manifest plugin 2021-02-11 23:52:05 +00:00
f72def0399
serve on / and URL base for easy proxying 2021-02-11 23:06:51 +00:00
81fb0fc69f
fix triggers aarch64 = arm64 2021-02-11 22:25:00 +00:00
c3af0f4380
remove tag event from unstable build 2021-02-11 21:48:57 +00:00
3a9e4950d4
run docker amd64 builds on drone, attempt multiarch 2021-02-11 21:18:32 +00:00
06dada297b
up command_timeout for slow rpi builds 2021-02-11 18:47:24 +00:00
2b55a1873c
fix css, oops 2021-02-11 18:28:25 +00:00
c2e68bdc77
add GOESBUILD option for platform without esbuild on npm 2021-02-11 18:21:21 +00:00
e1c3b312ff
split armhf and arm64, add stable build 2021-02-11 16:24:32 +00:00
e235ed9fda
fix key again 2021-02-11 16:14:39 +00:00
5cda12dd3b
separate into pipelines, add armhf 2021-02-11 16:11:07 +00:00
a9d48083fd
fix keyfile 2021-02-11 15:48:13 +00:00
e28c50401e
use key path 2021-02-11 15:37:02 +00:00
4a3b015a40
start adding automated arm builds 2021-02-11 15:29:33 +00:00
1a6727312c
dont override header on email confirmation fail 2021-02-11 14:04:15 +00:00
91d3d2596e
fix broken invite links 2021-02-11 13:49:06 +00:00
192c9a4764
account for lack of trailing slash in url 2021-02-09 20:45:35 +00:00
173c38563e
remove embed, oops 2021-02-08 15:43:20 +00:00
d061721f56
explicitly set js mimetype 2021-02-08 15:25:02 +00:00
218882b7c6
remove debug console.log 2021-02-08 11:50:58 +00:00
fed3ee4c4f
Create FUNDING.yml 2021-02-08 01:01:48 +00:00
8eed4b0127
merge language again 2021-02-05 18:25:56 +00:00
c09ffb49e7
switch emails to normal text when not editing
fixes padding on small screens.
2021-02-05 18:24:27 +00:00
ClankJake
f331f4eb92 translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/pt_BR/
2021-02-05 15:55:38 +01:00
Richard de Boer
629b669c64 translation from Weblate (Dutch)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/nl/
2021-02-05 15:55:38 +01:00
Cornichon420
2dab900748 translation from Weblate (French)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/fr/
2021-02-05 15:55:38 +01:00
hrfee
f864097f2e translation from Weblate (English)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/en/
2021-02-05 15:55:38 +01:00
2c8be42bbc
fix invite links with URL base 2021-02-05 13:33:34 +00:00
6691ae27f4
fix navigation with URL base set 2021-02-05 13:31:56 +00:00