Toni Spets
9e8d3050b0
Add MSC4144 per message profile types ( #256 )
2024-07-17 13:29:13 +03:00
Tulir Asokan
c6da493283
event: ignore calls to Mentions.Add with empty user ID
2024-07-13 19:59:29 +03:00
Tulir Asokan
32e6f25c34
event: add helper to append user ID to Mentions
2024-07-11 14:01:45 +03:00
Tulir Asokan
7f18d6b735
bridgev2: add caption merging utilities
2024-07-11 11:38:23 +03:00
Tulir Asokan
74c0110ee0
misc: remove some local functions in favor of generic ones
2024-07-02 11:20:21 +03:00
Simon Ruderich
bec59868d5
event/powerlevels: use 0 as default required level for invite ( #250 )
2024-07-02 09:14:21 +03:00
Tulir Asokan
9dcaacae07
event: initialize map in Set(User|Event)Level if it's nil
2024-06-29 22:35:46 +03:00
Tulir Asokan
86ac5c340b
event/beeper: omit empty network value in MSS events
2024-06-28 23:01:58 +03:00
Tulir Asokan
d7251a4c69
bridgev2: add support for all member actions, power levels and join rules
2024-06-28 18:43:12 +03:00
Tulir Asokan
34cbfc2601
event: fix content of io.element.functional_members
2024-06-25 16:05:59 +03:00
Sumner Evans
8e1fdfda2c
event: add unstable audio and voice fields
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-06-20 10:00:42 -06:00
Tulir Asokan
7c2fdc703d
bridgev2: add remote->matrix mark unread interfaces
2024-06-20 15:21:17 +03:00
Tulir Asokan
59b99dee70
bridgev2: add remote->matrix room tagging and muting interfaces
2024-06-20 14:53:18 +03:00
Tulir Asokan
a5fbfe2692
Merge branch 'master' into tulir/hicli
2024-06-15 14:25:35 +03:00
Tulir Asokan
2ed8d0d0b3
Add proper room name calculation and fix some bugs
2024-06-01 03:08:41 +03:00
Tulir Asokan
3c7b3e13ef
Add initial user and room metadata support
2024-05-28 20:49:23 +03:00
Tulir Asokan
9254a5d6c1
Add base for v2 bridge architecture
2024-05-27 13:53:18 +03:00
Tulir Asokan
797aed1e83
Update m.megolm_backup.v1 event type to reference secret ID constant
2024-05-26 00:59:30 +03:00
Tulir Asokan
98c491e069
Add constants for room versions
2024-05-26 00:59:30 +03:00
Sumner Evans
3dbf8ef2f0
verificationhelper: better errors/logs and more aggressive cancellations
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-05-24 16:41:47 -06:00
Adam Van Ymeren
8ba307b28d
Fix Unsigned.IsEmpty() when all we have is HSOrder
2024-03-16 11:36:58 -07:00
Sumner Evans
128fc8cd89
event/verification: remove Supports* functions
...
Use slices.Contains instead
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-19 16:41:07 -07:00
Tulir Asokan
b1b1c97a11
Make matched_url optional
2024-02-17 15:34:17 +02:00
Tulir Asokan
740c588b96
Add MSC4095 types
2024-02-17 14:46:10 +02:00
Sumner Evans
0b8e46e84d
event/verification: Mac -> MAC
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-16 12:01:42 -07:00
Sumner Evans
2f279590fa
verificationhelper/sas: begin implementing flow
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-09 11:50:14 -07:00
Sumner Evans
582ce5de49
verificationhelper/qrcode: begin implementing flow
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-09 11:50:13 -07:00
Sumner Evans
3aec0a3a6f
event/verification: improve documentation and other cleanup
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-09 10:30:36 -07:00
Sumner Evans
ef5eb04ff8
event/verification: add QR code verification method constants
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-09 10:30:36 -07:00
Sumner Evans
6aa214ad1a
events: reorder and add done event
...
This commit reorders the events to match what's in the spec, and adds
the missing m.key.verification.done event.
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-02-09 10:30:36 -07:00
Toni Spets
a36dc59187
Plumb event.AccountDataMegolmBackupKey properly
2024-02-01 10:23:14 +02:00
Tulir Asokan
0ecb22e6f0
Add m.fully_read to event type class guesser
2024-01-26 19:55:58 +02:00
Toni Spets
94664f1c8a
Secret sharing implementation
2024-01-24 12:56:46 +02:00
saces
97d19484a3
add missing declarations for m.key.verification.ready
...
Signed-off-by: saces <saces@c-base.org>
2024-01-19 13:15:31 -07:00
Sumner Evans
c77d6fe1f9
event/type: add megolm backup key account data type
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-01-18 09:17:19 -07:00
Tulir Asokan
308e3583b0
Add contexts to event handlers
2024-01-13 18:56:12 +02:00
Tulir Asokan
d014d56e85
Add blurhash to file info struct
2024-01-03 14:52:42 +02:00
Tulir Asokan
a274ab89a5
Add redacts field for redaction event content
2023-10-10 19:48:49 +03:00
Tulir Asokan
1b562eed16
Add function to reverse TextToHTML
2023-10-06 16:03:14 +03:00
Tulir Asokan
691b96adc2
Add fields for beeper galleries
2023-09-02 12:26:31 +03:00
Tulir Asokan
b2ea5d80b2
Remove historical field in power levels
2023-07-19 21:55:48 +03:00
Tulir Asokan
1d9b6a42c9
Use utility method for escaping text when generating reply fallback
2023-06-23 12:35:53 +03:00
Tulir Asokan
77f7e00759
Handle m.emote fallbacks in reply fallback trimming safety
2023-06-23 12:29:11 +03:00
Tulir Asokan
8a0f888a21
Add extra check for trimming plaintext reply fallback
...
This should avoid most edge cases with messages starting with
blockquotes when reply fallbacks are removed.
2023-06-23 12:16:26 +03:00
Sumner Evans
dfdef3dc03
mss: add delivered_to_users field
...
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-06-20 16:26:21 -06:00
Tulir Asokan
c710d4aa8f
Deprecate MSC2716 methods and add Beeper batch send methods
2023-06-19 01:24:44 +03:00
Tulir Asokan
89395de354
Remove unstable MSC3952 mentions field
2023-05-24 12:12:22 +03:00
Tulir Asokan
e45bdbb8b0
Add better messages when trying to decrypt with withheld session
2023-05-09 14:15:18 +03:00
Tulir Asokan
6879d6b693
Delete megolm sessions when receiving new one and when session is fully used
2023-04-11 11:42:13 +03:00
Tulir Asokan
20df20d25a
Ratchet inbound sessions on decrypt and delete outbound on ack
2023-04-10 16:27:05 +03:00