dependabot[bot]
34f5455ba5
build(deps): bump glob from 10.4.5 to 10.5.0 in /site
...
Bumps [glob](https://github.com/isaacs/node-glob ) from 10.4.5 to 10.5.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0 )
---
updated-dependencies:
- dependency-name: glob
dependency-version: 10.5.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-19 17:42:14 +00:00
Harvey Tindall
60ccc51232
settings: deprecate most custom file path settings
2025-10-21 17:32:05 +01:00
Harvey Tindall
1780aa567f
Merge branch 'main' of github.com:hrfee/jfa-go
2025-10-21 17:15:52 +01:00
Harvey Tindall
6a8b21c5f2
mention 10.11.0 compatibility
...
seems to work, someone opened an issue but closed it right after also.
Release notes don't say anything alarming either.
2025-10-21 17:15:00 +01:00
Harvey Tindall
fc4cd4cd27
Merge pull request #432 from mxkyb/fix-template-key
...
Adjust Template Key
2025-09-25 19:56:34 +01:00
Max Kieltyka
465ed9f84f
adjust template key
2025-09-25 20:28:02 +02:00
Harvey Tindall
d88194b9bd
accounts: invalidate user cache in more/all places
...
using app.userSummary as a source of relevant storage places and things
to look for.
2025-09-01 21:28:56 +01:00
Harvey Tindall
6ebc7d18bf
accounts: fix bool queries on (some) string fields
...
wasn't implemented for things like email on the server side.
also changed text mail variant's footers to all use {{ .footer }} like I
should have before.
2025-09-01 20:44:19 +01:00
Harvey Tindall
0fe574fbd9
discord: clarify "Invite channel" setting
...
mention it's the name you put there, not the ID.
2025-09-01 19:18:48 +01:00
Harvey Tindall
c7ba9944f0
images: change banner font
...
use plus jakarta sans, the font used on the newer Jellyfin logo for the
banner and social images.
2025-09-01 18:30:16 +01:00
Harvey Tindall
8781e48601
email: change font, template common parts
...
Using the newer Jellyfin logo font for the header and hanken grotesk for the body.
Tried to redo emails with maizzle because using tailwind sounded nice, but getting it
to look like a17t would be more trouble than it's worth, since you can't
use CSS vars in emails and a17t uses them heavily. Instead, cleaned up
the mj-header a little and stored it in a separate file, and also the
header & footer, and changed the template vars with {{ .header }} and
{{ .footer }} for all emails. Values are determined by
CustomContentInfo.Header/FooterText funcs. nil values are replaced at
program start by _runtimeValidator.
also, i beg of you don't try to do light/dark mode with mjml, you'll
want to die.
2025-09-01 15:31:28 +01:00
Harvey Tindall
eb941794a8
ci: run tests
...
added precompile and test "steps".
2025-08-31 18:10:51 +01:00
Harvey Tindall
0783749e6e
matrix: add log for matrix crypto store init
...
deleting the crypto DB resulted in InitMatrixCrypto taking ages, added a
Initing/Inited log pair around the function so it's obvious this is the
culprit if any one else faces the same thing.
2025-08-31 17:59:49 +01:00
Harvey Tindall
87c0f54a8d
email_test: allow running with INTERNAL=on
2025-08-31 17:46:37 +01:00
Harvey Tindall
febbe27a0d
emails: fix conditionals not being cleared on editor load
2025-08-31 17:31:48 +01:00
Harvey Tindall
e67f1bf1a9
emails: fix and confirm function of all emails
...
both custom and standard emails tested, quite a few fixes made,
including to an old bug with admin notifs.
2025-08-31 17:12:50 +01:00
Harvey Tindall
60dbfa2d1e
messages: custom content described in customcontent.go, message tests
...
customcontent.go constains a structure with all the custom content,
methods for getting display names, subjects, etc., and a list of
variables, conditionals, and placeholder values. Tests for constructX
methods included in email_test.go, and all jfa-go tests can be run with
make INTERNAL=off test.
2025-08-30 14:21:26 +01:00
Harvey Tindall
0b43ad4ed5
template: passed var and conditional names don't include braces
...
pass []string{"username"}, rather than []string{"{username}"}. Tests
have been updated.
2025-08-23 14:59:04 +01:00
Harvey Tindall
94efe9f746
expiry: add "remind N days before"
...
new setting to send an email/message N days before a user is due to
expire. Multiple can be set.
2025-08-04 20:44:29 +01:00
Harvey Tindall
5fe0e0ab9f
timer: add scheduler/timer with day precision
...
timer.go has a timer struct for scheduling things to happen once every n
days before or after a given time. Pass a string list of day deltas to
parse, a unit to parse these as (only 24/-24 hours really make sense),
then call Check() on the returned struct with your "since" time, and the
time a timer was last fired. If one goes off, store the time so you can
pass it in subsequent calls. To be used in the user daemon for "remind
every N days" functionality. Was initially gonna allow more precision
than days, but ran into problems, most likely from me overcomplicating
it and not wanting to store too much data. some tests also in
timer_test.go.
2025-08-04 16:08:15 +01:00
Harvey Tindall
db1e812190
discord: retry auth/command register, do latter in bulk
...
re-use the auth retry options from the config for initial d.bot.Open and
for registering commands. The latetr is now done with the BulkOverwrite
method, since it seems to work now. For #427 .
2025-08-03 20:05:22 +01:00
Harvey Tindall
aab8d6ed77
template: report errors/warnings
...
error field is now logged at all points of use.
2025-08-03 18:39:47 +01:00
Harvey Tindall
5d49a56d94
template: add tests, fix up easy holes
...
should cope with double-braced blocks now (treating them the same as
single-braced. templateEmail now returns an error, which should not be
seen as catastrophic, but reports likely mistakes.
2025-08-03 17:36:33 +01:00
Harvey Tindall
492d5715fe
ts: fix setTimeout return type for new tsc
2025-07-20 13:53:48 +01:00
Harvey Tindall
0595224daa
meta: update esbuild
2025-07-20 13:50:53 +01:00
Harvey Tindall
58098a45af
meta: update deps
...
npm and easyproxy's go deps
2025-07-20 13:48:37 +01:00
Harvey Tindall
a0bafadc39
site: modernise makefile
...
it's a proper one now.
2025-07-20 13:20:42 +01:00
Harvey Tindall
2190f482d1
user-d: dont bother attempting users w no contact
2025-07-20 12:41:27 +01:00
Harvey Tindall
024b692b8c
Merge branch 'main' of github.com:hrfee/jfa-go
2025-07-20 12:38:55 +01:00
Harvey Tindall
6a5e97b788
user-d: patch holes in expiry mechanism
...
I hope so, at least. Saw a few areas where I wasn't sure something
couldn't break so I did some maybe redundant checks. For #419 .
2025-07-20 12:37:26 +01:00
Anonymous
b8a1e416d4
Translated using Weblate (English (United Kingdom))
...
Currently translated at 78.6% (107 of 136 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/en_GB/
2025-07-19 21:20:20 +02:00
Anonymous
3ea8f272f7
Translated using Weblate (Swedish)
...
Currently translated at 66.9% (91 of 136 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/sv/
2025-07-19 21:20:20 +02:00
Anonymous
7c3f84ba9c
Translated using Weblate (Greek)
...
Currently translated at 63.9% (87 of 136 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/el/
2025-07-19 21:20:20 +02:00
RebootGod
0094ce7d57
translation from Weblate (Indonesian)
...
Currently translated at 97.0% (66 of 68 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/id/
2025-07-19 21:19:47 +02:00
RebootGod
c2b08a326d
Translated using Weblate (Indonesian)
...
Currently translated at 66.4% (83 of 125 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/id/
2025-07-19 21:19:47 +02:00
RebootGod
ba183660a9
translation from Weblate (Indonesian)
...
Currently translated at 39.7% (109 of 274 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/id/
2025-07-19 21:19:47 +02:00
RebootGod
423d8f5063
Translated using Weblate (Indonesian)
...
Currently translated at 98.0% (50 of 51 strings)
Translation: jfa-go/Common Strings
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/common-strings/id/
2025-07-19 21:19:47 +02:00
RebootGod
3c38a0edbf
Translated using Weblate (Indonesian)
...
Currently translated at 96.4% (54 of 56 strings)
Translation: jfa-go/Emails
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/emails/id/
2025-07-19 21:19:47 +02:00
danieledu007
4df313fa43
translation from Weblate (Spanish)
...
Currently translated at 67.8% (186 of 274 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/es/
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
35f1c06d34
translation from Weblate (Thai)
...
Currently translated at 27.3% (75 of 274 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/th/
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
12e745691e
Translated using Weblate (Thai)
...
Currently translated at 100.0% (125 of 125 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/th/
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
25ed44a5f3
Translated using Weblate (Thai)
...
Currently translated at 100.0% (56 of 56 strings)
Translation: jfa-go/Emails
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/emails/th/
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
4ea695d81e
Translated using Weblate (Thai)
...
Currently translated at 100.0% (12 of 12 strings)
Translation: jfa-go/Telegram/Matrix/Discord bots
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/chat-bots/th/
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
dd91a5cb86
Translated using Weblate (Thai)
...
Currently translated at 100.0% (10 of 10 strings)
Translation: jfa-go/Password Reset Links
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/password-reset-links/th/
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
9998aff69a
Translated using Weblate (Thai)
...
Currently translated at 100.0% (51 of 51 strings)
Translation: jfa-go/Common Strings
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/common-strings/th/
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
5ebcb9d51c
translation from Weblate (Thai)
...
Currently translated at 100.0% (68 of 68 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/th/
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
c60f93dfe8
add translation from Weblate (Thai)
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
95e77b2e21
Added translation using Weblate (Thai)
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
5a335a1465
Added translation using Weblate (Thai)
2025-07-19 21:19:47 +02:00
Cartoon Kritthapath Yaviraj
4e7256fb6c
Added translation using Weblate (Thai)
2025-07-19 21:19:47 +02:00