Commit Graph

15912 Commits

Author SHA1 Message Date
jmacxx
6b0fcf5cfb
Enable fractional percentages in dispute payout calculation field 2022-01-07 11:36:25 -06:00
jmacxx
99b4071bdf
Wording for Bsq swap cancellation popups & withdrawal prompt 2022-01-07 10:03:14 -06:00
jmacxx
9334cffc89
Feature enabling log file upload to mediators 2022-01-06 13:22:44 -06:00
ghubstan
905841b2b2
Adjust api beta test guide to new closetrade cmd 2022-01-05 12:19:36 -03:00
ghubstan
a9aaba87fa
Rename API method keepfunds -> closetrade
Trade proceeds and deposits have already been transfered to Bisq wallets
before the `keepfunds` command is (was) executed;  `keepfunds` merely moves
open trades to closed trades lists and persistence files.  Renaming `keepfunds`
as `closetrade` makes its purpose clear to API users.

The commit modifies only method names and comments in api server+cli classes,
apitest cases, and api trade simulation scripts.

Based on `master`
2022-01-05 12:10:46 -03:00
jmacxx
298aca40bc
Fix trade fee validation bug when two BSQ UTXOs used to pay the fee.
A test has been added to validate the UTXO issue above.
Other tests have been updated as a result of the changes in PR 5826
where fee parameter is now supplied from a filter; this results
in more accurate (less lenient) fee checking.
2022-01-04 09:25:05 -06:00
xyzmaker123
4af0d2c3f9
Editor explorer indicator styling 2022-01-04 15:01:23 +01:00
Christoph Atteneder
ce76389402
Merge pull request #5948 from bisq-network/dependabot/github_actions/actions/setup-java-2.5.0
Bump actions/setup-java from 2.4.0 to 2.5.0
2022-01-03 12:49:55 +01:00
Christoph Atteneder
b5fab6470e
Merge pull request #5914 from jmacxx/fix_fat_finger_protection
Fix fat finger protection in Offer Entry screen
2022-01-03 12:26:16 +01:00
Christoph Atteneder
dde48f7d9e
Merge pull request #5935 from jmacxx/dao_state_store_and_statistics
Improve DAO state store persistence and statistics logging [chimp1984]
2022-01-03 12:24:18 +01:00
Christoph Atteneder
8d4a785c39
Merge pull request #5947 from bisq-network/dependabot/github_actions/actions/checkout-2.4.0
Bump actions/checkout from 2.3.5 to 2.4.0
2022-01-03 12:23:43 +01:00
Christoph Atteneder
b3c85342e3
Merge pull request #5938 from ghubstan/7-deprecate-api-getmyoffer
Deprecate API 'getmyoffer' (#7)
2022-01-03 12:15:35 +01:00
Christoph Atteneder
bb68ff03a2
Merge pull request #5939 from ghubstan/8-api-payment-acct-opt-n-doc
Fix API CLI's '--payment-account-id' opt name, document 'createcryptopaymentacct' (#8)
2022-01-03 12:14:58 +01:00
dependabot[bot]
df5a062040
Bump actions/setup-java from 2.4.0 to 2.5.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](5f00602cd1...f0bb916062)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 10:56:02 +00:00
dependabot[bot]
01c64d2394
Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1e204e9a92...ec3a7ce113)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 10:55:58 +00:00
Christoph Atteneder
ec42d104de
Merge pull request #5943 from dbast/master
CI Security: Use Github actions via sha1 (not tags) and keep them updated via dependabot
2022-01-03 11:55:35 +01:00
Daniel Bast
32ddd4dbf9
Use Github actions via sha1 (not tags) and keep them updated via dependabot
Tags are mutable and can change unexpectedly. Referencing actions via sha1
is more secure in that regard. Dependabot helps to automatically update to
newer versions.
2021-12-30 09:55:40 +01:00
ghubstan
25c67902cd
Merge branch 'master' into 8-api-payment-acct-opt-n-doc 2021-12-29 10:06:06 -03:00
ghubstan
bf14c65c8b
Remove duplicated methods after conflict resolution attempt 2021-12-29 09:59:48 -03:00
Stan
0ae2b1fb5c
Merge branch 'master' into 7-deprecate-api-getmyoffer 2021-12-29 09:52:34 -03:00
Christoph Atteneder
2c43cfb56f
Merge pull request #5936 from dbast/gradle_update
Update gradle wrapper to 7.3.3
2021-12-29 13:23:34 +01:00
Christoph Atteneder
d5dc8366f7
Merge pull request #5893 from ghubstan/6-api-xmr-trading
API XMR/BTC trading pair support (#6)
2021-12-29 12:51:01 +01:00
jmacxx
d901faa29e
Fix fat finger protection issue
Normally, for currencies that have a market price feed, Bisq provents
the user from entering offers that are more than 50% away from spot.
It recently came to light via a mediation case that this fat finger
protection in Bisq has a flaw.
A certain sequence of focus operations in the enter offer screen
causes fat finger protection to turn off, and then the user is no
longer protected from making offers that are significantly out of
the market.

To reproduce the issue:

Go to BUY (or SELL) BTC for an market priced asset, e.g. ETH
Click Create New Offer
Click the up/down arrow icon to make sure the % from market price
edit box is selected at the top.
Close the dialog, this saves the selected price format.
Click Create New Offer
Enter 0.25 BTC
Tab to the next field.
Click the up/down arrow icon to make sure the fixed price edit box
is selected at the top.  The price and deviation gets auto-populated
to market price and 0% deviation.
Enter a fixed price that is 10x higher than market value.
Click "Next" and the fat finger protection warning DOES NOT pop up.
This is because the deviation still shows 0%.
2021-12-28 16:29:21 -06:00
ghubstan
5a390fa359
Document 'createcryptopaymentacct' in API beta-test guide 2021-12-27 13:45:16 -03:00
ghubstan
cb4df2b1c3
Rename CLI opt '--payment-account' -> '--payment-account-id'
Adjust related docs and scripts.
2021-12-27 13:10:16 -03:00
Stan
53d693d710
Merge branch 'master' into 7-deprecate-api-getmyoffer 2021-12-27 12:09:22 -03:00
ghubstan
5f571cccca
Deprecate API 'getmyoffer'
The method 'getoffer' should support looking up a user's open-offers, and other users' available offers.

- Adjust api-beta-test-guide.md to use only 'getoffer'.
- Adjust trade simulation scripts to use only 'getoffer'.
- Adjust api testcases to use 'getoffer' in place of 'getmyoffer'.
- Mark appropriate methods and protobuf msgs as deprecated.
2021-12-27 12:05:17 -03:00
Daniel Bast
064c7590a8
Update gradle wrapper to 7.3.3
Done via `./gradlew wrapper --gradle-version 7.3.3 --distribution-type all`

From the release description:

This is a patch release for Gradle 7.3.

It fixes the following issues:

* #19360 Upgrade checks to Log4j 2.17.0

We recommend users upgrade to 7.3.3 instead of 7.3.

See also https://github.com/gradle/gradle/releases/tag/v7.3.3
2021-12-25 13:03:14 +01:00
jmacxx
1162060e28
Simplify the trade complete summary dialog 2021-12-24 14:22:59 -06:00
jmacxx
30706f05e2
No. of threads is already logged every 10 minutes from printSystemLoad 2021-12-24 12:40:49 -06:00
jmacxx
0b66fdcbef
Statistics logging changes
Add thread count to periodic logged statistics
Increase the statistic logging interval from 5 minutes to 1 hour
2021-12-23 14:42:18 -06:00
jmacxx
9378fe4603
Patch from chimp1984 improving the DaoState persistence 2021-12-23 14:40:11 -06:00
Christoph Atteneder
963b966f7f
Merge pull request #5933 from jmacxx/fix_issue_5932
Fix NPE taking offer when an account has no selected currency
2021-12-22 09:47:26 +01:00
jmacxx
9e753458e4
Fix NPE taking offer when an account has no selected currency 2021-12-21 21:26:26 -06:00
Christoph Atteneder
8bf6426393
Reset the icon color properly for market price margin information 2021-12-21 13:30:27 +01:00
WAT
7b03e20459
Added a snippet to actually install the lfs package after adding the repository with the quick curl command (#5869)
* Improve git lfs installation instructions
2021-12-20 12:44:41 +01:00
Christoph Atteneder
23d1856a60
Merge pull request #5852 from ghubstan/create-swift-acct-with-api
Support and test creation of Swift accounts via API
2021-12-20 11:49:20 +01:00
Christoph Atteneder
38d4413864
Merge pull request #5918 from KanoczTomas/KanoczTomas-add-btc-node-onionv3
Add @KanoczTomas btc node with onion v3 address
2021-12-20 09:26:12 +01:00
Christoph Atteneder
5c47d703e9
Merge pull request #5928 from cbeams/upgrade-log4j
Upgrade log4j 2.15.0 => 2.17.0
2021-12-20 09:19:52 +01:00
Chris Beams
07a139c927
Upgrade log4j 2.15.0 => 2.17.0
This change upgrades log4j to patch fixes for recently documented
CVE-2021-45046 CVE-2021-45105 vulnerabilities related to the Log4Shell
exploit.

Like the earlier fix, Bisq does not appear to be vulnerable to these
exploits because it does not use log4j directly, only transitively
depends on it. Nevertheless, the upgrade is still the safe bet.
2021-12-20 07:34:04 +01:00
KanoczTomas
dfbde480c6
Remove trailing spaces. 2021-12-18 23:41:33 +01:00
KanoczTomas
364560e348
Correct typo in list/array of nodes 2021-12-18 22:37:04 +01:00
Stan
705e34e917
Merge branch 'master' into 6-api-xmr-trading 2021-12-15 16:40:08 -03:00
KanoczTomas
6969ed7a84
Add @KanoczTomas btc node with onion v3 address 2021-12-14 23:58:07 +01:00
sqrrm
cf81fd451c
Merge pull request #5876 from ghubstan/5-api-bsqswap-simulation-n-docs-update
API BSQ swap simulation script and doc updates #5
2021-12-14 15:47:51 +01:00
sqrrm
18b70ad8c4
Merge pull request #5915 from bisq-network/release/v1.8.0
v1.8.0 Release
2021-12-14 09:11:29 +01:00
Christoph Atteneder
a7c38630e8
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.8.0
Conflicts:
	core/src/main/resources/i18n/displayStrings_pl.properties
2021-12-13 11:51:16 +01:00
Christoph Atteneder
3f380226fd
Revert to SNAPSHOT version 2021-12-13 11:47:14 +01:00
Christoph Atteneder
a5922661b4
Merge pull request #5910 from cbeams/avoid-log4j-0day
Avoid Log4J "Log4Shell" exploit
2021-12-10 11:05:27 +01:00
Chris Beams
5f0f9e8d7a
Avoid Log4J "Log4Shell" exploit
This commit upgrades our transitive dependency on Log4J 2 from 2.14.1 to
the newly-released 2.15.0 to avoid the CVE described at
https://www.lunasec.io/docs/blog/log4j-zero-day/.

We do not use log4j directly anywhere in our codebase, so our exposure
to this exploit was already mitigated if not eliminated, but Spring Boot
depends on Log4J 2 internally. This commit upgrades Spring Boot's
underlying dependency on Log4J to 2.15.0 in the manner recommended at
https://github.com/spring-projects/spring-boot/issues/28958.
2021-12-10 11:04:33 +01:00