Harvey Tindall
38119551d7
merge translation
4 years ago
Harvey Tindall
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.
4 years ago
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/
4 years ago
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/
4 years ago
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/
4 years ago
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/
4 years ago
Harvey Tindall
d1b1b90de3
Add email list accessible by edit button in settings
4 years ago
Harvey Tindall
058cac2e7b
implement email editor w/ live(?) preview
...
not accessible in the ui currently, but the object is available as
window.ee for testing.
4 years ago
Harvey Tindall
6ffdd4dad7
fix mistype in german email
4 years ago
Harvey Tindall
98d59ba4e0
don't strip text on images
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
cc4e12c405
finish backend of custom emails
...
biggest bodge i've ever done but it works i guess.
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
5c87d109a3
use descriptive variable names in email translations
...
in preparation for an email editor.
4 years ago
Harvey Tindall
3e020da66a
merge translation
4 years ago
Harvey Tindall
78157f763f
use different color library, wrap logger functions with it
4 years ago
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/
4 years ago
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/
4 years ago
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/
4 years ago
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/
4 years ago
Harvey Tindall
b25f786018
use bulk email sending on account deletion
4 years ago
Harvey Tindall
ca00796077
Merge pull request #61 from rigrig/main
...
use `apt-get` instead of `apt` in Dockerfile
4 years ago
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")
4 years ago
Harvey Tindall
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.
4 years ago
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/
4 years ago
Harvey Tindall
93b5b483cc
add plaintext email option, use text/template
...
text/template is used on plaintext emails to avoid escaping of certain
characters.
4 years ago
Harvey Tindall
27ef931670
add possible dark mode fix for Outlook
4 years ago
Harvey Tindall
fb727e75ec
substitute jellyfin strings on emails, hopefully fix dark mode
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
cdc837e781
trim '/' from path when using systemFS
...
should fix #58 .
4 years ago
Harvey Tindall
a92baa5d18
update urls
4 years ago
Harvey Tindall
e913f25a47
update buildrone url
4 years ago
Harvey Tindall
9eb803388e
add it-it email back
4 years ago
Harvey Tindall
eb81515f46
fix ordering of steps in dockerfile
4 years ago
Harvey Tindall
52461c0356
add it-it email back
4 years ago
Harvey Tindall
6b3800abf6
remove branch trigger
4 years ago
Harvey Tindall
09fc81d7f4
fix tag recognition by drone
4 years ago
Harvey Tindall
82034a2586
use python3 in makefile for embed
4 years ago
Harvey Tindall
5e001bed60
temporarily modify lang for release
...
Fixed name on Indonesian and removed Italian emails.
4 years ago
Harvey Tindall
5d7972db56
rename embed/noembed to internal-files/external-files
4 years ago
Harvey Tindall
403ad58274
move all scripts to scripts/
4 years ago
Harvey Tindall
a1a233e74f
fix sed path in Dockerfile
4 years ago
Harvey Tindall
8dd72c95ab
switch image for drone builds
4 years ago
Harvey Tindall
f794322392
Merge branch 'go1.16'
...
merge go1.16 changes
This includes embedded files for releases (no extra 'data' directory!)
and support for a custom language file directory, allowing one to
customize the text accross the app.
4 years ago
Harvey Tindall
afd52d1d37
Use go cross-compilation in docker build
...
significantly faster builds now. Every pre-compilation step (typescript,
css, etc.) happens natively, then GOARCH=xxx make compile is also run
natively for each architecture. The output it then copied into each
container.
4 years ago
Harvey Tindall
ba7370171a
lowercase lang, go mod tidy
4 years ago
frankwalter1301
deb364a8bd
Translated using Weblate (Italian)
...
Currently translated at 71.8% (23 of 32 strings)
Translation: jfa-go/Emails
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/emails/it/
4 years ago
frankwalter1301
a3cf498e15
translation from Weblate (Italian)
...
Currently translated at 100.0% (27 of 27 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/form/it/
4 years ago
mezzovide
3b356d2d8c
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (95 of 95 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.pw/projects/jfa-go/setup/id/
4 years ago