Commit graph

1,054 commits

Author SHA1 Message Date
b17f55d2b5 confirm merge @ main 2026-10-20 15:08:31 +02:00
bdcdb4fb9a Make spoiler file URLs unpreviewable
Squashed commit of the following:

commit afd1aa56b587ddee82eb6f402f996c452400efdb
Author: Cadence Ember <cadence@disroot.org>
Date:   Wed Oct 21 01:40:34 2026 +1300

    Formatting

commit 11acba45e6
Author: Guzio <guzekk@protonmail.com>
Date:   Tue Oct 20 14:32:34 2026 +0200

    stronger tests

commit 45a105a304
Author: Guzio <guzekk@protonmail.com>
Date:   Tue Oct 20 14:32:23 2026 +0200

    some renames

commit cfafac2480
Author: Guzio <guzekk@protonmail.com>
Date:   Tue Oct 20 14:12:51 2026 +0200

    fix format

commit 74cf6a1d89
Author: Guzio <guzekk@protonmail.com>
Date:   Tue Oct 20 13:33:47 2026 +0200

    shit

commit 2849c7a051
Author: Guzio <guzekk@protonmail.com>
Date:   Tue Oct 20 13:31:03 2026 +0200

    yesn't

commit 15055b8ee0
Author: Guzio <guzekk@protonmail.com>
Date:   Tue Oct 20 13:22:18 2026 +0200

    Use less hacky way of setting the params

commit 5da1a090c6
Author: Guzio <guzekk@protonmail.com>
Date:   Tue Oct 20 12:35:03 2026 +0200

    rewrite in QP

commit 727b5a3e4f
Author: Guzio <guzekk@protonmail.com>
Date:   Mon Oct 19 15:33:54 2026 +0200

    update tests

commit 4350bff202
Author: Guzio <guzekk@protonmail.com>
Date:   Mon Oct 19 14:06:33 2026 +0200

    kill me

commit 966095c361
Author: Guzio <guzekk@protonmail.com>
Date:   Mon Oct 19 13:57:48 2026 +0200

    of course, I fucked up where the / goes...

commit 1a1173413b
Author: Guzio <guzekk@protonmail.com>
Date:   Mon Oct 19 13:43:39 2026 +0200

    spoiler fix
2026-10-21 01:43:00 +13:00
11acba45e6 stronger tests 2026-10-20 14:32:34 +02:00
45a105a304 some renames 2026-10-20 14:32:23 +02:00
cfafac2480 fix format 2026-10-20 14:12:51 +02:00
74cf6a1d89 shit 2026-10-20 13:33:47 +02:00
2849c7a051 yesn't 2026-10-20 13:31:03 +02:00
15055b8ee0 Use less hacky way of setting the params 2026-10-20 13:22:18 +02:00
5da1a090c6 rewrite in QP 2026-10-20 12:35:03 +02:00
3dd7830726 Tests to see when uncaught errors are emitted 2026-10-20 22:40:35 +13:00
be403698f9 Use time markup per MSC3160
Supported by Sable, don't know of any other supporting clients
Always includes full timestamp (rather than partial date/time) because
Sable doesn't render partials.
Has custom data-style extension if anyone cares

https://github.com/matrix-org/matrix-spec-proposals/pull/3160
2026-10-20 22:35:52 +13:00
1434cb567c Fix time display skipping size calculations 2026-10-20 22:25:20 +13:00
4ac4aecebf Reliability fixes 2026-10-20 17:33:59 +13:00
12d448d7fb Avoid media stream errors crashing process 2026-10-20 17:33:09 +13:00
727b5a3e4f update tests 2026-10-19 15:33:54 +02:00
4350bff202 kill me 2026-10-19 14:06:33 +02:00
966095c361 of course, I fucked up where the / goes... 2026-10-19 13:57:48 +02:00
1a1173413b spoiler fix 2026-10-19 13:43:39 +02:00
860506c037 Show displayname runoff once per message group 2026-10-19 23:05:56 +13:00
4d96963ecd Add test for PMP pronouns 2026-10-19 22:33:42 +13:00
Kryn Exa Skye
ce4b911b6f Show account and pronouns for PMP messages 2026-10-19 22:26:55 +13:00
b3d42e036c No URL preview for times 2026-10-19 22:25:21 +13:00
3cb1260671 Rename auth file to web-utils
I'm going to put more stuff in it.
2026-10-18 18:14:07 +13:00
866a496582 Support component URL previews 2026-10-14 16:13:45 +13:00
7902b91c38 Fix time formatting in different node versions 2026-10-13 23:46:04 +13:00
c196bef0ba Add tests for @room mention roles conversion 2026-10-13 23:33:14 +13:00
f39a7f4251 Check m.mentions before converting @room text 2026-10-13 23:32:43 +13:00
N0\A
f19f24314a Add customisable @room mention roles 2026-10-13 23:00:10 +13:00
08dea68e46 Support npm v12 2026-10-13 22:16:43 +13:00
a4f8f93ad9 Put "and" between duration units if there's only 2 2026-10-13 22:06:27 +13:00
9d7f8888a7 Fix scheduled event tests 2026-10-13 21:59:49 +13:00
a503277673 Use hyperlinked times for scheduled events 2026-10-08 02:54:46 +13:00
b49c6e8fd4 Add //time command for m->d scheduling 2026-10-08 02:19:26 +13:00
c25b5a19c6 Support Discord @time 2026-10-07 22:52:42 +13:00
302427037b Don't copy URL previews for GitHub 2026-10-04 22:24:13 +13:00
5794bee128 Support Discord game mentions 2026-10-04 22:19:35 +13:00
fab512a9ba Fix Klipy gifs when url previews disabled 2026-10-04 22:01:24 +13:00
77cc1e6eae Better solution for previous commit 2026-09-25 14:05:01 +12:00
59b5e05b33 Make m->d Klipy links not produce error 2026-09-24 13:18:52 +12:00
2959fd8ae3 Render pug blocks without a separate template 2026-09-15 23:42:06 +12:00
9058b60efe Update dependencies 2026-09-15 01:40:03 +12:00
2430d60809 v3.7 2026-09-14 16:22:00 +12:00
3d648e23c8 Check for homeserver liveliness more 2026-09-14 16:20:56 +12:00
021f02f981 d->m: Try too-large PNGs as JPEG for upload
Large PNGs were almost certainly originally JPEG photos that were
converted to PNG by the user copy-pasting.
If the PNG is just supposed to be that large, you can still get the
original through the external URL option.

Had to change _removeExpiryParams to be based on URL parsing instead of
regexp because regexp didn't work with &format=jpeg on the end.
2026-09-14 00:30:03 +12:00
c71120e463 Better Discord startup checking 2026-09-11 23:27:39 +12:00
965fcab646 m->d edits now wait for original message 2026-09-11 20:07:36 +12:00
cf95f7d915 Add AI policy 2026-09-11 12:57:46 +12:00
5e9f3cd532 Add retries back to PluralKit API 2026-09-11 12:51:29 +12:00
7faa8a3c9e Remove unwise nextTick delay 2026-09-11 12:47:15 +12:00
1bb22e315a Fix m->d m.mentions for webhooks 2026-09-08 23:53:07 +12:00