]> nmode's Git Repositories - signal-cli/log
signal-cli
5 years agoBump version v0.6.8
AsamK [Fri, 22 May 2020 13:03:35 +0000 (15:03 +0200)]
Bump version

5 years agoRefactor sendMessage and extract sendSelfMessage method
AsamK [Fri, 22 May 2020 10:54:22 +0000 (12:54 +0200)]
Refactor sendMessage and extract sendSelfMessage method

5 years agoExtract sending of expiration timer update to separate method
AsamK [Fri, 22 May 2020 10:48:39 +0000 (12:48 +0200)]
Extract sending of expiration timer update to separate method

5 years agoStore number/uuid in recipient store after receiving a message
AsamK [Fri, 22 May 2020 10:30:36 +0000 (12:30 +0200)]
Store number/uuid in recipient store after receiving a message

Necessary to find the correct session if the sender send the next message
with only the uuid.

Fixes #309

5 years agoContact config - message expiration time (#308)
Matúš Košút [Sat, 16 May 2020 20:55:53 +0000 (22:55 +0200)]
Contact config - message expiration time (#308)

Co-authored-by: Matus Kosut <matus.kosut@ntnu.no>
5 years agoSeparate DbusSignal implementation from Manager
AsamK [Fri, 15 May 2020 15:38:32 +0000 (17:38 +0200)]
Separate DbusSignal implementation from Manager

5 years agoMove Exception classes to corresponding package
AsamK [Fri, 15 May 2020 14:55:14 +0000 (16:55 +0200)]
Move Exception classes to corresponding package

5 years agoMake fields final for DBusSignal classes
AsamK [Thu, 14 May 2020 21:44:24 +0000 (23:44 +0200)]
Make fields final for DBusSignal classes

5 years agoUpdate dependencies
AsamK [Thu, 14 May 2020 17:47:35 +0000 (19:47 +0200)]
Update dependencies

5 years agoUpdate dependency
AsamK [Thu, 14 May 2020 17:14:20 +0000 (19:14 +0200)]
Update dependency

5 years agoRefactor Manager and SignalAccount to implement Closeable
AsamK [Wed, 13 May 2020 21:33:40 +0000 (23:33 +0200)]
Refactor Manager and SignalAccount to implement Closeable

Should make sure that file lock and web socket connections are closed
reliably.

5 years agoSave account state after ending session even if sending the message has failed
AsamK [Mon, 11 May 2020 16:31:22 +0000 (18:31 +0200)]
Save account state after ending session even if sending the message has failed

5 years agoRefactor Manager to always have a valid SignalAccount instance
AsamK [Mon, 11 May 2020 16:07:37 +0000 (18:07 +0200)]
Refactor Manager to always have a valid SignalAccount instance

Extract ProvisioningManager to link new devices

5 years agoSplit manager ServiceConfig from BaseConfig
AsamK [Mon, 11 May 2020 12:51:55 +0000 (14:51 +0200)]
Split manager ServiceConfig from BaseConfig

5 years agoUpdate dependencies
AsamK [Mon, 11 May 2020 09:49:02 +0000 (11:49 +0200)]
Update dependencies

5 years agoDon't send group info request after receiving QUIT for unknown group
AsamK [Thu, 7 May 2020 10:41:49 +0000 (12:41 +0200)]
Don't send group info request after receiving QUIT for unknown group

The sender has quit the group so he won't respond to the info request anyway

5 years agoUpdate dependencies
AsamK [Wed, 6 May 2020 18:11:26 +0000 (20:11 +0200)]
Update dependencies

5 years agoImprove asciidoc formatting of the man page
AsamK [Wed, 6 May 2020 07:24:54 +0000 (09:24 +0200)]
Improve asciidoc formatting of the man page

5 years agoRemove version check which isn't working correctly
AsamK [Wed, 6 May 2020 07:18:48 +0000 (09:18 +0200)]
Remove version check which isn't working correctly

5 years agoSwitch to hypfvieh dbus-java
AsamK [Wed, 6 May 2020 07:13:49 +0000 (09:13 +0200)]
Switch to hypfvieh dbus-java

Removes transitive dependency on libmatthew-unix-java

Fixes #285

5 years agoUpdate README.md
AsamK [Wed, 6 May 2020 06:37:30 +0000 (08:37 +0200)]
Update README.md

Closes #286

5 years agoWhen sending an end session message clear local session store also if sending message...
AsamK [Tue, 21 Apr 2020 18:36:28 +0000 (20:36 +0200)]
When sending an end session message clear local session store also if sending message fails

5 years agoAlso catch IllegalArgumentException when sending messages during receive
AsamK [Tue, 21 Apr 2020 18:33:23 +0000 (20:33 +0200)]
Also catch IllegalArgumentException when sending messages during receive

It's necessary to keep receiving messages if a session state is corrupted.
e.g:
Exception in thread "main" java.lang.IllegalArgumentException: Empty key
        at java.base/javax.crypto.spec.SecretKeySpec.<init>(Unknown Source)
        at org.whispersystems.libsignal.ratchet.ChainKey.getBaseMaterial(ChainKey.java:57)
        at org.whispersystems.libsignal.ratchet.ChainKey.getMessageKeys(ChainKey.java:47)
        at org.whispersystems.libsignal.SessionCipher.encrypt(SessionCipher.java:97)
        at org.signal.libsignal.metadata.SealedSessionCipher.encrypt(SealedSessionCipher.java:70)
        at org.whispersystems.signalservice.api.crypto.SignalServiceCipher.encrypt(SignalServiceCipher.java:86)
        at org.whispersystems.signalservice.api.SignalServiceMessageSender.getEncryptedMessage(SignalServiceMessageSender.java:1456)
        at org.whispersystems.signalservice.api.SignalServiceMessageSender.getEncryptedMessages(SignalServiceMessageSender.java:1406)
        at org.whispersystems.signalservice.api.SignalServiceMessageSender.sendMessage(SignalServiceMessageSender.java:1276)
        at org.whispersystems.signalservice.api.SignalServiceMessageSender.sendReceipt(SignalServiceMessageSender.java:206)
        at org.asamk.signal.manager.Manager.sendReceipt(Manager.java:686)
        at org.asamk.signal.manager.Manager.handleMessage(Manager.java:1562)
        at org.asamk.signal.manager.Manager.receiveMessages(Manager.java:1496)
        at org.asamk.signal.commands.ReceiveCommand.handleCommand(ReceiveCommand.java:160)
        at org.asamk.signal.Main.handleCommands(Main.java:137)
        at org.asamk.signal.Main.main(Main.java:60)

5 years agoBump version v0.6.7
AsamK [Fri, 3 Apr 2020 16:00:27 +0000 (18:00 +0200)]
Bump version

5 years agoOutput json when receiving messages from dbus and --json parameter is given
AsamK [Fri, 3 Apr 2020 14:22:10 +0000 (16:22 +0200)]
Output json when receiving messages from dbus and --json parameter is given

Fixes #138

5 years agoRename fingerprint to safety number
AsamK [Fri, 3 Apr 2020 12:27:18 +0000 (14:27 +0200)]
Rename fingerprint to safety number

Fixes #92

5 years agoReturn message timestamp after sucessfully sending a message
AsamK [Fri, 3 Apr 2020 12:02:18 +0000 (14:02 +0200)]
Return message timestamp after sucessfully sending a message

Fixes #104

5 years agoAdd RecipientStore to resolve all identifiers to SignalServiceAddress
AsamK [Fri, 3 Apr 2020 09:56:26 +0000 (11:56 +0200)]
Add RecipientStore to resolve all identifiers to SignalServiceAddress

Should fix #290

5 years agoAdd a new sync dbus message which shows messages you sent. Necessary for having synch...
narodnik [Fri, 3 Apr 2020 11:16:57 +0000 (13:16 +0200)]
Add a new sync dbus message which shows messages you sent. Necessary for having synchronized chats where you want your message to appear. Format is similar to receive message dbus except instead of sender, it has sender (source) and receiver (destination). (#289)

5 years agoUpdate dependencies
AsamK [Mon, 30 Mar 2020 20:00:41 +0000 (22:00 +0200)]
Update dependencies

5 years agoUse correct sticker pack key length of 32. (#288)
signal-stickers [Mon, 30 Mar 2020 19:19:17 +0000 (15:19 -0400)]
Use correct sticker pack key length of 32. (#288)

* Use correct sticker pack key length of 32.

* Update dependencies

Co-authored-by: AsamK <asamk@gmx.de>
5 years agoBump version v0.6.6
AsamK [Sun, 29 Mar 2020 13:26:28 +0000 (15:26 +0200)]
Bump version

5 years agoUpdate gradle wrapper
AsamK [Sun, 29 Mar 2020 12:49:01 +0000 (14:49 +0200)]
Update gradle wrapper

5 years agoGet untrusted identity from inner exception
AsamK [Sun, 29 Mar 2020 12:45:11 +0000 (14:45 +0200)]
Get untrusted identity from inner exception

Fixes #283

5 years agoStore uuids in identity and session store
AsamK [Sun, 29 Mar 2020 10:51:32 +0000 (12:51 +0200)]
Store uuids in identity and session store

5 years agoFix potential crash that could happen when legacy thread.id is null or empty
AsamK [Fri, 27 Mar 2020 14:33:27 +0000 (15:33 +0100)]
Fix potential crash that could happen when legacy thread.id is null or empty

5 years agoUse legacy sender certificate, until uuid support is complete
AsamK [Wed, 25 Mar 2020 19:34:12 +0000 (20:34 +0100)]
Use legacy sender certificate, until uuid support is complete

5 years agoRemove unused methods from LegacyJsonThreadStore
AsamK [Tue, 24 Mar 2020 18:30:21 +0000 (19:30 +0100)]
Remove unused methods from LegacyJsonThreadStore

5 years agoMark our own identity key as trusted initially
AsamK [Tue, 24 Mar 2020 17:16:05 +0000 (18:16 +0100)]
Mark our own identity key as trusted initially

to match Signal-Android behavior

5 years agoImprove behavior, when authorization fails
AsamK [Tue, 24 Mar 2020 17:15:21 +0000 (18:15 +0100)]
Improve behavior, when authorization fails

- register command should still be possible, to regain authorization
- reset uuid after registering, otherwise the verify request will fail

5 years agoPrint better error message for captcha required error
AsamK [Tue, 24 Mar 2020 14:14:20 +0000 (15:14 +0100)]
Print better error message for captcha required error

5 years agoGet uuids from contact store when resolving numbers
AsamK [Tue, 24 Mar 2020 13:34:00 +0000 (14:34 +0100)]
Get uuids from contact store when resolving numbers

5 years agoOnly send our profile key to recipient who are in our contact list
AsamK [Tue, 24 Mar 2020 13:29:10 +0000 (14:29 +0100)]
Only send our profile key to recipient who are in our contact list

5 years agoOnly store our own profile key in contact list, if a contact entry already exists
AsamK [Tue, 24 Mar 2020 13:27:12 +0000 (14:27 +0100)]
Only store our own profile key in contact list, if a contact entry already exists

5 years agoSet uuid after verify and linking and request it at startup for existing clients
AsamK [Mon, 23 Mar 2020 20:56:51 +0000 (21:56 +0100)]
Set uuid after verify and linking and request it at startup for existing clients

5 years agoSend delivery receipt for data messages that need it
AsamK [Mon, 23 Mar 2020 19:49:38 +0000 (20:49 +0100)]
Send delivery receipt for data messages that need it

With the unidentified sender messages, the Signal server cannot do this
automatically anymore.

5 years agoRemove ThreadStore and store message expiration time in group/contact store
AsamK [Mon, 23 Mar 2020 19:28:15 +0000 (20:28 +0100)]
Remove ThreadStore and store message expiration time in group/contact store

To match the implemenation of Signal-Android

5 years agoStore group member uuids in group store
AsamK [Mon, 23 Mar 2020 18:08:41 +0000 (19:08 +0100)]
Store group member uuids in group store

The member list is now stored as a mixed list of strings and objects, e.g.:
"members": [ "+XXXX", { "number": "+XXXX", "uuid": "XXX-XX" } ]

5 years agoStore contact uuids in contact store
AsamK [Mon, 23 Mar 2020 16:43:37 +0000 (17:43 +0100)]
Store contact uuids in contact store

5 years agoShow recipient of sent sync message also when destination is not present
AsamK [Mon, 23 Mar 2020 16:10:44 +0000 (17:10 +0100)]
Show recipient of sent sync message also when destination is not present

5 years agoUse lambda for ThreadLocal
AsamK [Mon, 23 Mar 2020 16:10:11 +0000 (17:10 +0100)]
Use lambda for ThreadLocal

5 years agoUse SignalServiceAddress in more places
AsamK [Mon, 23 Mar 2020 16:09:56 +0000 (17:09 +0100)]
Use SignalServiceAddress in more places

5 years agoAdd documentation for sticker upload
AsamK [Mon, 23 Mar 2020 13:48:52 +0000 (14:48 +0100)]
Add documentation for sticker upload

5 years agoReformat project
AsamK [Mon, 23 Mar 2020 12:25:39 +0000 (13:25 +0100)]
Reformat project

5 years agoRefactor sticker upload
AsamK [Mon, 23 Mar 2020 12:18:39 +0000 (13:18 +0100)]
Refactor sticker upload

5 years agoAdd support for uploading stickers.
Signal Stickers [Sun, 29 Dec 2019 21:23:51 +0000 (16:23 -0500)]
Add support for uploading stickers.

Closes #256

5 years agoAdd toString method to Hex utils
AsamK [Mon, 23 Mar 2020 10:31:55 +0000 (11:31 +0100)]
Add toString method to Hex utils

5 years agoMark group as active when the user hasn't left it
AsamK [Sun, 22 Mar 2020 17:20:52 +0000 (18:20 +0100)]
Mark group as active when the user hasn't left it

Fixes #269

5 years agoFix storing received profile keys
AsamK [Sun, 22 Mar 2020 16:17:28 +0000 (17:17 +0100)]
Fix storing received profile keys

5 years agoImplement sending messages using unidentified sender
AsamK [Sun, 22 Mar 2020 16:17:14 +0000 (17:17 +0100)]
Implement sending messages using unidentified sender

5 years agoFix some inspection issues
AsamK [Sat, 21 Mar 2020 13:41:11 +0000 (14:41 +0100)]
Fix some inspection issues

5 years agoUpdate libsignal-service-java
AsamK [Sat, 21 Mar 2020 13:37:02 +0000 (14:37 +0100)]
Update libsignal-service-java

- Use new ProfileKey class instead of byte array
- Add capabilities (for future support of uuid and groups v2)

5 years agoUpdate gradle wrapper
AsamK [Sat, 21 Mar 2020 13:32:42 +0000 (14:32 +0100)]
Update gradle wrapper

5 years agoAdd command sendReaction for emoji reactions
AsamK [Sat, 22 Feb 2020 10:29:17 +0000 (11:29 +0100)]
Add command sendReaction for emoji reactions

5 years agoPrint message reactions
AsamK [Sat, 22 Feb 2020 09:35:55 +0000 (10:35 +0100)]
Print message reactions

5 years agoUpdate to libsignal 2.15.3_unofficial_2
AsamK [Wed, 12 Feb 2020 19:36:23 +0000 (20:36 +0100)]
Update to libsignal 2.15.3_unofficial_2

5 years agoShow contact name for message Sender
AsamK [Wed, 12 Feb 2020 19:23:04 +0000 (20:23 +0100)]
Show contact name for message Sender

Fixes #265

5 years agorefactor extracts method for security inits 90/head
Lars K.W. Gohlke [Sun, 26 Jan 2020 21:02:15 +0000 (22:02 +0100)]
refactor extracts method for security inits

5 years agoUpdate gradle wrapper
AsamK [Sun, 26 Jan 2020 13:50:32 +0000 (14:50 +0100)]
Update gradle wrapper

5 years agoAdd support for blocking contacts and accounts (#260)
Daniel Schäufele [Wed, 22 Jan 2020 07:39:28 +0000 (08:39 +0100)]
Add support for blocking contacts and accounts (#260)

* Add blockContact and unblockContact subcommands

* Send blocked status in contacts sync

* Use only one method for blocking and unblocking

* Add blocking/unblocking for groups

* Prevent blocked messages from being printed

* Print blocked property in listContacts and listGroups commands

* Handle BlockedListMessages

* Store blocked state from incoming contact and group sync messages

* Minor changes and corrections

* Add block and unblock commands to man file (and also fix some headings of commands)

5 years agoCanonicalize number when listing identities
AsamK [Tue, 21 Jan 2020 21:09:21 +0000 (22:09 +0100)]
Canonicalize number when listing identities

5 years agoCanonicalize number before getting/setting contact info
AsamK [Tue, 21 Jan 2020 21:00:38 +0000 (22:00 +0100)]
Canonicalize number before getting/setting contact info

5 years agoUpload attachment before sending to fix sending attachments to multiple recipients
AsamK [Tue, 21 Jan 2020 19:32:45 +0000 (20:32 +0100)]
Upload attachment before sending to fix sending attachments to multiple recipients

Fixes #259

5 years agoUpdate copyright notice
AsamK [Tue, 21 Jan 2020 19:32:19 +0000 (20:32 +0100)]
Update copyright notice

5 years agoAdd output for additional sync messages
AsamK [Mon, 6 Jan 2020 13:36:19 +0000 (14:36 +0100)]
Add output for additional sync messages

5 years agoFix showing sender of synced messages
AsamK [Mon, 6 Jan 2020 13:35:54 +0000 (14:35 +0100)]
Fix showing sender of synced messages

5 years agoDisplay more information for received messages
AsamK [Tue, 31 Dec 2019 12:02:49 +0000 (13:02 +0100)]
Display more information for received messages

5 years agoImprove SignalServiceAddress handling
AsamK [Mon, 30 Dec 2019 15:06:16 +0000 (16:06 +0100)]
Improve SignalServiceAddress handling

5 years agoUpdate gradle wrapper
AsamK [Mon, 30 Dec 2019 14:47:56 +0000 (15:47 +0100)]
Update gradle wrapper

5 years agoUpdate to libsignal 2.15.3 (#255)
signal-stickers [Mon, 30 Dec 2019 15:25:12 +0000 (10:25 -0500)]
Update to libsignal 2.15.3 (#255)

5 years agoUse guessContentTypeFromStream as fallback for probeContentType method
AsamK [Sat, 7 Dec 2019 14:47:57 +0000 (15:47 +0100)]
Use guessContentTypeFromStream as fallback for probeContentType method

Fixes #233
Fixes #109

5 years agoAdd listContacts subcommand (#248)
VisibleCode [Tue, 3 Dec 2019 20:57:27 +0000 (12:57 -0800)]
Add listContacts subcommand (#248)

5 years agoBump version v0.6.5
AsamK [Mon, 11 Nov 2019 20:29:36 +0000 (21:29 +0100)]
Bump version

5 years agoSupport receiving unidentified messages for dbus
AsamK [Mon, 11 Nov 2019 20:29:12 +0000 (21:29 +0100)]
Support receiving unidentified messages for dbus

5 years agoExtract getMessageReceiver method
AsamK [Mon, 11 Nov 2019 20:24:04 +0000 (21:24 +0100)]
Extract getMessageReceiver method

5 years agoImprove receiving unidentified messages
AsamK [Mon, 11 Nov 2019 20:22:12 +0000 (21:22 +0100)]
Improve receiving unidentified messages

5 years agoUse correct sender device for receiving sealed messages
AsamK [Mon, 11 Nov 2019 18:34:31 +0000 (19:34 +0100)]
Use correct sender device for receiving sealed messages

5 years agoUse https for checkLibVersions
kpcyrd [Sun, 10 Nov 2019 03:07:32 +0000 (04:07 +0100)]
Use https for checkLibVersions

5 years agoAdd basic sealed sender support
kpcyrd [Mon, 11 Nov 2019 03:34:04 +0000 (04:34 +0100)]
Add basic sealed sender support

5 years agoBump version v0.6.4
AsamK [Sat, 2 Nov 2019 12:40:58 +0000 (13:40 +0100)]
Bump version

5 years agoadded sync type to sync messages json
Gabriel Fernández Valdés [Thu, 17 Oct 2019 23:58:59 +0000 (19:58 -0400)]
added sync type to sync messages json

5 years agoRefactor UpdateContactCommand
AsamK [Wed, 16 Oct 2019 17:26:52 +0000 (19:26 +0200)]
Refactor UpdateContactCommand

5 years agoAdd commands to update contact names on Signal servers
Jérémy Bobbio [Tue, 24 Sep 2019 17:43:40 +0000 (19:43 +0200)]
Add commands to update contact names on Signal servers

As Signal Desktop does not allow its users to update the contact names,
it would be nice to be able to update contact names from signal-cli when
the latter is the master device.

The command `setContactName` allow to set the name for the given contact
in the local store. `sendContacts` can then be used to push the updated
contact list on Signal servers.

Closes #228

5 years agoUpdate dependencies
AsamK [Wed, 16 Oct 2019 17:06:00 +0000 (19:06 +0200)]
Update dependencies

5 years agoReformat imports
AsamK [Wed, 16 Oct 2019 16:58:20 +0000 (18:58 +0200)]
Reformat imports

5 years agoMerge profile commands to a single UpdateProfileCommand
AsamK [Wed, 16 Oct 2019 16:28:55 +0000 (18:28 +0200)]
Merge profile commands to a single UpdateProfileCommand

5 years agoAdd commands to update profile name and avatar
Jérémy Bobbio [Tue, 24 Sep 2019 17:22:14 +0000 (19:22 +0200)]
Add commands to update profile name and avatar

Two new commands are added `setProfileName` and `setProfileAvatar` which
allow to update the name and avatar visible by other users for the
current profiles.

Closes #227

5 years agoInclude profile key in outgoing messages
AsamK [Wed, 16 Oct 2019 17:15:14 +0000 (19:15 +0200)]
Include profile key in outgoing messages

5 years agoAdded JsonSyncDataMessage class with destination field.
Gabriel Fernández Valdés [Sun, 29 Sep 2019 13:03:12 +0000 (09:03 -0400)]
Added JsonSyncDataMessage class with destination field.

5 years agoAdded ReceiptMessage to JSON output
Gabriel Fernández Valdés [Mon, 23 Sep 2019 16:31:55 +0000 (12:31 -0400)]
Added ReceiptMessage to JSON output