]> nmode's Git Repositories - signal-cli/log
signal-cli
4 years agoImplement accepting and declining group invitations
AsamK [Mon, 21 Dec 2020 14:20:18 +0000 (15:20 +0100)]
Implement accepting and declining group invitations

4 years agoGet UUIDs for unknown numbers from server
AsamK [Mon, 21 Dec 2020 13:56:37 +0000 (14:56 +0100)]
Get UUIDs for unknown numbers from server

4 years agoAdd group v2 id to json output
AsamK [Mon, 21 Dec 2020 10:45:42 +0000 (11:45 +0100)]
Add group v2 id to json output

4 years agoBump version v0.7.0
AsamK [Tue, 15 Dec 2020 22:07:16 +0000 (23:07 +0100)]
Bump version

4 years agoPrevent NullPointerException when destination is null for some reason
AsamK [Tue, 15 Dec 2020 17:58:49 +0000 (18:58 +0100)]
Prevent NullPointerException when destination is null for some reason

4 years agoImplement quit group
AsamK [Mon, 14 Dec 2020 18:14:49 +0000 (19:14 +0100)]
Implement quit group

4 years agoImplement updating of v2 groups
AsamK [Sun, 13 Dec 2020 11:01:18 +0000 (12:01 +0100)]
Implement updating of v2 groups

4 years agoApply decrypted group change when receiving signed change
AsamK [Sat, 12 Dec 2020 10:51:38 +0000 (11:51 +0100)]
Apply decrypted group change when receiving signed change

4 years agoMigrate local group to v2 if another member has migrated it
AsamK [Sat, 12 Dec 2020 10:14:36 +0000 (11:14 +0100)]
Migrate local group to v2 if another member has migrated it

4 years agoUpdate dbus-java
AsamK [Fri, 11 Dec 2020 22:26:00 +0000 (23:26 +0100)]
Update dbus-java

4 years agoReformat project
AsamK [Tue, 8 Dec 2020 19:59:20 +0000 (20:59 +0100)]
Reformat project

4 years agoImplement creating V2 Groups
AsamK [Mon, 7 Dec 2020 20:06:07 +0000 (21:06 +0100)]
Implement creating V2 Groups

4 years agoShow pending and requesting members of v2 groups
AsamK [Fri, 4 Dec 2020 18:51:36 +0000 (19:51 +0100)]
Show pending and requesting members of v2 groups

4 years agoOnly update account attributes if already registered
AsamK [Tue, 1 Dec 2020 18:06:41 +0000 (19:06 +0100)]
Only update account attributes if already registered

4 years agoImplement a sticker store
AsamK [Tue, 24 Nov 2020 20:44:57 +0000 (21:44 +0100)]
Implement a sticker store

4 years agoImplement support for sending/receiving Group V2 messages
AsamK [Sun, 22 Nov 2020 18:47:10 +0000 (19:47 +0100)]
Implement support for sending/receiving Group V2 messages

Requires libzkgroup to work, which is currently only included for x86_64 Linux

Related #354

4 years agoUpdate codestyle
AsamK [Mon, 23 Nov 2020 21:40:05 +0000 (22:40 +0100)]
Update codestyle

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