Bernhard B
25775a4c10
implemented trust mode
...
* implemented possibility to set the trust mode globally
see #240
2022-05-06 19:28:23 +02:00
Bernhard B
0b6bd44838
ran go-fmt on complete sourcecode
2022-04-01 19:08:07 +02:00
Bernhard B
30341f27c7
make json-rpc mode work with linked devices
...
see #224
2022-03-04 20:34:11 +01:00
Bernhard B
50736ab633
fixed bug in jsonrpc2-helper
...
* golang doesn't automatically expand env variables in exec.Command
2022-02-25 18:41:30 +01:00
Bernhard B
6ce236a908
made UID/GID of configureable with env variables
...
see #216
2022-02-19 11:33:18 +01:00
Bernhard B
f8f601a498
fixed bug in json-rpc mode
...
* do not hardcode path to signal-cli config directory in supervisor
config file.
2021-11-06 22:49:25 +01:00
Bernhard B
2d80ff91a2
use SIGNAL_CLI_CONFIG_DIR env variable in jsonrpc2-helper script
...
* do not hardcode path, but use path specified by SIGNAL_CLI_CONFIG_DIR
env variable.
2021-11-01 10:55:07 +01:00
Bernhard B
d1190f8299
improved log message
...
* notify users that registering a phone number only works in
normal/native mode.
2021-10-20 21:49:11 +02:00
Bernhard B
0023ebaf83
fixed bug in jsonrpc2-helper script
...
* only look for registered numbers in the signal-cli-config/data folder
and do NOT traverse the whole signal-cli-config folder (as there might
be other files starting with '+...'
2021-10-10 18:39:03 +02:00
Bernhard B
82fd577d48
remove any existing named pipe before creating a new one
2021-10-10 17:57:36 +02:00
Bernhard B
d7825a4da8
only add numbers to jsonrpc2.yml config file; skip any other files
...
starting with a '+'
2021-10-10 17:54:08 +02:00
Bernhard B
2a0347eea2
added more sanity checks + restructured code a bit
2021-09-11 23:03:01 +02:00
Bernhard B
310d07536e
formatted code with gofmt
2021-09-11 22:32:31 +02:00
Bernhard B
8617aacba5
added jsonrpc2-helper script
2021-09-11 22:31:43 +02:00