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

209 commits

Author SHA1 Message Date
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
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
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
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
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
Skip R
6ea9ef2013 handlediscord: track event handler panics 2026-04-20 20:48:44 -07:00
Skip R
80a46e1fa7 connector: stop using RecipientIDs
This field is undocumented and the gateway doesn't always send it with
good data.
2026-04-20 20:36:09 -07:00
Skip R
ed7fd2b380 login: initial captcha support 2026-04-14 22:53:10 -07:00
Skip R
f179e50b47 login: strip whitespace from sms code 2026-04-14 20:24:16 -07:00
Skip R
c7d16fb9ca login: implement backup code usage 2026-04-14 20:24:03 -07:00
Skip R
5d3715341d auth: sketch first pass at bridgev2 login
still no captcha/backup code, etc.
2026-04-14 00:32:41 -07:00
Skip R
ae2321805c provisioning: backport v1 api 2026-04-12 23:13:19 -07:00
Skip R
ecd1fabd37 handlediscord: actually bridge MESSAGE_ACKs from gateway 2026-04-09 00:04:16 -07:00