A good few fixes and small features. Quite a bit of behind the scenes reworking that doesn't affect functionality too. You'll hopefully see a v0.6.1 in not too long, with bugs found in this one fixed and one biggish feature. After that, it'll be another 2 years till the next one (weird how it keeps ending up that way).
Important
- More consistent links to jfa-go: Messed up links to jfa-go shouldn't be a problem anymore. You'll need to make sure "External jfa-go URL" and "Reverse proxy subfolder" is set in Settings > General, this is where you access the root of jfa-go (by default, the admin page). This value is now used for everything. (e71d492)
- If you access jfa-go from multiple domains, set this setting to the one a signing up user would access, and enable "Use reverse-proxy reported Host when possible". This will make sure your login is saved on other domains.
- Also, a bunch of other url-related fixes.
Strong
- Jellyseerr integration: On par with, or better than the Ombi integration, and safer (users have had problems in the past, see the wiki):
- Uses the "Jellyfin" account type in Jellyseerr, which does auth through Jellyfin (like jfa-go) and so passwords stay in sync automatically.
- Email, Discord & Telegram details are synchronized when changes are made.
- Settings profiles can be added just like Ombi, in Settings > User Profiles.
- See Settings > Integrations > Jellyseerr
- More info in the PR details (#351)
Medium
- Custom page paths: Settings (Advanced) > URL Paths. Access your admin at
/admin, my account at/, or whatever you want. (#405) - "Expiry Adjusted" message: Send optionally to the user when you change their account expiry (48a2058)
- Remind N days before expiry: Message user N days before their account is due to expire. You can set multiple of these in Settings > User Expiry. (94efe9f)
- Delete user N days after expiry: First disable the account, then delete it after N days if you don't intervene. In Settings > User Expiry. (86c37fb)
- Post sign-up help card: Previously you could adjust the text shown when a user signed up with the "Success message" option, but this (editable with the pen icon on "Messages/Notifications") allows full markdown. (dabef83)
- Faster accounts tab: Results are now cached server-side and loaded with an infinite scroll on the accounts tab. Stops them all being loaded at once, which could freeze up the whole browser for those with busy Jellyfin instances. Searches/Filtering and sorting can now be performed server-side too, for accounts and activities. (8ba6131)
- Lots of shared functionality in
list/search.ts.
- Lots of shared functionality in
- "Extend from previous expiry": After an account expires and has been disabled, checking this new box when re-enabling and setting a new expiry will apply your extension (months, days, hours, minutes) from the time of expiry, rather than the current time. (#379)
- Webhook(s): Currently only one for user creation, will be called when this happens with some data. See Settings > Webhooks and the corresponding wiki page. (e5f79c6)
Mild
- Settings reorganization: There's now groups/folders for similar sections. The sidebar is easier to parse visually as a result. (a3dc8b7)
- Disable collecting emails: "Collect on sign-up" has been in Settings > Email for ages but wasn't functional. Works now, disabling hides the email field on sign-up. (073772a)
- Matrix E2EE: The library used added a wrapper which didn't have the previous issues I'd faced, so this is now included in most builds of the app. See the build tags for your version in Settings > About to check if it's enabled. (69569e5)
- Statistics routes: Added
/(invites|activity|users)/count[/used]"statistics" routes, for use with your own data collection/visualization software like Grafana. A summary and code example is available on the wiki. - Added option to keep 1 backup from each previous jfa-go version. (d6f5c91)
- This info is now included in backup filenames as a result.
- Added a direct link to the "My Account" password reset page, by default at
/my/account/password/reset. (b5dea77) - Removed old discord commands: Make sure you're using the newer slash command-style. You probably already were. (15a317f)
- Slashes in announcement template titles now work (6b576f2)
- Fixed making an account from an invite with no profile selected. (7192221)
- Proxy settings are now used in more places (Mailgun, API Clients) (a52dd26, 86c7551, more)
- Fixed usernames with non-ASCII characters not working for login (i.e. Unicode B64 encode) (#364, 6347495)
- Implemented ETags, hopefully solving the issue of stale caches on jfa-go updates. (688e941)
- Pages will no longer be indexed by search engines (e44d11c)
- Disallow "+" in usernames (Jellyfin doesn't like it). (6c30a1f)
- Reduce the max size of the .vlog file created by the DB, which could get up to 2GB. Also adjustable in settings (advanced). (c5f4098)
- Allow disabling SMTP encryption for locally-hosted things like provider bridges (da0dc7f)
- Fixed dated wiki links in settings. (65a25a7)
- Invite details expand with a transition now, as I originally wanted. (909614c)
- CSS Adjustments, lots of them
- Translations as always from many people.
- Small PRs from @Mavyre, @michaelBelsanti, @mxkyb
Meta
- User-related cleanup: lots of deduplication, with new user functions especially. Also, contact methods now implement a common interface (except email), and Jellyseerr/Ombi one as well. See commit notes for more information. (54e4a51)
- Builds are now done on an arm64 host with woodpecker, rather than drone. Migration resulted in some design improvements, and much quicker builds. Unfortunately the prerequisite image with build deps is now only available in arm64 form.
- Fixed(?) deb repo, should be up to date now.
- Message/Email rework: Workflow for adding new ones is simpler now. Less redundant fluff in mjml files. (Customizable) messages info is now mostly defined in customcontent.go, and there's less duplication in the constructX methods for each. Guide on the wiki has been updated, and explains things the old one didn't get into.
- Log lines (stuff printed in the console that isn't variable) consolidated in logmessages/logmessages.go. This was done to force me to review all the logging in the app for grammar and duplication. Could open up translation in the future, too. (7113942)
- The Makefile is a proper one now, and does incremental builds properly in most cases. It's also now used in the goreleaser build process for simplicity. (ce6a577)
- Better errors for API clients: They now mostly don't return a status code, instead generate an error from it if necessary and return that. (2310130)
- Lots of code other code cleanup on front and back-end
- Config base file is now in YAML, and the INI generation script is now written in Go. Python no longer required for build. (f063b97)
- Share some stuff related to pseudo-pages across the web app, although this seems to have made things more fragile than before. (d2e5209)
- Started writing tests for some new features.
make testnow exists. - Changed banner font, and the ones used in emails.
- Added a "List" type for settings (6bad293)
- Added "Groups" and "Order" to config-base: Groups are just folders made up of sections or other groups, Order is an optional root order for the settings sidebar. (6bfb345, 8f3b860) New validation script
scripts/yamlas a result. (fe20187) - Improved
ThirdPartyServiceinterface, single function for adding, removing and setting contact pref of email/discord/telegram/matrix. Used more widely too, improving/fixing functionality of Ombi/Jellyseerr integrations. (27a8073) - More refactoring