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

474 Commits

Author SHA1 Message Date
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
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
40fc5e9604
Fix email editor when plaintext setting enabled 2021-02-22 16:40:37 +00:00
9799665951
fix tag versioning and dockerfile 2021-02-22 01:26:07 +00:00
b3fa667db1
version with ldflags instead of script 2021-02-22 01:23:42 +00:00
027cf19d0f
delete missing route bind 2021-02-22 01:05:18 +00:00
38119551d7
merge translation 2021-02-22 00:45:07 +00:00
52d9cda61a
Move email rendering to browser
the email preview no longer has a delay after each change. This also
avoids a race condition in which the email currently being edited could
be actually sent.
2021-02-22 00:43:36 +00:00
ClankJake
f40fb9d3f7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (39 of 39 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/pt_BR/
2021-02-21 16:55:47 +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
ClankJake
72beee1322 translation from Weblate (Portuguese (Brazil))
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/pt_BR/
2021-02-21 16:55:47 +01:00
Richard de Boer
0ec822988d Translated using Weblate (Dutch)
Currently translated at 100.0% (39 of 39 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/nl/
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
6ffdd4dad7
fix mistype in german email 2021-02-20 01:31:34 +00:00
98d59ba4e0
don't strip text on images 2021-02-20 01:20:43 +00:00
938523c18b
fix urls in custom email/announcements
Uses a nasty algorithm found in stripmd.go to change all occurrences
of '[linktext](link)' to just 'link' before passing to a decent markdown
stripper.
2021-02-20 01:03:11 +00:00
cc4e12c405
finish backend of custom emails
biggest bodge i've ever done but it works i guess.
2021-02-20 00:22:40 +00:00
eb406ef951
Implement email template generation
Variables are surrounded by {}, and initial (default) templates are
generated on demand from the plaintext version of emails. The custom
emails are intended to only be used if the user actually changes them,
as they lose the features of the default ones, such as tables.
2021-02-19 21:38:20 +00:00
5c87d109a3
use descriptive variable names in email translations
in preparation for an email editor.
2021-02-19 17:50:50 +00:00
3e020da66a
merge translation 2021-02-19 16:12:27 +00:00
78157f763f
use different color library, wrap logger functions with it 2021-02-19 16:12:14 +00:00
Richard de Boer
bcc0eeeb2f Translated using Weblate (Dutch)
Currently translated at 100.0% (95 of 95 strings)

Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/nl/
2021-02-19 15:58:27 +01:00
Richard de Boer
76b859f5bf Translated using Weblate (Dutch)
Currently translated at 100.0% (32 of 32 strings)

Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/emails/nl/
2021-02-19 15:58:27 +01:00
Richard de Boer
676cf619d5 translation from Weblate (Dutch)
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/nl/
2021-02-19 15:58:27 +01: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
b25f786018
use bulk email sending on account deletion 2021-02-19 14:51:36 +00:00
ca00796077
Merge pull request #61 from rigrig/main
use `apt-get` instead of `apt` in Dockerfile
2021-02-19 14:47:10 +00:00
Richard de Boer
a1bbf13d6a use apt-get instead of apt
Because `apt` is meant for humans, and complains when called in scripts.
(manpage: "While it tries not to break backward compatibility this is not guaranteed")
2021-02-19 15:26:11 +01:00
76fa171575
cleanup logs and use structs in jf/emby api
Also means times are directly parsed when pulling data from jf/emby,
which was *painful* to get working (something broke the whole program and it
took me an hour to figure out it was this lol). Time parsing should be a
lot stabler too.
2021-02-19 00:47:01 +00: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
93b5b483cc
add plaintext email option, use text/template
text/template is used on plaintext emails to avoid escaping of certain
characters.
2021-02-18 18:26:23 +00:00
27ef931670
add possible dark mode fix for Outlook 2021-02-18 17:47:15 +00:00
fb727e75ec
substitute jellyfin strings on emails, hopefully fix dark mode 2021-02-18 16:09:58 +00: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
adbb5b9d38
Fix filepath separator and external files on windows
For some reason, '/' is used instead of '\' on windows when loading
lang. FSJoin will now use whatever already exists in the path.
app.GetPath now creates a DirFS from the containing directory instead of
app.systemFS, which fixes loading on windows.
2021-02-18 12:58:30 +00:00
cdc837e781
trim '/' from path when using systemFS
should fix #58.
2021-02-17 22:02:26 +00:00
a92baa5d18
update urls 2021-02-17 20:52:49 +00:00
e913f25a47
update buildrone url 2021-02-17 20:31:52 +00:00