1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-23 09:30:12 +00:00
Commit Graph

260 Commits

Author SHA1 Message Date
Harvey Tindall
5a9bc1c66f
Merge Discord branch
Discord Integration, Accounts UI improvements
2021-05-23 20:25:15 +01:00
ce8cdced4d
Discord: Fix GetUsers, add invite messages
The "Send to" box on the invite tab now accepts username#discriminator,
and a search icon has been added which opens a search window similar to
the one on the accounts tab. DiscordDaemon.GetUsers was also very broken
and wouldn't work with full username#discriminator, that's been fixed.
2021-05-23 16:16:31 +01:00
7d698d63e3
Discord: split discord search into own module
Will also be used for "Send to" on the invite page.
2021-05-23 14:22:18 +01:00
9fac79b1f0
Discord: Add users via accounts tab
Doesn't require a PIN like Telegram, as we can access a list of guild
users with the GuildMembers intent set. This has to be enabled under
Bot > Priviliged Gateway intents on the developer portal.
2021-05-22 21:42:15 +01:00
Malte
81e69a7166 translation from Weblate (German)
Currently translated at 100.0% (156 of 156 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/de/
2021-05-21 23:02:50 +02:00
ClankJake
ec659174fb translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (156 of 156 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-05-21 23:02:50 +02:00
Cornichon420
613d4cd9af translation from Weblate (French)
Currently translated at 100.0% (156 of 156 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/fr/
2021-05-21 23:02:50 +02:00
Richard de Boer
a6aa89e502 translation from Weblate (Dutch)
Currently translated at 100.0% (156 of 156 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-05-21 23:02:50 +02:00
woosade
e416acf6bd translation from Weblate (Spanish)
Currently translated at 100.0% (152 of 152 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/es/
2021-05-09 20:59:30 +02:00
Richard de Boer
ac239a309c translation from Weblate (Dutch)
Currently translated at 100.0% (152 of 152 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-05-09 20:59:30 +02:00
Cornichon420
ef97e0ac76 translation from Weblate (French)
Currently translated at 100.0% (152 of 152 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/fr/
2021-05-09 20:59:30 +02:00
71554e0c85
Telegram: Change user's contact method in accounts
By clicking the cog next to the telegram username, one can select
whether to contact through telegram or email.
2021-05-08 15:53:42 +01:00
ea0293bd4e
Split some settings into new "messages" section
Most email dependant sections now depend on this. Also renamed more
email things.
2021-05-07 21:53:29 +01:00
51f2f4cc6a
Telegram: close updates channel on restart
Also removed some references to email.
2021-05-07 18:29:56 +01:00
2d93b3b7ee
Telegram: Allow admin to add telegram contact
Works in the same way as on the form, but can now be done in the
accounts tab.
2021-05-07 18:20:35 +01:00
0e21942cd6
add hard restart for updates on *nix
reincarnates app.Restart() removed in
bbb0568cc4 as app.HardRestart().
2021-05-03 20:08:23 +01:00
André Cruz
beea903879 translation from Weblate (Spanish)
Currently translated at 100.0% (151 of 151 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/es/
2021-05-02 16:23:10 +02:00
Cornichon420
2a9fc8c7a5 translation from Weblate (French)
Currently translated at 88.0% (133 of 151 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/fr/
2021-05-02 16:23:10 +02:00
382a0f4c3c
add donate button to about 2021-05-02 15:16:28 +01:00
570e3a1e54
fix en-es name and filename 2021-04-30 13:54:53 +01:00
woosade
a9bde40661 translation from Weblate (Spanish)
Currently translated at 100.0% (151 of 151 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/es/
2021-04-29 23:54:04 +02:00
woosade
e450587eea translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (151 of 151 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-04-29 23:54:03 +02:00
Richard de Boer
30a529baac translation from Weblate (Dutch)
Currently translated at 100.0% (151 of 151 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-04-29 23:54:03 +02:00
woosade
c959e2ce4d translation from Weblate (Spanish)
Currently translated at 100.0% (150 of 150 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/es/
2021-04-28 15:15:40 +02:00
woosade
4104cb334e add translation from Weblate (Spanish) 2021-04-28 15:15:40 +02:00
ClankJake
a4820de423 translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (150 of 150 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-04-28 15:15:40 +02:00
Marketos Damigos
269d67f071 translation from Weblate (Greek)
Currently translated at 100.0% (150 of 150 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/el/
2021-04-28 15:15:39 +02:00
Richard de Boer
c00f5f4330 translation from Weblate (Dutch)
Currently translated at 100.0% (150 of 150 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-04-28 15:15:39 +02:00
d772e43e44
merge language changes 2021-04-15 15:34:52 +01:00
8fdab39b18
use templateEmail and show conditionals in editor 2021-04-15 15:34:17 +01:00
ClankJake
e8b1cca9ca translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (140 of 140 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-04-14 19:15:43 +02:00
Richard de Boer
d4d7219801 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-04-14 19:15:43 +02:00
55e21f8be3
accounts: add user enable/disable & emails 2021-04-12 21:28:36 +01:00
d701c5f27d
add months field to invites & expiry 2021-04-08 20:43:01 +01:00
374ffbf01f
fix incomplete lang patching, add en-gb stub
en-gb is empty, so it's patched with en-us strings. Added so DD/MM/YY
date formatting was possible in the ui.
2021-04-07 17:42:15 +01:00
Marketos Damigos
a253858625 translation from Weblate (Greek)
Currently translated at 100.0% (140 of 140 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/el/
2021-03-31 14:54:34 +02:00
dcd2e234e8
move "copy" string to common, add "copied"
for a new password reset feature.
2021-03-30 21:16:24 +01:00
virusperfect
270143a8f6 translation from Weblate (German)
Currently translated at 100.0% (140 of 140 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/de/
2021-03-27 00:19:06 +01:00
ClankJake
766b69d95e translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (140 of 140 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-03-27 00:19:06 +01: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
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
111533fa2d
add advanced setting type with toggle in settings 2021-03-15 22:51:17 +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
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
03247ddef8
Add accounts search 2021-03-13 14:26:29 +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
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
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
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
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
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
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
d520694e12 add translation from Weblate (Swedish) 2021-02-23 23:32:30 +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
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
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
Richard de Boer
0c5a332fa2 translation from Weblate (Dutch)
Currently translated at 100.0% (118 of 118 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-02-22 18:53:02 +01:00
Killianbe
5a07e103c0 translation from Weblate (French)
Currently translated at 100.0% (118 of 118 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/fr/
2021-02-22 18:53:01 +01:00
ClankJake
9536ceaaa4 translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (110 of 110 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/pt_BR/
2021-02-21 16:55:47 +01:00
d1b1b90de3
Add email list accessible by edit button in settings 2021-02-21 15:51:42 +00:00
058cac2e7b
implement email editor w/ live(?) preview
not accessible in the ui currently, but the object is available as
window.ee for testing.
2021-02-20 22:49:59 +00:00
Richard de Boer
ce45bf2136 translation from Weblate (Dutch)
Currently translated at 100.0% (110 of 110 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-02-19 15:58:26 +01:00
Killianbe
ce30537ebd translation from Weblate (French)
Currently translated at 100.0% (110 of 110 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/fr/
2021-02-18 19:34:07 +01:00
fa433c88a8
add announcement emails
After selecting users in the accounts tab, you can press 'Announce',
then write a subject and message (with markdown), and an email will be
sent to each selected user.
2021-02-18 14:58:53 +00:00
5e001bed60
temporarily modify lang for release
Fixed name on Indonesian and removed Italian emails.
2021-02-17 16:04:25 +00:00
Etienne dP
20e17b576a 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-16 15:16:58 +01:00
e672f9f14c
lowercase lang names 2021-02-13 20:51:35 +00:00
Marketos Damigos
0f78390282 translation from Weblate (Greek)
Currently translated at 100.0% (103 of 103 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/el/
2021-02-13 17:57:39 +01:00
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
mezzovide
cf185efdfc add translation from Weblate (Indonesian) 2021-02-13 17:57:39 +01:00
Marketos Damigos
8f000876b3 add translation from Weblate (Greek) 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
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
ClankJake
22e103837f translation from Weblate (Portuguese (Brazil))
Currently translated at 100.0% (101 of 101 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/pt_BR/
2021-02-03 10:04:41 +01:00
90c6cee780
add restart button 2021-01-31 19:01:20 +00:00
e755bc6b61
fix language names 2021-01-29 13:49:58 +00:00
Richard de Boer
7ec9f2435c translation from Weblate (Dutch)
Currently translated at 100.0% (101 of 101 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/nl/
2021-01-29 14:42:20 +01:00
virusperfect
b9a8a27807 translation from Weblate (German)
Currently translated at 100.0% (101 of 101 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/de/
2021-01-29 14:42:20 +01:00
Cornichon420
27a36898a3 translation from Weblate (French)
Currently translated at 100.0% (101 of 101 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/fr/
2021-01-29 14:42:20 +01:00
ClankJake
88356281fb translation from Weblate (Portuguese (Brazil))
Currently translated at 97.0% (98 of 101 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/pt_BR/
2021-01-29 14:42:20 +01:00
DesertCookie
2c60dee48a translation from Weblate (German)
Currently translated at 100.0% (101 of 101 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/de/
2021-01-29 14:42:20 +01:00
ClankJake
bbd539278c add translation from Weblate (Portuguese (Brazil)) 2021-01-29 14:42:20 +01:00
virusperfect
bb1e454850 translation from Weblate (German)
Currently translated at 100.0% (108 of 108 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/de/
2021-01-27 23:11:35 +01:00
Cornichon420
11770d90f1 translation from Weblate (French)
Currently translated at 100.0% (108 of 108 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/fr/
2021-01-27 23:11:35 +01:00
7baea9101e
Add general settings, ombi
host, port, theme, tls are included in general. Page theme changes with
setting. Fixed checkbox support messages. Split some cards into columns.
2021-01-27 21:35:41 +00:00
167fae9892
add jellyfin connection test, submission
fully functional now, but still need to add some sections (ombi mainly).
2021-01-27 12:55:39 +00:00
bf1e6230dc
split some strings into common file; use lang file to setup page 2021-01-25 21:26:54 +00:00
Cornichon420
f66510c74b translation from Weblate (French)
Currently translated at 100.0% (108 of 108 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/fr/
2021-01-24 18:27:28 +01:00
Weblate
e5de8b20ff merge branch 'origin/main' into Weblate. 2021-01-24 16:57:46 +01:00
dd96d71280
Add optional label for invites
Requested in #38.
2021-01-24 15:55:45 +00:00
Richard de Boer
a687b2c438 translation from Weblate (Dutch)
Currently translated at 100.0% (105 of 105 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/nl/
2021-01-24 16:22:39 +01:00
ea262ca60b
add optional welcome email for new users
When enabled, an email with the server URL and username will be sent to
created users. Requested in #38.
2021-01-24 15:19:58 +00:00
882a3467db
fix language settings loading 2021-01-21 14:16:03 +00:00
virusperfect
78b0e22091 translation from Weblate (German)
Currently translated at 100.0% (105 of 105 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/de/
2021-01-21 11:52:46 +01:00
hrfee
901abfb3e5 add translation from Weblate (German) 2021-01-20 09:02:35 +01:00
hrfee
2eea836d9f translation from Weblate (French)
Currently translated at 100.0% (105 of 105 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/fr/
2021-01-19 01:31:18 +01:00
hrfee
9a08a6603a Deleted translation using Weblate (English (United Kingdom)) 2021-01-19 01:31:18 +01:00
hrfee
887126f5dd Translated using Weblate (English (United Kingdom))
Currently translated at 1.9% (2 of 105 strings)

Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/admin/en_GB/
2021-01-19 01:31:18 +01:00
hrfee
fad6a04a5f Added translation using Weblate (English (United Kingdom)) 2021-01-19 01:31:18 +01:00
Richard de Boer
14bb85f301 add dutch translation of admin pages 2021-01-17 12:32:50 +00:00
a579bcd463
add finished french for admin 2021-01-15 14:43:32 +00:00
bc99dc34ee
Add email translation, add part of french translations
Admin translation from @Killianbe, Email translation from
@Cornichon420. French is currently not functional, a few things are
missing which i'm waiting on.
2021-01-15 14:43:32 +00:00
422f13202b
Use lang file in typescript 2021-01-15 14:43:31 +00:00
c470e40737
Start adding translation support for admin 2021-01-15 14:43:31 +00:00