Commit graph

507 commits

Author SHA1 Message Date
Malte E
efc22ef158
Send correct event to other users when creating group (#491)
Use empty message with GroupV2Context instead of an empty group change
2024-04-02 11:09:31 +03:00
Tulir Asokan
f6e698281a Fix latest signalmeow db revision number 2024-04-01 13:23:37 +03:00
Tulir Asokan
79d42dd160 Delete session if prekey upload returns 422 2024-04-01 02:39:59 +03:00
Tulir Asokan
6ab46691b3 Log errors when converting prekeys to JSON 2024-04-01 02:15:31 +03:00
Tulir Asokan
62ff03a169 Prevent prekey overflows 2024-04-01 01:50:04 +03:00
Tulir Asokan
00f58da3d5 Move keepalive log to debug level. Fixes #473 2024-03-26 18:11:59 +02:00
Tulir Asokan
ee0ef89f3c Include E164 and identity key in PNI sync messages 2024-03-26 17:59:59 +02:00
Tulir Asokan
14a6adc5a2 Fix identity store being hardcoded to ACIs 2024-03-25 21:25:00 +02:00
Tulir Asokan
b57710aa8f Improve some log lines 2024-03-25 20:55:46 +02:00
Tulir Asokan
51617d3030 Don't clear keys on decryption errors 2024-03-25 20:55:04 +02:00
Tulir Asokan
f77a9a8717 Partially fix time handling in SendContactSyncRequest 2024-03-25 17:50:35 +02:00
Tulir Asokan
e1cf5b76b0 Add PNI signature to next sent message after receiving to PNI 2024-03-25 15:49:18 +02:00
Tulir Asokan
b304be1510 Fix more things 2024-03-22 23:00:42 +02:00
Tulir Asokan
71a164501f Fix typo in query 2024-03-22 22:40:01 +02:00
Tulir Asokan
d1ac878312 Sync contacts and groups from storage service 2024-03-22 22:32:29 +02:00
Tulir Asokan
68cb547ef9 Request and save master key for storage service 2024-03-22 22:32:29 +02:00
Tulir Asokan
2eb41b5e83 Refactor recipient storage 2024-03-22 22:32:29 +02:00
Tulir Asokan
782782b0d0 Fix a bunch of bad loggers 2024-03-22 21:27:02 +02:00
Tulir Asokan
9c0b8ec6f9 Merge remote-tracking branch 'maltee1/groupinfo_matrix_to_signal' into tulir/pni-sending 2024-03-22 20:05:50 +02:00
Tulir Asokan
5bb2db43c0 Add support for PNI portals 2024-03-22 15:37:21 +02:00
Tulir Asokan
a99d36a284 Drop their_device_id column in signalmeow_identity_keys table 2024-03-21 16:24:03 +02:00
Tulir Asokan
a93dd0eec5 Support PNIs for sync messages and refactor some things 2024-03-21 14:20:05 +02:00
Malte E
407dbfd346 add create command 2024-03-20 22:58:43 +01:00
Malte E
791e89dec4 add commands for getting and setting invite link password 2024-03-20 22:56:01 +01:00
Malte E
3e0aae5bd2 fixes & cleanup 2024-03-20 22:54:25 +01:00
Malte E
20acd100da bridge matrix -> signal group actions (except pendingMember stuff) 2024-03-20 22:54:25 +01:00
Tulir Asokan
0d98e3560b Rename our_aci_uuid columns to account_id 2024-03-19 19:26:51 +02:00
Tulir Asokan
b0947b21fd Refactor prekey and session tables to add own service ID 2024-03-19 19:26:51 +02:00
Tulir Asokan
25f0efc7e0 Refactor sending to use service IDs 2024-03-19 19:15:37 +02:00
Tulir Asokan
78b9e84ed3 Fix sending messages to groups 2024-03-14 01:22:51 +02:00
Tulir Asokan
32f5584ed0 Update to libsignal v0.41.0 2024-03-08 23:36:09 +02:00
Malte E
0ec6bb8da2
Try to fix pending member parsing issues (#467)
Might fix #465
Might fix #466
2024-03-08 23:36:00 +02:00
Scott Weber
ecc78fabe7 Don't clear keys on "invalid signed prekey identifier" 2024-03-08 11:15:29 -05:00
Scott Weber
100a81ab5e Add LastConnectionStatus() to signalmeow 2024-02-29 22:48:42 -05:00
Tulir Asokan
26e27fe9f2 Fix initial schema for signalmeow databases 2024-02-28 18:56:38 +02:00
Tulir Asokan
a78a88c741
Prevent downgrading ghost user info by default (#464)
Fixes #396
Closes #449
2024-02-28 15:21:24 +02:00
Malte E
dcd134ad8f
Handle power levels and other group info in initial sync (#448) 2024-02-24 13:31:04 +02:00
Tulir Asokan
9c201ca890 Update to libsignal 0.40.0 2024-02-19 12:20:02 +02:00
Malte E
ed4a14811a
Handle group changes properly (#432)
Handle the actual changes instead of resyncing the whole group when something changes
2024-02-11 18:17:52 +02:00
Andrew Ferrazzutti
7761199303
Use Stringer with zerolog (#441)
Satisfies the "zerolog-use-stringer" pre-commit hook
2024-02-10 14:36:05 +02:00
Scott Weber
103666990f
Use clang when building for Android and darwin (#435) 2024-01-31 10:39:33 -05:00
Tulir Asokan
931e25b453 Update to libsignal 0.39.2 2024-01-22 01:22:13 +02:00
Tulir Asokan
d482bca041 Add method to fetch records from storage service 2024-01-14 22:22:33 +02:00
Tulir Asokan
57b87faee7 Add storage service protobuf schema 2024-01-14 20:36:15 +02:00
Tulir Asokan
ea0dfaa61a Set user agents in signal requests 2024-01-14 13:31:17 +02:00
Tulir Asokan
c0ce824b6a Save libsignal version in go file 2024-01-14 13:20:04 +02:00
Tulir Asokan
7b8bcdd9e8 Hook up CDSI to pm command and provisioning API 2024-01-13 17:11:51 +02:00
Tulir Asokan
b9f29abfcf Add CDSI client 2024-01-13 16:26:29 +02:00
Tulir Asokan
ba5728c69c Update protobufs and add ContactDiscovery schema 2024-01-13 14:20:08 +02:00
Tulir Asokan
e631a350aa Update to libsignal 0.39.1 2024-01-13 14:18:16 +02:00