Alva Swanson
787da04539
Fix broken ProtectedStorageEntryTest
...
Relates to #6619
2023-05-10 18:00:01 +10:00
Alva Swanson
5f655f6d48
Fix broken P2PDataStoragePersistableNetworkPayloadTest
...
Relates to #6619
2023-05-10 17:48:21 +10:00
HenrikJannsen
60fad3ab6c
Fix incorrect filtering of offers with shared maker fee
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-10 11:42:00 +07:00
Alva Swanson
734650d43e
core: Fix broken PriceTest.testParse test
...
Relates to #6619
2023-05-09 21:23:18 +10:00
Alva Swanson
b5402d840b
Add bisq2 Gradle Tor Plugin
2023-05-09 18:09:35 +10:00
Alva Swanson
4bd8d421be
Add bisq2 gradle-tasks module
2023-05-09 17:58:17 +10:00
Alejandro García
2e892bf90a
Merge pull request #6688 from alvasw/move_mockito_definition_to_bisq_java_conventions
...
Move mockito dependency definition to bisq.java-conventions
2023-05-08 18:19:19 +00:00
Alejandro García
cc9a49ef2b
Merge pull request #6687 from alvasw/move_hamcrest_definition_to_bisq_java_conventions
...
Move hamcrest dependency definition to bisq.java-conventions
2023-05-08 18:18:33 +00:00
Alejandro García
6f851b944c
Merge pull request #6686 from alvasw/move_junit_definition_to_bisq_java_conventions
...
Move JUnit dependency definition to bisq.java-conventions
2023-05-08 18:17:49 +00:00
Alejandro García
fcec096ba5
Merge pull request #6685 from alvasw/run_ci_on_all_branches
...
GitHub Actions: Run on all branches
2023-05-08 18:17:00 +00:00
Alejandro García
ce4c1190b7
Merge pull request #6684 from alvasw/ci_enable_build_scans
...
CI: Enable build scans
2023-05-08 18:16:16 +00:00
Alejandro García
e7a29b1a20
Merge pull request #6683 from alvasw/common_reformat_math_utils_test
...
Common: Reformat MathUtilsTest
2023-05-08 18:15:47 +00:00
Alejandro García
642f7a60cb
Merge pull request #6682 from alvasw/remove_empty_verify_task_test_class
...
Remove empty VerifyTaskTest class
2023-05-08 18:15:10 +00:00
Alva Swanson
28a4787853
Move mockito dependency definition to bisq.java-conventions
2023-05-08 17:51:05 +10:00
Alva Swanson
7c1eb65775
Move hamcrest dependency definition to bisq.java-conventions
2023-05-08 17:51:05 +10:00
Alva Swanson
6e0e5028a3
Move JUnit dependency definition to bisq.java-conventions
2023-05-08 17:51:05 +10:00
Alva Swanson
e5e09db3f1
GitHub Actions: Publish Gradle build scan
2023-05-08 17:49:41 +10:00
Alva Swanson
8bbd941b82
GitHub Actions: Run on all branches
2023-05-08 17:40:35 +10:00
Alva Swanson
59521731c9
Accept Gradle terms if buildScan property set by developer
2023-05-08 17:37:36 +10:00
Alva Swanson
02107ad9f0
Common: Reformat MathUtilsTest
2023-05-08 17:19:35 +10:00
Alva Swanson
2e63d2f0ca
Remove empty VerifyTaskTest class
2023-05-08 16:35:36 +10:00
Alejandro García
b90776989b
Merge pull request #6619 from napoly/upgrade_junit4_to_junit5_jupiter
...
Replacing JUnit4 with JUnit5 Jupiter
2023-05-07 16:57:57 +00:00
napoly
fc42044949
Remove edit button for BSQ offers
2023-05-06 20:06:58 +02:00
HenrikJannsen
2651a88d5e
Do not reset addressEntries if its from cloned offers at cleanUpAddressEntries
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-05 19:42:08 +07:00
HenrikJannsen
13bcfb3121
Use new offerId and fresh data at clone offer
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-05 19:41:24 +07:00
HenrikJannsen
d42895637f
Publish cloned offer if activated
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-05 14:19:31 +07:00
HenrikJannsen
21672a1bd0
Add clone offer tab
...
Change flow of cloning an offer:
We open the clone offer tab similar like the duplicate/edit offer tab. When clicking the clone button we create and publish the cloned offer. if the clone would not have changed the payment method/currency we show a popup and deactivate the offer.
At editOffer we check if the offer is using a shared maker fee and if so we check if the edit triggered same payment method/currency. If so we show a popup and deactivate the offer.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-05 13:34:03 +07:00
HenrikJannsen
4ae89e748c
Use link icon for cloned offers
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-05 11:11:58 +07:00
HenrikJannsen
384173c894
Rename translation string
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-05 10:01:57 +07:00
HenrikJannsen
a621973eed
Add translation string
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-05 09:41:05 +07:00
HenrikJannsen
8b91ed7a00
Only reset if there are no other shared maker fee offers
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-05 09:33:35 +07:00
napoly
e19ffe2308
Upgrade JUnit4 to JUnit5 Jupiter
2023-05-04 20:04:49 +02:00
HenrikJannsen
6036da352b
Add cloneItemColumn
...
Hide trigger price column if none is in list
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-04 20:25:11 +07:00
HenrikJannsen
3403b1662c
User maker fee as column name (instead of group)
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-04 20:10:38 +07:00
HenrikJannsen
992854c9b9
Various refactorings and changes
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-04 18:31:20 +07:00
HenrikJannsen
cadf2073cf
Fix updateReservedBalance.
...
btcWalletService.getAddressEntriesForOpenOffer() contains also OFFER_FUNDING entries.
This version minimizes the change by mapping to address and use distinct to avoid duplicate entries to be summed up.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-04 18:31:19 +07:00
HenrikJannsen
f6c31aa479
Remove added code with entryWithSameContextStillExists as it is not needed.
...
Multiple calls will call add on the hashset but as the entry is the same it will not trigger any change of the hashset.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-04 18:31:18 +07:00
HenrikJannsen
966b9d8448
Add getAllRecentTransactions method.
...
The numTransactions param in getRecentTransactions delivers all transactions if it is 0 but that is not intuitive. Passing Integer.MAX_VALUE makes more sense.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-04 18:31:18 +07:00
jmacxx
acbff2b11a
Use domain data as requested by reviewer.
2023-05-04 18:31:17 +07:00
jmacxx
e66517fb8a
Code review changes.
...
Pick a more user friendly name instead of OCO.
Clean up code.
2023-05-04 18:31:16 +07:00
jmacxx
27dcec00e9
Code review changes.
2023-05-04 18:31:16 +07:00
jmacxx
1cc42aef77
Bug fix.
2023-05-04 18:31:15 +07:00
jmacxx
4f08f9f383
Feat: OCO Offers
2023-05-04 18:31:15 +07:00
Alejandro García
d17749110a
Merge pull request #6670 from jmacxx/trade_fee_leniency
...
Allow leniency of 50% when validating trade fees.
2023-05-04 05:59:13 +00:00
Alejandro García
0e22b1c6d7
Merge pull request #6674 from HenrikJannsen/fix-accounting-filter-for-large-fees
...
Increase fee limit for accounting data filter.
2023-05-03 14:24:56 +00:00
HenrikJannsen
35f69232fd
Increase fee limit for accounting data filter.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-05-02 09:59:23 +07:00
jmacxx
8c05af1f0a
Allow leniency of 50% when validating trade fees. Issue #6669 .
2023-04-30 14:04:03 -05:00
Christoph Atteneder
c8c256f958
Merge pull request #6666 from stejbac/fix-npe-from-burningmanview-comparators
...
Fix NPE from BurningManView column comparators
2023-04-24 11:01:56 +02:00
Steven Barclay
01de88b163
Slight code cleanup: BurningManView & BalanceEntryItem
...
1) Replace statement lambda with expression lambda;
2) Use '.iterator().next()' instead of 'new ArrayList<>(_).get(0)'.
2023-04-22 00:41:12 +01:00
Steven Barclay
c353a95cd9
Use primitive 'comparing*' comparators to avoid boxing
...
Replace uses of 'Comparator.comparing' with 'comparing[Double|Int|Long]'
in BurningManView, as appropriate, since it is slightly more efficient.
2023-04-22 00:29:13 +01:00