Commit graph

1586 commits

Author SHA1 Message Date
Christoph Atteneder
d904d1ee6a
Show minimum security deposit in create offer dialog when used
In the past we allowed the user to enter a percentage of the trade amount
although it wasn't used if the minimum security deposit was higher.
2020-01-07 17:30:00 +01:00
Christoph Atteneder
e6f491c8ac
Add information if minimum trading fee or minimum security deposit is used 2020-01-07 16:32:24 +01:00
Pac
9b1ccf3626
Fix account age format when ended in 1
The method formatAccountAge is replacing the string "1 days" for "1 day".
This is done to fix the plural for that case.
But it is also changing strings like "21 days" into "21 day".
2020-01-05 03:17:19 -03:00
Christoph Atteneder
bbfd4baf7e
Bump version number for v1.2.5 2020-01-04 16:09:49 +01:00
Christoph Atteneder
fdec61e41b
Use only EUR when creating a SEPA payment account (#3833)
* Use only EUR when creating a SEPA payment account

* Use only EUR when creating a SEPA payment account - additional refactoring
2020-01-03 11:32:48 +01:00
sqrrm
ae2e06de23
Merge pull request #3827 from chimp1984/use-min-refund-at-mediated-payout
Use min. refund at mediated payout
2020-01-03 11:17:49 +01:00
wiz
53a627f4fb
Fix build error on master branch 2020-01-03 18:38:08 +09:00
Christoph Atteneder
b2d4bb34f0
Merge pull request #3807 from beingindot/altcoin-offer-noerror-fix
creating altcoin offer not throwing error during previously set high security deposit
2020-01-03 10:20:25 +01:00
chimp1984
680dd29100
Use early return 2020-01-03 02:16:15 +01:00
Christoph Atteneder
bd81843890
Merge pull request #3834 from beingindot/limit-error-msg
Trade limit error message is not clear
2020-01-02 19:38:38 +01:00
Christoph Atteneder
91774c6c3b
Merge pull request #3823 from chimp1984/fix-dao-tables-resizing
Make all DAO screen tables resize to max. screen height
2020-01-02 18:58:35 +01:00
sqrrm
3a74e74e15
Merge pull request #3828 from stejbac/speed-up-trade-charts-view-load
Speed up trades charts view load
2020-01-02 18:46:25 +01:00
sqrrm
eeea465a0c
Merge pull request #3826 from chimp1984/increase-security-deposits
Increase security deposits
2020-01-02 12:18:05 +01:00
sqrrm
567684172d
Merge pull request #3821 from chimp1984/handle-spv-resync-edge-cases
Improve handling of spv resync edge case
2020-01-02 12:04:31 +01:00
beingindot
bbd273b4b8
Trade limit error message is not clear
Fixes #3712
2019-12-26 16:31:48 +05:30
lukasz
e20a2711f8
Use only EUR when creating a SEPA payment account - additional refactoring 2019-12-26 11:32:48 +01:00
lukasz
3f0d882a25
Use only EUR when creating a SEPA payment account 2019-12-26 11:04:40 +01:00
chimp1984
358588f903
Improve column sorting 2019-12-23 18:26:33 -05:00
Steven Barclay
0bcf238d71
Optimise CurrencyUtil.get[Fiat|Crypto|Trade]Currency
Use a LinkedHashMap in place of a List, for the caching CurrencyUtil
fields 'allSortedFiatCurrencies' & 'allSortedCryptoCurrencies', using
the same iteration order as before. In this way, we can avoid a linear
search in the lookup methods getFiatCurrency & getCryptoCurrency.

In particular, this speeds up the activation of TradesChartsView (and to
a lesser extent OfferBookChartView), which make a lot of calls to
CurrencyUtil.getTradeCurrency in the fillTradeCurrencies/updateChartData
methods respectively.
2019-12-23 22:29:32 +00:00
chimp1984
fadd384443
Use min. refund at mediated payout
At mediation we require a min. payout to the losing party to keep
incentive for the trader to accept the mediated payout. For Refund
agent cases we do not have that restriction.
2019-12-23 12:55:55 -05:00
chimp1984
95a79a3536
Refactoring: Remove unused parameter 2019-12-23 12:00:58 -05:00
Steven Barclay
24889c87d7
Remove unused fields passed as constructor params from various classes
These are mostly injected objects that are now redundant, such as some
CoinFormatter and Preferences fields.

Also do some additional minor tidying of TradesChartsViewModel.
2019-12-22 23:48:57 +00:00
chimp1984
ccd0a77437
Fix sorting functions 2019-12-21 20:33:14 -05:00
chimp1984
3781eb0bc1
Make all DAO screen tables resize to max. screen height 2019-12-21 20:04:19 -05:00
chimp1984
31b618d862
Add 2 new columns to vote result
Add threshold and quorum column.
Combine name and link column.
Add sorting function for accepted column.
Adjust column width.
2019-12-21 19:27:28 -05:00
chimp1984
de144143e5
Add button for shutdown
If a trader has a pending trade with an unconfirmed tx and is doing a
spv resync, the deposit tx is not found. They get displayed a popup
asking to restart and if problem continues to move trade to failed
trades. In regtest testing the missing deposit tx was always received
from the network at a restart. So this commit adds another button as
default button to shut down Bisq so that the user do first that activity
instead of moving the trade to failed trades.
It is not guaranteed that the trader will receive the missing deposit tx
at restart, but at least it is better as the state before. We should
find a way how to distinguish a valid unconfirmed tx from an invalid one
but it is not clear yet how we can do that and if it is feasible with
doing that with BitcoinJ only. It might require a external service to
look up the tx if it is in the mem pool, but even that will never gie a
100% certainty.
2019-12-21 16:17:12 -05:00
Christoph Atteneder
35ef9b62f9
Fix wrong styling of link icon in dark mode
It also removes a style workaround that is not needed anymore.
Side note: the style that was set never existed anyways.
2019-12-19 11:35:48 +01:00
Christoph Atteneder
26044d8ce1
Not use style workaround
After some testing on Regtest it seems that this workaround is no longer needed.
This fixes the issue for the remove button mentioned in #3185.
2019-12-19 11:23:44 +01:00
sqrrm
0efbe069e2
Merge pull request #3803 from ripcurlx/fix-dark-mode-issues
Improve dark mode styles
2019-12-19 10:53:32 +01:00
beingindot
aecd536692
creating altcoin offer not throwing error during previously set high
security deposit.

Fixes #3717
2019-12-19 15:12:21 +05:30
Steven Barclay
d0a76b9ff2
Suppress warnings of unused method params which may be needed later
Also fix forwarding of telescoping method parameters in FormBuilder and
FormattingUtils.
2019-12-19 03:43:02 +00:00
Steven Barclay
78d61e0958
Remove unused parameters from assorted methods
Exclude abstract or default methods, as well as cases where the
parameter is currently unused but is probably intended to be used later.
2019-12-19 03:42:54 +00:00
Christoph Atteneder
7c190ca9c5
Make progress bar track styleable 2019-12-18 13:00:34 +01:00
Christoph Atteneder
aa538992f0
Make popover text readable in dark mode 2019-12-18 12:50:50 +01:00
Christoph Atteneder
2782e58c65
Add user preference combobox for BSQ block explorer with random default (#3792)
* Add user preference combobox for BSQ block explorer with random default

* Remove betanet and testnet BSQ block explorers

* Always check if a valid BSQ block explorer is set
2019-12-18 08:55:33 +01:00
Christoph Atteneder
543a11e1ec
Merge pull request #3777 from beingindot/revolut-phonenumber-validation
Revolut account should accept only phone number
2019-12-18 08:33:03 +01:00
beingindot
da683e8b49
Revolut account should accept only phone number
For issue #3728
	Till now we used to accept email or phone number
	Now we are accepting only phone number in input though
	for display we will provide backward compatibility.

	Added list of countries accepted from official revolut website
	https://www.revolut.com/en-US/help/getting-started/verifying-identity/what-countries-are-supported

	Based on the country selected, we will validate the given
	phone number input.
2019-12-17 21:02:39 +05:30
Christoph Atteneder
6f1dbf1c09
Add shortcut list (#3695)
* Remove short cut for legacy arbitrator registration

* Change shortcut for reRepublishAllGovernanceData

* Use isAltOrCtrlPressed for removeFailedTrade

* Remove showStatisticsPopup

This was useful for legacy arbitrators as they received the trade fee

* Cleanup

- Remove setColumnSpan for titledGroupBg
- Fix row length

* Add list of shortcuts

* Update comment

* Change "click" to "press"
2019-12-17 11:22:34 +01:00
Christoph Atteneder
c8848e1ef5
Remove listener before setting a new one
This fixes update issues reported in #3731.
2019-12-16 15:42:16 +01:00
Christoph Atteneder
3e378b99dd
Merge pull request #3790 from chimp1984/add-report-feature-for-disputes
Add report feature for disputes
2019-12-16 15:40:07 +01:00
Christoph Atteneder
20b56c7bde
Merge pull request #3773 from stejbac/add-tx-map-to-daostate
Add transient tx map to DaoState to speed up getTx queries
2019-12-16 15:21:03 +01:00
wiz
78a72a2cc8
Add user preference combobox for BSQ block explorer with random default 2019-12-16 00:19:13 +09:00
chimp1984
7af7fa10a6
Add duration 2019-12-13 22:06:21 -05:00
chimp1984
b47b0aa2b9
Add report feature for disputes
At the dispute views (mediator, refund agent both for trader and
dispute agents) the shortcut cmd+k (or crtl+k or alt+k) will open a
popup displaying all disputes as compact summary. A copy to clipboard
button make it easy to copy the text to a text editor and post the
relevant disputes for the mediators/refund agents report.
2019-12-13 21:48:26 -05:00
Steven Barclay
b22e4ad113
Encapsulate mutable Block tx list and DaoState tx cache
Avoid mutating the Block tx list or the DaoState tx cache/index via a
Lombok getter. Instead wrap each in an unmodifiable[List|Map] & provide
specific mutator methods for use by DaoStateService to add newly parsed
transactions or load a DAO snapshot.

Also rename txMap to txCache, replace remaining use of getTxStream() in
the JSON file exporter with getUnorderedTxStream() (as this is safe) and
swap the arguments of the txCache initialisation merge function, for
exact consistency with the pre-caching behaviour.

Finally, add a missing assertDaoStateChange() and remove a potentially
harmful assertion from DaoStateService.onNewTxForLastBlock.

This is based on a suggested patch by @chimp1984 in the PR #3773 review.
2019-12-12 03:08:56 +00:00
Christoph Atteneder
bb598b78f3
Add command for signing windows executables with the default code signing certificate 2019-12-10 12:27:58 +01:00
sqrrm
2e196ec722
Merge pull request #3743 from ripcurlx/fix-refundagents-supported-language-warning
Display warning based on supported languages by mediators and refund agents
2019-12-06 15:34:32 +01:00
Christoph Atteneder
19da79bba3
Hide avoid standby mode feature on *nux OS (#3563)
* Hide avoid standby mode feature on *nux OS

Displays standby mode button on only on Windows and OSX,
and hides it on Linux and Unix distributions.

TitledGroupBg num rows reduced to 7 when standby mode button
is not displayed.

Fixes #3223

Replaces PR #3322 -- rejected because source file reformat
rearanged class level field declarations, making review
more difficult.

* Set use standby mode to false on non Win, OSX desktops
2019-12-06 14:37:19 +01:00
sqrrm
87fb9c0c55
Validate wallet date when restoring from seed (#3749)
Prevent a date that is older than the oldest wallet date, or a date that
is newer than the current date.
2019-12-06 13:17:47 +01:00
Christoph Atteneder
44b4f429da
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.2.4
# Conflicts:
#	core/src/main/resources/i18n/displayStrings_zh-hant.properties
2019-12-06 11:30:10 +01:00