Commit Graph

11771 Commits

Author SHA1 Message Date
jmacxx
05cc29d854
Minor bug fixes for XMR tx proof feature
Fix missing CSS color code xmr-orange, was missing from dark mode.

Fix log message spelling/typo errors.

Removed 2 fixes from SellerStep3View so that chimp1984 can make
changes.

Remove address validator from XMR service address settings because
it does not support https prefix.
2020-09-07 09:55:05 +02:00
chimp1984
b1b3136969
Improve handling of nullable assetTxProof fields 2020-09-07 09:39:11 +02:00
chimp1984
9eb7900d51
Fix handling of username/accountId
We apply userName to accountId if it is not set (e.g. new account
created with new version). We do not use that for display or for
account signing in case both fields are the same but we need to use
accountId in case the user trades with a not updated user who expects
accountId as only field.
I improved a bit the display of account data in the trade screens.
In case accountId was set with the phone number (updated account with
phone nr used for account signing) we show both userName and phone nr.

- Show phone number if accountId was set by old account. Otherwise
show only userName
- For old users they will see the user name as phone number displayed
if they trade with new users if the new user has created a new account.
If he has updated an existing account the accountId (phone number) is
used, so it displays the phone number.
- At step 2 changed display of own account data to show account name
- Add 'Recipients' prefix to account data of peer at step 2

Step 3: Buyers account data can be
- Phone number if peer is using old version
- User name if peer is updated user with new account (we apply userName
to accountId)
- Phone number if user is on old version and peer is updated user with
updated account (we keep accountId as phone number)
- User name/Phone number if peer is updated user with updated account
2020-09-07 09:39:02 +02:00
chimp1984
1a2b17b1cd
Move revolutAccountsUpdateHandler code up to BisqSetup 2020-09-07 09:38:51 +02:00
chimp1984
a4f6d2af2e
Add check if xmrTxProof is used to avoid null pointer exception 2020-09-07 09:38:44 +02:00
chimp1984
05353bb43d
Add JsonExclude to userName
For backward compatibility we need to exclude the new field for
the contract json.
We can remove that after a while when risk that users with
pre 1.3.8 version trade with updated
users is very low.
2020-09-07 09:38:37 +02:00
chimp1984
e080b06736
Remove unused method 2020-09-07 09:34:57 +02:00
chimp1984
9cc614a790
Add alert icon to list entries
Support agent can mark a suspicious dispute as resolved so it does not
show the alert icon anymore. In the full report a [ACK] got added to
that dispute.
2020-09-07 09:34:47 +02:00
chimp1984
67e90f908a
Remove unused var 2020-09-07 09:34:39 +02:00
chimp1984
cc2d258915
Scan disputes for accounts where same user used diff. real names.
Might be fraudulent traders.
2020-09-07 09:34:31 +02:00
chimp1984
38d33ceab3
Remove offer from takers offerbook after take offer is completed.
We do not wait until the offer got removed by a network remove message but remove it
directly from the offer book. The broadcast gets now bundled and has 2 sec. delay so the
removal from the network is a bit slower as it has been before. To avoid that the taker gets
confused to see the same offer still in the offerbook we remove it manually. This removal has
only local effect. Other trader might see the offer for a few seconds
still (but cannot take it).
2020-09-07 09:30:44 +02:00
wiz
d55cc47284
Fix compile error in core/src/main/java/bisq/core/user/Preferences.java 2020-09-07 09:28:28 +02:00
wiz
f5d8f6ddc2
Add new Monero Explorer node77.monero.wiz.biz with onion 2020-09-07 09:28:17 +02:00
chimp1984
3e933c31a5
Fix bug with all mobile notifications for disputes are sent at startup. 2020-09-04 10:21:29 +02:00
chimp1984
2400014db6
Change hex color code to lower case 2020-09-04 10:18:20 +02:00
chimp1984
720b63fc00
Do not overwrite useDevMode with useDevModeHeader
If --useDevModeHeader is not set it is false by default.
If user has --useDevMode=true set it would overwrite his value.
2020-09-04 10:18:13 +02:00
chimp1984
63444b1f77
Add null check. Improve text 2020-09-04 10:18:07 +02:00
chimp1984
044d23f933
Adjust auto-conf css for badge
- make it xmr orange
- make with dynamic with 10 px padding left/right
- fix 1 px vertical offset
2020-09-04 10:18:00 +02:00
chimp1984
fa9893cdd4
Show tx confidence indicator for XMR blocks. Show info icon 2020-09-04 10:17:53 +02:00
chimp1984
33c8728fde
Add monero orange color code for tx confidence indicator 2020-09-04 10:17:45 +02:00
chimp1984
e01ebdf6e8
Change min required confirmations from 0 to 1.
If users accept visible in mempool only txs its their own risk and they
can manually confirm anyway. We should not support 0 conf txs.
2020-09-04 10:17:39 +02:00
chimp1984
11827a42c6
Set default services based on localhost check not on devMode check 2020-09-04 10:17:31 +02:00
chimp1984
a4a5f18662
Make var local 2020-09-04 10:17:22 +02:00
chimp1984
3359913247
Ensure that p2p network and wallet are ready 2020-09-04 10:17:15 +02:00
chimp1984
5732053382
Enable onFiatPaymentReceived again (was for dev testing)
- Remove commented out code
- do isFiatReceived in stream filter
2020-09-04 10:17:04 +02:00
chimp1984
05296af47e
Add check if dispute is open
If a mediation or arbitration dispute has been opened we do not use the
auto-confirm feature.
2020-09-04 10:16:49 +02:00
chimp1984
2da08a5620
Refactor dependency structure to enable adding dispute managers
If we would add DisputeManager to previous structure it would cause a
circular dependency error from guice. We change dependency structure so
that TradeManager does not know XmrTxProofService but XmrTxProofService
gets an instance of TradeManager. It makes code cleaner in total as well
as responsibility is better defined.

Next commit will contain the DisputeManager addition.
2020-09-04 10:16:37 +02:00
chimp1984
688bef885a
Rmove short cut info for removed key handlers 2020-09-04 10:14:50 +02:00
chimp1984
ab2ac1712a
Add dontShowAgain button in osxKeyLoggerWarning window 2020-09-03 18:00:46 +02:00
Christoph Atteneder
d816967dfe
Update translations for v1.3.8 2020-09-03 17:35:38 +02:00
Christoph Atteneder
ca88bc9b4f
Bump version number for v1.3.8 2020-09-03 17:34:34 +02:00
Christoph Atteneder
b1c74ae9d1
Merge pull request #4458 from chimp1984/add-xmr-tx-key-service-3
Add auto-confirm feature for Monero
2020-09-03 17:19:59 +02:00
Christoph Atteneder
77c7629478
Merge branch 'master' of github.com:bisq-network/bisq into add-xmr-tx-key-service-3
# Conflicts:
#	desktop/src/main/java/bisq/desktop/main/MainView.java
#	desktop/src/main/java/bisq/desktop/main/MainViewModel.java
2020-09-03 17:10:05 +02:00
Christoph Atteneder
3df94288b5
Merge pull request #4464 from chimp1984/show-popup-for-osx-key-logger-warning
Show popup about key-logger warning if OSX version is >= 10.14
2020-09-03 16:49:58 +02:00
Christoph Atteneder
5812103579
Merge pull request #4467 from chimp1984/remove-double-username-tf-in-revolut
Fix wrong label for account name when displaying revolut account
2020-09-03 16:48:58 +02:00
Christoph Atteneder
64f74031c0
Merge pull request #4468 from chimp1984/remove-old-news
Remove NewTradeProtocolLaunchWindow and badges for dao and account
2020-09-03 16:48:32 +02:00
Christoph Atteneder
254b1f1b0d
Merge pull request #4466 from chimp1984/change-localhost-to-loopback
Use InetAddress.getLoopbackAddress instead of InetAddress.getLocalHost()
2020-09-03 16:48:04 +02:00
chimp1984
e496637b4b
Remove NewTradeProtocolLaunchWindow and badges for dao and account
Those have been added for 1.2 and are not new anymore.
2020-09-02 22:44:49 -05:00
chimp1984
ef0e895c55
Fix typo 2020-09-02 22:27:42 -05:00
chimp1984
59725f8a5f
Fix wrong label for account name when displaying revolut account 2020-09-02 22:10:03 -05:00
chimp1984
fa626eda4b
Use InetAddress.getLoopbackAddress instead of InetAddress.getLocalHost()
On OSX InetAddress.getLocalHost() can cause problems. On my machine I
get a 5 sec. delay at each start up in localhost mode. The
InetAddress.getLoopbackAddress call is super fast.

Both versions connect to my local btc node, but not sure what can be
the differences if local environment is configured differently as
default. But as those issues with very slow getLocalHost lookup seems
to be more risky I would recommend that we change it.

It only affects localhost regtest mode and users who have a local btc
node running. The detection code for that is using getLoopbackAddress
as well.
See: a5cca0ee1e
2020-09-02 21:59:31 -05:00
chimp1984
b17ee93b6f
Add listeners for filter change for shutdown all requests and
disable settings UI if auto-conf is disabled in filter.
2020-09-02 21:27:13 -05:00
chimp1984
86821277d9
Add support for addresses with integrated payment ID 2020-09-02 20:29:19 -05:00
chimp1984
bf73ffcfa6
Improve looging 2020-09-02 18:47:55 -05:00
chimp1984
117b5bf87c
Add default clauses 2020-09-02 16:50:11 -05:00
chimp1984
3492ae42f3
Cleanup 2020-09-02 16:40:08 -05:00
chimp1984
ff7e3cb4cc
Add check for major version as well 2020-09-02 16:23:20 -05:00
chimp1984
98613d5210
Updated text 2020-09-02 16:19:44 -05:00
chimp1984
d3f12552aa
Update text 2020-09-02 16:17:46 -05:00
chimp1984
109f298863
Add more test cases to DevTestXmrTxProofHttpClient
Tested sequence:
1. waiting for response
2. receive TX_NOT_FOUND
3. receive PENDING_CONFIRMATIONS with 0 conf counting up to defined
requiredConf
4. success once required confs reached

- Fix bug with missing persist call
- Revert PENDING results to null when read from persistence as we dont
want to show latest pending state.
- Remove unused API_FAILURE
2020-09-02 15:17:52 -05:00