Nick Mills-Barrett
6501891a2b
login: wrap and propagate errors ( #242 )
2026-08-12 18:23:39 +01:00
Tulir Asokan
7727bdfcc5
dependencies: update mautrix-go
2026-07-20 15:18:11 +03:00
Skip R
4721fca436
doc: vitals
2026-07-16 16:39:01 -07:00
Skip R
b12444c197
errorcodes: fix comment
2026-07-16 16:38:55 -07:00
Skip R
295957290f
connector: don't explode if Session.User is nil after Open
2026-07-15 20:46:16 -07:00
Skip R
948b6d9321
connector/chatinfo,userinfo: permit when "logged out"
...
So we can create portals (for e.g. the official system user) if
necessary.
2026-07-15 20:27:09 -07:00
Skip R
e52c19533e
vitals: lock state reads
2026-07-15 20:21:54 -07:00
Skip R
5cda45c29f
connector/config: correct doc
2026-07-15 18:28:56 -07:00
Skip R
3de7b918ac
connector: defer full sync until we have good vitals
2026-07-15 18:28:32 -07:00
Skip R
17ce47e772
vitals: don't litter context sent to downstream work
2026-07-15 17:28:31 -07:00
Skip R
75a27726bd
handlediscord: transition bridge state ASAP upon urgent system message
...
Don't wait for the safety hub fetch to finish.
2026-07-15 16:37:53 -07:00
Skip R
317876a0b6
refine comments
2026-07-15 16:37:44 -07:00
Skip R
bf19aafe6f
handlediscord: spawn goroutine for updating safety hub/vitals
...
This code is in the synchronous update path, we need to avoid blocking
on HTTP requests here.
2026-07-15 16:29:03 -07:00
Skip R
0c61a6db4c
handlediscord: only set UserFlagHasUnreadUrgentMessages when urgent
...
Setting this flag incorrectly can wedge the entire bridge, especially if
the user doesn't actually have any unread urgent messages (so the
official client has nothing to clear...)
2026-07-15 16:04:14 -07:00
Skip R
8bcc39ec3b
bump to discordgo e194251224ed and correct all flag logic
2026-07-14 08:36:16 -07:00
Skip R
3f37f0cb58
connector/vitals: remove unnecessary cast
2026-07-14 08:25:11 -07:00
Skip R
c2cd95e7ba
lint
2026-07-13 23:43:00 -07:00
Skip R
5abc733383
connector: comments
2026-07-13 23:41:46 -07:00
Skip R
d052403358
report account vital signals as bridge state, preventing usage when bad
2026-07-13 23:25:49 -07:00
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
a8ecf2e4b7
connector/login: make errors visible to the user
2026-07-07 20:54:04 -07:00
Skip R
e491ff6e0c
connector/login: wire up phone verification
2026-07-07 20:16:58 -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
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