]> nmode's Git Repositories - signal-cli/log
signal-cli
4 years agoBump version v0.6.12
AsamK [Sun, 22 Nov 2020 14:50:34 +0000 (15:50 +0100)]
Bump version

4 years agoAdd CHANGELOG.md
AsamK [Sun, 22 Nov 2020 14:49:42 +0000 (15:49 +0100)]
Add CHANGELOG.md

4 years agoAdd output for new message infos
AsamK [Sun, 22 Nov 2020 11:56:32 +0000 (12:56 +0100)]
Add output for new message infos

4 years agoAdd possibility to pass a captcha token to register command
AsamK [Sun, 22 Nov 2020 10:03:14 +0000 (11:03 +0100)]
Add possibility to pass a captcha token to register command

Fixes #251

4 years agoAdapt json output to always use receiptMessage and remove isReceipt field
AsamK [Sun, 22 Nov 2020 09:48:42 +0000 (10:48 +0100)]
Adapt json output to always use receiptMessage and remove isReceipt field

Fixes #346

4 years agoRemove legacy EncapsulatedExceptions from manager
AsamK [Sun, 22 Nov 2020 09:38:28 +0000 (10:38 +0100)]
Remove legacy EncapsulatedExceptions from manager

4 years agoUse StandardCharsets.UTF_8
AsamK [Sun, 22 Nov 2020 09:03:41 +0000 (10:03 +0100)]
Use StandardCharsets.UTF_8

4 years agoStore profile keys only in profile store
AsamK [Sat, 21 Nov 2020 19:11:46 +0000 (20:11 +0100)]
Store profile keys only in profile store

Fixes #328

4 years agoSave account data after executing message actions
AsamK [Sat, 21 Nov 2020 10:51:59 +0000 (11:51 +0100)]
Save account data after executing message actions

Fixes #361

4 years agoDon't retry messages if they fail for another reason than untrusted identity
AsamK [Sat, 21 Nov 2020 10:51:31 +0000 (11:51 +0100)]
Don't retry messages if they fail for another reason than untrusted identity

4 years agoShow view once, remote delete and mentions info when receiving message
AsamK [Sat, 21 Nov 2020 10:50:40 +0000 (11:50 +0100)]
Show view once, remote delete and mentions info when receiving message

4 years agoUpdate dependencies
AsamK [Sat, 21 Nov 2020 10:47:06 +0000 (11:47 +0100)]
Update dependencies

4 years agoUpdate codeql-analysis.yml
AsamK [Thu, 19 Nov 2020 16:17:32 +0000 (17:17 +0100)]
Update codeql-analysis.yml

4 years agoPrint addition message info
AsamK [Thu, 22 Oct 2020 16:30:26 +0000 (18:30 +0200)]
Print addition message info

4 years agoBump version v0.6.11
AsamK [Wed, 14 Oct 2020 16:39:18 +0000 (18:39 +0200)]
Bump version

4 years agoFix behavior for recipients with only UUIDs
AsamK [Sun, 11 Oct 2020 08:41:56 +0000 (10:41 +0200)]
Fix behavior for recipients with only UUIDs

Fixes #359

4 years agoBump required JRE version in README
Mateusz Piotrowski [Mon, 28 Sep 2020 10:21:47 +0000 (12:21 +0200)]
Bump required JRE version in README

4 years agoBump version v0.6.10
AsamK [Fri, 11 Sep 2020 14:25:12 +0000 (16:25 +0200)]
Bump version

4 years agoRefactor ProfileStore to handle name/uuid addresses correctly
AsamK [Fri, 11 Sep 2020 14:22:30 +0000 (16:22 +0200)]
Refactor ProfileStore to handle name/uuid addresses correctly

4 years agoAdd workaround to fix crashes if native libzkgroup is not available
AsamK [Fri, 11 Sep 2020 13:35:44 +0000 (15:35 +0200)]
Add workaround to fix crashes if native libzkgroup is not available

Fixes #350
Fixes #349
Fixes #344

4 years agoIgnore error if downloading profile avatar fails
AsamK [Fri, 11 Sep 2020 07:23:30 +0000 (09:23 +0200)]
Ignore error if downloading profile avatar fails

4 years agoSupport saving profiles for users without uuids
AsamK [Fri, 11 Sep 2020 07:16:31 +0000 (09:16 +0200)]
Support saving profiles for users without uuids

Fixes #347

4 years agoPrevent corrupting account file, when serialization fails
AsamK [Fri, 11 Sep 2020 07:14:41 +0000 (09:14 +0200)]
Prevent corrupting account file, when serialization fails

4 years agoBump version v0.6.9
AsamK [Thu, 10 Sep 2020 14:02:46 +0000 (16:02 +0200)]
Bump version

4 years agoUpdate gradle wrapper
AsamK [Thu, 10 Sep 2020 14:02:41 +0000 (16:02 +0200)]
Update gradle wrapper

4 years agoRemove deprecated calls
AsamK [Thu, 10 Sep 2020 12:40:52 +0000 (14:40 +0200)]
Remove deprecated calls

4 years agoCache profiles for 24h before retrieving them again
AsamK [Thu, 10 Sep 2020 12:20:16 +0000 (14:20 +0200)]
Cache profiles for 24h before retrieving them again

4 years agoRetrieve avatar profile image
AsamK [Thu, 10 Sep 2020 08:19:59 +0000 (10:19 +0200)]
Retrieve avatar profile image

4 years agoUpdate libsignal-service
AsamK [Thu, 10 Sep 2020 09:06:33 +0000 (11:06 +0200)]
Update libsignal-service

4 years agoUse java 14 for CI builds
AsamK [Thu, 10 Sep 2020 08:16:24 +0000 (10:16 +0200)]
Use java 14 for CI builds

4 years agocleanup: removes deprecation
Lars K.W. Gohlke [Mon, 31 Aug 2020 19:54:11 +0000 (21:54 +0200)]
cleanup: removes deprecation

4 years agoreplaces strings to enable compile time checking
Lars K.W. Gohlke [Mon, 31 Aug 2020 19:53:59 +0000 (21:53 +0200)]
replaces strings to enable compile time checking

4 years agoUpdate codeql-analysis.yml
Lars K.W. Gohlke [Wed, 26 Aug 2020 19:05:26 +0000 (21:05 +0200)]
Update codeql-analysis.yml

4 years agoset to jdk11
Lars K.W. Gohlke [Tue, 25 Aug 2020 06:47:21 +0000 (08:47 +0200)]
set to jdk11

5 years agoAdjust link to a renamed wiki page
exquo [Mon, 17 Aug 2020 07:26:52 +0000 (07:26 +0000)]
Adjust link to a renamed wiki page

5 years agoUpdate README.md
AsamK [Fri, 14 Aug 2020 18:52:21 +0000 (20:52 +0200)]
Update README.md

5 years agoImprove stderr output
AsamK [Sun, 9 Aug 2020 13:11:09 +0000 (15:11 +0200)]
Improve stderr output

5 years agoRemove unnecessary stderr output
AsamK [Sun, 9 Aug 2020 13:09:09 +0000 (15:09 +0200)]
Remove unnecessary stderr output

Fixes #334

5 years agoMention the availability of signal-cli on FreeBSD
Mateusz Piotrowski [Fri, 14 Aug 2020 11:26:53 +0000 (13:26 +0200)]
Mention the availability of signal-cli on FreeBSD

5 years agoUpdate dependencies
AsamK [Sun, 9 Aug 2020 11:00:29 +0000 (13:00 +0200)]
Update dependencies

updateProfile can now only update both name and avatar at the same time,
as the upstream API has changed.

5 years agoUpdate dependencies
AsamK [Thu, 6 Aug 2020 20:34:50 +0000 (22:34 +0200)]
Update dependencies

5 years agoMove decrypting recipient profile to separate method
AsamK [Sat, 4 Jul 2020 06:18:04 +0000 (08:18 +0200)]
Move decrypting recipient profile to separate method

5 years agoFix a typo
Mateusz Piotrowski [Wed, 5 Aug 2020 09:08:03 +0000 (11:08 +0200)]
Fix a typo

5 years agoCreate codeql-analysis.yml
AsamK [Tue, 4 Aug 2020 20:37:04 +0000 (22:37 +0200)]
Create codeql-analysis.yml

5 years agoUse isEmpty()
AsamK [Thu, 2 Jul 2020 19:34:52 +0000 (21:34 +0200)]
Use isEmpty()

5 years agoadd further clarification to addDevice docs
Elburz Sorkhabi [Sun, 21 Jun 2020 20:56:54 +0000 (16:56 -0400)]
add further clarification to addDevice docs

I added a short note mentioning to add quotation marks around the full URI, otherwise the user receives "Invalid device URI" errors from Java.

5 years agoIgnore closed channel exception when closing the channel lock
AsamK [Fri, 5 Jun 2020 10:14:04 +0000 (12:14 +0200)]
Ignore closed channel exception when closing the channel lock

5 years agoPrint more information for sync requests
AsamK [Fri, 5 Jun 2020 10:13:38 +0000 (12:13 +0200)]
Print more information for sync requests

5 years agoDelay auto responses to messages until caught up with old messages
AsamK [Fri, 5 Jun 2020 10:13:17 +0000 (12:13 +0200)]
Delay auto responses to messages until caught up with old messages

To prevent responding with old state, if the last receive call was a long
time ago.

5 years agoDetect when receive has caught up with old messages
AsamK [Thu, 4 Jun 2020 16:44:13 +0000 (18:44 +0200)]
Detect when receive has caught up with old messages

5 years agoCreate service config only once
AsamK [Thu, 4 Jun 2020 15:59:05 +0000 (17:59 +0200)]
Create service config only once

5 years agoUpdate dependencies
AsamK [Thu, 4 Jun 2020 15:07:03 +0000 (17:07 +0200)]
Update dependencies

5 years agoRemove references to the native unix-java library
exquo [Tue, 2 Jun 2020 11:01:43 +0000 (11:01 +0000)]
Remove references to the native unix-java library

Since version 0.6.8 signal-cli uses hypfvieh dbus-java, so installing the packages libunixsocket-java (Debian), libmatthew-java (Fedora) or libmatthew-unix-java (ArchLinux) is not necessary.

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