mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 09:05:55 +03:00
[PR #579] [CLOSED] Feature/use signal cli json rpc #599
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#599
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nextcloud/twofactor_gateway/pull/579
Author: @rotdrop
Created: 6/19/2023
Status: ❌ Closed
Base:
master← Head:feature/use-signal-cli-json-rpc📝 Commits (4)
05732e2Fix "81ee6f9N Fri May 12.. Vitor..Fix codes that lint:fix can't fix"b223159Support https://gitlab.com/morph027/python-signal-cli-rest-api in addition to the deprectated https://gitlab.com/morph027/signal-cli-dbus-rest-api.92442e0Signal: use native signal-cli JSON RPC by default.9bda470Polish the signal section of the documentation.📊 Changes
7 files changed (+129 additions, -36 deletions)
View changed files
📝
doc/Admin Documentation.md(+13 -3)📝
lib/Command/Configure.php(+9 -4)📝
lib/Provider/AProvider.php(+1 -0)📝
lib/Service/Gateway/Signal/Gateway.php(+93 -27)📝
lib/Service/Gateway/Signal/GatewayConfig.php(+9 -0)📝
src/components/GatewaySettings.vue(+2 -2)📝
src/main.js(+2 -0)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.