1
0
Fork 0
mirror of https://github.com/mautrix/discord.git synced 2026-07-07 23:03:18 -04:00
Commit graph

263 commits

Author SHA1 Message Date
Skip R
fba984b489 auth: fix static checks 2026-07-07 17:25:52 -07:00
Skip R
02982000be auth/machine: don't expose POST helper 2026-07-07 17:12:35 -07:00
Skip R
3921bb1f1b auth/machine: add captcha tests 2026-07-07 17:12:35 -07:00
Skip R
892aede394 auth/machine: turn into a resumable state machine 2026-07-07 17:12:35 -07:00
Skip R
0d779c477c provisioning: log errors if we fail to sync guild 2026-07-02 13:31:35 -07:00
Skip R
bca69922ba handlediscord: bridge incrementally created guild channels 2026-07-02 13:05:34 -07:00
Skip R
3762fb09f6 doc: elucidate utility of ensurePortal 2026-07-02 13:03:23 -07:00
Skip R
1d50d4b16d client: examine guild bridgedness when reporting channel bridgeability 2026-07-02 13:03:17 -07:00
Skip R
025d24eb6c client: refactor shouldBridgeChannel logic into method 2026-07-02 10:58:59 -07:00
Skip R
5f13d00432 handlediscord,msgconv: handle attachment editing properly
Finally begin assigning stable part IDs when creating message parts.
2026-07-02 05:52:35 -07:00
Skip R
012b9293e5 connector: resync all existing private portals upon connect 2026-07-02 05:18:56 -07:00
Skip R
a4faa82ac6 provisioning: read-lock discordgo state while reading 2026-06-19 21:34:57 -07:00
Skip R
97ae7f687f client: wipe guild settings when receiving a full snapshot
Note: introducing this tentatively, not due to observed behavior.
2026-06-19 21:34:57 -07:00
Skip R
ce30aaa726 client: wipe read states when receiving a full snapshot
Note: introducing this tentatively, not due to observed behavior.
2026-06-19 21:34:57 -07:00
Skip R
e928815109 handlediscord: unify post-READY state handling path
Consistently update in-memory state after connecting.
2026-06-19 21:34:57 -07:00
Skip R
55ef8e6adf client: delete spaces corresponding to guilds the user has left 2026-06-19 20:57:51 -07:00
Skip R
b820bdc214 handlediscord: poke portal backfill when reconnecting
Previously, this would only happen once in the entire process lifetime
of the bridge.
2026-06-19 20:54:37 -07:00
Skip R
184ce82bbe handlediscord: update user cache synchronously
Do not rely on goroutine scheduling.
2026-06-19 20:50:36 -07:00
Skip R
5eb78e86e4 client: RLock the state while we clone private channel data 2026-06-19 20:47:33 -07:00
Skip R
b05860dccb disable per-message-profile hack by default 2026-06-18 22:08:38 -07:00
Skip R
3ef21aabaf msgconv: enforce filename extensions on outgoing voice messages 2026-06-17 23:10:43 -07:00
Gerardo Rodriguez
e8a6e93ce0
msgconv: correctly send OriginalContentType on outgoing attachments (#232)
Co-authored-by: Skip R <tinyslices@gmail.com>
2026-06-16 19:44:58 -07:00
Skip R
41ae5735b9 handlediscord: resync ghosts on READY 2026-06-16 19:07:19 -07:00
Skip R
5457c76a4a handlediscord: update ghost info in response to PRESENCE_UPDATE 2026-06-16 18:27:30 -07:00
Skip R
9ddec5ed24 capabilities: enable aggressive ghost info updates 2026-06-16 18:21:49 -07:00
Skip R
e1adfc5179 auth/machine: implement login location verification 2026-06-16 16:52:37 -07:00
Skip R
c7abb32c2f proxy: add settings to conditionalize proxying for login flows 2026-06-15 10:02:54 -07:00
Skip R
99d88e9cbf transport/tls: drop ALPS when only offering http/1.1
Modern Chrome seems to do this. Observed in testing.
2026-06-12 12:18:58 -07:00
Skip R
3bcefc06e8 connector: always TLS cloak, even without a proxy configured 2026-06-12 11:59:36 -07:00
Skip R
ffe5bc86af migrate to coder WebSocket and apply TLS cloak to gateway 2026-06-12 11:44:30 -07:00
Skip R
f9f8355027 pre-commit 2026-06-12 05:06:09 -07:00
Skip R
2b487d3025 transport: apply TLS impersonation more broadly
* all API REST requests, remoteauth (QR), and auth machine now
  impersonate properly
* gateway dial is still left
2026-06-12 05:03:51 -07:00
Skip R.
185a12a48e
[bridgev2] first pass at proxy support (#228) 2026-06-12 03:05:01 -07:00
Skip R
72a384db3d auth: remove redirection hack 2026-06-10 23:10:05 -07:00
Skip R
cac3a11000 auth: retry on bad MFA creds 2026-06-10 22:25:54 -07:00
Skip R
c12aaa46d3 auth/machine: don't clobber fingerprint when retrying 2026-06-10 22:24:08 -07:00
Skip R
89fc26d839 login: tweak default headers 2026-06-02 18:12:33 -07:00
Skip R
62091bfc2a auth: impersonate chrome 2026-06-02 18:12:20 -07:00
Skip R
91ecfd4d8f login: trim TOTP code input 2026-06-02 18:10:58 -07:00
Skip R
1595e76434 discordauth: send installation id 2026-06-02 17:00:28 -07:00
Skip R
5f1cbbce5f handlematrix: backport stranger dm prevention from v1 2026-05-13 03:13:02 -07:00
Skip R
4fc08f5fc9 move comment 2026-05-13 01:54:52 -07:00
Skip R
e456929f66 handlediscord: log READY statistics 2026-05-13 01:36:32 -07:00
Skip R
37156a3ba2 connector: log amount of dms synced 2026-05-13 01:36:32 -07:00
Skip R
d1996fbf44 handlediscord: log when we drop messages from unbridged channels
This should make debugging issues in production easier.
2026-05-13 01:36:32 -07:00
Skip R
3fb27b7ed5 handlediscord: always log when receiving supplemental READY 2026-04-28 20:47:21 -07:00
Skip R
44360fedf0 handlediscord: log when lazy_private_channels present 2026-04-28 20:44:09 -07:00
Skip R
d01d6f9edd handlediscord: let DMs create portals 2026-04-28 20:12:19 -07:00
Skip R
ba3df6fec2 login/token: relax token regex 2026-04-28 20:09:50 -07:00
Skip R
6ab8144feb deps: bump discordgo 2026-04-21 19:35:25 -07:00