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

1,740 commits

Author SHA1 Message Date
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
Tulir Asokan
b054aa9dd2 Update dependencies 2024-01-17 00:07:21 +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
fca8ff8eab Update dependencies 2024-01-13 19:03:26 +02:00
Tulir Asokan
91b0e7e482 Add support for incoming contact messages 2024-01-13 18:21:09 +02:00
Tulir Asokan
cc5177bc15 Use ensureInvited in pm command
Fixes #232
Fixes #40
2024-01-13 17:17:32 +02:00
Tulir Asokan
7b8bcdd9e8 Hook up CDSI to pm command and provisioning API 2024-01-13 17:11:51 +02:00
Tulir Asokan
f2684ef1f3 Add test command for CDSI 2024-01-13 16:33:44 +02:00
Tulir Asokan
b9f29abfcf Add CDSI client 2024-01-13 16:26:29 +02:00