github hrfee/jfa-go v0.3.4
v0.3.4: if statements, ombi pw resets, fixes

latest releases: v0.5.1, v0.5.0, v0.4.0...
3 years ago

Features:

  • User expiry added to welcome emails (7a3e0d6)
  • If statements/Conditionals for email templates: {if condition} show this text {endif}, {if !condition} show this instead {endif}. Very basic with no else but negation with ! works. This is currently only available for the account expiry date on the welcome email. (8fdab39)
  • Add months option for invites (d701c5f)
  • Spanish added thanks to @andremxmx
  • Users can now be enabled/disabled in the accounts tab, with optional explanation emails. (55e21f8)
  • Ombi password resets: Only available when using reset links (Settings > Password Reset), sets both the Ombi & Jellyfin password to the reset PIN. (af61549)

QOL:

  • Email preview added for announcements. (c0f316d)
  • Language preference is now stored as a cookie. (a8f71c8)
  • Fallback languages properly implemented/fixed: (3273607)
    • a preferred fallback language can be specified for translations in "meta": { "fallback": "lang-code" }. This might be useful for variations/dialects of languages.
  • Added jfa-go systemd command, which generates a systemd .service file for you. (886ae64)
  • Added shorthand flags for -config/-c, -data/-d, -port/-p. (a2c344d)
  • Added reset links to setup (43effd0)

Fixes:

  • Fixed updater for binaries: Previously kept the connection and tar.gz file open until the user pressed update, which was dumb and resulted in failed updates.
  • Fixed invite email using the title for confirmation emails. (59a014f)
  • Fix broken server URL in welcome email. (488c2f5)
  • Fix non-functional path parameters in swagger (5d8f139)
  • Fix race condition when sending invite expiry emails (5d8f139)
Changelog

bc466d0 Added translation using Weblate (Spanish)

9da0f89 Added translation using Weblate (Spanish)

6129305 Added translation using Weblate (Spanish)

94067a1 Added translation using Weblate (Spanish)

90a2c1f Fix email editor for other email types

22a0d89 Remove unused typescript, update config readme

ab94de2 Translated using Weblate (Dutch)

bdc0c0f Translated using Weblate (Dutch)

83449f3 Translated using Weblate (French)

0c09f3b Translated using Weblate (Greek)

7165eb1 Translated using Weblate (Portuguese (Brazil))

dafb439 Translated using Weblate (Portuguese (Brazil))

f8d4f79 Translated using Weblate (Spanish)

57b10dd Translated using Weblate (Spanish)

fac951c Translated using Weblate (Spanish)

44dc315 Translated using Weblate (Spanish)

adbb74f Translated using Weblate (Spanish)

c5e4c5d Translated using Weblate (Spanish)

cf99ae8 Translated using Weblate (Spanish)

8e86078 Translated using Weblate (Spanish)

b03a185 Translated using Weblate (Spanish)

55e21f8 accounts: add user enable/disable & emails

886ae64 add "systemd" command to generate a .service file

382a0f4 add donate button to about

f7d2771 add email templater with basic if statements

7a3e0d6 add expiry to welcome email, add dummy emailer for debugging

d701c5f add months field to invites & expiry

c0f316d add preview to Announcements

43effd0 add reset link option to setup

a2c344d add shorthand flag names

3e9da3b add translation from Weblate (Spanish)

4104cb3 add translation from Weblate (Spanish)

2c6d083 add typechecking step to Makefile when DEBUG=on

488c2f5 fix broken url in welcome email

b2b5083 fix checkCheckCount on accounts reload

570e3a1 fix en-es name and filename

5d8f139 fix race condition; rename route functions; fix swagger params

59a014f fix title for invite emails

3dc0df0 fix user expiry when only month field set

87ef71b lowercase lang

d772e43 merge language changes

af61549 ombi: reset password when using pwr links

9944cc2 refactor; move logger to module

a8f71c8 store language preference as cookie

c00f5f4 translation from Weblate (Dutch)

30a529b translation from Weblate (Dutch)

d4d7219 translation from Weblate (Dutch)

2a9fc8c translation from Weblate (French)

269d67f translation from Weblate (Greek)

e450587 translation from Weblate (Portuguese (Brazil))

e8b1cca translation from Weblate (Portuguese (Brazil))

a4820de translation from Weblate (Portuguese (Brazil))

223b4df translation from Weblate (Spanish)

beea903 translation from Weblate (Spanish)

c959e2c translation from Weblate (Spanish)

a9bde40 translation from Weblate (Spanish)

3273607 translation: add fallback option to langMeta

2687af3 updater: immediately store executable

8fdab39 use templateEmail and show conditionals in editor

Don't miss a new jfa-go release

NewReleases is sending notifications on new releases.