1
0
Fork 0
mirror of https://github.com/mautrix/discord.git synced 2026-05-14 21:26:54 -04:00
Commit graph

223 commits

Author SHA1 Message Date
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
da6a633470 msgconv/from-discord: inline PerMessageProfileForSender usage
This is removed from mautrix 0.27.0.
2026-04-21 15:08:43 -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
7ee769714e auth/error: present form errors in String() 2026-04-14 22:38:55 -07:00
Skip R
81a99e9dda auth/error: define INVALID_LOGIN code 2026-04-14 22:33:02 -07:00
Skip R
85072b04bf remove stale fixme comments 2026-04-14 20:31:45 -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
d6d91c415c auth: document how backup codes are presented 2026-04-14 20:23:46 -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
Skip R
d58edf7b65 handlediscord: respect friend nicknames 2026-04-08 23:53:31 -07:00
Skip R
bef6e4b9e8 auth: add sequence diagram 2026-04-07 21:29:29 -07:00
Skip R
032ac4440b auth: support inspection of form field errors 2026-04-07 20:14:53 -07:00
Skip R
0c28feadea auth: add POST request helper 2026-04-06 23:33:15 -07:00
Skip R
af4cf49217 make method receiver names more consistent 2026-04-06 20:45:01 -07:00
Skip R
d138c12bbd connector: handle live relationship updates
discordgo should really be doing this
2026-03-31 01:13:37 -07:00
Skip R
d20451cea8 analytics: make last send attempt relationship type readable 2026-03-31 01:12:48 -07:00
Skip R
e824270244 analytics: send on auth invalidated
also simplify the call sites a bit
2026-03-31 00:18:52 -07:00
Skip R
36d918670a analytics: send for outgoing DMs
as alluded to in the comment, discord's anti-spam measures seem to weigh
DMs heavily
2026-03-31 00:17:40 -07:00
Skip R
6ccb507298 analytics: send when account requires verification 2026-03-31 00:16:51 -07:00
Skip R
1d77d59fd5 analytics: send when getting CAPTCHA challenge from discord
to help us find out which endpoints like to serve challenges
2026-03-31 00:15:49 -07:00
Skip R
a62136eae2 auth/machine: handle err 2026-03-27 21:11:11 -07:00
Skip R
26546297bb auth: implement MFA for TOTP, SMS, and backup codes
* create ChallengeHandler interface that clients must implement
* support asking discord to send the user's phone an SMS code
2026-03-27 21:07:59 -07:00
Skip R
04fbf2870b auth: move X-Debug-Options to Personality 2026-03-26 22:21:36 -07:00
Skip R
356b66224e auth: move header constants to their respective files 2026-03-26 22:16:28 -07:00
Skip R
99b25c58f9 auth: add filter to log headers 2026-03-26 22:08:20 -07:00
Skip R
2df7bf7886 auth: comment 2026-03-26 22:08:05 -07:00
Skip R
9ac70fd1bd auth: simplify nil slice check 2026-03-26 21:17:15 -07:00
Skip R
754159ed81 auth: add some focused tests 2026-03-26 21:17:15 -07:00
Skip R
65478d4424 auth: set outgoing Content-Type 2026-03-26 21:17:15 -07:00
Skip R
bb787717ee auth: actually log fingerprint if filter permits it 2026-03-26 21:17:15 -07:00
Skip R
8a98bd2b25 auth: fix log message 2026-03-26 21:17:15 -07:00
Skip R
6f148b0bbf auth: actually send x-debug-options 2026-03-26 21:17:15 -07:00
Skip R
a58e88cf93 auth/personality: fix marshal infinite recursion 2026-03-26 21:17:14 -07:00
Skip R
a627d2d510 auth/sensitive: impl unmarshaler 2026-03-26 21:02:43 -07:00
Skip R
d8f3ed3e36 auth: return login response 2026-03-26 20:51:29 -07:00
Skip R
289f92660f auth: add API errors 2026-03-26 20:51:19 -07:00