]> nmode's Git Repositories - signal-cli/log
signal-cli
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

2 years agoAdd workaround for #1045
AsamK [Wed, 19 Oct 2022 15:51:12 +0000 (17:51 +0200)]
Add workaround for #1045

2 years agoAdd build graalvm native step for CI
AsamK [Wed, 19 Oct 2022 13:23:58 +0000 (15:23 +0200)]
Add build graalvm native step for CI

2 years agoUpdate reflect-config
AsamK [Wed, 19 Oct 2022 13:36:13 +0000 (15:36 +0200)]
Update reflect-config

2 years agoAdd additional logging for reading message cache
AsamK [Wed, 19 Oct 2022 09:02:10 +0000 (11:02 +0200)]
Add additional logging for reading message cache

2 years agoUpdate workflow actions
AsamK [Tue, 18 Oct 2022 16:11:17 +0000 (18:11 +0200)]
Update workflow actions

2 years agoUpdate graalvm buildtools
AsamK [Tue, 18 Oct 2022 16:11:26 +0000 (18:11 +0200)]
Update graalvm buildtools

2 years agoReset pre key offset if it somehow gets corrupted
AsamK [Tue, 18 Oct 2022 15:55:51 +0000 (17:55 +0200)]
Reset pre key offset if it somehow gets corrupted

Fixes #1055

2 years agoUpdate reflect-config
AsamK [Tue, 18 Oct 2022 15:38:46 +0000 (17:38 +0200)]
Update reflect-config

2 years agoUpdate dependencies
AsamK [Sun, 16 Oct 2022 18:47:51 +0000 (20:47 +0200)]
Update dependencies

2 years agoHandle PniChangeNumber
AsamK [Sun, 16 Oct 2022 18:07:33 +0000 (20:07 +0200)]
Handle PniChangeNumber

2 years agoUpdate to clap 4
AsamK [Sun, 9 Oct 2022 10:30:25 +0000 (12:30 +0200)]
Update to clap 4

2 years agoUpdate client dependencies
AsamK [Sun, 9 Oct 2022 10:18:43 +0000 (12:18 +0200)]
Update client dependencies

2 years agoRefactor resolve recipient
AsamK [Sat, 8 Oct 2022 15:41:42 +0000 (17:41 +0200)]
Refactor resolve recipient

2 years agoDo recipient merge in one transaction
AsamK [Sat, 8 Oct 2022 14:21:29 +0000 (16:21 +0200)]
Do recipient merge in one transaction

2 years agoRefactor check for registered users
AsamK [Sat, 8 Oct 2022 12:06:36 +0000 (14:06 +0200)]
Refactor check for registered users

2 years agoRefactor RecipientAddress
AsamK [Sat, 8 Oct 2022 10:40:00 +0000 (12:40 +0200)]
Refactor RecipientAddress

2 years agoEnsure self profile key is always stored in profile store
AsamK [Fri, 7 Oct 2022 19:51:01 +0000 (21:51 +0200)]
Ensure self profile key is always stored in profile store

Fixes #1040

2 years agoFix issue when receiving invalid message from invalid sender
AsamK [Fri, 7 Oct 2022 19:50:07 +0000 (21:50 +0200)]
Fix issue when receiving invalid message from invalid sender

2 years agoImprove handling of group join messages
AsamK [Fri, 7 Oct 2022 18:47:40 +0000 (20:47 +0200)]
Improve handling of group join messages

2 years agoAdd missing check for story group context
AsamK [Fri, 7 Oct 2022 18:36:50 +0000 (20:36 +0200)]
Add missing check for story group context

2 years agoFix typo
AsamK [Fri, 7 Oct 2022 18:05:58 +0000 (20:05 +0200)]
Fix typo

2 years agoApprove join requests instead of just adding the member
AsamK [Fri, 7 Oct 2022 18:05:49 +0000 (20:05 +0200)]
Approve join requests instead of just adding the member

2 years agoRefresh group before updating
AsamK [Fri, 7 Oct 2022 17:49:52 +0000 (19:49 +0200)]
Refresh group before updating

2 years agoImplement refuse group join requests
AsamK [Fri, 7 Oct 2022 17:49:43 +0000 (19:49 +0200)]
Implement refuse group join requests

2 years agoImprove error message when joining a group with already pending admin approval
AsamK [Fri, 7 Oct 2022 17:31:27 +0000 (19:31 +0200)]
Improve error message when joining a group with already pending admin approval

2 years agoGraalVM agent formatting changes
AsamK [Fri, 7 Oct 2022 17:30:34 +0000 (19:30 +0200)]
GraalVM agent formatting changes

2 years agoBump version v0.11.3
AsamK [Fri, 7 Oct 2022 15:24:29 +0000 (17:24 +0200)]
Bump version

2 years agofix(GraalVM): explictly declare symbols causing GraalVM compiler failure (#1037)
Benjamin Schmid [Fri, 7 Oct 2022 15:16:32 +0000 (17:16 +0200)]
fix(GraalVM): explictly declare symbols causing GraalVM compiler failure (#1037)

Fixes #1016

2 years agoAdd missing urgent column to projection
AsamK [Fri, 7 Oct 2022 10:09:43 +0000 (12:09 +0200)]
Add missing urgent column to projection

Fixes #1031

2 years agoFix update from old versions without PNI
AsamK [Fri, 7 Oct 2022 10:04:22 +0000 (12:04 +0200)]
Fix update from old versions without PNI

Fixes #1032

2 years agoUpdate libsignal-service
AsamK [Thu, 6 Oct 2022 19:56:40 +0000 (21:56 +0200)]
Update libsignal-service

Fixes #1030

2 years agoBump version v0.11.2
AsamK [Thu, 6 Oct 2022 15:59:59 +0000 (17:59 +0200)]
Bump version

2 years agoBump user agent version
technillogue [Thu, 6 Oct 2022 15:57:14 +0000 (17:57 +0200)]
Bump user agent version

Closes #1024

2 years agoUpdate libsignal-service
AsamK [Thu, 6 Oct 2022 15:36:09 +0000 (17:36 +0200)]
Update libsignal-service

2 years agoShow better error message when signal-cli version is outdated
AsamK [Thu, 6 Oct 2022 15:52:06 +0000 (17:52 +0200)]
Show better error message when signal-cli version is outdated

2 years agoUpdate user agent (#1023)
ETL [Thu, 6 Oct 2022 06:03:25 +0000 (02:03 -0400)]
Update user agent (#1023)

Recent changes from Signal caused DeprecatedVersionException to occur.

Changing the user agent debugged the receiving (sending still erroring)

2 years agoBump version v0.11.1
AsamK [Wed, 5 Oct 2022 18:08:24 +0000 (20:08 +0200)]
Bump version