github hrfee/jfa-go v0.4.0
v0.4.0: CAPTCHA, / commands, UI, Bug fixes

latest releases: v0.5.1, v0.5.0
2 years ago

0.4.0: CAPTCHAs, Slash commands, UI, Bug fixes, more

Sorry for such a delay on this, I started University and took a bit of a break. There's been quite a few big changes, and a ton of smaller bug fixes.

NOTES:

  • There are some breaking changes in this release, notably the removal of Ombi Profiles and Discord changes. Make sure to give this a decent read.
  • If you experience any broken CSS after updating, try a hard refresh (Ctrl-Shift-R) or clearing your browser cache.

Major:

  • CAPTCHAs: Enable in Settings > Captcha to require the user to complete a simple CAPTCHA on sign-up. (d9f8785)
    • The library used sometimes gives false negatives (the user is correct but it says invalid), so they can request a new one by pressing the refresh button on the sign-up form.
  • Ombi Profiles removed (kinda): These have been merged with User Profiles. You'll need to add an Ombi to profiles in Settings > User profiles for Ombi integration to work again. (4da1c8c)
  • UI Changes: A new version of the UI toolkit required a move to Tailwind CSS, and so the appearance has changed a little bit.
    • Most notably, the colors have changed in some places
    • Buttons and padding might look a little different
    • The light/dark mode toggle is now in the top left, with the language selector
  • jfa-go Discord server: We now have a Discord server for announcements, bug reports, feature requests and more. Check jfa-go.com for an invite link.
  • Easier log access: Press the "Logs" button in Settings to get the last 100 log lines. (51b59ae)
  • Multiple jfa-go users: If Jellyfin login is enabled, you can check "Access jfa-go" next to the user in the accounts tab to give them access to jfa-go. (6448a7d)

Discord/Matrix/Telegram Bots:

  • Slash commands: Commands are now prefixed with / instead of !, and the use of the new API means commands can autocomplete in Discord, commands are not visible to others, and that the Discord linking process can happen without any DMs. (15e5564)
    • You'll need to change some permissions for your bot and re-add it to your server, re-following the setup guide from step 6 onwards.
    • The original ! interface is still available for now, but will likely be removed soon.
  • Assign Discord role on sign-up: Choose a role in Settings > Discord, and it will be assigned to the user when they sign up. (32af107)
  • Connect Discord/Telegram to Ombi: If the ombi integration is enabled, a user's Discord and Telegram accounts will be added to their Ombi account so it can send notifications. (fafb524)
  • Fix default language selection for bots. (25a1ca5)

Invites:

  • The "Send to" feature now allows sending invites to Discord/Matrix/Telegram users. (e7ca335)

Accounts:

  • Add "Send Password Reset" button (eeb9b07)
  • Add "Set expiry" button to give existing users an expiry, or to re-enable expired users with a new one. (0bf8cd6)
  • You can now add a label to user's names by pressing the pen icon next to their name. (4024334)
  • Both true/false and yes/no can be used for admin: query in search (c988239)

Sign-up form:

  • You can now choose to hide the "Link xx" buttons for Discord/Telegram/Matrix in Settings. (73c7f22)
  • You can now require an email address on sign-up in Settings > Email. (0fd4f51)
  • Added advanced setting to change the successful signup redirect URL in Settings > General. (e6cc7fc)
  • If you require Discord/Telegram/Matrix on sign-up, (Required) will appear next to it. (dbefb80)
  • More reliable disabling of the "Create Account" button. (dbefb80)

Other:

  • API Docs: An online version of the swagger docs is now available at api.jfa-go.com.
  • Various improvements for mobile screens. (from @LubricantJam) (42dbc04, and PR #191)
  • Various translations from users
  • Add advanced option to set the hostname send in the SMTP HELLO message. Might fix some peoples issues. (d560df5)
  • Add advanced option to skip SSL certificate checking for the SMTP server. (from @SquaredPotato) (2de7182)
  • Fix bug where plaintext emails would always be sent. (issue #164) (36f3860)
  • Add delay when modifying a lot of users. Modifying lots in rapid succession would crash and mess up Jellyfin's DB. (94e3c13)
  • Fixed generating a systemd .service with jfa-go systemd. (07de4e5)
  • Improved handling of different Mailgun API URL formats. (d19f7d6)
  • Only the "Contact via" radios that you have enabled will show on the Sign-up form after a user has linked their account. (25451eb)
  • Show a pointer rather than a text select cursor on the modal close button. (from @KeyboardDabbler) (7daf216)
Changelog
  • b723631 Actually use correct variable, actually use variable correctly and added a loadConfig entry

  • 556c31d Add checkbox that allows invalid SMTP certificates to be used.

  • 82c8ef1 Added better mobile support for sign-up form.

  • 6440f57 Fixed Tailwind compiling issues.

  • 93b1e9c Fixed dark text on dark mode.

  • 0d4747e Merge branch 'main' of github.com:hrfee/jfa-go

  • 2de7182 Merge from SquaredPotato/smtp-certificate-validation

  • 42dbc04 Merge pull request #189 from LubricantJam/main

  • e814af1 Merge pull request #191 from LubricantJam/main

  • a003921 Merge pull request #194 from KeyboardDabbler/main

  • 4da1c8c Ombi: Integrate with profiles, Retire user defaults

  • dec8d75 Optimised modals for mobile.

  • f486f8d Removed deprecated code.

  • 36f3860 SMTP: Always use plaintext as main body

  • 7ecf1bc Translated using Weblate (Danish)

  • 053ee82 Translated using Weblate (Danish)

  • 3c278bc Translated using Weblate (Danish)

  • 5074f4d Translated using Weblate (Danish)

  • 0221d29 Translated using Weblate (Danish)

  • 22feec4 Translated using Weblate (Danish)

  • 4b59876 Translated using Weblate (Danish)

  • 4f05fa9 Translated using Weblate (Danish)

  • 91c8ce8 Translated using Weblate (Dutch)

  • bd9f425 Translated using Weblate (Dutch)

  • 947da02 Translated using Weblate (Dutch)

  • af563aa Translated using Weblate (French)

  • a37cdf4 Translated using Weblate (French)

  • 9ae1616 Translated using Weblate (French)

  • fd10b26 Translated using Weblate (Spanish)

  • 6be5d6c Translated using Weblate (Spanish)

  • c1d984b Translated using Weblate (Spanish)

  • cd2c370 Translated using Weblate (Spanish)

  • d8c9ae4 Translated using Weblate (Spanish)

  • edfd295 Translated using Weblate (Spanish)

  • a35ca76 Translated using Weblate (Spanish)

  • c59ea20 Translated using Weblate (Spanish)

  • 1384091 Translated using Weblate (Spanish)

  • 84429a3 Translated using Weblate (Spanish)

  • 889d68d Updated Tailwind version.

  • 94e3c13 Users: Add delay when modifying >100 users

  • 4024334 accounts: add ability to label users

  • 6448a7d accounts: allow giving individual users jfa-go access

  • c988239 accounts: allow yes/no in search

  • 360c25d accounts: hide "Send PWR" when link resets disabled

  • fafb524 accounts: link ombi/discord when adding

  • 987e0dd accounts: show "Set expiry" button for non-disabled users

  • baffa4a add NOTEMPLATE env var to missing-colors.js

  • a31f174 add dark variants to ts

  • 942792c add discord link to site

  • 6852549 add discord link; new thumbnail variant

  • 0bf8cd6 add option to set new expiry for when re-enabling users

  • 3294b27 add replaceAll polyfill

  • f3e1606 add sponsors to readme

  • 7e38ee0 add translation from Weblate (Hungarian)

  • b9574e2 add translation from Weblate (Hungarian)

  • 09b96e5 add translation from Weblate (Vietnamese)

  • eeb9b07 admin: add manual "Send Password reset" to accounts tab

  • aedea1b admin: move theme icon to top left; add icon

  • 277690e allow for defining custom dark: variants, ignore querySelector, shrink margins

  • f78fa28 announcements: fix preview window

  • 4fcba32 apidocs: re-version, set up for hosted ui

  • 25a1ca5 bots: fix language selection

  • b929e16 build: apply cssVersion for all ldflags

  • be1d081 build: fix css bundling bug with new esbuild

  • 07de4e5 build: include systemd service

  • cf91ee6 change invite color in light mode

  • 7daf216 checkbox, edit email and captcha refresh

  • 32af107 discord: add role to user on signup

  • 15e5564 discord: add/move to slash commands

  • 8fd0978 discord: send in-channel reply to !start

  • 0fd4f51 email: Add option to require on sign-up

  • ebb49fc fix FAQ link in bug report template

  • 2d3a5c7 fix about page

  • 4eb7afe fix banner in about

  • 1ebc648 fix broken go template if statements

  • 3dbb993 fix button layout on accounts tab

  • 4deb45d fix code text color in dark mode

  • f7f3530 fix crash page

  • e66241d fix crash page css when using goreleaser

  • 3b0701e fix dark mode script

  • 7b97e1c fix discord/telegram linking with ombi

  • 7e0e0b0 fix form layout

  • 0f0355f fix inline

  • 26d9864 fix layout on remaining html

  • 0e1cbd7 fix m-half in ts

  • 508168b fix more oddities

  • 8bee09c fix settings button highlight

  • deb117f fix setup layout

  • e73ecb7 fix some padding issues

  • dd5eecf fix textareas

  • 8758d74 fix titles for some pages

  • a8ce35c fixed height on table rows

  • d9f8785 form: add CAPTCHAs

  • 4b02960 form: add captcha regen button

  • e6cc7fc form: add setting for changing redirect url

  • 1c94218 form: fix captcha

  • 62cbbf5 form: fix mono text in discord linking modal

  • dbefb80 form: reliably disable submit button, communicate if account linking is required

  • 25451eb form: show radios for only linked contact methods

  • d8b1f03 form: substitute Jellyfin on success messages

  • e7ca335 invites: allow notification by discord/telegram/matrix

  • a3a22d3 lang: make loadLangSelector respect existing params

  • 9fff578 lowercase lang

  • cd08259 lowercase lang

  • d19f7d6 mailgun: better handle different api url formats

  • d1b5b74 make most modals white

  • 5ff3839 merge lang

  • 9874dce merge tailwind and upgraded a17t

  • a41b382 merge translation

  • 73c7f22 messages: add option to show/hide linking on registration

  • ecbff16 modal: change transition

  • da1b9cc ombi: add migration to link telegram/discord

  • 7f11549 ombi: broken discord/telegram linking

  • 2f50ab3 pad table and some other stuff

  • d867649 padding; fix hungarian lang names

  • bfcad6c pointer on modal close

  • 77c05a4 prefix css with version to avoid cache conflict

  • d81679f print error if logging fails

  • a4f5920 pwr: fix Send PWR when not using "Set password"

  • 8888807 remove debug print, add another

  • 62be8ad remove predefined m- and p- spacing

  • 9092f42 remove vulnerable node deps, cleanup

  • 51b59ae settings: add button to get logs

  • b81c563 settings: better top button padding on mobile

  • 535a100 settings: discord and more links in "About"

  • 5acee68 settings: rename URL base to reverse proxy subfolder

  • a9a0005 setup: patch messages with english fallback

  • 57e6469 site: add direct links to unstable builds

  • b39ad5c site: add features, dono button

  • 7ff492d site: allow html injection

  • 3730775 site: put subheading and features on separate line

  • e86f5f4 site: use tailwind

  • 77799b2 smtp: only construct email once

  • 6124b9b switch accounts tab table to white bg

  • d560df5 switch smtp library, add, HELLO hostname option

  • acc8892 switch to DOM based variant adding

  • 18ae035 tailwind: upgrade a17t, somewhat functional dark mode

  • 7e5bfd4 translation from Weblate (Danish)

  • f030cdc translation from Weblate (Danish)

  • fad507d translation from Weblate (Danish)

  • 130b56f translation from Weblate (Danish)

  • 46d1da7 translation from Weblate (Dutch)

  • 838d108 translation from Weblate (Dutch)

  • 4a19af3 translation from Weblate (Dutch)

  • dd8dfcb translation from Weblate (Dutch)

  • 528829f translation from Weblate (Dutch)

  • da8dd7d translation from Weblate (French)

  • a4b5d6d translation from Weblate (French)

  • f37edcb translation from Weblate (French)

  • 5d33dcf translation from Weblate (French)

  • 4821b30 translation from Weblate (French)

  • c5ce66b translation from Weblate (German)

  • 9a4d907 translation from Weblate (German)

  • 7474a18 translation from Weblate (Hungarian)

  • fe1570d translation from Weblate (Spanish)

  • 4403ea8 translation from Weblate (Spanish)

  • d57d33b translation from Weblate (Spanish)

  • ca29ea2 translation from Weblate (Spanish)

  • 30ee554 translation from Weblate (Spanish)

  • e19352a translation from Weblate (Vietnamese)

  • d47afe0 update deps, fix connection error log

  • c6fc576 update node version in Dockerfile

  • 6431613 update version; mention log button in bug report template

  • d3990a6 upgrade vulnerable dependency

  • 4d27f7f user mediabrowser 0.3.6

Don't miss a new jfa-go release

NewReleases is sending notifications on new releases.