Commit Graph

537 Commits

Author SHA1 Message Date
Harvey Tindall 618cc32a17
hide updates from settings when disabled at build-time 2021-03-20 23:32:32 +00:00
Harvey Tindall a8bf670697
dont log updates when disabled 2021-03-20 23:20:07 +00:00
Harvey Tindall 0bdf8ad6ce
put upload.py in parent dir 2021-03-20 23:16:54 +00:00
Harvey Tindall 8f65e2e968
fix drone.yml for stable docker 2021-03-20 23:13:03 +00:00
Harvey Tindall 0d3f96c3a7
fix button height on accounts tab & expiry types on mobile 2021-03-20 22:16:24 +00:00
Harvey Tindall cfa7947020
wrap items in accounts header
fixes mobile layout.
2021-03-20 19:23:54 +00:00
Harvey Tindall b91de3f319
update images and readme 2021-03-20 19:04:26 +00:00
Harvey Tindall 1704ae8cb1
fix language link color on dark theme 2021-03-20 18:24:35 +00:00
Richard de Boer 50c6e6031d translation from Weblate (Dutch)
Currently translated at 100.0% (140 of 140 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-03-20 19:02:09 +01:00
Harvey Tindall de92516d52
add updates section to setup 2021-03-20 18:00:01 +00:00
Harvey Tindall cd67d3e7ab
merge translation 2021-03-18 16:49:17 +00:00
Harvey Tindall c556878f11
hide password resets on setup when emby selected 2021-03-18 16:47:13 +00:00
Richard de Boer 3af4607171 translation from Weblate (Dutch)
Currently translated at 100.0% (139 of 139 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-03-15 23:52:09 +01:00
Harvey Tindall 111533fa2d
add advanced setting type with toggle in settings 2021-03-15 22:51:17 +00:00
Harvey Tindall 5dc0a68b44
merge translations 2021-03-15 21:58:36 +00:00
Harvey Tindall 43e5bbbe21
add option to trust specific cert for SMTP 2021-03-15 21:57:42 +00:00
ClankJake 42921f6a3e translation from Weblate (Portuguese (Brazil))
Currently translated at 99.2% (138 of 139 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-03-14 17:28:10 +01:00
Harvey Tindall 5892899114
thread compile_mjml 2021-03-13 17:05:59 +00:00
Peter Wickenberg 4404c84e7f Translated using Weblate (Swedish)
Currently translated at 100.0% (43 of 43 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/sv/
2021-03-13 17:48:06 +01:00
Peter Wickenberg a86be55b5c translation from Weblate (Swedish)
Currently translated at 100.0% (130 of 130 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/sv/
2021-03-13 17:48:06 +01:00
Peter Wickenberg 5eea72a579 translation from Weblate (Swedish)
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/sv/
2021-03-13 17:48:06 +01:00
Harvey Tindall 03247ddef8
Add accounts search 2021-03-13 14:26:29 +00:00
Harvey Tindall e6e5b0f3cf
respect browser/os dark mode preference 2021-03-10 19:42:40 +00:00
Harvey Tindall 9b977bafbf
add other funding method 2021-03-09 18:45:28 +00:00
Harvey Tindall 77f755e43c
fix dropdown colors in dark mode on chrome 2021-03-09 18:15:14 +00:00
Harvey Tindall 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
Harvey Tindall 7bd8fadf76
IsNew() compares commit, not version 2021-03-07 17:24:45 +00:00
Harvey Tindall 21490faa9e
fix IsNew() func, include LICENSE in goreleaser 2021-03-07 16:45:35 +00:00
Harvey Tindall f685582e1a
run upload.py in git directory 2021-03-07 16:27:15 +00:00
Harvey Tindall f792166523
use locally stored buildrone key bcs ssh is broken 2021-03-07 16:15:31 +00:00
Harvey Tindall 7c0754a70c
fix buildrone env 2021-03-07 16:07:55 +00:00
Harvey Tindall 2f33580f32
remove testing goreleaser script, oops 2021-03-07 15:55:28 +00:00
Harvey Tindall eb8f2777ae
fix naming conflict with goreleaser, add buildrone key to other steps 2021-03-07 15:54:32 +00:00
Harvey Tindall 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
Harvey Tindall 884493e7aa
add download links at top, mention jfa-go-bin 2021-03-02 01:30:08 +00:00
Harvey Tindall 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
Harvey Tindall 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
Harvey Tindall 1ec5d2ca3f
add disabled badge, extend expiry button to accounts 2021-02-28 17:52:24 +00:00
Harvey Tindall 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
Harvey Tindall 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
Harvey Tindall 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