Commit graph

12035 commits

Author SHA1 Message Date
chimp1984
6162e6d0d7
Move remove code from shutDown to onP2pNetworkAndWalletReady 2020-09-04 13:59:35 -05:00
chimp1984
75c85f3d85
Improve handling of p2pNetworkAndWalletReady
The p2pNetworkAndWalletReady MonadicBinding might be removed from GC
if its a local variable. I observed that in BisqSetup with a similar
setup. It might be an implementation weakness in MonadicBinding
(usage of weak references?). A tester reported that he does not see any
result, which might be cause that the service never gets the
onP2pNetworkAndWalletReady triggered if the MonadicBinding is not there
anymore.
By removing the listener we need at shutdown we need it anyway as class
field (so codacy does not complain anymore). As well added a check if
all is already complete to skip the MonadicBinding at all
(not expected case in onAllServicesInitialized).
2020-09-04 13:46:15 -05:00
chimp1984
3e933c31a5
Fix bug with all mobile notifications for disputes are sent at startup. 2020-09-04 10:21:29 +02:00
Christoph Atteneder
57bed13cf8
Merge pull request #4475 from chimp1984/fix-mobile-notification-bug
Fix bug with all mobile notifications for disputes are sent at startup.
2020-09-04 10:20:43 +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
Christoph Atteneder
d33b40128e
Merge pull request #4474 from chimp1984/stop-xmr-proof-service-at-dispute
Stop xmr proof service at dispute
2020-09-04 10:16:00 +02:00
chimp1984
688bef885a
Rmove short cut info for removed key handlers 2020-09-04 10:14:50 +02:00
Christoph Atteneder
2c39ded714
Merge pull request #4472 from chimp1984/update-about-view
Remove short cut info for removed key handlers
2020-09-04 10:12:53 +02:00
Christoph Atteneder
766d04588f
Merge pull request #4471 from chimp1984/add-setup-info-to-app-header
Add flags to header to signal which dev setup is used
2020-09-04 10:12:14 +02:00
chimp1984
6d37bedbbe
Fix bug with all mobile notifications for disputes are sent at startup. 2020-09-03 23:50:28 -05:00
chimp1984
a7e10155b1
Change hex color code to lower case 2020-09-03 21:22:54 -05:00
chimp1984
5b588877e7
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-03 21:21:18 -05:00
chimp1984
1016c73b35
Add null check. Improve text 2020-09-03 21:14:06 -05:00
chimp1984
6ab679c479
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-03 21:02:16 -05:00
chimp1984
4e27b93acf
Show tx confidence indicator for XMR blocks. Show info icon 2020-09-03 20:51:19 -05:00
chimp1984
7cc021d7d6
Add monero orange color code for tx confidence indicator 2020-09-03 20:50:46 -05:00
chimp1984
023eb97f04
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-03 20:33:49 -05:00
chimp1984
b80082005c
Set default services based on localhost check not on devMode check 2020-09-03 19:15:42 -05:00
chimp1984
6a57332911
Make var local 2020-09-03 18:49:00 -05:00
chimp1984
99dca96b14
Ensure that p2p network and wallet are ready 2020-09-03 17:32:03 -05:00
chimp1984
8e9e87ce6e
Enable onFiatPaymentReceived again (was for dev testing)
- Remove commented out code
- do isFiatReceived in stream filter
2020-09-03 16:39:14 -05:00
chimp1984
e74edc254a
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-03 15:38:47 -05:00
chimp1984
0434ba52b6
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-03 14:36:28 -05:00
chimp1984
d61aad66df
Add flags to header to signal which dev setup is used
Add to app header a post fix with info if Regtest or testnet,
LOCALHOST or DEV MODE is used.
At Mainnet without devmode nothing is added
2020-09-03 13:02:10 -05:00
chimp1984
7e17b181c9
Rmove short cut info for removed key handlers 2020-09-03 12:20:22 -05:00
chimp1984
ab2ac1712a
Add dontShowAgain button in osxKeyLoggerWarning window 2020-09-03 18:00:46 +02:00
Christoph Atteneder
670a3d64cc
Merge pull request #4470 from chimp1984/add-dontshowagain-button
Add dontShowAgain button in osxKeyLoggerWarning window
2020-09-03 18:00:29 +02:00
chimp1984
341c5193ce
Add dontShowAgain button in osxKeyLoggerWarning window 2020-09-03 10:54:43 -05: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
7c4273285e
Merge pull request #4469 from chimp1984/add-missing-method
Add getShowAccountUpdatesNotification which got deleted unintentionally
2020-09-03 17:32:54 +02:00
chimp1984
b3d48deb39
Add getShowAccountUpdatesNotification which got deleted unintentionally
at merge.

We keep daoPresentation and accountPresentation support even it is
not used atm. But if we add a new feature and add a badge again it
will be needed.
2020-09-03 10:26:51 -05: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