Commit graph

1058 commits

Author SHA1 Message Date
AsamK
d3490facc8 Add getDefaultLocale utils method 2021-11-10 21:58:39 +01:00
AsamK
62dd2ee49e Add listAccounts command 2021-11-10 20:15:18 +01:00
AsamK
9c67aabebb Add JsonRpcMultiCommand 2021-11-10 20:12:27 +01:00
AsamK
64af4914ee Rename JsonRpcCommand class 2021-11-10 17:11:16 +01:00
AsamK
2879b31aba Rename --username to --account 2021-11-10 16:55:13 +01:00
AsamK
793df99bef Cache sender certificates in memory 2021-11-10 15:36:29 +01:00
AsamK
c30eba92cc Update reflect-config.json 2021-11-10 15:31:44 +01:00
AsamK
62dd5a169f Read phone number unlisted state from storage 2021-11-10 15:23:44 +01:00
AsamK
4baf0849a6 Read phone number sharing mode from storage
Fixes #755
2021-11-10 15:23:44 +01:00
AsamK
81a11dc977 Implement socket/tcp for daemon command 2021-11-10 12:12:35 +01:00
AsamK
7706a02e1b Update reflect-config.json 2021-11-10 12:12:35 +01:00
AsamK
25314b1d17 Synchronize plain text output of incoming messages 2021-11-10 10:30:34 +01:00
AsamK
54d8ee2a40 Fix remote delete in dbus receive 2021-11-10 10:24:53 +01:00
AsamK
dc8abd0032 Close Manager if checkAccountState fails 2021-11-09 22:46:37 +01:00
AsamK
2b0989adfe Disconnect websocket when receiving is done 2021-11-09 18:28:25 +01:00
AsamK
9c86baf0ea Rename jsonrpc bulk to batch message 2021-11-09 14:22:47 +01:00
technillogue
27a09fd408
Add DecryptedApproveMember, QuotedAttachment, and ModifyAvatarAction (#798) 2021-11-08 23:43:02 +01:00
AsamK
08f6dbae05 Fix missing bracket 2021-11-08 23:41:53 +01:00
AsamK
b81a83eec5 Extract JsonRpcNamespace 2021-11-08 22:16:45 +01:00
AsamK
e7a4bc5ef1 Extend logging in JsonRpcReader 2021-11-08 22:16:45 +01:00
AsamK
e495afcff5 Fix removeReceiveHandler to not incorrectly reset the receiveThread 2021-11-08 22:16:45 +01:00
AsamK
5dd602614c Move Writer creation out of WriterImpls 2021-11-08 22:16:44 +01:00
AsamK
b5eef3ccad Add logging bridge for java.util.logging 2021-11-08 22:16:44 +01:00
AsamK
c60c8e998f Fix ACI null pointer 2021-11-08 22:16:44 +01:00
AsamK
510965589b Extract SignalJsonRpcDispatcherHandler 2021-11-07 12:22:53 +01:00
AsamK
82bb4f22f0 Add exportObject helper method 2021-11-07 11:04:41 +01:00
John Freed
8a216e3245 Implement configuration properties for dbus
Closes #759

commit 169bb518bf
Author: John Freed <okgithub@johnfreed.com>
Date:   Fri Oct 15 08:53:34 2021 +0200

    remove org.asamk.signal.manager.api.Configuration

commit 27ecfee382
Author: John Freed <okgithub@johnfreed.com>
Date:   Fri Oct 15 08:40:13 2021 +0200

    add a DBus "daemon running" indicator

commit 94b3d9e2ed
Author: John Freed <okgithub@johnfreed.com>
Date:   Fri Oct 15 08:20:03 2021 +0200

    changing most DBus logger.info to logger.debug

commit 15da060127
Author: John Freed <okgithub@johnfreed.com>
Date:   Fri Oct 15 00:09:26 2021 +0200

    Configuration for Dbus and main

    Main program subcommand
    - fix logic to take into account previously unset flags
    - provide output in json and plain-text formats

    new Dbus Properties:
    - ConfigurationReadReceipts
    - ConfigurationUnidentifiedDeliveryIndicators
    - ConfigurationTypingIndicators
    - ConfigurationLinkPreviews

    removed getConfiguration and setConfiguration methods

    updated documentation

commit 09da3aae62
Merge: 3c40b11 18ad9fb
Author: John Freed <okgithub@johnfreed.com>
Date:   Thu Oct 14 15:24:07 2021 +0200

    Merge branch master into dbus_updateConfiguration

commit 3c40b11b8a
Merge: 8416d4a cadcc6c
Author: John Freed <okgithub@johnfreed.com>
Date:   Sat Oct 9 14:08:08 2021 +0200

    Merge branch master into dbus_updateConfiguration

commit 8416d4ac47
Author: John Freed <okgithub@johnfreed.com>
Date:   Mon Oct 4 08:48:56 2021 +0200

    Dbus get/setConfiguration methods

    implement:

    - getConfiguration() -> [readReceipts<b>, unidentifiedDeliveryIndicators<b>, typingIndicators<b>, linkPreviews<b>] -> <>::

    - setConfiguration(readReceipts<b>, unidentifiedDeliveryIndicators<b>, typingIndicators<b>, linkPreviews<b>) -> <>::

    Update documentation
2021-11-07 10:59:14 +01:00
AsamK
e22cc457ae Implement getConfiguration method in Manager 2021-11-07 10:38:26 +01:00
AsamK
a20bbe1246 Update libsignal-service-java 2021-11-06 23:17:03 +01:00
AsamK
510dc89e92 Implement close for DbusManagerImpl 2021-11-06 21:59:11 +01:00
AsamK
fa9401d186 Update reflect-config.json 2021-11-06 21:18:16 +01:00
AsamK
32818a8608 Refactor ReceiveCommand in dbus mode and remove ExtendedDbusCommand 2021-11-06 21:09:06 +01:00
AsamK
eec7aec069 Fix error type for dbus rate limit challenge 2021-11-06 15:41:58 +01:00
AsamK
2ab42ca547 Remove libsignal-service from manager lib API 2021-11-06 13:38:10 +01:00
AsamK
9075cc1a30 Refactor receive api 2021-11-06 12:17:50 +01:00
AsamK
b615a4b04d Convert RecipientIdentifier to record 2021-10-31 21:24:25 +01:00
AsamK
31dec5a666 Handle UnauthenticatedResponseException internally 2021-10-31 20:53:03 +01:00
AsamK
782f96b580 Replace UnregisteredUserException 2021-10-31 20:43:29 +01:00
AsamK
659761f006 Add InactiveGroupLinkException 2021-10-31 19:45:30 +01:00
AsamK
3cf7721cd7 Add InvalidDeviceLinkException exception 2021-10-31 19:35:00 +01:00
AsamK
d783df510a Add Pair record 2021-10-31 19:15:52 +01:00
AsamK
1e87240db8 Use java.util.Optional in Manager interface 2021-10-31 18:01:17 +01:00
AsamK
f39983f78a Add new dbus message received signals with extendable extras map 2021-10-31 12:40:21 +01:00
AsamK
204aa31885 Refactor dbus receive message handler 2021-10-30 13:30:58 +02:00
John Freed
cb70209c60 Implement viewedReceipt
commit cd29144e81
Merge: 14532be f884175
Author: AsamK <asamk@gmx.de>
Date:   Sat Oct 30 12:46:59 2021 +0200

    Merge branch 'master' into dbus_sendviewed

commit 14532befde
Author: John Freed <okgithub@johnfreed.com>
Date:   Thu Oct 7 08:24:00 2021 +0200

    update deliveryReceipt to conform

commit a9a6edaf3f
Author: John Freed <okgithub@johnfreed.com>
Date:   Thu Oct 7 07:40:20 2021 +0200

    implement viewedReceipt

    for Dbus and Json -- note that this changes the JsonReceiptMessage
    structure

    update documentation

Closes #764
2021-10-30 12:54:41 +02:00
AsamK
f884175748 Add fatJar gradle task to create a single executable jar file 2021-10-27 20:59:02 +02:00
AsamK
1fae09433d Improve dbus error handling
Fixes #787
2021-10-27 20:00:36 +02:00
AsamK
ce7aa580b6 Use record classes 2021-10-27 14:39:40 +02:00
AsamK
ce70a623c2 Use Java 17 2021-10-27 14:39:40 +02:00
AsamK
9cb1409918 Fix unlikely issues with null values 2021-10-27 14:39:40 +02:00