Commit Graph

2465 Commits

Author SHA1 Message Date
Christoph Atteneder
e92be14a57
Bump version number for v1.5.3 2020-12-30 13:34:08 +01:00
Christoph Atteneder
115ec78f4d
Merge pull request #5011 from chimp1984/show-stacktrace-in-error-popup-at-view-exceptions
Show stacktrace in error popup at view exceptions
2020-12-29 19:58:01 +01:00
Christoph Atteneder
30cfe5de7b
Merge pull request #5015 from Jakub-CZ/fix-withdrawal-label
Fix missing apostrophe in Withdrawal view
2020-12-29 19:57:02 +01:00
Christoph Atteneder
6564c3fe7f
Merge pull request #4988 from chimp1984/rearrange-bsq-price-rows
Move BSQ price in USD at first row
2020-12-29 19:45:44 +01:00
Christoph Atteneder
a2a542e11e
Merge pull request #4999 from chimp1984/persist-app-window-layout
Add generic map (cookie) to UserPayload
2020-12-29 19:44:29 +01:00
Jakub Loucký
338d5a3ecf
Fix layout of button and checkbox in Receive funds 2020-12-29 01:17:02 +01:00
Christoph Atteneder
785c76e9d6
Merge pull request #5010 from chimp1984/dao-performance-improvements
Dao performance improvements
2020-12-28 20:06:58 +01:00
Jakub Loucký
9a9a8ba67d
Fix missing apostrophe in Withdrawal view 2020-12-28 18:22:57 +01:00
sqrrm
1abc7487b9
Add indication of last GH CR issue 2020-12-28 17:48:04 +01:00
Christoph Atteneder
976caeb14e
Merge pull request #5001 from chimp1984/deactivate-open-offer-if-trigger-price-is-reached
Deactivate open offer if trigger price is reached
2020-12-28 17:04:21 +01:00
Christoph Atteneder
78d4176f8a
Merge pull request #5004 from chimp1984/add-mediators-keybase-usernames
Add mediators keybase usernames
2020-12-28 16:50:56 +01:00
Christoph Atteneder
850e031158
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.5.2
# Conflicts:
#	core/src/main/java/bisq/core/account/witness/AccountAgeWitnessService.java
#	core/src/main/java/bisq/core/trade/closed/CleanupMailboxMessages.java
2020-12-28 14:57:08 +01:00
Christoph Atteneder
0ad39761ce
Revert to SNAPSHOT version 2020-12-28 14:54:55 +01:00
chimp1984
8350f22c0f
Set correct type of cache map 2020-12-27 23:37:08 -05:00
chimp1984
60ffdbab35
Show stack trace in error popup if view gets an exception at initialize. 2020-12-27 23:36:38 -05:00
chimp1984
32cc062872
Refactor: Rename getIssuanceSet to getIssuanceSetForType 2020-12-27 21:21:48 -05:00
jmacxx
64d0926db3
remove awt dependencies 2020-12-26 23:18:45 -06:00
chimp1984
e38fa9a819
Add user name to dispute window and to trade details window (json contract window) 2020-12-25 13:46:04 -05:00
chimp1984
2b047976af
Add lookup map for support agents keybase user names by onion address
Add it to dispute (client) views
2020-12-25 13:27:14 -05:00
chimp1984
1336cbb569
Fix test 2020-12-25 01:27:29 -05:00
chimp1984
4f96ade69d
Rename wrong params 2020-12-25 00:14:47 -05:00
chimp1984
57c1ad28a5
Add dontShowAgain to edit offer success popup 2020-12-25 00:14:21 -05:00
chimp1984
2a86d5b5b5
Add triggerPrice to csv 2020-12-25 00:13:55 -05:00
chimp1984
64607de924
Add trigger icon column 2020-12-24 23:44:27 -05:00
chimp1984
39893a6aaf
Add trigger price to OpenOffersView 2020-12-24 23:05:23 -05:00
chimp1984
f096351d60
Make rows smaller 2020-12-24 21:46:14 -05:00
chimp1984
bb9de0b24c
Add trigger price field to create offer view 2020-12-24 20:01:04 -05:00
Jakub Loucký
74f5d93504
Display up-to-date error messages under text fields
As user types into a validated text field,
if the new string is still invalid but the error message changed,
ensure the new message will be displayed.
2020-12-25 01:52:36 +01:00
chimp1984
d76a810691
Add generic map (cookie) to UserPayload for persisting UI states like app layout 2020-12-24 17:05:04 -05:00
chimp1984
e5957cd2fe
Set priceTypeToggleButton invisible once we move to funds section
Remove disableProperty().unbind() calls which have never got a bind call before
Cleanups
2020-12-23 23:22:02 -05:00
chimp1984
752984726c
Add getRegularIconButton method 2020-12-23 21:48:04 -05:00
chimp1984
99192e76ae
Apply formatting (no code change) 2020-12-23 21:47:44 -05:00
chimp1984
8ac81d903d
Refactor InfoInputTextField
Use only one icon which is set on demand.
We will add a new icon later so that refactoring prepares that...
2020-12-23 21:46:49 -05:00
chimp1984
d1c8718517
Merge branch 'add-percentage-price-to-open-offer-view' into deactivate-open-offer-if-trigger-price-is-reached 2020-12-23 21:24:52 -05:00
sqrrm
7d7f1b09e7
Merge pull request #4966 from ghubstan/10-callrate-interceptor
Prevent excessive api calls
2020-12-23 16:19:29 +01:00
chimp1984
b36802dc49
Add percentage price to open offer view 2020-12-22 19:03:09 -05:00
Christoph Atteneder
73fdb9f6ec
Merge pull request #4984 from chimp1984/improve-localnode-popup-text
Improve popup text in case a local node is detected
2020-12-22 09:31:28 +01:00
sqrrm
c5218c66c3
Merge pull request #4971 from chimp1984/use-resource-file-instead-of-resync-from-genesis
Avoid resync from genesis in case of dao state issues
2020-12-21 22:00:42 +01:00
sqrrm
df1461c0d7
Merge pull request #4968 from ripcurlx/fix-dark-mode-private-notification-window
[v1.5.2] Fix private notification style issue in dark mode
2020-12-21 13:08:43 +01:00
Christoph Atteneder
d805b37a60
Merge pull request #4985 from chimp1984/improve-trade-fee-display
Improve trade fee display at create and take offer screens and popups
2020-12-21 11:23:07 +01:00
Christoph Atteneder
a344ae9310
Merge pull request #4977 from chimp1984/add-extra-note-for-amazon-gift-cards
[1.5.2] Add extra note for amazon gift cards
2020-12-21 11:22:13 +01:00
chimp1984
20771e4ec6
Force travis rebuild 2020-12-20 20:09:24 -05:00
chimp1984
9f5cf3f705
Move BSQ price in USD at first row. 2020-12-20 19:57:30 -05:00
chimp1984
e59f480392
Improve popup text in case a local node is detected 2020-12-20 19:02:06 -05:00
chimp1984
4050644677
Remove redundant popup 2020-12-20 18:54:32 -05:00
chimp1984
bf720737db
Improve trade fee display at create and take offer screens and popups 2020-12-20 18:01:19 -05:00
sqrrm
48c912c8fe
Avoid standard shortcuts
Change shortcut to copy account info for witness signing
to ctrl+shift+c to avoid conflicts with standard OS shortcuts.
2020-12-20 16:50:12 +01:00
chimp1984
69fcf9f255
Remove automatic setting of first currency from combobox 2020-12-19 17:15:49 -05:00
chimp1984
af9f2a9643
In case a reset of the dao state was triggered we delete
now all dao store files and request a shut down of the app.

After a restart the resource files are used. This avoids cases where a resync from
genesis got triggered (observed on seed nodes, not on desktop apps).

Seed nodes and headless apps get shut down automatically.
In case of the desktop app we show a warn popup with shutdown
button and no close button, so we enforce a shutdown to avoid
complications in case the user would continue.
2020-12-18 20:29:47 -05:00
sqrrm
e2c8e4dff6
Merge pull request #4965 from ripcurlx/update-data-stores-for-v1.5.2
[v1.5.2] Update data stores for v1.5.2
2020-12-18 23:09:04 +01:00
Christoph Atteneder
7c0d02ad09
Make it easier to translate trade roles 2020-12-18 20:48:42 +01:00
Christoph Atteneder
9a54ccc077
Make it easier to translate trade roles 2020-12-18 17:06:56 +01:00
Christoph Atteneder
400a713a41
Fix private notification style issue in dark mode 2020-12-18 15:57:07 +01:00
Christoph Atteneder
7fcb857fd3
Use sign state icon selector for payment account cell factory 2020-12-18 11:57:05 +01:00
Christoph Atteneder
4736bb806a
Limit badge display to two digits
Supporting three digits in this UI element wouldn't
work properly in all our use cases
2020-12-18 10:51:39 +01:00
Christoph Atteneder
626aac69a8
Remove wrong error log 2020-12-18 10:01:33 +01:00
Christoph Atteneder
6384753332
Update data stores for v1.5.2 2020-12-17 15:48:05 +01:00
jmacxx
a49cb24e09
review fix: try..catch around all parseCoin() 2020-12-17 15:33:26 +01:00
jmacxx
9cb9ed20e4
Privacy improvements for manual payout
Redesign the UI
Add import/export of payout settings
Add ability to import from mediation ticket
Mediator does not need private key
User can sign using own wallet or private key
Validation of input fields
Calculate the tx fee based on inputs
Display of the generated txid & hex so it can be checked
2020-12-17 15:33:21 +01:00
Christoph Atteneder
ceecb404d2
Merge pull request #4899 from jmacxx/4061_privacy_improvement
Privacy improvements for manual payout
2020-12-17 15:32:44 +01:00
jmacxx
e888be3192
review fix: try..catch around all parseCoin() 2020-12-16 22:15:16 -06:00
ghubstan
1cd47fd0aa
Merge branch 'master' into 09-refactor-grpc-error-handling 2020-12-16 13:45:29 -03:00
chimp1984
0cd32fa6e5
Add null check (for tests) and fix missing param for test class.
Fix test with price display.
2020-12-16 15:42:30 +01:00
chimp1984
169f46d753
Set bsq30DayAveragePrice only at activate as its expensive
call and does not change frequently and is only used for
informational purpose as % display.
2020-12-16 15:42:24 +01:00
chimp1984
14e5eefab4
Add check to not devide by 0
Cleanups
2020-12-16 15:42:18 +01:00
chimp1984
dd34bc6810
Add price deviation in % to BSQ using 30 day average 2020-12-16 15:42:11 +01:00
chimp1984
67fd7ea010
Show also % price deviation for fixed price and
sort according to it
Allow sorting at show all. This helps to spot
good offers with negative % over the whole market.
2020-12-16 15:42:02 +01:00
sqrrm
86d81762f6
Merge pull request #4949 from chimp1984/show-pricedeviation-for-fixed-price-offers
Show price deviation in % for fixed price offers and BSQ
2020-12-16 15:30:14 +01:00
Christoph Atteneder
a6bee1116a
Bump version number for v1.5.2 2020-12-16 14:19:41 +01:00
Christoph Atteneder
0789180bb0
Merge pull request #4957 from sqrrm/sign-single-account
Sign single account
2020-12-16 14:07:34 +01:00
chimp1984
bb3dbf3d78
Add null check (for tests) and fix missing param for test class.
Fix test with price display.
2020-12-15 23:29:53 -05:00
chimp1984
1106d01ff7
Set bsq30DayAveragePrice only at activate as its expensive
call and does not change frequently and is only used for
informational purpose as % display.
2020-12-15 23:29:52 -05:00
chimp1984
c858ac7b7d
Add check to not devide by 0
Cleanups
2020-12-15 23:29:52 -05:00
chimp1984
34f10d37ef
Add price deviation in % to BSQ using 30 day average 2020-12-15 23:29:52 -05:00
chimp1984
f97bb6228b
Show also % price deviation for fixed price and
sort according to it
Allow sorting at show all. This helps to spot
good offers with negative % over the whole market.
2020-12-15 23:29:52 -05:00
sqrrm
f61e62c7c0
Merge pull request #4956 from chimp1984/sort-paymentmethods-by-name
Sort payment methods by display string not by id.
2020-12-16 00:17:26 +01:00
sqrrm
26024bd6ec
Refactor: rename methods, move return statement 2020-12-15 19:35:49 +01:00
sqrrm
4c33f9c999
Sign imported AccountAgeWitness,PubKey
Change the specific sign window to sign an imported account in the form
of accountAgeWitnessString,pubKeyString. The SignSpecificWitness never
worked due to missing pubKey data and this is a way to import the missing data.
2020-12-15 16:08:06 +01:00
ghubstan
a341173412
Merge branch 'master' into 09-scratch 2020-12-15 11:13:37 -03:00
sqrrm
de25105fa8
Copy account data to clipboard
Use ctrl+c to copy accountagewitness and pubkey to clipboard in a format to
be used by arbitrator to sign the account
2020-12-15 14:53:34 +01:00
chimp1984
d7a95fed03
Pass trade if available and use peers keyring 2020-12-15 00:40:45 -05:00
jmacxx
b1d22af1ae
Privacy improvements for manual payout
Redesign the UI
Add import/export of payout settings
Add ability to import from mediation ticket
Mediator does not need private key
User can sign using own wallet or private key
Validation of input fields
Calculate the tx fee based on inputs
Display of the generated txid & hex so it can be checked
2020-12-14 22:19:37 -06:00
chimp1984
5c68ad0b47
Sort payment methods by display string not by id.
Apply sorting in drop down boxes.
2020-12-14 14:42:15 -05:00
Christoph Atteneder
7d12b94c6a
Merge pull request #4933 from chimp1984/add-num-items-to-tables
Improve funds and portfolio screens
2020-12-14 19:48:55 +01:00
Christoph Atteneder
6ae33fe5f2
Merge pull request #4935 from chimp1984/add-wallet-info-view
Add wallet info view
2020-12-14 19:48:23 +01:00
ghubstan
a0f1c22d19
Merge branch 'master' into 08-scratch 2020-12-14 15:02:21 -03:00
chimp1984
6dc64fb128
Don't show maker fee tx field at create offer window 2020-12-14 12:29:31 -05:00
chimp1984
149b52859a
Add wallet info view with balance, xpub keys,
hd paths and button to open wallet details
2020-12-14 08:25:46 -05:00
Christoph Atteneder
810c0da0f9
Merge pull request #4930 from chimp1984/use-historical-data-store-for-account-age
Use HistoricalDataStoreService for AccountAgeWitnessStorageService
2020-12-14 11:28:18 +01:00
Christoph Atteneder
e848e8b7b3
Only enable toggle all button if offers are available 2020-12-14 11:14:37 +01:00
chimp1984
484a6be379
Rename 'Supported currencies' to
'Currencies for receiving funds'
2020-12-13 23:49:57 -05:00
chimp1984
4d8a327567
Add enable/diable all toggle button to open offers
Add search field to openoffer and failed trades
Improve search
2020-12-11 00:21:47 -05:00
chimp1984
d3b68bf9e6
Add num items text field below tables
Move filter in history to top, fix wrong label
Add export to cvs to reserved and locked balances
2020-12-10 11:20:54 -05:00
chimp1984
50bce86630
Show num trades > 9 as number (not as star) for peer info icon 2020-12-10 11:17:28 -05:00
ghubstan
259bad629a
Merge branch 'master' into 05-use-memo-tx-field 2020-12-10 11:59:28 -03:00
Christoph Atteneder
f4df51c213
Merge pull request #4929 from chimp1984/make-sign-age-column-sortable
Make sign age column sortable
2020-12-10 12:00:04 +01:00
Christoph Atteneder
9498fd9b7d
Merge pull request #4917 from chimp1984/handle-invalid-maker-fee-tx
Detect and handle invalid maker fee tx
2020-12-10 11:57:32 +01:00
Christoph Atteneder
9ba184e6af
Add AccountAgeWitness as historical data store to db update script 2020-12-10 11:30:17 +01:00
chimp1984
6378f3c602
Add support for sorting by signed account age
We separate in 4 groups and sort each by days.
1. signed accounts
2. not yet signed account, we use account age
3. not required signing, we use account age
4. no account age and no signing required (altcoins)
2020-12-09 23:27:16 -05:00
sqrrm
63fc486896
Merge pull request #4918 from bisq-network/hotfix/v1.5.1
Hotfix/v1.5.1
2020-12-09 22:21:52 +01:00
chimp1984
c962c1a183
Refactor: Rename presentation to displayString (no code change) 2020-12-09 14:02:57 -05:00
ghubstan
144c5a82cc
Merge branch 'master' into 04-add-sendbtc-impl 2020-12-09 10:44:17 -03:00
Christoph Atteneder
af6c2d23f3
Merge pull request #4902 from deusmax/market-offer-filter-bugfix
Refactor outlier filtering for Market Offer chart.
2020-12-09 10:13:55 +01:00
Christoph Atteneder
d65e0b5cfb
Merge pull request #4921 from chimp1984/add-move-to-failed-trades-button-if-deposit-tx-is-missing
Detect missing deposit tx to allow moving to failed trades
2020-12-09 10:12:48 +01:00
Christoph Atteneder
a340a83343
Merge pull request #4914 from chimp1984/ui-improvements
UI improvements
2020-12-09 09:45:49 +01:00
chimp1984
860e918f33
Fix in correct sort fields
Cleanups
2020-12-08 19:35:17 -05:00
chimp1984
29ceccadd9
Remove duplicates 2020-12-08 19:10:51 -05:00
chimp1984
bc0e2e65d5
Use display string for sorting payment method columns 2020-12-08 19:07:22 -05:00
chimp1984
a3a0770e60
Show hidden columns (txFeeColumn, tradeFeeColumn,
buyerSecurityDepositColumn, sellerSecurityDepositColumn) if app width get scaled up larger.
Fix sorting of columns.
Fix display of trade fee (BSQ/BTC)
Use num trades for avatar sorting
2020-12-08 19:02:49 -05:00
chimp1984
d91954ea66
Add sort for memo column
Include prefix at address column in sort
Use details if available for details column
2020-12-08 17:33:01 -05:00
chimp1984
ce68f2e24a
Check also for depositTxId in trade and check if both
txId and tx.getId are the same.

We got some reports where users have no deposit tx displayed in the
trade after spv resync but cannot move the trade to failed trades.
It seems the invalid txId is still stored in the trade but the tx itself
got removed from the wallet after reysnc. We check not that both the tx
and the txId need to be present.
2020-12-08 17:11:58 -05:00
ghubstan
2842070afd
Merge branch 'master' into 03-add-txFeeRate-param 2020-12-08 19:04:27 -03:00
Christoph Atteneder
29c2e0002d
Merge branch 'master' of github.com:bisq-network/bisq into hotfix/v1.5.1
# Conflicts:
#	build.gradle
#	core/src/main/java/bisq/core/btc/setup/WalletConfig.java
#	desktop/package/linux/Dockerfile
#	desktop/package/linux/package.sh
#	desktop/package/linux/release.sh
#	desktop/package/macosx/create_app.sh
#	desktop/package/macosx/finalize.sh
#	desktop/package/macosx/insert_snapshot_version.sh
#	desktop/package/windows/package.bat
#	desktop/package/windows/release.bat
#	relay/src/main/resources/version.txt
#	seednode/src/main/java/bisq/seednode/SeedNodeMain.java
2020-12-08 22:19:11 +01:00
Christoph Atteneder
a04cc7bfe2
Revert to SNAPSHOT version 2020-12-08 22:14:56 +01:00
chimp1984
960b835f3f
Check if maker fee tx is already spent or has invalid structure.
If so show popup to remove that offer.
Add maker fee tx ix to offer details window.
If invalid, add error msg to offer details window.
2020-12-08 15:45:51 -05:00
chimp1984
eb40c777ee
Make paymentGroupBox local 2020-12-08 11:28:22 -05:00
chimp1984
9a5ffeecb3
Remove unused method 2020-12-08 11:28:22 -05:00
chimp1984
c1e702c507
Remove BUYER_SECURITY_DEPOSIT_NEWS (was used in 0.9.5) 2020-12-08 11:28:22 -05:00
chimp1984
2411f2d9c8
Use setMinHeight instead of setPrefHeight for textArea in F2FForm and USPostalMoneyOrderForm and sue 70 px for both 2020-12-08 11:28:21 -05:00
chimp1984
bd736be956
Use full width for altcoin accounts view (as it was already in fiat accounts) 2020-12-08 11:28:21 -05:00
chimp1984
2ead91c961
Increase height of account list when account is selected to make scrolling easier. 2020-12-08 11:28:21 -05:00
Christoph Atteneder
6431d639ae
Merge pull request #4908 from chimp1984/add-memo-field-at-step4
Add memo field at step4
2020-12-08 16:35:16 +01:00
chimp1984
25d227556b
Add "Raw deposit transaction as hex" to details window
Rename Contract as json button to detail data
2020-12-07 20:25:29 -05:00
chimp1984
5a0634f94d
Move methods to AveragePriceUtil 2020-12-07 13:24:17 -05:00
chimp1984
469f9494ba
Remove empty class 2020-12-07 13:22:01 -05:00
chimp1984
f745f0f0d6
Move methods from AxisInlierUtils to InlierUtil
We will need some of those methods later inside another core util class.
2020-12-07 13:21:44 -05:00
chimp1984
104b7edc99
Add memo field at withdraw to external wallet screen
Implements https://github.com/bisq-network/bisq/issues/4869
2020-12-07 12:32:56 -05:00
sqrrm
74485f0844
Merge pull request #4884 from ghubstan/01-refactor-getdust
Refactor: move getDust(Transaction transaction)
2020-12-07 14:12:59 +01:00
Deus Max
ea6d5640d4
Refactored outlier filtering for Market Offer chart.
Moved the outlier filtering outside of the updateChartData function.
2020-12-06 00:33:14 +02:00
ghubstan
900d498ee1
Merge branch 'master' into 02-refactor-completePreparedSendBsqTx 2020-12-04 14:22:45 -03:00
ghubstan
dc6144d337
Refactor BtcWalletService to let api override fee rates
BtcWalletService was changed to allow the api to override tx fee
rates from the sendbsq and sendbtc methods.  The api methods will
still be able to use the network fee service and custom tx fee rate
preference, and set / unset the custom tx fee rate preference, but
the change will permit the addition of an optional txFeeRate parameter
to the sendbsq and sendbtc methods (todo).  A few other minor changes
(style and removal of never thrown ex spec) were also made to this class.

Two BtcWalletService methods were refactored.

- The redundant (was always true) boolean isSendTx argument was removed
  from the completePreparedVoteRevealTx method signature.

- The redundant (was always true) boolean useCustomTxFee was removed
  from the completePreparedBsqTx method signature.

- The completePreparedSendBsqTx method was overloaded with a 2nd parameter
  (Coin txFeePerVbyte) to allow api to override fee service and custom
  tx fee rate when sending BSQ or BTC.

- The completePreparedBsqTx method was overloaded with a 3rd parameter
  (Coin txFeePerVbyte) to allow api to override fee service and custom
  tx fee rate when sending BSQ or BTC.

The following line was deleted from the completePreparedBsqTx method
because txFeePerVbyte is now an argument:

	Coin txFeePerVbyte = useCustomTxFee ? getTxFeeForWithdrawalPerVbyte() : feeService.getTxFeePerVbyte();

This useCustomTxFee value was always true, and redudant here because
getTxFeeForWithdrawalPerVbyte() returns feeService.getTxFeePerVbyte()
or the custom fee rate preference. i.e.,

Coin txFeePerVbyte = useCustomTxFee ? getTxFeeForWithdrawalPerVbyte() : feeService.getTxFeePerVbyte();

	is equivalent to

Coin txFeePerVbyte = getTxFeeForWithdrawalPerVbyte();

LockupTxService, UnlockTxService, BsqSendView, and BsqTransferService
were adjusted to this BtcWalletService refactoring.
2020-12-04 14:17:24 -03:00
Christoph Atteneder
9e3968e5f4
Merge pull request #4892 from deusmax/market-offer-filter-bugfix
Offer Book chart outlier filter improved.
2020-12-04 16:54:25 +01:00
Deus Max
d60030e2f2
Offer Book chart outlier filter improved.
Outlier data filter used for the Market Offer Book chart, now accounts
for the switching display position of Buy, Sell data depending on
currency type (Crypto or Fiat).
2020-12-03 21:06:34 +02:00
ghubstan
74261b1749
Refactor: move getDust(Transaction transaction)
The api is going to need this method, so it was moved from desktop to core.

- Moved the method from WithdrawalView to WalletService.

- Removed an unused initilizer in WithdrawalView.
2020-12-03 12:16:04 -03:00
chimp1984
29d757b741
- revent that a wrong tx is set as deposit tx
We check if the txIds of the inputs matches our maker fee tx and taker fee tx and if the depositTxAddress we
use for the confidence lookup is use as an output address.
This prevents that past txs which have the our depositTxAddress as input or output (deposit or payout txs) could
be interpreted as our deposit tx. This happened because if a bug which caused re-use of the Multisig address
entries and if both traders use the same key for multiple trades the depositTxAddress would be the same.
We fix that bug as well but we also need to avoid that past already used addresses might be taken again
(the Multisig flag got reverted to available in the address entry).

- Add check to swapTradeEntryToAvailableEntry to not swap MULTI_SIG entries.

- Remove swap for MULTI_SIG entries at resetAddressEntriesForPendingTrade

- Add check to swapToAvailable to not swap MULTI_SIG entries.

- Remove swaps for MULTI_SIG entries

- Add setCoinLockedInMultiSigAddressEntry method

- Make coinLockedInMultiSig final and remove setter but use it in constructor.

- Rename getCoinLockedInMultiSig to getCoinLockedInMultiSigAsCoin
We use an immutable list when operating on AddressEntry so changes on the
object would not be reflected in the list.
The only mutable field (beside non critical cache fields) is the keyPair.
Might be good to refactor that as well at some point.

- Add setCoinLockedInMultiSigAddressEntrymethods

- Apply API changes:
-- resetCoinLockedInMultiSigAddressEntry
-- setCoinLockedInMultiSigAddressEntry
-- renamed methods
2020-12-03 10:01:01 -05:00
Christoph Atteneder
4ab75b656d
Bump version number for v1.5.1 2020-12-03 12:57:43 +01:00
Deus Max
c7290ee091
Replace use of Collections to FXCollections in desktop.
Replace use of java library java.util.Collections with
javafx.collections.FXCollections instead.
Bisq issue#4388.
2020-12-02 21:38:50 +02:00
Christoph Atteneder
09677151a6
Merge pull request #4863 from jmacxx/account_usability
Account management usability improvements
2020-12-01 14:04:49 +01:00
jmacxx
0af139c666
Fix NPE in test routine caused by PaymentAccount with no name 2020-11-30 09:45:24 -06:00
Christoph Atteneder
e8a8e3b3a1
Merge pull request #4785 from deusmax/dao_bsq_supply
Touch-ups to the DAO BSQ Supply page
2020-11-30 09:22:20 +01:00
jmacxx
52a4dff0ae
Account management usability improvements
Widen payment account dropdown in create & edit offer screens
Sort payment account dropdown by name in create & edit offer screens
Sort account listview by name in manage fiat accounts screen
Sort account listview by name in manage altcoin accounts screen
Bug fix: do not adjust BTC amount in edit offer screen

There was a bug where editing an existing offer could have its payment
account changed to one with more restrictive limits and the offer
would still be allowed (although not take-able).
It should not be allowed to be saved in this case.  This change takes
proper heed of the "allowAmountUpdate" flag which is false for offer
edits.  e.g. edit an F2F buy for 0.25, change to Zelle unsigned, the
offer will prevent saving.
2020-11-27 14:40:37 -06:00
Deus Max
9d8939c0ca
Touch ups on the DAO BSQ supply page.
* Formatting changes to chart lines and axes.
 * Removed middle chart as it displays no
   new info.
 * Function getMonthTickLabelFormatter rounds the
   tick label display to the nearest month.
   Only used for chart1.
 * New variable chart1XBounds to keep track of
   chart1 X-axis limits, as autoRanging set false.
2020-11-26 18:58:14 +02:00
chimp1984
81a41a25bb
Improve chainHeightSyncing display 2020-11-26 11:20:51 -05:00
Christoph Atteneder
99d5652aef
Merge pull request #4841 from jmacxx/fix_issue_4833
Prompt for confirmation before initiating SPV resync
2020-11-26 16:13:00 +01:00
Christoph Atteneder
4e4711a6f5
Merge pull request #4845 from jmacxx/fix_issue_4641
Show price deviation in portfolio open offers and history view
2020-11-26 15:33:50 +01:00
Christoph Atteneder
11b0a466ce
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.5.0
# Conflicts:
#	core/src/main/java/bisq/core/provider/fee/FeeService.java
#	core/src/main/resources/i18n/displayStrings.properties
#	seednode/src/main/java/bisq/seednode/SeedNodeMain.java
2020-11-25 14:05:37 +01:00
Christoph Atteneder
dbb0160a35
Revert to SNAPSHOT version 2020-11-25 13:46:24 +01:00
jmacxx
2e52b5472f
Show price deviation in portfolio open offers and closed trades
Fixes #4641
2020-11-24 23:03:53 -06:00
jmacxx
395af3c4c8
Prompt for confirmation before initiating SPV resync
Allows user to back off if invoked by accident.
2020-11-23 11:37:31 -06:00
chimp1984
9360e89ae8
Check if user has downgraded to an older version. If so require shutdown
and do not read or write persisted data.

We had recently a case where a user downgraded from 1.4.2 to 1.3.9 and
this caused failed trades and the wallet funds have been missing due to
some complexities of the wallet wegwit upgrade. The fund could be recovered
but it took quite some effort.
As downgrade is never tested and can lead to all kind of weird bugs we
should prevent that users accidentally can do it.
If there is valid reason to downgrade they can remove the version file.
2020-11-20 15:27:50 -05:00
chimp1984
df9ef80edf
Avoid nullpointer 2020-11-20 15:10:39 -05:00
Christoph Atteneder
77aab8a97c
Add error log to get more information on the actual problem 2020-11-19 16:51:45 +01:00
Christoph Atteneder
29b2c33222
Merge pull request #4814 from jmacxx/improve_account_aging_column
Improve UI/UX for account aging column in 'Offers' section of GUI
2020-11-18 10:41:10 +01:00
chimp1984
fa0c28adf6
Add requestPersistence calls
We relied on the shutdwon routine to be called reliably but it seems that is not the case as some bug reports show.
So we call requestPersistence at every write access of the trade object
2020-11-17 22:35:51 -05:00
chimp1984
bf2c94160f
Add delay between remove and add new filter
We saw that some seed nodes have 2 filters after filter update.
This should not be the case as the remove is broadcast before the
add but seems there is some issue in the P2P storage which does
not cover that correctly.
By adding a 5 sec delay between the remove and add we mitigate
that issue, though should be fixes in the P2P layer but that
will be a more complex and larger effort.
2020-11-17 20:14:44 -05:00
jmacxx
f7fac0f3c4
code review change: curlies & whitespace for if statement 2020-11-16 16:15:57 -06:00
jmacxx
dd26077caa
Improve UI/UX for account aging column in 'Offers' section of GUI
Showing 'x' days until limits lifted (signed, pending)
Showing clock icon (signed, pending)
Showing outlined check icon (aging accounts)
Showing account age (unsigned or aging)
Changed column name from 'Signed since' to 'Account info'

Fixed bug when switching between altcoins and fiat order books
the account info column was being added back to the table in
the wrong position.
2020-11-16 10:44:01 -06:00
Christoph Atteneder
3e5bf90bdd
Update release process to match new trade statistics delivery
Also did some minor release process cleanup that was overdue
2020-11-13 12:29:29 +01:00
chimp1984
a238c205ab
Add Amazon eGift Card payment method 2020-11-13 00:26:23 -05:00
Deus Max
b9f49f75d3
Improve view of market offers chart
* Both axes use autoRange, which results in better
    rounded values for the tick mark labels numbers.
  * Filter-out data outside the factor limits.
  * New constant chartDataFactor for factor limits.
  * Formatted tick label currency numbers:
    - Fiat: display with grouping separators
    - Cryptos: remove trailing zeros in fractional parts
  * Add CSS class axisy for y-axis formatting.
2020-11-12 14:35:20 +01:00
Christoph Atteneder
50c7d6c126
Merge pull request #4774 from deusmax/market_offers_chart
Market Offers chart modifications
2020-11-12 14:34:39 +01:00
Christoph Atteneder
34c802d505
Merge pull request #4780 from jmacxx/fix_issue_4719
Add encrypted wallet password prompt when sending funds from BSQ wallet
2020-11-12 09:06:27 +01:00
sqrrm
24102556e0
Merge pull request #4769 from ripcurlx/update-release-process
Update release process to match new trade statistics delivery
2020-11-11 12:39:41 +01:00
Christoph Atteneder
c707e63f35
Merge pull request #4781 from chimp1984/use-30-day-average-for-marektcap
Use 30 days average USD/BSQ price for market cap
2020-11-11 11:10:54 +01:00
Christoph Atteneder
7701ad35d3
Update release process to match new trade statistics delivery
Also did some minor release process cleanup that was overdue
2020-11-11 10:55:00 +01:00
Christoph Atteneder
0c47cf0e20
Merge pull request #4764 from jmacxx/fix_issue_4727
Don't allow trade start if BitcoinJ is not fully synced
2020-11-11 10:44:07 +01:00
jmacxx
48a515be01
Add encrypted wallet password prompt when sending funds from BSQ wallet
Correct wording of transaction confirmation popup to use 'mining fee'
instead of 'transaction fee' to make it consistent with wording of
the BTC confirmation popup.
2020-11-10 20:14:44 -06:00
chimp1984
9135397ded
Use 30 days average USD/BSQ price for market cap 2020-11-10 20:51:13 -05:00
Deus Max
c9936c5595
Improve view of market offers chart
* Both axes use autoRange, which results in better
    rounded values for the tick mark labels numbers.
  * Filter-out data outside the factor limits.
  * New constant chartDataFactor for factor limits.
  * Formatted tick label currency numbers:
    - Fiat: display with grouping separators
    - Cryptos: remove trailing zeros in fractional parts
  * Add CSS class axisy for y-axis formatting.
2020-11-10 22:27:04 +02:00
jmacxx
0ddd333ce6
Don't allow trade start if BitcoinJ is not fully synced
Adds a check that chain height is within 3 blocks of the reported
height from bitcoin peers -> if not the user cannot take an offer
or have an existing offer taken.  It shows a message informing the
user that Bisq is not currently synced, advising them to do an
SPV resync if necessary.

Additionally under Settings/Network a field has been added
to show the chain height of Bisq vs the Peer group.

Added after discussion with chimp1984:
- Correct initialization of chainHeight property
- Rename "Latest BTC block height" display field for clarity
- Enforce chain sync rule for Take Offer scenario
- Enforce chain synch rule for Check offer availability scenario
- change method name to be clearer
2020-11-10 14:15:39 -06:00
chimp1984
b5f88c4932
Check if output is a legacy address.
Remove `sendToAddress != null` check.
2020-11-10 11:11:42 -05:00
chimp1984
7c65000ff2
Cleanups, add null check 2020-11-10 10:16:48 -05:00
Christoph Atteneder
f6a2f3d6e1
Merge pull request #4761 from deusmax/trading_charts_axisY
Apply format to trading charts axis Y values
2020-11-10 08:45:33 +01:00
Oscar Guindzberg
c4131c7398
Rename "tx size" to "tx vsize" 2020-11-05 19:28:45 -03:00
Deus Max
3743b87ac0
Remove trailing zeroes from crypto y-axis tick labels.
The y-axis tick mark labels for crypto (non-fiat)
currencies have a large number of trailing zeroes.
This commit removes the last 3 zeroes from the display.
2020-11-05 22:06:26 +02:00
Oscar Guindzberg
29f23fe50c
Use segwit tx sizes 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
b2023e2366
Use tx.getVsize()
Replace tx.bitcoinSerialize().length
2020-11-05 11:51:43 -03:00
Oscar Guindzberg
06e5091f79
TradeWalletService use P2WSH 2020-11-05 11:47:40 -03:00
Christoph Atteneder
66fcde11bf
Bump version number for v1.5.0 2020-11-05 11:34:40 +01:00
Deus Max
1ab7e26fd1
Format fiat currency tick mark label on Y-axis.
Format currency tick values as integers for a more
compact form, without the 4-zeroesfractional part.
2020-11-05 00:24:49 +02:00
Christoph Atteneder
63cae1ceb1
Merge pull request #4745 from chimp1984/fix-bug-with-reading-historical-data
Fix bug with reading historical data
2020-11-03 21:56:05 +01:00
chimp1984
1270c8fdaf
Remove unused field 2020-11-03 11:46:25 -05:00
Christoph Atteneder
8fe8261a1e
Clean up code 2020-11-03 15:42:46 +01:00
Luis Aranguren
ecf9d49f65
Resolve conflicts with master 2020-11-03 15:42:23 +01:00
Christoph Atteneder
00725cff7d
Merge pull request #4740 from deusmax/trading_charts_axes
Center align tick marks text for trading charts
2020-11-03 09:33:45 +01:00
Christoph Atteneder
63352496ff
Merge pull request #4739 from chimp1984/hide-proposal-delete-button
Hide proposal delete button
2020-11-03 09:06:19 +01:00
Deus Max
9034c780c9
Add CSS class to axis tick label text.
New method addTickMarkLabelCssClass to grab the
axis tick label and add a CSS class to it.

Signed-off-by: Deus Max <deusmax@gmx.com>
Acked-by: Deus Max <deusmax@gmx.com>
2020-11-02 22:27:28 +02:00
chimp1984
fc928f7c01
Refactoring: Rename IconButtonTypes to IconButtonType 2020-11-02 13:53:30 -05:00
chimp1984
4513cfa390
Hide remove button at ProposalsView
We have a bug in removing a proposal which is not trivial to fix
(p2p network layer). Until that bug is fixed
it is better to not show the remove button as it
confused users and a removed proposal will reappear with a
high probability at the vote phase.
2020-11-02 13:53:02 -05:00
Christoph Atteneder
3d7273883c
Merge pull request #4733 from jmacxx/edit_explorer_details
Allow user-defined block explorers
2020-11-02 19:23:48 +01:00
sqrrm
e082ac667e
Merge pull request #4715 from deusmax/trading_charts_axes
Cleaner formatting for trading charts date axes
2020-11-02 17:38:02 +01:00
sqrrm
f03be6ad3d
Merge pull request #4628 from chimp1984/improve-read-file-handling
Use a thread in PersistenceManager for reading persisted files instead of using threads in client code
2020-11-02 17:36:21 +01:00
sqrrm
84ac65b163
Merge pull request #4731 from ghubstan/19-sqrrm-pr-changes
Resolve issues found in reviewed PRs 4699, 4703, 4711 [, ...]
2020-11-02 15:32:07 +01:00
jmacxx
8a9d05eba0
Allow user-defined block explorers
In Settings/General Preferences the Bitcoin Explorer and Bisq Explorer may
now be user defined in addition to the hard coded block explorer choices.

This implementation takes advantage of the existing Protobuf implementation
that stores a BlockExplorer Name/UrlTx/UrlAddress for BTC and for BSQ.

A new popup dialog is implemented which allows editing of the explorer
details (name, txUrl, and addressUrl).  Any of the system-defined
explorer details may be selected into the edit fields thus allowing
them to be used as templates, customized or an entirely new explorer to
be used.

If the user switches choice from a customized back to a pre-defined
explorer then the customized settings are gone; this is because the
Protobuf storage only allows saving one selection.

Fixes #4371
Closes #4634
2020-11-02 07:53:06 -06:00
Christoph Atteneder
9ab65459df
Merge pull request #4736 from jmacxx/add_autoconf_service_filter
Admin filter for auto-confirmation service addresses
2020-11-02 10:47:22 +01:00
jmacxx
15b8e72059
Admin filter for auto-confirmation service addresses
A service address can be filtered out using the admin key.  This would
be useful if a federated server failed, it could be filtered out so
that the auto-confirmation operates with the remaining services.  If
all federated service addresses were filtered out the user would have to
either confirm manually or use their own explorer service.
2020-11-01 08:20:33 -06:00
sqrrm
89620a02da
Merge pull request #4706 from chimp1984/remove-outliers-at-bsq-rate
Remove outliers when calculating BSQ rate
2020-10-31 23:07:40 +01:00
Deus Max
24784cb22d
Minor style formatting.
Fixed a switch statement formatting to conform with Bisq code style.
2020-10-31 14:48:18 +02:00
sqrrm
605f4b3015
Merge pull request #4726 from chimp1984/add-transferwise-payment-method
Add transferwise account
2020-10-31 13:20:41 +01:00
sqrrm
b3a95ab2fd
Merge pull request #4728 from jmacxx/edit_offer_change_market
Updates to 'Edit Offer' to allow for change of market and payment method
2020-10-31 12:19:17 +01:00