Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/use signal cli json rpc #579

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rotdrop
Copy link
Contributor

@rotdrop rotdrop commented Jun 19, 2023

signal-cli comes with its own HTTP endpoint for JSON RPC calls since signal-cli 0.11.5.

This means that there is no longer a need for any intermediate wrappe, so lets just use the native HTTP endpoint of Signal-Cli.

The old methods are tried in turn if the native end-point is not reachable.

This PR maybe also fixes #573.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
…ition to the deprectated https://gitlab.com/morph027/signal-cli-dbus-rest-api.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
@rotdrop rotdrop force-pushed the feature/use-signal-cli-json-rpc branch 2 times, most recently from c8c570a to 16d44d0 Compare June 19, 2023 21:15
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
@rotdrop rotdrop force-pushed the feature/use-signal-cli-json-rpc branch from 16d44d0 to 9bda470 Compare June 19, 2023 21:18
@rotdrop
Copy link
Contributor Author

rotdrop commented Jun 19, 2023

I just do not know what is the cause of the failure the that obscure PHPUnit pgsql / phpunit-pgsql-summary.

Also: the output of that funny test does not provide any information about how to fix this (probably: pseudo) failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not compatible with v2 of the Signal REST API
1 participant