]> nmode's Git Repositories - signal-cli/log
signal-cli
2 years agoBump version to 0.11.9.1 v0.11.9.1
AsamK [Sun, 23 Apr 2023 08:18:23 +0000 (10:18 +0200)]
Bump version to 0.11.9.1

2 years agoFix build with java 20
AsamK [Sat, 22 Apr 2023 17:19:00 +0000 (19:19 +0200)]
Fix build with java 20

- previous fix required a jdk 17 to be installed as well

2 years agoBump version to 0.11.9 v0.11.9
AsamK [Sat, 22 Apr 2023 15:54:49 +0000 (17:54 +0200)]
Bump version to 0.11.9

2 years agoFix build with java 20
AsamK [Sat, 22 Apr 2023 10:41:12 +0000 (12:41 +0200)]
Fix build with java 20

2 years agoAnnounce support for gift badges if linked device
AsamK [Sun, 16 Apr 2023 19:17:22 +0000 (21:17 +0200)]
Announce support for gift badges if linked device

Fixes #1226

2 years agoUpdate libsignal-service-java
AsamK [Sun, 16 Apr 2023 19:18:54 +0000 (21:18 +0200)]
Update libsignal-service-java

2 years agoRemove old libzkgroup fallback code
AsamK [Sun, 16 Apr 2023 19:09:24 +0000 (21:09 +0200)]
Remove old libzkgroup fallback code

2 years agoUpdate graalvm buildtools native
AsamK [Thu, 13 Apr 2023 16:08:52 +0000 (18:08 +0200)]
Update graalvm buildtools native

2 years agoUpdate gradle wrapper
AsamK [Thu, 13 Apr 2023 15:07:31 +0000 (17:07 +0200)]
Update gradle wrapper

2 years agoBump version to 0.11.8 v0.11.8
AsamK [Wed, 5 Apr 2023 09:40:13 +0000 (11:40 +0200)]
Bump version to 0.11.8

2 years agoFix issue with unknown identity serviceId
AsamK [Wed, 5 Apr 2023 09:25:53 +0000 (11:25 +0200)]
Fix issue with unknown identity serviceId

Fixes #1215

2 years agoFilter null from db result
AsamK [Wed, 5 Apr 2023 09:22:43 +0000 (11:22 +0200)]
Filter null from db result

2 years agoReduce use of unknown serviceIds
AsamK [Wed, 5 Apr 2023 09:07:53 +0000 (11:07 +0200)]
Reduce use of unknown serviceIds

2 years agoAdd labels to Containerfile
AsamK [Tue, 4 Apr 2023 10:02:24 +0000 (12:02 +0200)]
Add labels to Containerfile

2 years agoRefresh username after registering
AsamK [Tue, 4 Apr 2023 09:43:50 +0000 (11:43 +0200)]
Refresh username after registering

2 years agoUpdate README.md
AsamK [Mon, 3 Apr 2023 17:00:56 +0000 (19:00 +0200)]
Update README.md

2 years agoAdd capabilities and read receipt handling to provisioning
AsamK [Mon, 3 Apr 2023 17:00:27 +0000 (19:00 +0200)]
Add capabilities and read receipt handling to provisioning

2 years agoImplement support for usernames
AsamK [Mon, 3 Apr 2023 17:00:05 +0000 (19:00 +0200)]
Implement support for usernames

2 years agoFix deleting old group in dbus mode
AsamK [Sun, 2 Apr 2023 17:25:49 +0000 (19:25 +0200)]
Fix deleting old group in dbus mode

Fixes #1192

2 years agoAdded missing file attachment attributes in JsonAttachment output
signals-from-outer-space [Sun, 2 Apr 2023 06:34:43 +0000 (08:34 +0200)]
Added missing file attachment attributes in JsonAttachment output

Closes #1217
Fixes #1216

2 years agoDocument accepting group invitations (#1218)
exquo [Sun, 2 Apr 2023 15:58:54 +0000 (15:58 +0000)]
Document accepting group invitations (#1218)

2 years agoUpdate dependencies
AsamK [Sat, 1 Apr 2023 10:35:46 +0000 (12:35 +0200)]
Update dependencies

2 years agoUpdate libsignal-service-java
AsamK [Fri, 31 Mar 2023 15:16:59 +0000 (17:16 +0200)]
Update libsignal-service-java

- Use session based number verification and registration

2 years agoUpdate gradle wrapper
AsamK [Sat, 18 Mar 2023 20:06:59 +0000 (21:06 +0100)]
Update gradle wrapper

2 years agoChange content-type check to check contains
cedb [Sat, 7 Jan 2023 22:46:07 +0000 (17:46 -0500)]
Change content-type check to check contains

So far it was doing an equals check, but a string like "application/json; charset=utf-8"
is similarly valid. And some clients like OkHttp actually automatically add the
charset.

Closes #1152

2 years agoFix sending large text messages to multiple recipients
AsamK [Fri, 3 Mar 2023 17:06:31 +0000 (18:06 +0100)]
Fix sending large text messages to multiple recipients

Fixes #1177

2 years agoAdd verbose exception log for send error
AsamK [Fri, 3 Mar 2023 16:58:02 +0000 (17:58 +0100)]
Add verbose exception log for send error

2 years agoScrub E164 in dbus path
AsamK [Sun, 19 Feb 2023 19:18:05 +0000 (20:18 +0100)]
Scrub E164 in dbus path

Related #1189

2 years agoUpdate CHANGELOG.md
AsamK [Sun, 19 Feb 2023 15:05:14 +0000 (16:05 +0100)]
Update CHANGELOG.md

2 years agoBump version v0.11.7
AsamK [Sun, 19 Feb 2023 13:59:33 +0000 (14:59 +0100)]
Bump version

2 years agoFix remove recipient method
AsamK [Sun, 19 Feb 2023 13:20:39 +0000 (14:20 +0100)]
Fix remove recipient method

Fixes #1183

2 years agoUpdate gradle
AsamK [Sun, 19 Feb 2023 13:07:11 +0000 (14:07 +0100)]
Update gradle

2 years agoUpdate libsignal-service-java
AsamK [Sun, 19 Feb 2023 13:06:20 +0000 (14:06 +0100)]
Update libsignal-service-java

2 years agoAdd dependencyResolutionManagement
AsamK [Sun, 19 Feb 2023 12:58:33 +0000 (13:58 +0100)]
Add dependencyResolutionManagement

2 years agoUpdate dependencies
AsamK [Sun, 19 Feb 2023 12:28:44 +0000 (13:28 +0100)]
Update dependencies

2 years agoBump sqlite-jdbc from 3.40.0.0 to 3.40.1.0 (#1178)
Marvin A. Ruder [Mon, 6 Feb 2023 17:20:32 +0000 (18:20 +0100)]
Bump sqlite-jdbc from 3.40.0.0 to 3.40.1.0 (#1178)

* Should fix #1129

2 years agoFix issue with missing pni identity key
AsamK [Sun, 5 Feb 2023 11:49:12 +0000 (12:49 +0100)]
Fix issue with missing pni identity key

Fixes #1176

2 years agoPrint text styles in plain text output
AsamK [Fri, 27 Jan 2023 20:46:39 +0000 (21:46 +0100)]
Print text styles in plain text output

2 years agoUpdate dependencies
AsamK [Fri, 27 Jan 2023 20:26:00 +0000 (21:26 +0100)]
Update dependencies

2 years agoUpdate CONTRIBUTING.md
AsamK [Fri, 27 Jan 2023 20:25:40 +0000 (21:25 +0100)]
Update CONTRIBUTING.md

2 years agoDocument submitRateLimitChallenge
AsamK [Sat, 21 Jan 2023 18:42:49 +0000 (19:42 +0100)]
Document submitRateLimitChallenge

2 years agoUpdate dependencies
AsamK [Sat, 7 Jan 2023 11:14:47 +0000 (12:14 +0100)]
Update dependencies

2 years agoAllow JSON-RPC commands without account param if only one account exists
AsamK [Fri, 30 Dec 2022 12:50:40 +0000 (13:50 +0100)]
Allow JSON-RPC commands without account param if only one account exists

2 years agoBump version v0.11.6
AsamK [Sun, 18 Dec 2022 19:09:15 +0000 (20:09 +0100)]
Bump version

2 years agoUpdate dependencies
AsamK [Sun, 18 Dec 2022 19:05:53 +0000 (20:05 +0100)]
Update dependencies

2 years agoRestrict workflow permissions
AsamK [Sat, 3 Dec 2022 14:17:30 +0000 (15:17 +0100)]
Restrict workflow permissions

2 years agoUpdate dependencies
AsamK [Thu, 24 Nov 2022 16:31:11 +0000 (17:31 +0100)]
Update dependencies

2 years agoFix handling of attachments in JSON RPC (#1109)
ced-b [Thu, 24 Nov 2022 16:29:45 +0000 (11:29 -0500)]
Fix handling of attachments in JSON RPC (#1109)

* Fix handling of attachments in JSON RPC

It turns out that using a custom serializer on an
input stream did not work well. For one the stream seems
to be getting closed before the JSON gets written. But
also the method for writing it was throwing an
UnsupportedOperationException further down in Jackson.

The above simplifies the matter by simply outputting the
Base64 string first and then setting it on the model.

* Add missing files to attachment fix

Co-authored-by: cedb <cedb@keylimebox.org>
2 years agoAdd alive check (#1107)
ced-b [Tue, 22 Nov 2022 06:58:34 +0000 (01:58 -0500)]
Add alive check (#1107)

Adds a simple HTTP endpoint that can be used by the container
environment to see if the app is started and available.

Co-authored-by: cedb <cedb@keylimebox.org>
2 years agoAdd fallback locale for voice verification
AsamK [Sun, 20 Nov 2022 10:27:33 +0000 (11:27 +0100)]
Add fallback locale for voice verification

Fixes #1101

2 years agoAllow using data URIs for updateGroup/updateProfile avatars
AsamK [Mon, 14 Nov 2022 18:31:40 +0000 (19:31 +0100)]
Allow using data URIs for updateGroup/updateProfile avatars

Fixes #1082

2 years agoBump version v0.11.5.1
AsamK [Wed, 9 Nov 2022 18:00:59 +0000 (19:00 +0100)]
Bump version

2 years agoFix SignalAccount initialization
AsamK [Tue, 8 Nov 2022 16:18:03 +0000 (17:18 +0100)]
Fix SignalAccount initialization

Fixes #1092

2 years agoUpdate README.md
AsamK [Tue, 8 Nov 2022 16:17:18 +0000 (17:17 +0100)]
Update README.md

2 years agoBump version v0.11.5
AsamK [Mon, 7 Nov 2022 18:55:53 +0000 (19:55 +0100)]
Bump version

2 years agoUpdate dependencies
AsamK [Mon, 7 Nov 2022 18:43:15 +0000 (19:43 +0100)]
Update dependencies

2 years agoCatch all exceptions when reading session record
AsamK [Thu, 3 Nov 2022 14:55:12 +0000 (15:55 +0100)]
Catch all exceptions when reading session record

Fixes #1083

2 years agoPublish docker image to ghcr
AsamK [Thu, 3 Nov 2022 12:37:12 +0000 (13:37 +0100)]
Publish docker image to ghcr

2 years agoPackage native file as executable
AsamK [Thu, 3 Nov 2022 14:18:47 +0000 (15:18 +0100)]
Package native file as executable

2 years agoAdd missing check to httpAddres
AsamK [Thu, 3 Nov 2022 14:10:02 +0000 (15:10 +0100)]
Add missing check to httpAddres

2 years agoRework release workflow
AsamK [Thu, 3 Nov 2022 10:40:19 +0000 (11:40 +0100)]
Rework release workflow

2 years agoAdd http endpoint events with SSE
AsamK [Wed, 2 Nov 2022 23:03:37 +0000 (00:03 +0100)]
Add http endpoint events with SSE

2 years agoHandle missing separator in query string parser
AsamK [Wed, 2 Nov 2022 22:16:38 +0000 (23:16 +0100)]
Handle missing separator in query string parser

2 years agoAdd check for exact path match
AsamK [Wed, 2 Nov 2022 20:17:28 +0000 (21:17 +0100)]
Add check for exact path match

HttpExchange just checks startsWith, so would also match /api/v1/rpcfoobar

2 years agoFix length for empty response to prevent chunked stream
AsamK [Wed, 2 Nov 2022 20:15:08 +0000 (21:15 +0100)]
Fix length for empty response to prevent chunked stream

The java HttpExchange expects length -1 to send Content-length: 0 ...

2 years agoExtract http endpoint handler function
AsamK [Wed, 2 Nov 2022 20:13:52 +0000 (21:13 +0100)]
Extract http endpoint handler function

2 years agoUpdate CHANGELOG.md
AsamK [Wed, 2 Nov 2022 16:47:52 +0000 (17:47 +0100)]
Update CHANGELOG.md

2 years agoUpdate man page
AsamK [Wed, 2 Nov 2022 16:46:20 +0000 (17:46 +0100)]
Update man page

2 years agoExposing Signal CLI as HTTP Server (#1078)
ced-b [Wed, 2 Nov 2022 16:44:12 +0000 (12:44 -0400)]
Exposing Signal CLI as HTTP Server (#1078)

* Add initial proof of concept for http server

* Add support for registration commands

* Add support  for MultiLocalCommands

* Improve handling of HTTP responses

Makes it so that responses area all uniformly JSON and wrapped
into the proper response envelope.

* Add caching for workflows

* Run http server with daemon command

This fits the existing command line API better

* Wrap the existing JSON RPC handler in HTTP Service

This is a redesign of earlier attempts to make an HTTP service. Fixing
that service turned out that it would have to be a copy of the
SignalJsonRpcDispatcherHandler. So instead of copy pasting all the
code the existing service is simply being wrapped.

* Switch http server to use command handler

* Clean up and simplification

* Pass full InetSocketAddress

* Minor fixes and improvements

Based on code review.

Co-authored-by: cedb <cedb@keylimebox.org>
2 years agoSmall improvements
AsamK [Tue, 1 Nov 2022 20:57:23 +0000 (21:57 +0100)]
Small improvements

2 years agoAdd command to get an attachment (#1080)
ced-b [Tue, 1 Nov 2022 21:47:43 +0000 (17:47 -0400)]
Add command to get an attachment (#1080)

* Add command to get an attachment

* Refactor retrieving of attachments to use StreamDetails

* Refactor AttachmentCommand to GetAttachmentCommand

* Minor improvements to GetAttachmentCommand

* Use JSON serializer to serialize binary data

Serializing the stream is better for memory handling than
loading the whole thing into the file.

* Clean up unneeded class

* Added command to doc

Co-authored-by: cedb <cedb@keylimebox.org>
2 years agoRefactor JsonRpcReader to for handling a single message
AsamK [Tue, 1 Nov 2022 17:06:40 +0000 (18:06 +0100)]
Refactor JsonRpcReader to for handling a single message

2 years agoExtract JSON-RPC command handler
AsamK [Tue, 1 Nov 2022 16:10:15 +0000 (17:10 +0100)]
Extract JSON-RPC command handler

2 years agoUpdate libsignal-service
AsamK [Tue, 1 Nov 2022 12:42:23 +0000 (13:42 +0100)]
Update libsignal-service

2 years agoImprove behavior with synchronous and asynchronous receivers
AsamK [Tue, 1 Nov 2022 12:56:40 +0000 (13:56 +0100)]
Improve behavior with synchronous and asynchronous receivers

2 years agoAdd caching for workflows
AsamK [Mon, 31 Oct 2022 15:15:57 +0000 (16:15 +0100)]
Add caching for workflows

2 years agoUpdate reflect-config.json
AsamK [Mon, 31 Oct 2022 14:29:18 +0000 (15:29 +0100)]
Update reflect-config.json

2 years agoImplement receive command for JSON-RPC mode
AsamK [Mon, 31 Oct 2022 10:56:25 +0000 (11:56 +0100)]
Implement receive command for JSON-RPC mode

The command returns a list of messages, as soon as the timeout is reached
after the last message has been received or the maximum number of messages
has been received.

2 years agoAdd optional message limit for receive command
AsamK [Mon, 31 Oct 2022 10:17:52 +0000 (11:17 +0100)]
Add optional message limit for receive command

2 years agoImplement replying to stories
AsamK [Sun, 30 Oct 2022 17:18:21 +0000 (18:18 +0100)]
Implement replying to stories

2 years agoImplement reacting to stories
AsamK [Sun, 30 Oct 2022 13:41:02 +0000 (14:41 +0100)]
Implement reacting to stories

2 years agoAdd option to disable adding message to send log
AsamK [Sun, 30 Oct 2022 10:00:25 +0000 (11:00 +0100)]
Add option to disable adding message to send log

2 years agoIncrease sqlite busy timeout
AsamK [Sat, 29 Oct 2022 11:54:06 +0000 (13:54 +0200)]
Increase sqlite busy timeout

2 years agoAdd account to plain text output
AsamK [Sat, 29 Oct 2022 11:49:14 +0000 (13:49 +0200)]
Add account to plain text output

Fixes #1075

2 years agoAdd color to listContacts output
AsamK [Fri, 28 Oct 2022 17:57:21 +0000 (19:57 +0200)]
Add color to listContacts output

Fixes #1072

2 years agoUse complete address instead of only identifier for retry envelope
AsamK [Fri, 28 Oct 2022 16:13:25 +0000 (18:13 +0200)]
Use complete address instead of only identifier for retry envelope

Fixes #1074

2 years agoStore attachments with a file extension
AsamK [Sat, 22 Oct 2022 18:32:11 +0000 (20:32 +0200)]
Store attachments with a file extension

Taken from the filename if present, otherwise guessed from the contentType

2 years agoUpdate reflect-config.json
AsamK [Sat, 22 Oct 2022 15:43:02 +0000 (17:43 +0200)]
Update reflect-config.json

2 years agoImprove logging in prekey store
AsamK [Sat, 22 Oct 2022 15:42:49 +0000 (17:42 +0200)]
Improve logging in prekey store

2 years agoSend long text messages as attachment instead
AsamK [Sat, 22 Oct 2022 11:39:31 +0000 (13:39 +0200)]
Send long text messages as attachment instead

This matches the behavior of the official clients.

2 years agoExtract MimeUtils
AsamK [Sat, 22 Oct 2022 11:36:12 +0000 (13:36 +0200)]
Extract MimeUtils

2 years agoAdd PNI to recipients
AsamK [Sun, 16 Oct 2022 17:17:43 +0000 (19:17 +0200)]
Add PNI to recipients

2 years agoDon't output caption if it's empty
AsamK [Fri, 21 Oct 2022 14:22:09 +0000 (16:22 +0200)]
Don't output caption if it's empty

2 years agoDisable graalvm toolchain detection if GRAALVM_HOME is set
AsamK [Fri, 21 Oct 2022 08:33:46 +0000 (10:33 +0200)]
Disable graalvm toolchain detection if GRAALVM_HOME is set

2 years agoImprove graalvm native build wih resource autodetect
AsamK [Fri, 21 Oct 2022 08:25:57 +0000 (10:25 +0200)]
Improve graalvm native build wih resource autodetect

2 years agoBump version v0.11.4
AsamK [Wed, 19 Oct 2022 18:35:53 +0000 (20:35 +0200)]
Bump version

2 years agoAdd java 19 to CI
AsamK [Wed, 19 Oct 2022 18:34:42 +0000 (20:34 +0200)]
Add java 19 to CI

2 years agoAdd native graalvm build to release
AsamK [Wed, 19 Oct 2022 18:09:03 +0000 (20:09 +0200)]
Add native graalvm build to release

2 years agoEnable story capability
AsamK [Wed, 19 Oct 2022 17:09:39 +0000 (19:09 +0200)]
Enable story capability

Only receiving is supported

2 years agoAdd --ignore-stories flag to prevent receiving story messages
AsamK [Wed, 19 Oct 2022 17:09:23 +0000 (19:09 +0200)]
Add --ignore-stories flag to prevent receiving story messages