Harvey Tindall
73c7f22bd1
messages: add option to show/hide linking on registration
...
In each of the Discord/Telegram/Matrix sections, the "Show on user
registration" option can be disabled to hide the "Link xxx" button on
the registration form. This is useful is you're only using these
registrations for admin purposes.
2021-11-17 16:49:26 +00:00
Harvey Tindall
e7ca335d83
invites: allow notification by discord/telegram/matrix
...
also added migration as this required changing the indexing of notify
preferences from email addresses to Jellyfin IDs.
2021-11-17 16:20:57 +00:00
Harvey Tindall
3730775018
site: put subheading and features on separate line
2021-11-15 15:18:48 +00:00
Harvey Tindall
4fcba32f74
apidocs: re-version, set up for hosted ui
...
swagger.json is uploaded after each build, and is hosted at
api.jfa-go.com.
2021-11-15 00:19:52 +00:00
Harvey Tindall
b39ad5c688
site: add features, dono button
2021-11-14 23:06:15 +00:00
Harvey Tindall
a41b382dba
merge translation
2021-11-14 14:58:28 +00:00
Harvey Tindall
9092f42834
remove vulnerable node deps, cleanup
2021-11-14 14:50:40 +00:00
Harvey Tindall
4da1c8c2b6
Ombi: Integrate with profiles, Retire user defaults
...
NOTE: If you previously used the Ombi integration, New ombi users
won't be created until you set this up.
Ombi settings can be added to a profile in Settings > User Profiles.
The "Modify settings" options will now apply to ombi if the selected
profile has ombi settings.
2021-11-13 18:53:53 +00:00
Harvey Tindall
c988239fa8
accounts: allow yes/no in search
2021-11-13 17:00:18 +00:00
Harvey Tindall
94e3c13b3e
Users: Add delay when modifying >100 users
...
Hopefully avoids Jellyfin crashing. For #160
2021-11-10 20:45:39 +00:00
Harvey Tindall
36f3860c4c
SMTP: Always use plaintext as main body
...
Adding the HTML as the alternative body caused the plaintext email to
always appear. Should fix #164 .
2021-11-10 20:12:31 +00:00
Harvey Tindall
f78fa28822
announcements: fix preview window
2021-11-10 20:04:04 +00:00
Harvey Tindall
f3e1606440
add sponsors to readme
2021-11-10 19:26:39 +00:00
Harvey Tindall
0bf8cd65cd
add option to set new expiry for when re-enabling users
...
for this reddit comment: https://www.reddit.com/r/jellyfin/comments/nc6tsi/tip_jfago_is_awesome/hgh0yet/?context=3
2021-10-18 20:39:23 +01:00
Harvey Tindall
4d27f7fc7a
user mediabrowser 0.3.6
2021-10-13 15:22:06 +01:00
Harvey Tindall
a4f59203b0
pwr: fix Send PWR when not using "Set password"
2021-10-13 15:19:52 +01:00
Harvey Tindall
eeb9b07bce
admin: add manual "Send Password reset" to accounts tab
...
Only appears with Reset links enabled.
Pressing this sends a PWR link to the users selected.
if one user is selected, or if one of you selected users doesn't have a
method of contact, a link is given to the admin to send to them
manually.
2021-10-13 15:04:22 +01:00
Harvey Tindall
77799b2917
smtp: only construct email once
...
also switch layout in email file to group each driver and its methods
together.
2021-10-07 16:19:06 +01:00
Harvey Tindall
5ff3839239
merge lang
2021-10-07 12:03:15 +01:00
Harvey Tindall
d560df5b1e
switch smtp library, add, HELLO hostname option
...
now using xhit/go-simple-mail, as I wanted to add an option to change
the hostname sent in the HELLO message but this is only possible with
STARTTLS in jordan-wright/email. New option can be seen in Settings >
SMTP with advanced settings turned on.
2021-10-07 12:01:42 +01:00
Harvey Tindall
0fe72b41bf
lowercase lang
2021-10-03 16:45:51 +01:00
Harvey Tindall
a220ba8dfb
fix NewEmptyLogger
...
for #151 .
Dumb bug, I really need unit tests.
2021-10-03 15:59:58 +01:00
Harvey Tindall
b29c24a405
merge lang
2021-09-18 13:44:54 +01:00
Harvey Tindall
fbe3553b25
fix missing last log line
...
Sometimes calls to app.err.Fatalf would fail to print the error to the
console, and fail to show "A crash report has been saves to...". Both of
these should be fixed now.
2021-09-18 13:43:11 +01:00
Harvey Tindall
548dceda28
don't give smtp plainauth if no username & password
...
for #141 , just a guess
2021-08-26 21:03:02 +01:00
Harvey Tindall
e67b2e91fb
invite: auto-append /invite if missing to url_base
2021-08-26 18:53:22 +01:00
Harvey Tindall
412fe31da6
invite: fix email confirmation jwt
...
same issue as with auth.go, expiry was a string causing the library to
see it as expired.
2021-08-26 18:39:50 +01:00
Harvey Tindall
1bfec54c93
print error and include in txt log on crash; fix email migration
2021-08-25 18:10:06 +01:00
Harvey Tindall
5b319d6612
auth: int for refresh token as well
2021-08-22 15:00:20 +01:00
Harvey Tindall
626d623841
auth: don't store jwt expiry as string
...
caused the jwt library to class all tokens as invalid, now stored as
int64 and converted into a float64 by the library.
2021-08-22 14:13:44 +01:00
Harvey Tindall
08343298fb
lowercase lang
2021-08-22 14:13:30 +01:00
Harvey Tindall
7a343bbc08
merge lang
2021-08-22 13:54:44 +01:00
Harvey Tindall
2be34ed063
quote jellyfin URL for censoring in logs
2021-08-22 13:54:39 +01:00
Harvey Tindall
756e7345cf
tray: remove systray dep in non-tray builds
2021-08-18 17:25:16 +01:00
Harvey Tindall
eb3489b34f
tray: fix crashlogs, restart from web
2021-08-16 23:01:08 +01:00
Harvey Tindall
9693ce3dcd
settings: add redundant URL base for pwr
...
having it under "Invite Emails" when they weren't in use was confusing.
If only one is set in the config file, it'll be used for both.
2021-07-27 16:53:16 +01:00
Harvey Tindall
6e88c1f4fc
setup: MkdirAll config dir if necessary
...
some have had this issue in the past on new systems/users where ~/.config
doesn't exist yet.
2021-07-27 10:54:52 +01:00
Harvey Tindall
67c60cb677
fix 'jfa-go systemd' layout
...
lines were printing out-of-order for some reason, so i added time.Sleep
between them.
2021-07-27 10:47:07 +01:00
Harvey Tindall
1a6b0d2b6e
upgrade vulnerable deps
...
upgrade gin and switch dgrijalva/jwt-go to golang-jwt/jwt.
2021-07-27 10:08:01 +01:00
Harvey Tindall
5aaab7904f
update contributing
...
also now hosted on wiki.jfa-go.com.
2021-07-25 01:13:57 +01:00
Harvey Tindall
9885c25a2e
email: cleanup; allow re-enabling of custom email without changes
2021-07-24 19:49:08 +01:00
Harvey Tindall
27ad7a4cf7
setup: add descriptive "test connection" messages; disable next button
...
for #129 .
2021-07-24 14:15:10 +01:00
Harvey Tindall
6551eeb938
setup: also respect -host
2021-07-21 17:24:06 +01:00
Harvey Tindall
36c23c1e4f
setup: respect -p/-port
...
fixes #128 .
2021-07-21 17:17:59 +01:00
Harvey Tindall
6b4d4da455
accounts: show cog when user known for disabled chatbot
2021-07-20 15:45:00 +01:00
Harvey Tindall
aa2891fc87
matrix: fix instant crash with e2ee
...
also some more attempts at fixing it, so far all i've found is that if
we don't delete the cryptoStore, the matrix client also gets the same
error we do if it send s a message to us (no session with given ID
found).
2021-07-20 15:34:39 +01:00
Harvey Tindall
db526fc611
exit: improve line number, include stack
2021-07-20 14:57:48 +01:00
Harvey Tindall
a869acd5dc
exit: include file/line with error
2021-07-20 14:39:20 +01:00
Harvey Tindall
f763cfb53a
announcements: fix [] on {{ .username }}
2021-07-16 20:57:11 +01:00
Harvey Tindall
25a8d3807e
announcements: {{ .username }}
2021-07-16 19:46:05 +01:00
Harvey Tindall
b10b558358
announcements: add {username}
...
also works in the subject.
2021-07-16 19:39:06 +01:00
Harvey Tindall
f04411e137
matrix: remove crypto dep in main file
2021-07-16 17:11:17 +01:00
Harvey Tindall
1336a87ae2
drone: use custom container for pr builds
2021-07-16 16:50:31 +01:00
Harvey Tindall
872c366384
go mod tidy
2021-07-16 15:51:27 +01:00
Harvey Tindall
762d5325fb
matrix: E2EE as build option
...
since this is so broken and requires CGO deps, E2EE support is now only
included with "make E2EE=on ...". The option to enable will then appear
in settings.
2021-07-16 15:44:14 +01:00
Harvey Tindall
7f37633423
fix external fs
2021-07-16 15:39:22 +01:00
Harvey Tindall
8ec4031ba3
matrix: refactor crypto sections
2021-07-16 14:33:51 +01:00
Harvey Tindall
4c10996c09
matrix: ugly hack to fix encryption after restarts
...
with a persistent crypto.Store, element reports "** Unable to decrypt:
The secure channel with the sender was corrupted. **", and others
clients just fail. Deleting it before reinitialising the OlmMachine
stops this, although the first message to a user takes a while as i
guess it has re-establish a session (idk, this is above me).
2021-07-14 17:55:26 +01:00
Harvey Tindall
4d3acb2c4c
settings: include custom email template setting
2021-07-14 16:48:50 +01:00
Harvey Tindall
833d02b032
matrix: end-to-end encryption by default
...
Existing chats will remain unencrypted but new ones will be.
2021-07-13 19:02:16 +01:00
Harvey Tindall
30198fab87
matrix: switch to mautrix-go
...
hopefully this can be used to support end-to-end encryption.
2021-07-13 14:53:33 +01:00
Harvey Tindall
3e55cd1e31
accounts: add templates for announcements
...
you can now save announcements as templates, and then use them later by
hovering over the "Announce" button, as well as delete them.
2021-07-10 16:43:27 +01:00
Harvey Tindall
35f0fead53
site: add explanation of release channels
2021-07-09 16:09:23 +01:00
Harvey Tindall
a95d8bff29
site: add syntax highlighting for code
2021-06-30 18:25:51 +01:00
Harvey Tindall
48332a4ffa
lowercase lang
2021-06-30 18:10:04 +01:00
Harvey Tindall
2266bbc320
merge translations
2021-06-30 18:06:45 +01:00
Harvey Tindall
b682685a3b
update weblate link
2021-06-30 18:06:31 +01:00
Harvey Tindall
40ec5b9933
site: update vulnerable build deps
2021-06-30 14:28:20 +01:00
Harvey Tindall
fbb9f20026
site: fix docker; modal with 'make all'
2021-06-30 01:17:08 +01:00
Harvey Tindall
d5a33cf242
site: fix uncss in make all
2021-06-30 00:48:37 +01:00
Harvey Tindall
c35fdc2cbe
site: remove reference to 404 & favicon
2021-06-30 00:38:44 +01:00
Harvey Tindall
84d5bc8f67
site: fix dev dependency
2021-06-30 00:37:31 +01:00
Harvey Tindall
b8d9d22545
add landing page for jfa-go.com; move wiki
...
located in `site/`. Wiki now @ wiki.jfa-go.com.
2021-06-30 00:32:03 +01:00
Harvey Tindall
788afa1025
config: automatically add http://
...
for #124 , apparently the stdlib needs it.
2021-06-27 01:10:08 +01:00
Harvey Tindall
6ca3ab899c
bump mb to 0.3.5
2021-06-26 15:23:39 +01:00
Harvey Tindall
d4096d0062
pwr: trim suffix, not prefix for links
2021-06-24 14:24:08 +01:00
Harvey Tindall
306ede47d6
log: move accidental log message
2021-06-24 02:22:44 +01:00
Harvey Tindall
fc0e86ffd8
change wiki mentions to new location
...
now at jfa-go.com.
2021-06-23 22:31:11 +01:00
Harvey Tindall
729fc7baf7
Setup: add messages, set password via link
...
Also changed some section names to use "messages" instead of "emails".
Since I haven't added Discord/Telegram/Matrix bot setup, I mentioned you
can do these later and linked to the setup guides. Sections related to
email mostly now depend on [messages]/enabled now too. Set password via
link has been added to password resets.
2021-06-23 15:44:48 +01:00
Harvey Tindall
2d83e9ff7e
add inline to Dockerfile
2021-06-20 20:01:04 +01:00
Harvey Tindall
9950c158a1
move copy button to right, don't uncss when DEBUG=on
...
keep unused css when DEBUG=on by skipping the uncss step.
2021-06-13 16:31:40 +01:00
Harvey Tindall
21125033ff
Add copy button to crash page
2021-06-13 15:36:36 +01:00
Harvey Tindall
1dc0b2234a
switch to normal npm mirror in package-lock
...
was using cnpm as i'd added it to help a user who was having problems
(ended up being internet-related, not blocking).
2021-06-11 23:46:01 +01:00
Harvey Tindall
0ea5c7fdc0
remove inline-css-cli build dep
...
unnecessary (inline-source-cli already includes its functionality) and a
dependency of it had a high-severity CVE (wouldn't have affected anyone,
but w/e).
2021-06-11 23:39:38 +01:00
Harvey Tindall
b538922c05
Show log on log.Fatal calls, provide "sanitized" version, fix goreleaser
...
Sanitization means change anything in double quotes to "CENSORED". A
notice is included telling the user to check for themselves as well.
2021-06-11 23:28:21 +01:00
Harvey Tindall
f0f4e8118e
Generate crash report txt and webpage
...
The last 100 lines of logs are now cached, and when a crash occurs, they
are saved to a file in the temp directory ("/tmp" on *nix), and pretty
HTML version is also created and opened in the browser.
* Currently only handles panics, will be included in more places soon
* Copy button and button to generate a GH issue will be added
2021-06-11 21:56:53 +01:00
Harvey Tindall
2f501697db
merge translations
2021-06-07 13:58:53 +01:00
Harvey Tindall
0a71d5b216
PWR: Add option to set new password from magic link
...
For #103 . Enable in Settings > Password Resets. Also changes the user's
ombi password.
2021-06-07 13:49:05 +01:00
Harvey Tindall
0014db44f0
form: module-ize password validator
2021-06-05 22:17:10 +01:00
Harvey Tindall
885d2ebf0f
admin: fix telegram/discord/matrix enabled varnames
2021-06-05 22:16:57 +01:00
Harvey Tindall
e49996c401
Setup: Don't break if setup not completed, fix restart
...
Since an invalid example config was created on first run, if the app restarted
before setup was completed, it would crash on the next start. The
example now has a "first_run" flag in it, which is only set to false
when the config is modified. Also fixed restart at the end of setup for
tray builds.
2021-06-01 19:54:13 +01:00
Harvey Tindall
71df011556
merge translations
2021-06-01 16:13:28 +01:00
Harvey Tindall
19715f25f6
Move all migrations to separate file
...
Also fixed some inconsistent uses of snake case.
2021-06-01 14:18:49 +01:00
Harvey Tindall
d41a281d53
mention tray icon in issue template
2021-06-01 00:54:22 +01:00
Harvey Tindall
a8229631bd
mention matrix in readme
2021-06-01 00:06:35 +01:00
Harvey Tindall
0a2cf6132f
merge matrix into local changes
2021-05-31 22:13:52 +01:00
Harvey Tindall
d7ab01063a
apt: Use commit count to fix version comparisons
...
previous fix only worked because the numerical portion of the commit
hash happened to be greater. This should do properly fix it.
2021-05-31 22:11:43 +01:00
Harvey Tindall
a9b11012bc
Matrix: Add example images
2021-05-31 20:56:29 +01:00
Harvey Tindall
e7cb1f516b
Mention wiki in Telegram/Discord/Matrix settings descriptions
2021-05-31 20:32:16 +01:00
Harvey Tindall
555d5abf59
bump browserslist version
2021-05-31 18:53:21 +01:00