1
0
Fork 0
mirror of https://github.com/mautrix/discord.git synced 2026-07-09 15:39:02 -04:00
Commit graph

871 commits

Author SHA1 Message Date
Skip R
6faac571bb connector: consider news channels to be bridgeable 2026-07-08 09:11:21 -07:00
Skip R
51adda3a87 chatinfo: add readable string case for news channels 2026-07-08 09:11:10 -07:00
Skip R
1ca066c15b auth/error: split field summary logic into method 2026-07-07 20:54:36 -07:00
Skip R
a8ecf2e4b7 connector/login: make errors visible to the user 2026-07-07 20:54:04 -07:00
Skip R
7061d2109f auth/error: add ACCOUNT_COMPROMISED_RESET_PASSWORD error code 2026-07-07 20:43:04 -07:00
Skip R
2541cc2f56 auth/error: add AnyFieldHasError utility 2026-07-07 20:42:43 -07:00
Skip R
aab23b50bf auth/error: check all field errors for the code 2026-07-07 20:25:46 -07:00
Skip R
ab65bb659a auth/machine: test IP verification via SMS 2026-07-07 20:16:58 -07:00
Skip R
c88b84dc84 auth/machine: handle expired IP verification tokens 2026-07-07 20:16:58 -07:00
Skip R
a9fab25784 auth/error: consider InvalidVerificationCode to be a user input error 2026-07-07 20:16:58 -07:00
Skip R
b5dad96026 auth/error: add more codes 2026-07-07 20:16:58 -07:00
Skip R
e491ff6e0c connector/login: wire up phone verification 2026-07-07 20:16:58 -07:00
Skip R
740ca9e29d auth/machine: support IP verification via code sent to phone via SMS 2026-07-07 20:16:58 -07:00
Skip R
f2565dda83 auth: widen criteria for user input error detection
This is to make detection of user input errors more reliable, especially
with phone verification support coming up soon.
2026-07-07 19:50:16 -07:00
Skip R
869e9f2519 auth/machine: support one level of re-entrancy & sequencing more ops 2026-07-07 18:58:18 -07:00
Skip R
3f7fd707df auth: remove unused imports 2026-07-07 18:55:09 -07:00
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
064d71c688 deps: bump discordgo 2026-06-19 20:46:55 -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