Commit Graph

11744 Commits

Author SHA1 Message Date
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
chimp1984
a9e61e409e
Replace ObjectProperty<AssetTxProofResult> with IntegerProperty
// ObjectProperty with AssetTxProofResult does not notify changeListeners. Probably because AssetTxProofResult is
// an enum and enum does not support EqualsAndHashCode. Alternatively we could add a addListener and removeListener
// method and a listener interface, but the IntegerProperty seems to be less boilerplate.
2020-09-02 00:25:35 -05:00
chimp1984
a8968da23f
Add listener on autoConfirmSettings changes and terminate all services
if feature got disabled in setting.
2020-09-02 00:00:23 -05:00
chimp1984
320179f5ec
Improve handling of invalid/empty tx hash/tx key 2020-09-01 22:29:17 -05:00
chimp1984
70a0771af6
Code style: Improve order of fields 2020-09-01 21:39:55 -05:00
chimp1984
aa802a3e0e
Fix incorrect init of AutoConfirmSettings 2020-09-01 21:35:44 -05:00
chimp1984
7240bd62d1
Read numRequiredConfirmations from autoConfirmSettings just in time.
This allows the user to change required confirmation and it has impact
on open requests. Will be read at parsing the result.

Changed also the text field to not listen on text change but on focus
out so that the values are only updated once the user has left the
field and the value is valid. Otherwise small numbers like 1 might be
written during typing. The other values are only read at request start
and changes will have no impact on already started requests.

Also applies previous value in case the user added an invalid value at
focus out.

- Made display text shorter and added a tooltip.
- Allow very high numbers in devmode as max conf value
2020-09-01 21:22:16 -05:00
chimp1984
67aa46a03b
- Fix incorrect isTerminal default value.
- Apply suggestions from code inspection
2020-09-01 20:07:12 -05:00
chimp1984
91cc14725c
Add annotation 2020-09-01 20:03:32 -05:00
chimp1984
7c0d24c567
Refactoring: Rename package
bisq.core.trade.autoconf to bisq.core.trade.txproof
2020-09-01 19:56:48 -05:00
chimp1984
039860935d
Merge master
- fix tests
2020-09-01 19:53:23 -05:00