1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-06-02 07:37:48 +02:00
Commit Graph

513 Commits

Author SHA1 Message Date
77f755e43c
fix dropdown colors in dark mode on chrome 2021-03-09 18:15:14 +00:00
30bef15855
Trim commit before comparing in IsNew()
Fixes the current version appearing as an update. Also fixed error
handling when no update is available, which obviously hadn't previously
been experienced.
2021-03-09 15:52:15 +00:00
7bd8fadf76
IsNew() compares commit, not version 2021-03-07 17:24:45 +00:00
21490faa9e
fix IsNew() func, include LICENSE in goreleaser 2021-03-07 16:45:35 +00:00
f685582e1a
run upload.py in git directory 2021-03-07 16:27:15 +00:00
f792166523
use locally stored buildrone key bcs ssh is broken 2021-03-07 16:15:31 +00:00
7c0754a70c
fix buildrone env 2021-03-07 16:07:55 +00:00
2f33580f32
remove testing goreleaser script, oops 2021-03-07 15:55:28 +00:00
eb8f2777ae
fix naming conflict with goreleaser, add buildrone key to other steps 2021-03-07 15:54:32 +00:00
92332206f0
add basic update functionality
If enabled, jfa-go pings buildrone (hosted at builds.hrfee.pw) every 30
min for new updates. If there is one, it gets information (and if
applicable, a binary) from the appropriate source (buildrone, github, or
dockerhub) and displays it on the admin page. You can switch update
channels between stable and unstable. For binary releases, updates are
downloaded automatically and installed when the user presses update.

Since this obviously introduces some "phone-home" functionality into
jfa-go, I just want to say IPs are not and will not be logged by
buildrone, although I may later introduce functionality to give a rough
idea of the number of users (again, no IPs stored). The whole thing can
also be turned off in settings.
2021-03-07 15:23:44 +00:00
ClankJake
9787fce275 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (43 of 43 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/pt_BR/
2021-03-02 16:34:29 +01:00
ClankJake
1c67b06c27 translation from Weblate (Portuguese (Brazil))
Currently translated at 98.4% (128 of 130 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-03-02 16:34:29 +01:00
ClankJake
88eab75e30 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (95 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/pt_BR/
2021-03-02 16:34:29 +01:00
ClankJake
6c5f776a7a translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (28 of 28 strings)

Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/form/pt_BR/
2021-03-02 16:34:29 +01:00
Richard de Boer
ca0c56e748 Translated using Weblate (Dutch)
Currently translated at 100.0% (43 of 43 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/nl/
2021-03-02 16:34:28 +01:00
Richard de Boer
e29e0ddb5b translation from Weblate (Dutch)
Currently translated at 100.0% (28 of 28 strings)

Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/form/nl/
2021-03-02 16:34:28 +01:00
Richard de Boer
7ce75c271c translation from Weblate (Dutch)
Currently translated at 100.0% (130 of 130 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-03-02 16:34:28 +01:00
884493e7aa
add download links at top, mention jfa-go-bin 2021-03-02 01:30:08 +00:00
bd05a4b35a
include LICENSE in build, display in about tab
Also fixes last commit, user cache wasn't refreshed in ApplySettings, is
now.
2021-03-01 00:32:09 +00:00
fa7da1b23f
Don't use cache to ApplySettings and CreateProfile
also use a wrapper function to set default settings in config.go so it's
less ugly.
2021-02-28 18:26:22 +00:00
1ec5d2ca3f
add disabled badge, extend expiry button to accounts 2021-02-28 17:52:24 +00:00
1e9d184508
implement user expiry functionality
All works now, but i'll add a field on the accounts tab for users with
an expiry, as well as a 'disabled' badge.
2021-02-28 15:41:06 +00:00
2934832a98
implement frontend for user expiry/duration
this will add an optional validity period to users, where their account
will be disabled (or deleted) a specified amount of time after they
created it.
2021-02-28 00:44:28 +00:00
3635b6a367
lowercase lang names 2021-02-24 21:49:29 +00:00
Peter Wickenberg
2b97850eb2 Translated using Weblate (Swedish)
Currently translated at 100.0% (95 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/sv/
2021-02-24 22:48:17 +01:00
Peter Wickenberg
c1d1b0e560 Translated using Weblate (Swedish)
Currently translated at 100.0% (39 of 39 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/sv/
2021-02-24 22:48:17 +01:00
Peter Wickenberg
e1d9a00d67 Translated using Weblate (Swedish)
Currently translated at 100.0% (9 of 9 strings)

Translation: jfa-go/Common Strings
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/common-strings/sv/
2021-02-24 22:48:17 +01:00
Peter Wickenberg
35aa37e10e translation from Weblate (Swedish)
Currently translated at 100.0% (118 of 118 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/sv/
2021-02-24 22:48:17 +01:00
Peter Wickenberg
e38c470fb9 translation from Weblate (Swedish)
Currently translated at 100.0% (27 of 27 strings)

Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/form/sv/
2021-02-24 22:48:17 +01:00
Peter Wickenberg
edd4584136 Translated using Weblate (Swedish)
Currently translated at 100.0% (95 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/sv/
2021-02-24 15:59:00 +01:00
Peter Wickenberg
d7a84c1982 Translated using Weblate (Swedish)
Currently translated at 100.0% (39 of 39 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/sv/
2021-02-24 15:59:00 +01:00
Peter Wickenberg
fe86b8a7d0 Translated using Weblate (Swedish)
Currently translated at 100.0% (9 of 9 strings)

Translation: jfa-go/Common Strings
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/common-strings/sv/
2021-02-24 15:59:00 +01:00
Peter Wickenberg
01f290b459 translation from Weblate (Swedish)
Currently translated at 100.0% (118 of 118 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/sv/
2021-02-24 15:59:00 +01:00
Peter Wickenberg
9a398e9291 translation from Weblate (Swedish)
Currently translated at 100.0% (27 of 27 strings)

Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/form/sv/
2021-02-24 15:59:00 +01:00
Peter Wickenberg
1fbd11dbe8 Translated using Weblate (Swedish)
Currently translated at 100.0% (39 of 39 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/sv/
2021-02-24 15:41:33 +01:00
Peter Wickenberg
68b26f8301 Translated using Weblate (Swedish)
Currently translated at 100.0% (9 of 9 strings)

Translation: jfa-go/Common Strings
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/common-strings/sv/
2021-02-24 15:41:32 +01:00
Peter Wickenberg
6877f3975e translation from Weblate (Swedish)
Currently translated at 100.0% (118 of 118 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/sv/
2021-02-24 15:41:32 +01:00
Peter Wickenberg
6a11ed5622 translation from Weblate (Swedish)
Currently translated at 100.0% (27 of 27 strings)

Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/form/sv/
2021-02-24 15:41:31 +01:00
Peter Wickenberg
53bec00a7e Translated using Weblate (Swedish)
Currently translated at 100.0% (95 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/sv/
2021-02-24 15:41:31 +01:00
Peter Wickenberg
c616ab324d Added translation using Weblate (Swedish) 2021-02-23 23:33:04 +01:00
Peter Wickenberg
7e21eb87db Added translation using Weblate (Swedish) 2021-02-23 23:32:52 +01:00
Peter Wickenberg
98cd33da05 Added translation using Weblate (Swedish) 2021-02-23 23:32:40 +01:00
Peter Wickenberg
d520694e12 add translation from Weblate (Swedish) 2021-02-23 23:32:30 +01:00
Peter Wickenberg
3c4800efa8 add translation from Weblate (Swedish) 2021-02-23 23:25:42 +01:00
mezzovide
bd227842d2 translation from Weblate (Indonesian)
Currently translated at 100.0% (118 of 118 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/id/
2021-02-22 18:53:04 +01:00
mezzovide
f47bf762ac Translated using Weblate (Indonesian)
Currently translated at 100.0% (39 of 39 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/id/
2021-02-22 18:53:04 +01:00
ClankJake
1342208980 translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (118 of 118 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-02-22 18:53:03 +01:00
virusperfect
c8a9b15b4e Translated using Weblate (German)
Currently translated at 100.0% (39 of 39 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/de/
2021-02-22 18:53:03 +01:00
virusperfect
b0bd6973d1 translation from Weblate (German)
Currently translated at 100.0% (118 of 118 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/de/
2021-02-22 18:53:02 +01:00
Killianbe
d10eb6d6bf Translated using Weblate (French)
Currently translated at 100.0% (39 of 39 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/fr/
2021-02-22 18:53:02 +01:00