Commit graph

1728 commits

Author SHA1 Message Date
exquo
49591aedb4
Document accepting group invitations (#1218) 2023-04-02 17:58:54 +02:00
AsamK
21aa2b2a7f Update dependencies 2023-04-01 12:35:46 +02:00
AsamK
276ecef300 Update libsignal-service-java
- Use session based number verification and registration
2023-04-01 12:19:53 +02:00
AsamK
20b3563f21 Update gradle wrapper 2023-03-18 21:06:59 +01:00
cedb
15630356e1 Change content-type check to check contains
So far it was doing an equals check, but a string like "application/json; charset=utf-8"
is similarly valid. And some clients like OkHttp actually automatically add the
charset.

Closes #1152
2023-03-03 18:11:56 +01:00
AsamK
f1fd528483 Fix sending large text messages to multiple recipients
Fixes #1177
2023-03-03 18:06:31 +01:00
AsamK
75d7270d5a Add verbose exception log for send error 2023-03-03 17:58:02 +01:00
AsamK
3206639778 Scrub E164 in dbus path
Related #1189
2023-02-19 20:18:05 +01:00
AsamK
2e63c3b4f7 Update CHANGELOG.md 2023-02-19 16:05:14 +01:00
AsamK
d63405d170 Bump version 2023-02-19 14:59:33 +01:00
AsamK
91e0db185c Fix remove recipient method
Fixes #1183
2023-02-19 14:21:16 +01:00
AsamK
f97543eecd Update gradle 2023-02-19 14:21:16 +01:00
AsamK
3606fb67bb Update libsignal-service-java 2023-02-19 14:21:16 +01:00
AsamK
426b59d13e Add dependencyResolutionManagement 2023-02-19 13:58:33 +01:00
AsamK
d94ec8e144 Update dependencies 2023-02-19 13:28:44 +01:00
Marvin A. Ruder
4186349bba
Bump sqlite-jdbc from 3.40.0.0 to 3.40.1.0 (#1178)
* Should fix #1129
2023-02-06 18:20:32 +01:00
AsamK
7816325e63 Fix issue with missing pni identity key
Fixes #1176
2023-02-05 12:49:12 +01:00
AsamK
15da210de7 Print text styles in plain text output 2023-01-27 21:46:39 +01:00
AsamK
a4f7632981 Update dependencies 2023-01-27 21:44:41 +01:00
AsamK
a1b16a9118 Update CONTRIBUTING.md 2023-01-27 21:25:40 +01:00
AsamK
c100b504dc Document submitRateLimitChallenge 2023-01-21 19:42:49 +01:00
AsamK
161ec9f828 Update dependencies 2023-01-07 12:14:47 +01:00
AsamK
210466e7d9 Allow JSON-RPC commands without account param if only one account exists 2022-12-30 13:50:40 +01:00
AsamK
0702159596 Bump version 2022-12-18 20:09:15 +01:00
AsamK
8d7e533196 Update dependencies 2022-12-18 20:05:53 +01:00
AsamK
47feda6ae4 Restrict workflow permissions 2022-12-04 23:16:53 +01:00
AsamK
44c945f45d Update dependencies 2022-11-24 17:31:11 +01:00
ced-b
35def4445d
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>
2022-11-24 17:29:45 +01:00
ced-b
3e60303b90
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>
2022-11-22 07:58:34 +01:00
AsamK
b6e9dfa97d Add fallback locale for voice verification
Fixes #1101
2022-11-20 11:27:33 +01:00
AsamK
5771bb858f Allow using data URIs for updateGroup/updateProfile avatars
Fixes #1082
2022-11-14 19:31:40 +01:00
AsamK
dcaf1cc189 Bump version 2022-11-09 19:00:59 +01:00
AsamK
5e1fc79c33 Fix SignalAccount initialization
Fixes #1092
2022-11-08 17:18:24 +01:00
AsamK
8997d7f91f Update README.md 2022-11-08 17:18:22 +01:00
AsamK
54a08f560e Bump version 2022-11-07 20:12:41 +01:00
AsamK
ccb37c00f6 Update dependencies 2022-11-07 19:43:15 +01:00
AsamK
6281cbfd5f Catch all exceptions when reading session record
Fixes #1083
2022-11-03 15:55:12 +01:00
AsamK
6502f3f487 Publish docker image to ghcr 2022-11-03 15:33:28 +01:00
AsamK
00535c9a42 Package native file as executable 2022-11-03 15:18:59 +01:00
AsamK
e6cf11cb3d Add missing check to httpAddres 2022-11-03 15:10:17 +01:00
AsamK
c5eb0fd351 Rework release workflow 2022-11-03 13:31:37 +01:00
AsamK
a780be70dd Add http endpoint events with SSE 2022-11-03 00:03:37 +01:00
AsamK
1d98e5307a Handle missing separator in query string parser 2022-11-02 23:16:38 +01:00
AsamK
36abb8ae8f Add check for exact path match
HttpExchange just checks startsWith, so would also match /api/v1/rpcfoobar
2022-11-02 21:17:28 +01:00
AsamK
0c4642aa20 Fix length for empty response to prevent chunked stream
The java HttpExchange expects length -1 to send Content-length: 0 ...
2022-11-02 21:15:08 +01:00
AsamK
1b029b765f Extract http endpoint handler function 2022-11-02 21:13:52 +01:00
AsamK
9563496efb Update CHANGELOG.md 2022-11-02 17:47:52 +01:00
AsamK
c628e27d2e Update man page 2022-11-02 17:46:20 +01:00
ced-b
1ad0e94b64
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>
2022-11-02 17:44:12 +01:00
AsamK
43face8ead Small improvements 2022-11-01 22:48:47 +01:00