Commit graph

2,700 commits

Author SHA1 Message Date
Adam Van Ymeren
f0ad94800d revert unneeded and wrong change 2025-09-24 17:05:16 -07:00
Adam Van Ymeren
f2ceaea2c1 add ChatInfoFetchingNetworkAPI for networks that can fetch chat info on demand 2025-09-24 08:20:43 -07:00
Adam Van Ymeren
d6ddc361bc syncParticipants: ensure power levels are up to date including create room defaults 2025-09-24 08:20:19 -07:00
Tulir Asokan
5c580a7859 crypto/sqlstore: fix query used for olm unwedging
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-09-22 20:28:49 +03:00
Tulir Asokan
4635590fca bridgev2/portal: add temporary flag to slack bridge info
To let clients detect that 952806ea52 is done
2025-09-22 18:24:49 +03:00
Tulir Asokan
a8b5fa9156 client: fix some footguns in compileRequest
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
* add warning log if RequestBody is used without length instead of
  silently discarding the body
* fix wrapping RequestBody in nopcloser
* always set content length
2025-09-22 16:32:29 +03:00
Tulir Asokan
d5c6393f23 bridgev2/portal: don't process any more events if portal is deleted 2025-09-22 16:11:21 +03:00
Tulir Asokan
a9ff1443f7 bridgev2: add interface for deleting chats from Matrix
Closes #408
2025-09-22 16:05:53 +03:00
Tulir Asokan
b3c883bc7f event: add beeper chat delete event 2025-09-22 16:05:28 +03:00
Tulir Asokan
23b18aa0ca bridgev2/provisioning: fix login_id query param name 2025-09-22 14:46:47 +03:00
Tulir Asokan
c4701ba06c responses: fix RespSearchUserDirectory type 2025-09-22 14:30:41 +03:00
Tulir Asokan
f9fb77d6aa client: add user directory search method 2025-09-22 13:46:46 +03:00
Toni Spets
cf814a5aaa
error: Add RespError WithExtraData convenience function (#416)
To dynamically build errors with extra keys like returning `max_delay`
for `M_MAX_DELAY_EXCEEDED`.
2025-09-22 13:30:08 +03:00
Tulir Asokan
0198ef315c changelog: update
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-21 20:51:51 +03:00
Tulir Asokan
658b2e1d1d bridgev2/matrix: share device keys as part of e2ee init 2025-09-21 20:34:04 +03:00
Tulir Asokan
6c37f2b21f bridgev2/matrix: add config option to self-sign bot device 2025-09-21 20:34:04 +03:00
Tulir Asokan
0a84c052dd crypto: add utilities for cross-signing 2025-09-21 20:10:59 +03:00
Tulir Asokan
0012a23d85 bridgev2/portal: don't allow queuing events into uninitialized portals
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-09-19 21:21:25 +03:00
Tulir Asokan
fbf8718e22 bridgev2: also fix portal parent receivers in split portal migration 2025-09-19 21:19:55 +03:00
Tulir Asokan
54c0e5c2f6 bridgev2/portal: remove portal from cache if loading parent/relay fails 2025-09-19 21:19:01 +03:00
Tulir Asokan
820d0ee66b bridgev2: only delete rooms in split portal migration after starting connectors 2025-09-19 21:01:42 +03:00
Tulir Asokan
f7bfa885c9 bridgev2: improve split portal migration 2025-09-19 20:45:17 +03:00
Tulir Asokan
9fbf1b8598 bridgev2: make split portal migration errors fatal 2025-09-19 20:26:55 +03:00
Tulir Asokan
b42fb5096a bridgev2/portal: also log long events when using async events 2025-09-19 19:53:22 +03:00
Tulir Asokan
2240aa0267 bridgev2/portal: log if room create event is taking long 2025-09-19 19:50:41 +03:00
Tulir Asokan
6acb04aa1e federation/pdu: use option to trust internal metadata for GetEventID 2025-09-19 19:15:02 +03:00
Tulir Asokan
b760023dca bridgev2/portal: add support for implicit read receipts to network
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-19 14:30:47 +03:00
Tulir Asokan
8780c2eb44 bridgev2/portal: set exclude from timeline flag for creation state 2025-09-19 13:23:15 +03:00
Tiago Loureiro
e19d009d59
event: add EventUnstablePollEnd to GuessClass() (#414)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-18 11:07:13 -03:00
Tulir Asokan
e932aff209 crypto/ssss: use constant time comparison when decrypting account data
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-17 22:30:32 +03:00
Tulir Asokan
5b860f8bfb responses: fix marshaling RespUserProfile 2025-09-17 22:30:16 +03:00
Tulir Asokan
35ac4fcb8d bridgev2/matrix: don't encrypt reactions in batch sends 2025-09-17 21:45:43 +03:00
Tulir Asokan
e6a1fa6fd7
bridgev2/provisioning: sync ghost info when searching (#413)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-17 15:18:43 +03:00
Tulir Asokan
af2e6c7ce0 bridgev2/portal: ensure state key is set when handling state events 2025-09-17 14:47:09 +03:00
Tulir Asokan
5af25d2eb7 event/poll: add missing omitempty
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-16 18:02:14 +03:00
Tulir Asokan
c37ddcc3a5 Bump version to v0.25.1
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
v0.25.1
2025-09-16 14:45:37 +03:00
Tulir Asokan
b5bec2e96c client: stabilize support for state_after
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-13 13:44:46 +03:00
Tulir Asokan
717c8c3092 bridgev2/database: normalize disappearing settings before insert
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-09-13 01:38:06 +03:00
Tulir Asokan
3a6f20bb62 crypto/sqlstore: ignore unused sessions in olm unwedging
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-12 19:30:05 +03:00
Tiago Loureiro
4603a344ce
event: add org.matrix.msc3381.poll.end type (#412)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-11 15:10:14 -03:00
Tulir Asokan
5dbab3ae99 crypto/machine: don't clear account on Destroy()
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-11 14:46:21 +03:00
Tulir Asokan
87fe127414 crypto/decryptolm: retry prekey decryption with goolm 2025-09-11 14:17:24 +03:00
Tulir Asokan
c716f30959 crypto/register: don't use init in *olm packages 2025-09-11 14:14:15 +03:00
Tulir Asokan
84e5d6bda1 crypto/machine: allow canceling background context 2025-09-11 14:13:18 +03:00
Tulir Asokan
69869f7cb5 crypto: log active driver 2025-09-11 14:12:35 +03:00
Tulir Asokan
bdb9e22a43 crypto/libolm: clean up pointer management 2025-09-11 13:22:45 +03:00
Tulir Asokan
faa1c5ff8d crypto/machine: log when loading olm account
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-10 16:46:05 +03:00
Tulir Asokan
22a908d8d6 crypto/decryptolm: add debug logs for failing to decrypt with new session 2025-09-10 16:24:43 +03:00
Tulir Asokan
e295028ffd client: stabilize arbitrary profile field support
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-09 19:10:07 +03:00
Tulir Asokan
41bbe4ace4 bridgev2/portal: add action message metadata to disappearing notices 2025-09-09 16:24:18 +03:00