Commit graph

567 commits

Author SHA1 Message Date
AsamK
6c1013b024 Improve error message when an account is already in use 2021-12-05 12:00:49 +01:00
jonas.hoefer
861f47d734 Add dbus methods: deleteContact and deleteRecipient
Closes #814
2021-12-05 11:01:25 +01:00
AsamK
e83f43065e Remove dead code and fix inspection issues 2021-12-05 10:43:57 +01:00
technillogue
6ffeb7c431
Add -c for --config (#816) 2021-12-05 10:12:50 +01:00
AsamK
7e7e4150e1 Add removeContact command
Closes #335
2021-11-26 20:50:54 +01:00
technillogue
5cd5697aea
add JsonPayment (#808) 2021-11-23 08:14:01 +01:00
AsamK
d13d150fe1 Implement sending message quotes
Fixes #213
2021-11-21 19:18:17 +01:00
AsamK
415b65d208 Only store recipient if there were changes 2021-11-19 17:17:13 +01:00
AsamK
c9dffe47f6 Update libsignal-service-java 2021-11-18 19:25:11 +01:00
AsamK
f58f85ef60 Return json response if available in error data field 2021-11-14 15:24:21 +01:00
AsamK
fc8b6d0fcb Clean up base package 2021-11-14 15:00:06 +01:00
AsamK
382d8d22d0 Make send behavior more deterministic if there are unregistered recipients
Fixes #803
2021-11-14 14:42:17 +01:00
AsamK
53b84bad02 Implement sending mentions
Closes #584
2021-11-13 22:54:59 +01:00
AsamK
8aab644db9 Rename username to account 2021-11-12 16:51:33 +01:00
AsamK
c73c58723c Implement unregister command for jsonrpc and dbus daemon 2021-11-12 16:07:35 +01:00
AsamK
b7005884fd Implement startLink and finishLink for jsonrpc daemon 2021-11-11 19:15:20 +01:00
AsamK
79cc225869 Implement register and verify commands for json rpc 2021-11-11 19:14:32 +01:00
AsamK
4a1af0786c Add MultiAccountManager 2021-11-11 16:10:22 +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
81a11dc977 Implement socket/tcp for daemon command 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
9c86baf0ea Rename jsonrpc bulk to batch message 2021-11-09 14:22:47 +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
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
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
510dc89e92 Implement close for DbusManagerImpl 2021-11-06 21:59:11 +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