Commit Graph

16731 Commits

Author SHA1 Message Date
Alejandro García
bb428d8d0e
Merge pull request #6388 from jmacxx/refactor_support_tool
Refactor the Support Tool UI
2022-11-25 17:33:53 +02:00
Alejandro García
78bd0ce688
Merge pull request #6381 from jmacxx/fix_issue_6379
Fix NPE when dust tx is shown
2022-11-25 17:33:07 +02:00
sqrrm
ef1d78f45f
Merge pull request #6428 from HenrikJannsen/limit-get-data-response-size
Limit getDataResponse size
2022-11-25 11:36:39 +01:00
HenrikJannsen
ffd2cc1a8c
Handle nullable case caused by tests
Add mock to test.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-24 19:47:55 -05:00
HenrikJannsen
2de86222b7
Do not apply large persisted messages
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-24 13:36:47 -05:00
HenrikJannsen
143af43eba
Remove log level change for tor at startup
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-23 19:53:40 -05:00
HenrikJannsen
96ea154176
Rename delegate to outputStream
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-23 19:53:12 -05:00
HenrikJannsen
86723cf85a
Improve logging, cleanups
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-23 19:52:35 -05:00
HenrikJannsen
32f2f0ab76
Improve logging of persisted mailbox messages
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-23 19:51:23 -05:00
HenrikJannsen
91c25f8aa5
Limit getDataResponse to 90% of MAX_PERMITTED_MESSAGE_SIZE (10MB)
Allocate 25% of the space for PersistableNetworkPayloads and 75% for ProtectedStorageEntries

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-23 16:03:59 -05:00
Bisq GitHub Admin
60522218a7
Merge pull request #6412 from bisq-network/release/v1.9.6
Merge release branch
2022-11-15 21:03:40 +01:00
Christoph Atteneder
900fa47138
Revert to SNAPSHOT version 2022-11-13 10:48:44 +01:00
sqrrm
3dd9b0e575
Merge pull request #6403 from HenrikJannsen/disable-deactivation-of-dao
Require the DAO is enabled for traders
2022-11-04 11:44:26 +01:00
HenrikJannsen
e653262751
Fix param in test
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 12:26:59 -05:00
sqrrm
212cd77db4
Merge pull request #6402 from HenrikJannsen/refactor-dispute-validation
Refactor dispute validation
2022-11-03 17:54:04 +01:00
HenrikJannsen
8d0b0be505
Fix wrong rowSpan values (was bug in current version)
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:19:30 -05:00
HenrikJannsen
b5df4afd40
Remove DevEnv.isDaoActivated method as not used anymore
Remove daoActivatedToggleButton from PreferencesView and NewsView

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:16:10 -05:00
HenrikJannsen
114bda22cd
Remove DevEnv.isDaoActivated() from combined if statements with && as isDaoActivated is always true
In case of a `||` the statement gets removed as it always is true.
At getUserPaymentAccounts we refactor further the steam to a HashSet constructor operation as the filter method gets removed.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:04:36 -05:00
HenrikJannsen
e8a9132d30
Remove if blocks with !DevEnv.isDaoActivated() and combined && as isDaoActivated is always true the whole statement is always false
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:00:23 -05:00
HenrikJannsen
80e7dc7203
Remove tertiary operator DevEnv.isDaoActivated() ? as isDaoActivated is always true
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:00:22 -05:00
HenrikJannsen
3e99a110d7
Remove if (!DevEnv.isDaoActivated()) checks as !isDaoActivated is always false 2022-11-03 11:00:22 -05:00
HenrikJannsen
72d97b8d97
Remove if (DevEnv.isDaoActivated()) checks as isDaoActivated is always true
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 10:51:01 -05:00
HenrikJannsen
008cfaac57
Remove daoActivated options
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 10:46:26 -05:00
HenrikJannsen
7f5675f054
Remove if case for old clients
Remove null check for dispute

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:51:39 -05:00
HenrikJannsen
97648c51f3
Rename to make use case more clear
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:49:57 -05:00
HenrikJannsen
0bf44f061d
Remove addressAsString null check. That was when the donationAddress got added to support not updated nodes. Now there are none of such nodes.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:48:55 -05:00
HenrikJannsen
710dba9f36
Remove validateDonationAddress method without dispute param
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:47:39 -05:00
HenrikJannsen
5daaa60779
Refactor validateDonationAddress
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:44:58 -05:00
HenrikJannsen
3007652f4a
Remove dispute field from TradeDataValidation.ValidationException
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:41:46 -05:00
HenrikJannsen
cfb3780e6b
Move null check for address to validateDonationAddress method
Remove dispute as unused param
Remove redundant methods

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:39:56 -05:00
HenrikJannsen
e8c6b0ae14
Remove daoFacade as unused parameter
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:32:28 -05:00
HenrikJannsen
cfc67dcc9c
Move validateDonationAddress to DisputeValidation
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:29:59 -05:00
HenrikJannsen
d86071db4a
Remove validateDonationAddress call inside validateDelayedPayoutTx.
Add call to validateDonationAddress at client calling validateDelayedPayoutTx

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:28:41 -05:00
HenrikJannsen
2484fa4371
Part of a multistep refactoring to separate dispute related validation out of TradeDataValidation
Refactor donationAddress validation out to new method
Rename addressAsString to delayedPayoutTxOutputAddressAsString
Recreate delayedPayoutTxOutputAddress at new validateDonationAddress method from relevant data

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:25:11 -05:00
HenrikJannsen
e49e634956
Move testIfAnyDisputeTriedReplay and related methods to DisputeValidation
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:14:55 -05:00
HenrikJannsen
37457ed132
Move validateDonationAddress to DisputeValidation
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:12:55 -05:00
HenrikJannsen
12686deff6
Move validateNodeAddress to DisputeValidation
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:11:23 -05:00
HenrikJannsen
aa22bd366a
Add DisputeValidation class for validation methods and exceptions of the dispute domain.
Move AddressException, NodeAddressException and DisputeReplayException to DisputeValidation.
Use DisputeValidation.ValidationException as type for DisputeManager.validationExceptions.
Remove Nullable annotation for dispute field in those exceptions.
Remove null checks when those DisputeValidation.ValidationException are used.
2022-11-02 22:09:30 -05:00
HenrikJannsen
d7deb169a1
Add /.run to gitignore
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 21:23:59 -05:00
HenrikJannsen
43fb0cc635
Reformat code and reorg imports
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 21:22:35 -05:00
jmacxx
5caa401999
Refactor the Support Tool UI.
This is the tool used for Manual Payouts and message sign/verify.
Replaces the monolithic code with a class for each tab in the UI.
This refactoring was necessary in preparation for adding a new tab.
2022-10-23 23:46:50 -05:00
Christoph Atteneder
0e91d11185
Merge pull request #6385 from ripcurlx/update-data-stores-for-v1.9.6
Update data stores for v1.9.6
2022-10-21 13:45:00 +02:00
Christoph Atteneder
80246e5d66
Update data stores for v1.9.6 2022-10-20 12:19:30 +02:00
Christoph Atteneder
e84c94f2b7
Resize action column if it contains own offers 2022-10-20 11:02:04 +02:00
Bisq GitHub Admin
cc8fe09d87
Merge pull request #6384 from ripcurlx/resize-column-if-has-own-offers
[v1.9.6] Resize action column if it contains own offers
2022-10-20 11:01:43 +02:00
Christoph Atteneder
ace27cf65c
Resize action column if it contains own offers 2022-10-19 13:25:28 +02:00
Bisq GitHub Admin
f2a1aaeee0
Merge pull request #6378 from ripcurlx/update-verification-metadata
Update missing hashes for tor 0.7.5 update
2022-10-18 20:33:57 +02:00
jmacxx
38a4d1b6f2
Fix NPE when dust tx is shown. 2022-10-17 07:58:30 -05:00
Christoph Atteneder
9e4b43a8a1
Update missing hashes for tor 0.7.5 update 2022-10-17 11:16:42 +02:00
Christoph Atteneder
24fe4a0495
Update missing hashes for tor 0.7.5 update 2022-10-17 11:14:32 +02:00