Commit graph

1114 commits

Author SHA1 Message Date
John Freed
d4838bd646
implement DBus submitRateLimitChallenge method (#763)
update documentation
2021-10-07 07:46:15 +02:00
AsamK
26594dd0ee Retrieve self profile from storage 2021-10-03 16:17:58 +02:00
AsamK
0709c0caf8 Update libsignal-service-java 2021-10-03 13:38:55 +02:00
AsamK
76ceac4d54 Read configurations from storage 2021-10-03 13:37:27 +02:00
AsamK
8b83992e95 Don't repeatedly try to refetch group info if permission was denied
i.e. if the user is no longer a member of that group
2021-10-02 18:40:36 +02:00
AsamK
778adacb80 Refactor dbus linked devices interface
Export a separate dbus object for each device
2021-10-02 18:04:30 +02:00
AsamK
1548ce9c79 Add helper classes for exporting dbus properties 2021-10-02 17:16:08 +02:00
AsamK
9839be48f3 Extract configurationStore variable 2021-10-01 17:52:33 +02:00
AsamK
6f5e72119e Implement configuration handling
Closes #747
2021-09-30 21:41:24 +02:00
AsamK
c9f5550d18 Remove workaround for getBoolean from JsonRpcLocalCommand 2021-09-30 19:36:31 +02:00
AsamK
f44b148946 Allow message from pending member if it's just a group update
Fixes #751
2021-09-28 23:48:16 +02:00
AsamK
593cd7d8ca Refactor dbus client mode to improve maintainability 2021-09-28 22:33:35 +02:00
AsamK
d72b838560 Refactor Manager interface 2021-09-28 21:13:02 +02:00
AsamK
b91c162159 Extract Manager interface 2021-09-28 21:13:02 +02:00
AsamK
1a81bbecbb Do not send message resend request to own device 2021-09-28 21:13:02 +02:00
AsamK
7c9fd9d0fb Refactor NoteToSelf to singleton class 2021-09-28 21:13:02 +02:00
AsamK
4acab9043c Reformat code 2021-09-28 18:42:05 +02:00
John Freed
ba817e2ae4
Implement Dbus updateProfile with givenName (#734)
two versions of updateProfile implemented:
- one with givenName and familyName
- one with just name

update documentation
2021-09-28 18:41:10 +02:00
AsamK
375c9d60cf Refactor isRegistered 2021-09-26 21:49:36 +02:00
John Freed
1c4a32fef4
implement Dbus isRegistered() methods (#729)
* implement Dbus isRegistered() methods

isRegistered(number<s>) returns a boolean

isRegistered(numbers<as>) returns an array of Booleans

* Dbus isRegistered() methods

restore isRegistered() and respond to other requests by AsamK
2021-09-26 20:09:57 +02:00
AsamK
df8dd54791 Reformat code 2021-09-26 09:27:55 +02:00
John Freed
e78463ea0a
implement Dbus updateAccount and listDevices (#730)
* implement Dbus updateAccount and listDevices

implement updateAccount(deviceName<s>) to change device name

implement listDevices

update documentation

* implement Dbus addDevice and removeDevice

update documentation as well

* Dbus add/remove/list/update devices

modifications responding to requests by AsamK

* Dbus incorporating InvalidUri error

Co-authored-by: AsamK <asamk@gmx.de>
2021-09-26 09:26:12 +02:00
John Freed
d47574351e
implement Dbus setExpirationTimer (#735)
implement method

update documentation
2021-09-26 09:04:40 +02:00
John Freed
8bee08fd96
implement Dbus sync methods (#737)
implement two Dbus methods:
- sendContacts
- sendSyncRequest

update documentation
2021-09-26 09:00:26 +02:00
John Freed
1ca0e75ef1
implement Dbus stickerpack method (#740)
implement uploadStickerPack

update documentation
2021-09-26 08:59:38 +02:00
AsamK
982e887c9f Reformat code 2021-09-21 22:30:27 +02:00
John Freed
d622967192
Implement Dbus setPin and removePin (#733)
and update documentation
2021-09-21 22:26:26 +02:00
AsamK
6c29d90503 Adapt visibility 2021-09-15 21:34:46 +02:00
AsamK
e562daa1f3 Update README.md 2021-09-15 21:34:05 +02:00
AsamK
8e2bb1d393 Update FUNDING.yml 2021-09-15 21:25:46 +02:00
JtheSaw
11b3758416
Add sendTyping and sendReceipt to dbus interface (#718)
* Add sendTyping and sendReceipt to dbus interface

* Resolve requested changes

* Adapt documentation
2021-09-13 17:01:26 +02:00
AsamK
12e85ec671 Remove custom -PappArgs handling, gradle now supports --args 2021-09-12 19:20:21 +02:00
AsamK
627a587952 Use official graalvm native-image gradle plugin 2021-09-12 19:08:47 +02:00
AsamK
cbff7217c1 Bump version 2021-09-12 17:47:02 +02:00
AsamK
882e45de55 Update graalvm config 2021-09-12 14:48:01 +02:00
AsamK
f48593f265 Exit immediately if an uncaught error is thrown on the main thread 2021-09-12 14:37:56 +02:00
AsamK
62d8873a92 Request message resend if incoming message can't be decrypted 2021-09-12 13:21:48 +02:00
AsamK
fbafa75fe2 Store announcement group capability 2021-09-12 13:21:48 +02:00
AsamK
e3d5ebaa9e Refresh prekeys after receiving a pre key message, if necessary 2021-09-12 12:04:28 +02:00
AsamK
2196ac6975 Extract PreKeyHelper from Manager 2021-09-12 11:59:20 +02:00
AsamK
74e576c907 Convert RateLimitException to a network failure send message result 2021-09-10 17:48:44 +02:00
AsamK
6ac4af4974 Fix plain text output for getUserStatus command
Fixes #711
2021-09-10 17:24:28 +02:00
AsamK
50e5acdf52 Fix printing proof required error
libsignal-service classifies it as network failure as well.
2021-09-10 10:13:51 +02:00
AsamK
eee140f74f Add submitRateLimitChallenge command
Related #708
2021-09-09 19:20:48 +02:00
AsamK
1856e79a50 Add missing check if client zk operations are null
Fixes #710
2021-09-09 18:58:45 +02:00
AsamK
a17262d9ff Catch ProofRequiredException from getPreKeys request and wrap in SendMessageResult 2021-09-09 18:54:48 +02:00
AsamK
0e6644a890 Remove unnecessary step from codeql analysis 2021-09-08 20:53:01 +02:00
AsamK
2044a7d7a5 Print stack trace of exception causes in verbose mode 2021-09-08 20:38:24 +02:00
AsamK
e3c37a0239 Log error message if libzkgroup or libsignal-client is missing
Fixes #660
2021-09-08 20:10:07 +02:00
AsamK
537b704951 Ignore set profile failure if libzkgroup is missing
Fixes #709
2021-09-08 20:09:22 +02:00