]> nmode's Git Repositories - signal-cli/log
signal-cli
4 years agoReturn URI instead of String
AsamK [Sun, 7 Mar 2021 13:50:33 +0000 (14:50 +0100)]
Return URI instead of String

4 years agoReturn a Manager from ProvisioningManager and RegistrationManager when finished
AsamK [Sun, 7 Mar 2021 13:48:02 +0000 (14:48 +0100)]
Return a Manager from ProvisioningManager and RegistrationManager when finished

4 years agosome small dbus return code fixes (#556)
Adimarantis [Sun, 7 Mar 2021 20:05:49 +0000 (21:05 +0100)]
some small dbus return code fixes (#556)

* some small dbus return code fixes

* Added DBus manpage

* changed getDisplayName behaviour

* reverted change in manager

4 years agoUpdate README.md
AsamK [Sun, 7 Mar 2021 15:26:33 +0000 (16:26 +0100)]
Update README.md

4 years agoBump version v0.8.1
AsamK [Tue, 2 Mar 2021 19:48:52 +0000 (20:48 +0100)]
Bump version

4 years agoImprove dbus impl
AsamK [Mon, 1 Mar 2021 19:39:45 +0000 (20:39 +0100)]
Improve dbus impl

4 years agoReformat
AsamK [Mon, 1 Mar 2021 19:33:12 +0000 (20:33 +0100)]
Reformat

4 years agoDbus enhancements (#543)
Adimarantis [Mon, 1 Mar 2021 19:31:17 +0000 (20:31 +0100)]
Dbus enhancements (#543)

* Dbus enhancements

* reverted sendMessage, completed isContactBlocked, fixed formatting

* Updates based on feedback and fixes

* Added trim

* fixed getContactName Exception handling

4 years agoAdd getDisplayName to SignalProfile
AsamK [Sun, 28 Feb 2021 09:19:40 +0000 (10:19 +0100)]
Add getDisplayName to SignalProfile

4 years agoCatch all exceptions when loading cached message
AsamK [Sun, 28 Feb 2021 08:49:02 +0000 (09:49 +0100)]
Catch all exceptions when loading cached message

4 years agoPrint exception name when failing to load state fiel
AsamK [Sat, 27 Feb 2021 16:43:19 +0000 (17:43 +0100)]
Print exception name when failing to load state fiel

4 years agoCreate CONTRIBUTING.md
AsamK [Sat, 27 Feb 2021 09:42:56 +0000 (10:42 +0100)]
Create CONTRIBUTING.md

4 years agoCreate FUNDING.yml
AsamK [Sat, 27 Feb 2021 09:30:38 +0000 (10:30 +0100)]
Create FUNDING.yml

4 years agoImprove behavior of trust command
AsamK [Thu, 25 Feb 2021 18:20:02 +0000 (19:20 +0100)]
Improve behavior of trust command

- Remove all other identities for the same number

Fixes #540

4 years agoFix issue with broken sessions
AsamK [Tue, 23 Feb 2021 20:50:31 +0000 (21:50 +0100)]
Fix issue with broken sessions

Fixes #530

4 years agoAdd CommandException to abstract cli return codes for errors
AsamK [Mon, 22 Feb 2021 19:43:08 +0000 (20:43 +0100)]
Add CommandException to abstract cli return codes for errors

4 years agoUse PlainTextWriter for all cli stdout output
AsamK [Mon, 22 Feb 2021 18:16:51 +0000 (19:16 +0100)]
Use PlainTextWriter for all cli stdout output

4 years agoUse var instead of explicit types
AsamK [Sun, 21 Feb 2021 14:01:41 +0000 (15:01 +0100)]
Use var instead of explicit types

4 years agoRefactor ReceiveMessageHandler
AsamK [Sat, 20 Feb 2021 18:22:36 +0000 (19:22 +0100)]
Refactor ReceiveMessageHandler

Introduce PlainTextWriter to improve indentation handling.

4 years agoReformat code
AsamK [Fri, 19 Feb 2021 17:04:08 +0000 (18:04 +0100)]
Reformat code

4 years agoOutput "SharedContacts" field from a SignalDataMessage (#529)
Atomic-Bean [Fri, 19 Feb 2021 17:03:15 +0000 (03:33 +1030)]
Output "SharedContacts" field from a SignalDataMessage (#529)

* Initial version of SharedContacts from data message. Need to change location of avatar downloaded and fix plain text mode

* Made empty strings for json null and fixed plaintext output

* Removed old comments, simplified if-statement and added a 'leadingSpaces' field to the print attachments/mentions functions

* Added AsamK's changes

4 years agoReformat code
AsamK [Fri, 19 Feb 2021 16:56:43 +0000 (17:56 +0100)]
Reformat code

4 years agoAdd updateProfile to Dbus (#522)
Adimarantis [Fri, 19 Feb 2021 16:54:59 +0000 (17:54 +0100)]
Add updateProfile to Dbus (#522)

* Added updateProfile on Dbus

* added updateProfile on Dbus (fix)

Co-authored-by: Adimarantis <adimarantis@gmail.com>
4 years agoBump version v0.8.0
AsamK [Sun, 14 Feb 2021 10:01:06 +0000 (11:01 +0100)]
Bump version

4 years agoAdd more information for libsignal-client native dependency
AsamK [Sun, 14 Feb 2021 09:40:35 +0000 (10:40 +0100)]
Add more information for libsignal-client native dependency

4 years agoAdd more information for CaptchaRequiredException
AsamK [Sat, 13 Feb 2021 17:40:27 +0000 (18:40 +0100)]
Add more information for CaptchaRequiredException

4 years agoOnly attempt to delete profile avatar if it exists
AsamK [Sat, 13 Feb 2021 14:16:54 +0000 (15:16 +0100)]
Only attempt to delete profile avatar if it exists

Fixes #486

4 years agoUpdate signal-service-java
AsamK [Fri, 12 Feb 2021 21:31:33 +0000 (22:31 +0100)]
Update signal-service-java

4 years agoGraalVM: added reflection config (#507)
Michael Kebe [Tue, 9 Feb 2021 16:39:36 +0000 (17:39 +0100)]
GraalVM: added reflection config (#507)

* GraalVM: added reflection config for delete messages

* GraalVM: added reflection config for PreKey exchange

* GraalVM: added reflection config for DuplicateMessageException

* GraalVM: added reflection config for JsonRemoteDelete

* GraalVM: added reflection config for JsonAttachment

* GraalVM: added reflection config for JsonSticker and Contacts

4 years agoPrint additional call message content
AsamK [Sun, 7 Feb 2021 17:47:21 +0000 (18:47 +0100)]
Print additional call message content

4 years agoProposal for the Manager class to manage an ExecutorService for all SignalServiceMess...
Dom [Wed, 3 Feb 2021 18:40:12 +0000 (19:40 +0100)]
Proposal for the Manager class to manage an ExecutorService for all SignalServiceMessageSender instances (#482)

* Modified the Manager class to provide an ExecuterService for the SignalServiceMessageSender.

* removed unnesessary comment

* Changed the ExecutorService to a unbounded newCachedThreadPool

Co-authored-by: Cutkh <cutkh@users.noreply.github.com>
4 years agoGraalVM configuration update (#477)
Michael Kebe [Wed, 27 Jan 2021 15:35:29 +0000 (16:35 +0100)]
GraalVM configuration update (#477)

* graalvm configuration update

removed unnecessary classes from reflect
added libsignal_jni.so to resource-config.json
graalvm configuration changed location of ias.store and whisper.store

* graalvm configuration fixes receiving messages

* graalvm config setPin

* graalvm config quitGroup

* graalvm config trust

* graalvm config more receive failed to decrypt error

* graalvm config --output=json

* graalvm config JsonTypingMessage

4 years agoAdd support for about and aboutEmoji for profiles
AsamK [Sat, 23 Jan 2021 23:02:07 +0000 (00:02 +0100)]
Add support for about and aboutEmoji for profiles

4 years agoRefactor ServiceConfig and add sandbox config
AsamK [Sat, 23 Jan 2021 22:06:58 +0000 (23:06 +0100)]
Refactor ServiceConfig and add sandbox config

4 years agoExtract checkLibVersions task to gradle plugin
AsamK [Sat, 23 Jan 2021 16:59:50 +0000 (17:59 +0100)]
Extract checkLibVersions task to gradle plugin

4 years agoExtract lib module
AsamK [Sat, 23 Jan 2021 15:57:36 +0000 (16:57 +0100)]
Extract lib module

4 years agoConvert gradle scripts to kotlin
AsamK [Sat, 23 Jan 2021 14:55:41 +0000 (15:55 +0100)]
Convert gradle scripts to kotlin

4 years agoPrepare build.gradle for kotlin migration
AsamK [Sat, 23 Jan 2021 12:36:39 +0000 (13:36 +0100)]
Prepare build.gradle for kotlin migration

4 years agoUpdate gradle wrapper
AsamK [Sat, 23 Jan 2021 12:00:12 +0000 (13:00 +0100)]
Update gradle wrapper

4 years agoUpdate libsignal
AsamK [Mon, 21 Dec 2020 09:25:36 +0000 (10:25 +0100)]
Update libsignal

4 years agoAdd more config generated by agent
AsamK [Fri, 22 Jan 2021 23:00:07 +0000 (00:00 +0100)]
Add more config generated by agent

4 years agoUpdate libsignal
AsamK [Fri, 22 Jan 2021 17:23:42 +0000 (18:23 +0100)]
Update libsignal

4 years agoAdded GraalVM configuration to create a native binary (#452)
Michael Kebe [Sat, 23 Jan 2021 10:11:50 +0000 (11:11 +0100)]
Added GraalVM configuration to create a native binary (#452)

* Initial GraalVM configuration

* graalvm reflection changes for v0.7.4

* graalvm removed unneeded options for native-image

* updated gradle plugin org.mikeneck.graalvm-native-image to 1.1.0

* moved from gradle graalvm-native-image plugin to native-build.sh

* added missing graalvm reflection config for receive

* refactored native-build.sh to a gradle task buildNativeBinary

4 years agodoc(README): put links to manpage & wiki first (#459)
Benjamin Schmid [Thu, 21 Jan 2021 17:44:31 +0000 (18:44 +0100)]
doc(README): put links to manpage & wiki first (#459)

- Directly provide links to the complete man page below usage
- Extend explanation of `USERNAME`

4 years agoBump version v0.7.4
AsamK [Tue, 19 Jan 2021 16:31:10 +0000 (17:31 +0100)]
Bump version

4 years agoRequest storage key after linking
AsamK [Tue, 19 Jan 2021 16:04:02 +0000 (17:04 +0100)]
Request storage key after linking

4 years agoFix issue with incorrectly saving signalingKey
AsamK [Tue, 19 Jan 2021 15:54:44 +0000 (16:54 +0100)]
Fix issue with incorrectly saving signalingKey

Fixes #442, #447

4 years agoStore storage key from keys sync message
AsamK [Mon, 18 Jan 2021 19:33:04 +0000 (20:33 +0100)]
Store storage key from keys sync message

4 years agoOnly allow setting PIN by master device
AsamK [Mon, 18 Jan 2021 19:29:01 +0000 (20:29 +0100)]
Only allow setting PIN by master device

4 years agoIf contact name is not set, print profile name instead
AsamK [Mon, 18 Jan 2021 19:28:25 +0000 (20:28 +0100)]
If contact name is not set, print profile name instead

4 years agoSend and handle fetch profile sync message
AsamK [Sun, 17 Jan 2021 16:38:33 +0000 (17:38 +0100)]
Send and handle fetch profile sync message

4 years agoUse getRegisteredUsers instead of getContacts for updating v1 group
AsamK [Sun, 17 Jan 2021 15:52:10 +0000 (16:52 +0100)]
Use getRegisteredUsers instead of getContacts for updating v1 group

Fixes #437

4 years agoBump version v0.7.3
AsamK [Sun, 17 Jan 2021 12:14:12 +0000 (13:14 +0100)]
Bump version

4 years agoIgnore relay in json output if null
AsamK [Sun, 17 Jan 2021 11:36:11 +0000 (12:36 +0100)]
Ignore relay in json output if null

4 years agoAdd remote delete info to json output
AsamK [Sun, 17 Jan 2021 10:57:46 +0000 (11:57 +0100)]
Add remote delete info to json output

Fixes #424

4 years agoAdd typing message to json output
AsamK [Sun, 17 Jan 2021 10:43:39 +0000 (11:43 +0100)]
Add typing message to json output

Fixes #423

4 years agoAdd viewOnce boolean to json data message
AsamK [Sun, 17 Jan 2021 10:29:11 +0000 (11:29 +0100)]
Add viewOnce boolean to json data message

4 years agoMake fields in json classes final and omit unnecessary nulls when serializing
AsamK [Sun, 17 Jan 2021 10:23:02 +0000 (11:23 +0100)]
Make fields in json classes final and omit unnecessary nulls when serializing

Fix sender in sync read messages

4 years agoRename Cli class to App
AsamK [Sat, 16 Jan 2021 20:20:12 +0000 (21:20 +0100)]
Rename Cli class to App

4 years agoCheck if output type is supported by command
AsamK [Sat, 16 Jan 2021 20:12:01 +0000 (21:12 +0100)]
Check if output type is supported by command

4 years agoFix group info for json dbus messages
AsamK [Sat, 16 Jan 2021 19:12:24 +0000 (20:12 +0100)]
Fix group info for json dbus messages

4 years agoFix logger names
AsamK [Sat, 16 Jan 2021 19:11:50 +0000 (20:11 +0100)]
Fix logger names

4 years agoExtract JsonWriter for json output
AsamK [Sat, 16 Jan 2021 19:11:32 +0000 (20:11 +0100)]
Extract JsonWriter for json output

4 years agoAdd an enum for output types
AsamK [Sat, 16 Jan 2021 17:52:06 +0000 (18:52 +0100)]
Add an enum for output types

4 years agoMove buildArgumentParser to Cli class
AsamK [Sat, 16 Jan 2021 16:45:45 +0000 (17:45 +0100)]
Move buildArgumentParser to Cli class

4 years agoUse getRegisteredUsers (CDS2) instead of getContacts for getUserStatus command
AsamK [Sat, 16 Jan 2021 16:06:10 +0000 (17:06 +0100)]
Use getRegisteredUsers (CDS2) instead of getContacts for getUserStatus command

That's what the official app does, looks like the old contact discovery
system is not working anymore.

4 years agoUse exit 4 when sending a single recipient message fails due to untrusted identity key
AsamK [Sat, 16 Jan 2021 14:38:38 +0000 (15:38 +0100)]
Use exit 4 when sending a single recipient message fails due to untrusted identity key

Fixes #88

4 years agoSend self messages as normal messages, new flag --note-to-self for sync message
AsamK [Sat, 16 Jan 2021 10:56:41 +0000 (11:56 +0100)]
Send self messages as normal messages, new flag --note-to-self for sync message

Fixes #373

4 years agoMove recipients/group argument check to send commands
AsamK [Sat, 16 Jan 2021 09:21:38 +0000 (10:21 +0100)]
Move recipients/group argument check to send commands

4 years agoUpdate systemd service file
AsamK [Fri, 15 Jan 2021 20:12:03 +0000 (21:12 +0100)]
Update systemd service file

4 years agoAllow calling signal-cli without -u flag
AsamK [Fri, 15 Jan 2021 17:28:54 +0000 (18:28 +0100)]
Allow calling signal-cli without -u flag

For daemon command all local users will be exposed as dbus objects
If only one local user exists, all other commands will use that user,
otherwise a user has to be specified.

4 years agoImprove logging for provisioning
AsamK [Sat, 16 Jan 2021 07:59:15 +0000 (08:59 +0100)]
Improve logging for provisioning

4 years agoPrevent incorrect error log about saving failed if an exception was thrown
AsamK [Sat, 16 Jan 2021 07:58:59 +0000 (08:58 +0100)]
Prevent incorrect error log about saving failed if an exception was thrown

4 years agoReplace Base64 class from libsignal with java.util.Base64
AsamK [Fri, 15 Jan 2021 21:31:40 +0000 (22:31 +0100)]
Replace Base64 class from libsignal with java.util.Base64

4 years agoUpdate man page
AsamK [Fri, 15 Jan 2021 21:12:01 +0000 (22:12 +0100)]
Update man page

4 years agoSet log level to debug for verbose mode
AsamK [Fri, 15 Jan 2021 17:29:33 +0000 (18:29 +0100)]
Set log level to debug for verbose mode

4 years agoFix loading some account files without legacy store
AsamK [Fri, 15 Jan 2021 17:29:13 +0000 (18:29 +0100)]
Fix loading some account files without legacy store

4 years agoRemove unnecessary isRegistered checks
AsamK [Fri, 15 Jan 2021 11:21:19 +0000 (12:21 +0100)]
Remove unnecessary isRegistered checks

4 years agoUse global output flag for daemon command
AsamK [Fri, 15 Jan 2021 11:09:37 +0000 (12:09 +0100)]
Use global output flag for daemon command

4 years agoAdd --verbose flag to show extended logging
AsamK [Fri, 15 Jan 2021 10:43:53 +0000 (11:43 +0100)]
Add --verbose flag to show extended logging

Fixes #379

4 years agoExtract some utils from manager
AsamK [Thu, 14 Jan 2021 21:18:40 +0000 (22:18 +0100)]
Extract some utils from manager

4 years agoUpdate man page
AsamK [Thu, 14 Jan 2021 21:19:37 +0000 (22:19 +0100)]
Update man page

4 years agoFix file name for contact avatars
AsamK [Thu, 14 Jan 2021 20:26:20 +0000 (21:26 +0100)]
Fix file name for contact avatars

4 years agoCreate an AttachmentStore
AsamK [Thu, 14 Jan 2021 20:26:01 +0000 (21:26 +0100)]
Create an AttachmentStore

4 years agoAlways include profile key in direct messages
AsamK [Thu, 14 Jan 2021 17:41:21 +0000 (18:41 +0100)]
Always include profile key in direct messages

Adjusts behavior to official client

Fixes #416

4 years agoAdded sticker field to json output. Also added hidden mac file to .gitignore (#418)
Atomic-Bean [Thu, 14 Jan 2021 17:10:35 +0000 (03:40 +1030)]
Added sticker field to json output. Also added hidden mac file to .gitignore (#418)

4 years agoCreate an AvatarStore
AsamK [Wed, 13 Jan 2021 21:35:58 +0000 (22:35 +0100)]
Create an AvatarStore

4 years agoAlways delete temporary files on exit
AsamK [Wed, 13 Jan 2021 19:56:23 +0000 (20:56 +0100)]
Always delete temporary files on exit

4 years agoMake loggers private
AsamK [Wed, 13 Jan 2021 19:19:34 +0000 (20:19 +0100)]
Make loggers private

4 years agoIgnore group message if the sender is not in the group
AsamK [Wed, 13 Jan 2021 18:13:03 +0000 (19:13 +0100)]
Ignore group message if the sender is not in the group

4 years agoReformat man doc and clarify help text
AsamK [Wed, 13 Jan 2021 16:04:58 +0000 (17:04 +0100)]
Reformat man doc and clarify help text

4 years agoAdded JSON output to listGroups and allowed json to be activated with -j (#401)
Atomic-Bean [Wed, 13 Jan 2021 15:51:31 +0000 (02:21 +1030)]
Added JSON output to listGroups and allowed json to be activated with -j (#401)

* Added json output to listGroups and allowed json to be activated with -j

* Renamed classes

* Added AsamK's suggestions

* Removed isRegisted check since that is causing a conflict with upstream

* Fixed an issue in the help message for listGroupsCommand

* Re-enabled --json for receive and getUserStatuses commands as deprecated

* Added better depricated warning message and clarified some java doc stuff

4 years agoExtract pre key generation to KeyUtils
AsamK [Tue, 12 Jan 2021 19:40:17 +0000 (20:40 +0100)]
Extract pre key generation to KeyUtils

4 years agoRefactor message cache
AsamK [Mon, 11 Jan 2021 20:18:03 +0000 (21:18 +0100)]
Refactor message cache

4 years agoUpdate copyright notices
AsamK [Mon, 11 Jan 2021 18:50:19 +0000 (19:50 +0100)]
Update copyright notices

4 years agoRefactor register and verify
AsamK [Sun, 10 Jan 2021 16:07:06 +0000 (17:07 +0100)]
Refactor register and verify

4 years agoCheck for null query when decoding device link uri
AsamK [Sun, 10 Jan 2021 21:31:18 +0000 (22:31 +0100)]
Check for null query when decoding device link uri

4 years agoFix expectedV2Id serialization
AsamK [Sun, 10 Jan 2021 21:41:39 +0000 (22:41 +0100)]
Fix expectedV2Id serialization

4 years agoFix pin hash version to match android
AsamK [Sun, 10 Jan 2021 17:14:33 +0000 (18:14 +0100)]
Fix pin hash version to match android

4 years agoDisable registration lock before removing pin
AsamK [Sun, 10 Jan 2021 16:07:26 +0000 (17:07 +0100)]
Disable registration lock before removing pin