Decent amount of features here, might be a little unstable.
Features:
- Matrix bot: (6fb8f1e)
- To bypass the End-to-end encryption by default in element.io, the user gives their username on the signup page and the bot creates a room with them. They then enter the PIN sent to them on the sign-up page.
- Does everything the other bots do
- Users can be connected on the admin page by typing their matrix ID only, no verification necessary
- Uses a normal matrix user account
- A log-in wizard available by pressing the "+" next to Matrix in settings (only shows if matrix is disabled)
- Enter username and password, and an access token is generated and stored
- Bot instructions here
- Supports Markdown (better than Discord does, at least)
- Set password via magic link: (0a71d5b)
- The user isn't given the PIN directly, instead prompting for a new password in jfa-go
- Allows for a more streamlined PWR experience
- Allows admin to enforce password requirements
- Enable in Settings > Password Resets (Magic links must be enabled too).
- The user isn't given the PIN directly, instead prompting for a new password in jfa-go
- Crash handler:
- A webpage opens automatically with the culprit error and the last 100 log lines, and a link to open an issue.
- jfa-go attempts to provide a sanitized (personal info removed) version, but it may not always work.
- A dump of the last 100 log lines is saved in
/tmp/jfa-go-crash-<date>.txt
(or equivalent path)
- A webpage opens automatically with the culprit error and the last 100 log lines, and a link to open an issue.
- Always log to
/tmp/jfa-go.log
(or equivalent path) on Tray builds (62c29d5)- Necessary on Windows as there is no way to see the terminal output
- Button to open logs available when right-clicking tray icon (7035a3f)
- Translations from @LeviSnoot, @maltechx, @rigrig & @ClankJake
Fixes:
- No longer crashes if jfa-go is restarted during setup, no need to delete
~/.config/jfa-go
(e49996c) - Fixed apt repo versioning for unstable releases (d7ab010)
- Always v0.0.0, with epoch as the current commit count
- Escape all characters reserved by Telegram for markdown (fb6256d)
- (Hopefully) ignore visits from link crawlers (eg preview generator in telegram) for PWR magic links (953a66e)
Changelog
2112503 Add copy button to crash page
de81c7e Added translation using Weblate (Dutch)
cab30eb Added translation using Weblate (English (United Kingdom))
e0d994c Added translation using Weblate (German)
084e8ec Added translation using Weblate (Portuguese (Brazil))
fd7f746 Added translation using Weblate (Portuguese (Brazil))
f0f4e81 Generate crash report txt and webpage
62c29d5 Log output to TEMP/jfa-go.log when Tray enabled
a9b1101 Matrix: Add example images
375022b Matrix: Add token generation wizard
75fdf6e Matrix: Connect on accounts tab, customizable chat topic
9bd6aba Matrix: Fix user storage
89fb3fa Matrix: Notifications
e97b90d Matrix: Setup bot, add PIN verification
59ebf52 Matrix: Show matrix on accounts page
4e826f4 Matrix: Store user on sign-up
e7cb1f5 Mention wiki in Telegram/Discord/Matrix settings descriptions
6fb8f1e Merge pull request #112 from hrfee/matrix
19715f2 Move all migrations to separate file
0a71d5b PWR: Add option to set new password from magic link
561c461 PWR: TrimPrefix instead of Replace for PWR links
953a66e Password Resets: Ignore magic link visits from bots
e48bdcc README: change install section layout
e49996c Setup: Don't break if setup not completed, fix restart
b538922 Show log on log.Fatal calls, provide "sanitized" version, fix goreleaser
fb6256d Telegram: Escape all necessary characters
6d089a9 Translated using Weblate (Dutch)
19b7341 Translated using Weblate (Dutch)
aa40a72 Translated using Weblate (German)
73645a7 Translated using Weblate (German)
169622b Translated using Weblate (Portuguese (Brazil))
e35fe8d Translated using Weblate (Portuguese (Brazil))
78b5136 Translated using Weblate (Portuguese (Brazil))
a0af763 Translated using Weblate (Portuguese (Brazil))
b282811 Translated using Weblate (Swedish)
7035a3f Tray: Add button to open logs
2ad84db add inaccurate chglog
885d2eb admin: fix telegram/discord/matrix enabled varnames
93c7a6e apt: Change versioning to hopefully fix updates
d7ab010 apt: Use commit count to fix version comparisons
a9cabe3 apt: also remove jfa-go-tray
d6fd1d6 apt: remove last unstable before adding
555d5ab bump browserslist version
a83dbcf debian/ubuntu, not just debian
0b473ef don't put .debs on buildrone; link to instructions at top of README
93937ec drone: use pre-made image with dependencies
85536ff expand CONTRIBUTING, print if tray enabled on startup
087172c fix package naming to avoid conflicts
0014db4 form: module-ize password validator
a822963 mention matrix in readme
d41a281 mention tray icon in issue template
0a2cf61 merge matrix into local changes
71df011 merge translations
2f50169 merge translations
9950c15 move copy button to right, don't uncss when DEBUG=on
8fd919b remove chglog, add steps to upload to apt.hrfee.dev
0ea5c7f remove inline-css-cli build dep
e03525a separate codenames for stable & unstable
1dc0b22 switch to normal npm mirror in package-lock
fc57a8c translation from Weblate (Dutch)
1fb2ef5 translation from Weblate (Dutch)
a9dac8c translation from Weblate (German)
43fbbbc translation from Weblate (German)
6ed2f7a translation from Weblate (Portuguese (Brazil))
e546f50 translation from Weblate (Portuguese (Brazil))
50eb057 translation from Weblate (Swedish)