John Freed
c39b5450ff
implement uploadStickerPack for Dbus; fix isRegistered error
...
Note: isRegistered (and related methods) for Dbus can throw an
InvalidNumberException when the phone number is incorrectly formatted.
Previously this led to uncaught exceptions. They are now handled.
The problem is in SignalServiceAccountManager.java in the
package org.whispersystems.signalservice.api, which ignores the
first character of a proposed phone number and checks that the
rest is a legitimate int64.
updated documentation
2021-08-18 10:43:26 +02:00
John Freed
bc3f8803dc
more debug message cleanup
2021-08-17 11:03:14 +02:00
John Freed
26a3bc1481
more debug messages
2021-08-17 06:52:31 +02:00
John Freed
49c21a522f
Merge branch 'master' into dbus_methods
2021-08-17 06:16:23 +02:00
John Freed
d7f1e1df51
add some debugging messages
2021-08-16 20:41:01 +02:00
AsamK
7089912fb0
Remove registrationLockV1 code
...
The corresponding endpoint has been removed on the Signal server
2021-08-15 21:30:21 +02:00
AsamK
b810e303ec
Update libsignal-service-java
2021-08-15 21:04:03 +02:00
John Freed
2e7f4c7085
implement Dbus commands
...
* String link()
* String link(String newDeviceName)
* void register(String number, boolean voiceVerification)
* void registerWithCaptcha(String number, boolean voiceVerification, String captcha)
* void verify(String number, String verificationCode)
* void verifyWithPin(String number, String verificationCode, String pin)
make dataPath and serviceEnvironment public from App class
make USER_AGENT ("signal-cli") public from BaseConfig class
add timeout error handling to finishDeviceLink method
update DBus documentation
2021-08-15 18:09:06 +02:00
John Freed
76406367ea
DBus methods
...
implement expanded updateGroup
allow group commands to use Base64 strings as group identifiers
* setGroupBlocked
* getGroupName
* getGroupMembers
* sendGroupMessage
* sendGroupMessageReaction
* updateGroup
update AvatarStore to make some methods public or static
reuse UpdateGroupCommand code
update DBus documentation
2021-08-15 09:41:29 +02:00
John Freed
5059925b22
Revert "track attachment data ( #671 and #316 )"
...
This reverts commit 8aed357994
.
2021-08-12 14:38:47 +02:00
John Freed
29aea22ff1
Merge branch 'master' into dbus
2021-08-11 07:31:31 +02:00
John Freed
8aed357994
track attachment data ( #671 and #316 )
...
create new DbusAttachment type
allow URLs for --attachment option
update manpage
update wiki with signalmail
implement setExpirationTimer() for DBus
implement isRegistered() for DBus
add sendNoteToSelfMessageWithDBusAttachments
add sendGroupMessageWithDBusAttachments
add sendMessageWithDBusAttachments
bump version
2021-08-11 07:08:43 +02:00
AsamK
a8bbdb54d0
Implement jsonRpc command
...
Co-authored-by: technillogue <technillogue@gmail.com>
Closes #668
2021-08-10 18:16:50 +02:00
AsamK
8f781c019f
Add dbus SignalControl interface to register/verify/link accounts
2021-08-08 18:43:14 +02:00
AsamK
dde98e9b06
Update bouncycastle
2021-08-07 10:22:30 +02:00
AsamK
b1ebdc8343
Extract decryptProfileIfKeyKnown helper method
2021-07-31 22:19:31 +02:00
AsamK
2d068997c5
Implement sticker pack retrieval
...
Fixes #410
2021-06-13 15:02:16 +02:00
AsamK
f40c351662
Add optional content type to json sticker pack manifest
2021-06-13 14:32:58 +02:00
AsamK
5e50a4cc4a
Use correct hex implementation
2021-06-13 14:32:58 +02:00
AsamK
7e223dc228
Add sendTyping command
...
Fixes #602
2021-06-12 17:57:15 +02:00
AsamK
609ebf024b
Update libsignal-service-java
2021-06-12 16:22:51 +02:00
AsamK
87406e2cdb
Implement --delete flag for quitGroup
...
Closes #638
2021-06-12 11:33:19 +02:00
AsamK
795b73df87
Skip invalid contact records
2021-06-12 08:49:37 +02:00
AsamK
0001a9b300
Skip invalid group records
...
Fixes #642
2021-06-12 08:47:18 +02:00
AsamK
39c4cf24b8
Refresh group if group update conflicts with remote edit
...
Fixes #639
2021-06-02 20:40:02 +02:00
AsamK
1ce1ae91be
Use System.currentTimeMillis
2021-05-29 10:08:16 +02:00
AsamK
cfc818872f
Add hint that messages must be regularly received
2021-05-24 12:18:33 +02:00
AsamK
79f1ca5491
Make lib module jar reproducible
2021-05-22 13:34:59 +02:00
AsamK
bfd6b605e9
Prevent sending invalid locale to server
2021-05-21 15:38:11 +02:00
AsamK
30690785fd
Update libsignal-service-java
2021-05-19 22:51:35 +02:00
AsamK
81ee2c2d2b
Update group with remaining options, after creating it
2021-05-15 18:26:45 +02:00
AsamK
ea633efc9c
Prevent last admin from leaving group
2021-05-15 18:05:07 +02:00
AsamK
78f22c7020
Implement setting group permissions
2021-05-15 17:04:22 +02:00
AsamK
7170a68571
Implement setting expiration timer for groups
2021-05-15 17:04:22 +02:00
AsamK
03589f858b
Implement configuring of group link
2021-05-15 17:04:22 +02:00
AsamK
3de30e166f
Implement add/remove admin privileges
2021-05-15 17:04:22 +02:00
AsamK
b972522d74
Rename group v2 helper
2021-05-15 17:04:22 +02:00
AsamK
a91e3f762e
Implement remove group members
2021-05-15 17:04:22 +02:00
AsamK
4ebacd0e1f
Split createGroup out of updateGroup method
2021-05-14 21:33:04 +02:00
AsamK
dd0effc10c
Add group descriptions
2021-05-13 20:05:46 +02:00
AsamK
06e9f8ba64
Update libsignal-service-java
2021-05-13 17:30:29 +02:00
AsamK
4fd3657f3d
Prevent error when including self in member list
2021-05-13 11:56:03 +02:00
AsamK
da29cdfe10
Only send plain text pin if locked with registration lock v1
2021-05-13 10:35:01 +02:00
AsamK
ea11f3b1fd
Fix NPE when legacy profile has no capabilities
...
Fixes #616
2021-05-12 20:12:05 +02:00
AsamK
3fc5bec149
Prevent NPE during migration, when profile key is null
2021-05-12 19:34:09 +02:00
AsamK
2727487902
Don't send null message to self
2021-05-11 22:02:36 +02:00
AsamK
19c004e987
Store available profile data even if we don't have the profile key
2021-05-11 18:37:18 +02:00
AsamK
7364f0f7cf
Trust address/uuid combination from unidentified sender certificate
2021-05-09 19:48:51 +02:00
AsamK
3643d57d0e
Implement preliminary phone number privacy for sender certificate
2021-05-09 19:34:07 +02:00
AsamK
8217541d5e
Reset profile key credentials when new profile key is changed
2021-05-09 19:28:49 +02:00