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
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
Skip R
654e3fd898 auth: remove channel 2026-03-26 20:19:24 -07:00
Skip R
82b1645e00 auth: add initial sketch 2026-03-26 20:18:16 -07:00
Skip R
c88ffbc9ba directmedia: reimplement in-memory URL cache 2026-03-23 21:58:05 -07:00
Skip R
dd2c2ec0c9 directmedia: sketch implementation 2026-03-20 02:39:40 -07:00
Skip R
744ba4190b msgconv/from-discord: improve look of backfilled user joins 2026-03-18 23:59:25 -07:00
Skip R
8270a9462d handlediscord: bridge live user joins as membership events 2026-03-18 23:58:50 -07:00
Skip R
134c5ed446 capabilities: more explicitly advertise support for all file types 2026-03-18 23:54:55 -07:00
Skip R
b71744a287 chatinfo: support configurable channel name template 2026-03-18 22:43:25 -07:00
Skip R
672f4b8c23 handlediscord: make sure all parent spaces exist before their children
Using `QueueRemoteEvent` to blindly fire off the resyncing of spaces as
well as their child rooms effectively races, resulting in the child
rooms lacking a `network` in their `m.bridge` state.

To fix this, synchronously ensure that the spaces exist before bridging
their children.

This patch also makes it so that empty categories (categories that are
literally empty as well as categories exclusively consisting of channels
that can't be viewed by the user) are no longer bridged.
2026-03-18 22:38:06 -07:00
Skip R
c1b90ef84e downgrade log level of "Computed visibility of guild channel" logs
These are really noisy.
2026-03-18 22:19:50 -07:00