Commit Graph

11754 Commits

Author SHA1 Message Date
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
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
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
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
chimp1984
8e46ba6e4e
Simplify assertions 2020-09-02 14:49:53 -05:00
chimp1984
7b2823d835
Add more tests for date check 2020-09-02 14:48:16 -05:00
chimp1984
391852b5da
Add DevTestXmrTxProofHttpClient 2020-09-02 12:55:13 -05:00
chimp1984
d1379d1b6d
Fix tests 2020-09-02 12:51:44 -05:00
chimp1984
a0c75e9672
Rename class HttpClient to HttpClientImpl and interface IHttpClient
to HttpClient.
Use interface instead of class as type.
Add default guice binding to HttpClientImpl for HttpClient (not singleton!)
2020-09-02 12:41:39 -05:00
chimp1984
7e6a7a5853
Add AssetTxProofHttpClient interface
Use the AssetTxProofHttpClient as injected param instead of parser.
Helpful for dev testing with mocked json response.
2020-09-02 12:33:34 -05:00
chimp1984
6c333857e9
Config XmrTxProofParser in guice module 2020-09-02 11:18:45 -05:00
chimp1984
d725590a9c
Remove delay form UserThread.execute
For tradeStateListener that would cause a wrong state as we would get
called after we have completed and do the isPayoutPublished check.
Keeping it in sync does remove the listener before we complete the
trade.

For autoConfirmSettings it would probably not cause and issue but as
we use a CopyOnWriteArrayList there the remove is safe anyway (to not
cause a ConcurrentListModification exception).
2020-09-02 11:16:06 -05:00
chimp1984
37241f98d8
Add interfaces and generic support
Make API more clear and helps for test setup
2020-09-02 11:12:49 -05:00
chimp1984
842eeebe56
Show popup about key-logger warning if OSX version is >= 10.14
Tell user about the issue and instruct him how to change OS settings.
2020-09-02 10:26:33 -05:00
sqrrm
9c13ced3ba
Merge pull request #4463 from bisq-network/revert-4443-upgrade-jfoenix
Revert "Upgrade JFoenix to v9.0.10"
2020-09-02 15:51:08 +02:00
Christoph Atteneder
641240d8a0
Revert "Upgrade JFoenix to v9.0.10" 2020-09-02 15:27:06 +02:00
sqrrm
604dabbb46
Merge pull request #4461 from ghubstan/1-singleton-coreapi
Make CoreApi a singleton
2020-09-02 14:44:23 +02:00
Christoph Atteneder
095c8b5bdb
Merge pull request #4415 from sqrrm/dev-css
Add option to use different css for dev mode
2020-09-02 14:20:57 +02:00
Christoph Atteneder
a691eed223
Merge pull request #4455 from sqrrm/simplify-witness-signing
Simplify witness signing
2020-09-02 14:19:46 +02:00
Christoph Atteneder
68921c3b9a
Merge pull request #4459 from freimair/removeSlackNotification
Remove Slack notification in travis build config
2020-09-02 14:13:32 +02:00
chimp1984
adbb262c1b
Add unnecessary break; at default clause to satisfy stupid codacy bot.
Getting more an more annoyed by that inflexible and often
pointless requirements.
2020-09-02 01:10:46 -05:00