1
0
Fork 0
mirror of https://github.com/mautrix/signal.git synced 2026-05-15 13:46:55 -04:00
Commit graph

1,601 commits

Author SHA1 Message Date
Tulir Asokan
25f0efc7e0 Refactor sending to use service IDs 2024-03-19 19:15:37 +02:00
Tulir Asokan
cdab7f86a8 Bump version to v0.5.1 v0.5.1 2024-03-16 13:41:50 +02:00
Tulir Asokan
78b9e84ed3 Fix sending messages to groups 2024-03-14 01:22:51 +02:00
Sumner Evans
3d1fda4062 parsing: add context throughout the process 2024-03-12 14:57:29 -06:00
Tulir Asokan
2f7d81f97f Update dependencies 2024-03-11 20:44:43 +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
Tulir Asokan
1fb0c95b46 Revert "Get file:// attachments from local filesystem"
This reverts commit 02a4962767.
2024-03-07 22:22:34 +02:00
Scott Weber
02a4962767 Get file:// attachments from local filesystem 2024-03-07 15:04:45 -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
Andrew Ferrazzutti
2717c537b6
Restore missing metrics & remove unused ones (#463)
Fixes #453
2024-02-24 13:31:40 +02:00
Mark Collins
51d87f3dc0
Fix !wa => !signal in example-config.yaml (#456) 2024-02-24 13:31:20 +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
Tulir Asokan
616c227219 Fix SQLite db migration. Fixes #454 2024-02-16 20:41:01 +02:00
Tulir Asokan
1d6ea9dcc1 Bump version to v0.5.0 v0.5.0 2024-02-16 18:00:53 +02:00
Andrew Ferrazzutti
25ba56bf9b Fix things in DB migration
Closes #451
Might fix #425
2024-02-16 17:58:57 +02:00
Malte E
024938f9c7
Remove unnecessary struct (#452) 2024-02-16 15:43:34 +02:00
Tulir Asokan
fac25aa365 Fix signal file reply hack 2024-02-13 19:28:42 +02:00
Tulir Asokan
a7a15735c8 Update changelog 2024-02-13 19:26:49 +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
Tulir Asokan
d778a14fba Add license exceptions 2024-02-10 14:39:02 +02:00
Tulir Asokan
b21ad30180 Allow custom parameters to build-go.sh 2024-02-10 14:39:02 +02:00
Tulir Asokan
9495ea7020 Update dependencies and minimum Go version 2024-02-10 14:38:32 +02:00
Tulir Asokan
c9d97fd1e5 Run actions on Go 1.21 and 1.22 2024-02-10 14:38:32 +02:00
Tulir Asokan
53547f9201 Revert "Check dm.Quote for nil"
This reverts commit cb04120757.
2024-02-10 14:38:32 +02:00
Tulir Asokan
2109782afd Remove info parameter in Puppet.UpdateInfo 2024-02-10 14:38:32 +02:00
Tulir Asokan
27d6ae89ea Remove some unnecessary logs 2024-02-10 14:38:32 +02:00
David AUFFRAY
8de9493edc
Fix word in example config (#446) 2024-02-10 14:37:58 +02:00
Andrew Ferrazzutti
ae7ccf4fdf
Restore debug build & remote debugging for Docker builds (#436) 2024-02-10 14:37:02 +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
Andrew Ferrazzutti
af4de369bd
Satisfy static checks (#440) 2024-02-10 14:35:56 +02:00
Scott Weber
103666990f
Use clang when building for Android and darwin (#435) 2024-01-31 10:39:33 -05:00
Scott Weber
cb04120757 Check dm.Quote for nil 2024-01-29 14:54:20 -05:00
Andrew Ferrazzutti
f5468a6e8c
Avoid nil dereference on existing reaction lookup (#433)
Otherwise, the bridge crashes when it sees a reaction from Signal.

---

This fixes a crash introduced by 666ccf1.
2024-01-26 15:42:34 +02:00
Andrew Ferrazzutti
ee5932bbd9
Ensure user is invited to portal on message (#430) 2024-01-26 15:00:03 +02:00
Andrew Ferrazzutti
ea4522bd17
Deduplicate users' UUIDs during schema upgrade (#429)
Otherwise, upgrading to v16 may hit conflicts if two users share the
same Signal UUID, which was possible in prior DB versions.

---

This is useful only when upgrading a DB from the signald version of the
bridge, where some Matrix users had logged into the same Signal account
(and thus shared the same UUID in the "users" table).

Though this removes Signal UUID associations from Matrix users,
migrating from the signald version requires re-logging in anyways.

The only time this would not be safe is when migrating a DB that had
already been migrated from signald (i.e. a v13-v15 version) and users
logged back in, with some sharing the same Signal UUID.
2024-01-26 14:58:43 +02:00
Andrew Ferrazzutti
e938532440
Add whoami provisioning API (#428) 2024-01-26 14:58:04 +02:00
Tulir Asokan
bc03cee3e1 Delete reaction with bridge bot if ghost fails. Closes #431 2024-01-25 23:42:18 +02:00
Tulir Asokan
666ccf11fb Ignore duplicate reactions from Signal (ref #431) 2024-01-25 23:42:18 +02:00
Tulir Asokan
60263e7529 Fix avatar change deduplication based on hash 2024-01-24 14:36:27 +02:00
Tulir Asokan
931e25b453 Update to libsignal 0.39.2 2024-01-22 01:22:13 +02:00
Tulir Asokan
d9844f9afd Check if table exists to avoid spurious error. Fixes #426 2024-01-19 17:43:25 +02:00
Tulir Asokan
6d53efde33 Handle edge case in portal table upgrade 2024-01-18 23:12:39 +02:00
Tulir Asokan
d22676650f Revert "Add temporary debugging logs"
This reverts commit 972b289887.
2024-01-18 22:52:15 +02:00
Tulir Asokan
a546300b77 Update usersBySignalID when logging in
Also partially clear any previous users if they have the same UUID
2024-01-18 22:52:12 +02:00
Scott Weber
972b289887 Add temporary debugging logs 2024-01-16 19:46:16 -05:00