Scott Weber
e8ee7659a7
Stub Logout API
2023-09-20 14:39:34 -04:00
Scott Weber
32d0226125
Send BAD_CREDENTIALS, clear certain keys on token deletion
...
This allows a user to delete their device in the Signal app and
successfully reconnect with a QR code scan
2023-09-20 14:28:09 -04:00
Scott Weber
c52c505058
Return phone number (SignalUsername) for RemoteName
2023-09-20 13:39:08 -04:00
Scott Weber
13bb18e146
Pass UUID and Number along when provisioning
2023-09-20 13:26:30 -04:00
the-newman
85c1412e16
allow matrix m.sticker -> signal ( #3 )
2023-09-20 16:31:39 +01:00
Scott Weber
6fc85638a4
Update missing group master key error
2023-09-20 09:12:52 -04:00
Scott Weber
03780d9761
Initial stab at provisioning API
2023-09-19 23:41:32 -04:00
Scott Weber
427220fa95
Send a notice when missing a group master key
2023-09-19 19:29:30 -04:00
Scott Weber
697cf63df1
Get contacts (for profile keys) on connect!
...
Send a contact sync request on initial websocket connection, then parse
the response, grab profile keys and store them (not doing anything with
other contact info and avatars yet).
Also fix attachment decryption - was ignoring extra padding at the end
of the buffer, which image formats were fine with but unmarshalling a
protobuf was not..
2023-09-19 19:06:41 -04:00
the-newman
773d98c571
Merge pull request #2 from mautrix/add-stickers-BE-16553
...
Implement receiving stickers
2023-09-19 21:53:55 +01:00
John Newman
b50649c04a
Implement receiving stickers
2023-09-19 21:13:25 +01:00
Scott Weber
6099ef0b5b
Update README.md with tips for building (on macOS at least)
2023-09-18 14:18:17 -04:00
Scott Weber
f304b1840e
Forgot to add group_store.go :(
2023-09-14 16:40:27 -04:00
Scott Weber
9b18117029
Replace "master key" group identfiers with actual GroupIdentifier
...
Everywhere.
And save them in the DB so we can still look up master keys when needed
2023-09-14 16:33:40 -04:00
Scott Weber
9c4830d91f
Fix Receiver on "group" PortalKeys and fix bridge info
2023-09-12 15:00:46 -04:00
Scott Weber
24cf5662d7
Migration for user table and missed NULL handling in portal table
2023-09-12 13:45:40 -04:00
Scott Weber
ec31a807e9
Fix DB code to handle NULLs in the DB
2023-09-12 11:32:55 -04:00
Tulir Asokan
2e3d50ce34
Set mx_version in upgrade
2023-09-11 16:19:34 -04:00
Tulir Asokan
aa7b6ba23f
Fix version number
2023-09-11 16:14:24 -04:00
Tulir Asokan
2d731ca4fe
Add db schema upgrade to fix python state store
2023-09-11 16:11:29 -04:00
Scott Weber
62eca1d8d6
Update pickle key
2023-09-11 15:54:26 -04:00
Scott Weber
9e012e9ca7
Fix DB upgrading
2023-09-11 15:53:53 -04:00
Scott Weber
5c6dbd7aee
Set DB version to v12
2023-09-11 15:32:24 -04:00
Scott Weber
12f7bb9df1
Make message sending more robust, particularly in the face of bad networking
2023-09-06 00:47:08 -04:00
Scott Weber
c2460ead6b
Fix out-of-bounds in web.go path check
2023-09-05 11:41:35 -04:00
Scott Weber
2007559b64
Bridge mentions from signal -> matrix (no HTML formatting yet)
2023-09-05 09:11:29 -04:00
Scott Weber
e5d58bc4ce
replies from matrix -> signal (except replies to images only work on signal android :S)
2023-09-04 23:20:23 -04:00
Scott Weber
df9dc128f4
Bridge replies signal -> matrix
2023-09-04 22:00:03 -04:00
Scott Weber
617c0fca88
Store avatar hash in DB, and unset if the avatar goes away
2023-09-04 08:23:56 -04:00
Scott Weber
fdccca610b
Only fetch new profile avatar if it has changed
2023-09-04 08:12:08 -04:00
Scott Weber
a12c5bb5d1
Download, decrypt, upload user profile avatar. But need to figure out caching
2023-08-31 20:17:23 -04:00
Scott Weber
f52f236780
Sending images!
2023-08-31 12:58:18 -04:00
Scott Weber
1a0df9b228
Fix heart reactions by fully qualifiying emoji going to Signal
2023-08-29 13:55:16 -04:00
Scott Weber
d5359f9e53
When sending sync messages to myself, don't send to my device, and use auth websocket
2023-08-29 13:34:55 -04:00
Scott Weber
75fb4d5f04
Add/remove variation selectors on emoji reactions as needed
2023-08-29 12:37:24 -04:00
Scott Weber
c94db17a69
MSS/Checkpoints for reactions and redactions
2023-08-29 11:31:53 -04:00
Scott Weber
e70c6f038a
Bridge redactions signal -> matrix
2023-08-28 21:39:26 -04:00
Scott Weber
33ec5cc7ac
Bridge redactions matrix -> signal
2023-08-28 21:24:01 -04:00
Scott Weber
ae46b7aee2
Bridge reaction redactions from matrix -> signal
2023-08-28 21:10:19 -04:00
Scott Weber
9122c32e66
Bridge reactions (but not reaction redactions) from matrix -> signal
...
Also some substantial message sending refactoring
2023-08-28 17:15:25 -04:00
Scott Weber
66ea2f7007
Tidy up Connect functions to make bridge states work on initial login
2023-08-28 15:34:41 -04:00
Scott Weber
988956a60b
Forgot to add database/reaction.go 🤦
2023-08-28 11:11:06 -04:00
Scott Weber
1ce16f577f
Update reactions when they change
2023-08-28 10:14:43 -04:00
Scott Weber
f84ae817a5
Add reactions table and handle reaction redactions
2023-08-28 10:08:08 -04:00
Scott Weber
1c50f8c1e1
Bridging reactions Signal -> Matrix (but not redacting them)
2023-08-27 16:05:05 -04:00
Scott Weber
bcb0041004
Bridge image size and filename (to make captions work)
2023-08-25 13:53:37 -04:00
Scott Weber
eb3ebdd8ff
Can receive a message! (But lots to tidy up here)
2023-08-25 12:56:39 -04:00
Scott Weber
f3fad459f7
More robust bridge states, partial logout support, hopefully more robust mautrix interface code
2023-08-24 15:06:39 -04:00
Scott Weber
2cb24d197b
Overhaul SignalWebsocket error handling and hook up to BridgeState
2023-08-22 11:54:35 -04:00
Scott Weber
0aa0072869
Strip non-printable characters from group titles
2023-08-18 14:20:23 -04:00