Tulir Asokan
5bb2db43c0
Add support for PNI portals
2024-03-22 15:37:21 +02:00
Sumner Evans
3d1fda4062
parsing: add context throughout the process
2024-03-12 14:57:29 -06: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
Tulir Asokan
53547f9201
Revert "Check dm.Quote for nil"
...
This reverts commit cb04120757 .
2024-02-10 14:38:32 +02:00
Scott Weber
cb04120757
Check dm.Quote for nil
2024-01-29 14:54:20 -05:00
Tulir Asokan
91b0e7e482
Add support for incoming contact messages
2024-01-13 18:21:09 +02:00
Tulir Asokan
e2d8a24c99
Refactor group and user info updating
2024-01-05 22:10:59 +02:00
Tulir Asokan
c7a3bb861c
Fix some todos
2024-01-05 17:41:01 +02:00
Tulir Asokan
ed7daa088b
Split signalmeow store and client
2024-01-05 14:14:56 +02:00
Tulir Asokan
0f6576a08a
Use struct field for blurhash
2024-01-03 14:55:20 +02:00
Tulir Asokan
76185349ad
Remove unused errors and refactor other things
2024-01-03 13:47:26 +02:00
Sumner Evans
59e4efd598
signalmeow: use structured logging
...
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-01-02 21:45:06 -07:00
Tulir Asokan
80a17eb114
Don't set caption in attachment pointers
2024-01-03 00:16:19 +02:00
Tulir Asokan
27f8596378
Adjust size metadata when bridging stickers from Signal
2024-01-03 00:16:19 +02:00
Tulir Asokan
9b459150c4
Refactor Matrix -> Signal message handling
2024-01-03 00:16:19 +02:00
Tulir Asokan
343b0c0f79
Add fallback message for gift badges
2024-01-02 21:27:11 +02:00
Tulir Asokan
6df2547947
Don't allow multiple parts in some message types
2024-01-02 21:17:42 +02:00
Tulir Asokan
f9f568dc86
Bridge URL previews from Signal
2024-01-02 21:15:17 +02:00
Tulir Asokan
9efe31d789
Refactor Signal -> Matrix message handling
...
Also add support for edits
2024-01-02 19:04:45 +02:00
Tulir Asokan
35db0abe8b
Refactor database tables and query wrappers ( #402 )
...
* Change most columns to `NOT NULL`, including primary keys
(because SQLite).
* Change columns only storing signal user IDs (portal receiver, message
sender, user uuid) to use the `uuid` type instead of `TEXT`.
* Drop chat ID from message table primary key.
* Add part index to message table to replace timestamp hack for storing
multiple parts of the same message.
* Change query wrappers to use new QureyHelper struct in dbutil, and
pass contexts and errors everywhere.
As a part of changing the portal receiver from phone number to uuid,
old portals whose receiver isn't logged in anymore may be discarded.
The discarded portals will be stored in the lost_portals table for
cleanup or recovery.
2023-12-31 16:12:58 +02:00
Tulir Asokan
ae60c41282
Actually update protobufs
2023-12-21 18:06:58 +02:00
Tulir Asokan
8260ba1559
Add support for Matrix -> Signal formatting
2023-12-21 16:57:21 +02:00
Tulir Asokan
45c2ce2cd9
Fix Go 1.20 compatibility
2023-12-17 23:30:45 +02:00
Tulir Asokan
4072495da6
Add another test
2023-12-17 23:26:53 +02:00
Tulir Asokan
6a5fc0faa3
Fix handling overflowing body ranges
2023-12-17 23:18:25 +02:00
Tulir Asokan
1b3aac0841
Add some comments and tests to format parser
2023-12-17 23:18:23 +02:00
Tulir Asokan
61ef8904e9
Add support for Signal -> Matrix formatting
2023-12-17 22:50:09 +02:00