Bernhard B
bb8c0efcac
changes signal-json-rpc run script
...
* switched to signal-cli daemon mode - this way we don't need to
pipe signal-cli's output to netcat.
* removed fifo pathname from the json-rpc config (not needed anymore)
2026-03-07 21:08:18 +01:00
Bernhard B
d6488d6c8e
fixed escaping of formatting characters
...
see #757
2025-11-01 23:31:45 +01:00
Bernhard B
7222b931ae
fixed bug in phone number verification
...
* allow whitespaces in phone number
see #743
2025-09-08 14:36:24 +02:00
Bernhard B
40bbdc63f1
added env variable LOG_LEVEL
...
* this environment variable allows to change the log level of the
application
2025-04-22 23:35:01 +02:00
Bernhard B
49f121a249
implemented plugin endpoints as shared objects
...
* the plugin mechanism is an optional extension to the REST
API. As the plugin mechanism depends on gopher-lua (and a bunch of
gopher-lua plugins), it adds quite some dependencies to the project.
Since most of the REST API users won't need the plugin mechanism, it
makes sense to move that functionality (including all the
dependencies) to a dedicated shared object, which gets loaded when
needed.
2025-02-03 23:23:07 +01:00
Bernhard B
3752538e9b
added plugin mechanism
2025-01-06 22:08:29 +01:00
Bernhard B
a70c2994c3
added possibility to escape formatting characters
...
see #562
2024-12-24 23:05:22 +01:00
Bernhard B
f0a49e6aac
added new TextstyleParser implementation
...
* the old implementation was cumbersome to maintain and had some
problems with nested formatting.
see #630
2024-12-21 22:10:35 +01:00
Bernhard B
05225a27ee
fixed bug in textstyleparser
...
* handle multi-character emojis correctly
see #544
2024-06-17 20:33:50 +02:00
Bernhard B
ba532f52b8
gofmt code in utils subdirectory
...
* formatted code by running 'gofmt'
2024-05-07 22:31:11 +02:00
Bernhard B
a06a9f873b
switched implementation to multi-account mode
...
* instead of starting signal-cli in json-rpc mode with the '-u',
we start signal-cli without the '-u' parameter (also known as
multi-account mode). This makes it possible to register a number in
json-rpc mode.
2023-10-30 14:49:11 +01:00
Bernhard B
0cab12c49d
added spoiler to textstyleparser
2023-10-28 18:53:25 +02:00
Bernhard B
07aee21672
handle multicharacter emojis in textstyleparser
...
see #413
2023-10-06 19:11:07 +02:00
Bernhard B
221e129ad4
added strikethrough and monspace text styling options
...
see #382
2023-09-23 18:57:32 +02:00
Bernhard B
a5cbb4c725
fixed bug in textstyleparser
...
* bold text wasn't correctly parsed
see #382
2023-09-08 19:54:05 +02:00
Bernhard B
759ba197a1
fixed bug in textstyleparser + added unittests
2023-08-21 20:04:28 +02:00
Bernhard B
2f6bbec3e9
added text formatting (bold & italic) for normal/native mode
2023-08-21 18:38:38 +02:00
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
9fad77c922
added IsPhoneNumber helper function to utils
2021-10-10 18:03:27 +02:00
Bernhard B
27b7f28c42
formatted code with gofmt
2021-09-11 22:30:56 +02:00
Bernhard B
ae857c7a69
started working on JSON-RPC integration
...
* still WIP
2021-09-11 22:28:55 +02:00
Bernhard B
5dc663e80e
extended create groups endpoint
...
* added possibility to specify the description, the add group & edit
group permissions and the group link state.
see #148
2021-07-10 19:51:37 +02:00
Bernhard B
99b9d6163a
added possibility to specify the signal-cli command timeout in the
...
docker-compose.yml file
see #145
2021-07-03 17:48:02 +02:00
Bernhard B
9d28647d00
added utils.go
2021-02-14 21:59:01 +01:00