Commit graph

539 commits

Author SHA1 Message Date
AsamK
7816325e63 Fix issue with missing pni identity key
Fixes #1176
2023-02-05 12:49:12 +01:00
AsamK
15da210de7 Print text styles in plain text output 2023-01-27 21:46:39 +01:00
AsamK
a4f7632981 Update dependencies 2023-01-27 21:44:41 +01:00
AsamK
8d7e533196 Update dependencies 2022-12-18 20:05:53 +01:00
AsamK
44c945f45d Update dependencies 2022-11-24 17:31:11 +01:00
AsamK
b6e9dfa97d Add fallback locale for voice verification
Fixes #1101
2022-11-20 11:27:33 +01:00
AsamK
5771bb858f Allow using data URIs for updateGroup/updateProfile avatars
Fixes #1082
2022-11-14 19:31:40 +01:00
AsamK
5e1fc79c33 Fix SignalAccount initialization
Fixes #1092
2022-11-08 17:18:24 +01:00
AsamK
ccb37c00f6 Update dependencies 2022-11-07 19:43:15 +01:00
AsamK
6281cbfd5f Catch all exceptions when reading session record
Fixes #1083
2022-11-03 15:55:12 +01:00
AsamK
1d98e5307a Handle missing separator in query string parser 2022-11-02 23:16:38 +01:00
AsamK
43face8ead Small improvements 2022-11-01 22:48:47 +01:00
ced-b
2e4d346bc8
Add command to get an attachment (#1080)
* Add command to get an attachment

* Refactor retrieving of attachments to use StreamDetails

* Refactor AttachmentCommand to GetAttachmentCommand

* Minor improvements to GetAttachmentCommand

* Use JSON serializer to serialize binary data

Serializing the stream is better for memory handling than
loading the whole thing into the file.

* Clean up unneeded class

* Added command to doc

Co-authored-by: cedb <cedb@keylimebox.org>
2022-11-01 22:47:43 +01:00
AsamK
9620eb06ac Update libsignal-service 2022-11-01 13:58:09 +01:00
AsamK
9096229637 Improve behavior with synchronous and asynchronous receivers 2022-11-01 13:58:09 +01:00
AsamK
de2bfc7f79 Add optional message limit for receive command 2022-10-31 11:17:52 +01:00
AsamK
5ed9db4f08 Implement replying to stories 2022-10-30 18:18:21 +01:00
AsamK
fea19c9e20 Implement reacting to stories 2022-10-30 14:41:02 +01:00
AsamK
207764e0be Add option to disable adding message to send log 2022-10-30 11:00:25 +01:00
AsamK
49aaff2bbe Increase sqlite busy timeout 2022-10-29 13:54:06 +02:00
AsamK
0b5a063b62 Use complete address instead of only identifier for retry envelope
Fixes #1074
2022-10-28 18:13:25 +02:00
AsamK
e0c2f58e8d Store attachments with a file extension
Taken from the filename if present, otherwise guessed from the contentType
2022-10-22 22:00:31 +02:00
AsamK
7ff1500122 Improve logging in prekey store 2022-10-22 17:43:15 +02:00
AsamK
7805622f07 Send long text messages as attachment instead
This matches the behavior of the official clients.
2022-10-22 17:43:15 +02:00
AsamK
a8e68dce3a Extract MimeUtils 2022-10-22 17:43:15 +02:00
AsamK
b9eee539bd Add PNI to recipients 2022-10-21 22:02:33 +02:00
AsamK
e450f36e81 Don't output caption if it's empty 2022-10-21 16:22:09 +02:00
AsamK
47b6fe7dbe Enable story capability
Only receiving is supported
2022-10-19 19:11:37 +02:00
AsamK
9ffacfe90e Add --ignore-stories flag to prevent receiving story messages 2022-10-19 19:11:37 +02:00
AsamK
3f7d8c60b9 Add workaround for #1045 2022-10-19 17:51:12 +02:00
AsamK
316c35b258 Add additional logging for reading message cache 2022-10-19 11:02:10 +02:00
AsamK
228713ebb5 Reset pre key offset if it somehow gets corrupted
Fixes #1055
2022-10-18 17:55:51 +02:00
AsamK
3522e43617 Update dependencies 2022-10-16 20:47:51 +02:00
AsamK
45a5795c9c Handle PniChangeNumber 2022-10-16 20:07:33 +02:00
AsamK
51fef48016 Refactor resolve recipient 2022-10-08 17:42:03 +02:00
AsamK
7ab013cee9 Do recipient merge in one transaction 2022-10-08 17:42:03 +02:00
AsamK
f2b334b57a Refactor check for registered users 2022-10-08 17:42:03 +02:00
AsamK
7eb7ee44f2 Refactor RecipientAddress 2022-10-08 17:42:03 +02:00
AsamK
34cc64f8ce Ensure self profile key is always stored in profile store
Fixes #1040
2022-10-07 21:51:01 +02:00
AsamK
ca5951861a Fix issue when receiving invalid message from invalid sender 2022-10-07 21:50:07 +02:00
AsamK
605f31d1ad Improve handling of group join messages 2022-10-07 21:17:45 +02:00
AsamK
30167d81e6 Add missing check for story group context 2022-10-07 21:17:45 +02:00
AsamK
a247b444e5 Fix typo 2022-10-07 21:17:45 +02:00
AsamK
1424a2980f Approve join requests instead of just adding the member 2022-10-07 21:17:45 +02:00
AsamK
01e1115806 Refresh group before updating 2022-10-07 21:17:45 +02:00
AsamK
c9c8af42c2 Implement refuse group join requests 2022-10-07 19:49:43 +02:00
AsamK
489fb2ac22 Improve error message when joining a group with already pending admin approval 2022-10-07 19:31:27 +02:00
AsamK
8e717e00b1 Add missing urgent column to projection
Fixes #1031
2022-10-07 12:09:43 +02:00
AsamK
9a4693136d Fix update from old versions without PNI
Fixes #1032
2022-10-07 12:04:22 +02:00
AsamK
cf0110ab95 Update libsignal-service
Fixes #1030
2022-10-06 21:56:40 +02:00