Commit Graph

2149 Commits

Author SHA1 Message Date
chimp1984
bf2c94160f
Add delay between remove and add new filter
We saw that some seed nodes have 2 filters after filter update.
This should not be the case as the remove is broadcast before the
add but seems there is some issue in the P2P storage which does
not cover that correctly.
By adding a 5 sec delay between the remove and add we mitigate
that issue, though should be fixes in the P2P layer but that
will be a more complex and larger effort.
2020-11-17 20:14:44 -05:00
Christoph Atteneder
50c7d6c126
Merge pull request #4774 from deusmax/market_offers_chart
Market Offers chart modifications
2020-11-12 14:34:39 +01:00
Christoph Atteneder
34c802d505
Merge pull request #4780 from jmacxx/fix_issue_4719
Add encrypted wallet password prompt when sending funds from BSQ wallet
2020-11-12 09:06:27 +01:00
sqrrm
24102556e0
Merge pull request #4769 from ripcurlx/update-release-process
Update release process to match new trade statistics delivery
2020-11-11 12:39:41 +01:00
Christoph Atteneder
c707e63f35
Merge pull request #4781 from chimp1984/use-30-day-average-for-marektcap
Use 30 days average USD/BSQ price for market cap
2020-11-11 11:10:54 +01:00
Christoph Atteneder
7701ad35d3
Update release process to match new trade statistics delivery
Also did some minor release process cleanup that was overdue
2020-11-11 10:55:00 +01:00
Christoph Atteneder
0c47cf0e20
Merge pull request #4764 from jmacxx/fix_issue_4727
Don't allow trade start if BitcoinJ is not fully synced
2020-11-11 10:44:07 +01:00
jmacxx
48a515be01
Add encrypted wallet password prompt when sending funds from BSQ wallet
Correct wording of transaction confirmation popup to use 'mining fee'
instead of 'transaction fee' to make it consistent with wording of
the BTC confirmation popup.
2020-11-10 20:14:44 -06:00
chimp1984
9135397ded
Use 30 days average USD/BSQ price for market cap 2020-11-10 20:51:13 -05:00
Deus Max
c9936c5595
Improve view of market offers chart
* Both axes use autoRange, which results in better
    rounded values for the tick mark labels numbers.
  * Filter-out data outside the factor limits.
  * New constant chartDataFactor for factor limits.
  * Formatted tick label currency numbers:
    - Fiat: display with grouping separators
    - Cryptos: remove trailing zeros in fractional parts
  * Add CSS class axisy for y-axis formatting.
2020-11-10 22:27:04 +02:00
jmacxx
0ddd333ce6
Don't allow trade start if BitcoinJ is not fully synced
Adds a check that chain height is within 3 blocks of the reported
height from bitcoin peers -> if not the user cannot take an offer
or have an existing offer taken.  It shows a message informing the
user that Bisq is not currently synced, advising them to do an
SPV resync if necessary.

Additionally under Settings/Network a field has been added
to show the chain height of Bisq vs the Peer group.

Added after discussion with chimp1984:
- Correct initialization of chainHeight property
- Rename "Latest BTC block height" display field for clarity
- Enforce chain sync rule for Take Offer scenario
- Enforce chain synch rule for Check offer availability scenario
- change method name to be clearer
2020-11-10 14:15:39 -06:00
Christoph Atteneder
f6a2f3d6e1
Merge pull request #4761 from deusmax/trading_charts_axisY
Apply format to trading charts axis Y values
2020-11-10 08:45:33 +01:00
Deus Max
3743b87ac0
Remove trailing zeroes from crypto y-axis tick labels.
The y-axis tick mark labels for crypto (non-fiat)
currencies have a large number of trailing zeroes.
This commit removes the last 3 zeroes from the display.
2020-11-05 22:06:26 +02:00
Deus Max
1ab7e26fd1
Format fiat currency tick mark label on Y-axis.
Format currency tick values as integers for a more
compact form, without the 4-zeroesfractional part.
2020-11-05 00:24:49 +02:00
Christoph Atteneder
63cae1ceb1
Merge pull request #4745 from chimp1984/fix-bug-with-reading-historical-data
Fix bug with reading historical data
2020-11-03 21:56:05 +01:00
chimp1984
1270c8fdaf
Remove unused field 2020-11-03 11:46:25 -05:00
Christoph Atteneder
8fe8261a1e
Clean up code 2020-11-03 15:42:46 +01:00
Luis Aranguren
ecf9d49f65
Resolve conflicts with master 2020-11-03 15:42:23 +01:00
Christoph Atteneder
00725cff7d
Merge pull request #4740 from deusmax/trading_charts_axes
Center align tick marks text for trading charts
2020-11-03 09:33:45 +01:00
Christoph Atteneder
63352496ff
Merge pull request #4739 from chimp1984/hide-proposal-delete-button
Hide proposal delete button
2020-11-03 09:06:19 +01:00
Deus Max
9034c780c9
Add CSS class to axis tick label text.
New method addTickMarkLabelCssClass to grab the
axis tick label and add a CSS class to it.

Signed-off-by: Deus Max <deusmax@gmx.com>
Acked-by: Deus Max <deusmax@gmx.com>
2020-11-02 22:27:28 +02:00
chimp1984
fc928f7c01
Refactoring: Rename IconButtonTypes to IconButtonType 2020-11-02 13:53:30 -05:00
chimp1984
4513cfa390
Hide remove button at ProposalsView
We have a bug in removing a proposal which is not trivial to fix
(p2p network layer). Until that bug is fixed
it is better to not show the remove button as it
confused users and a removed proposal will reappear with a
high probability at the vote phase.
2020-11-02 13:53:02 -05:00
Christoph Atteneder
3d7273883c
Merge pull request #4733 from jmacxx/edit_explorer_details
Allow user-defined block explorers
2020-11-02 19:23:48 +01:00
sqrrm
e082ac667e
Merge pull request #4715 from deusmax/trading_charts_axes
Cleaner formatting for trading charts date axes
2020-11-02 17:38:02 +01:00
sqrrm
f03be6ad3d
Merge pull request #4628 from chimp1984/improve-read-file-handling
Use a thread in PersistenceManager for reading persisted files instead of using threads in client code
2020-11-02 17:36:21 +01:00
sqrrm
84ac65b163
Merge pull request #4731 from ghubstan/19-sqrrm-pr-changes
Resolve issues found in reviewed PRs 4699, 4703, 4711 [, ...]
2020-11-02 15:32:07 +01:00
jmacxx
8a9d05eba0
Allow user-defined block explorers
In Settings/General Preferences the Bitcoin Explorer and Bisq Explorer may
now be user defined in addition to the hard coded block explorer choices.

This implementation takes advantage of the existing Protobuf implementation
that stores a BlockExplorer Name/UrlTx/UrlAddress for BTC and for BSQ.

A new popup dialog is implemented which allows editing of the explorer
details (name, txUrl, and addressUrl).  Any of the system-defined
explorer details may be selected into the edit fields thus allowing
them to be used as templates, customized or an entirely new explorer to
be used.

If the user switches choice from a customized back to a pre-defined
explorer then the customized settings are gone; this is because the
Protobuf storage only allows saving one selection.

Fixes #4371
Closes #4634
2020-11-02 07:53:06 -06:00
Christoph Atteneder
9ab65459df
Merge pull request #4736 from jmacxx/add_autoconf_service_filter
Admin filter for auto-confirmation service addresses
2020-11-02 10:47:22 +01:00
jmacxx
15b8e72059
Admin filter for auto-confirmation service addresses
A service address can be filtered out using the admin key.  This would
be useful if a federated server failed, it could be filtered out so
that the auto-confirmation operates with the remaining services.  If
all federated service addresses were filtered out the user would have to
either confirm manually or use their own explorer service.
2020-11-01 08:20:33 -06:00
sqrrm
89620a02da
Merge pull request #4706 from chimp1984/remove-outliers-at-bsq-rate
Remove outliers when calculating BSQ rate
2020-10-31 23:07:40 +01:00
Deus Max
24784cb22d
Minor style formatting.
Fixed a switch statement formatting to conform with Bisq code style.
2020-10-31 14:48:18 +02:00
sqrrm
605f4b3015
Merge pull request #4726 from chimp1984/add-transferwise-payment-method
Add transferwise account
2020-10-31 13:20:41 +01:00
sqrrm
b3a95ab2fd
Merge pull request #4728 from jmacxx/edit_offer_change_market
Updates to 'Edit Offer' to allow for change of market and payment method
2020-10-31 12:19:17 +01:00
sqrrm
8f4339d301
Merge pull request #4702 from chimp1984/add-export-to-csv-for-trade-statistics
Add export to csv hyperlink (a button takes too much vertical space)
2020-10-31 12:14:06 +01:00
ghubstan
0656c57d39
Add null checks in PendingTradesViewModel
These changes were requested in review of PR
https://github.com/bisq-network/bisq/pull/4699
2020-10-30 11:07:18 -03:00
sqrrm
b6badeee0d
Merge pull request #4700 from ghubstan/4-refactor-trade-utils
Refactor PendingTradesDataModel methods -> TradeUtil
2020-10-30 13:28:42 +01:00
sqrrm
ed14442992
Merge pull request #4699 from ghubstan/3-refactor-trade-utils
Refactor PendingTradesViewModel methods -> TradeUtil & OfferUtil
2020-10-30 11:11:15 +01:00
Deus Max
162c119285
Added date format for each chart interval period.
Provide specific formats for each trade chart interval period, for added
precision and flexibility in formatting the X-axis. Covers suggestion in
Bisq PR#4715 for more compact date formats.
2020-10-30 01:17:06 +02:00
jmacxx
f73aaae3c7
Updates to 'Edit Offer' to allow for change of market and payment method
Display the trading account group on edit offer screen which allows
the market and payment method to be chosen.

When applying the edits to the new offer payload, merge in appropriate
fields that describe the market & payment method:
- base and counter currency codes
- payment method and account
- country code, accepted country codes
- bankid and accepted bankIds

Fixes #4720
2020-10-29 11:06:47 -05:00
chimp1984
1f45d492ef
Remove todos 2020-10-28 21:52:38 -05:00
chimp1984
ebce18c338
Add transferwise account 2020-10-28 21:35:47 -05:00
Deus Max
c0af9f9637
Cleaner formatting for trading charts date axes
Clean up date axes style for easy reading. Made date labels shorter,
with clear visual correspondance to relevant axes tick mark.
Tick marks with labels are now larger than those without.

Signed-off-by: Deus Max <deusmax@gmx.com>
2020-10-28 14:23:05 +02:00
Christoph Atteneder
50ab4283b2
Merge pull request #4718 from jmacxx/fix_issue_4708
Cleanup user interface elements in Send Funds screen
2020-10-28 10:02:16 +01:00
jmacxx
a5c62a545d
Cleanup user interface elements in Send Funds screen
Selects "Amount includes mining fee" by default.  Fixes #4708
Unrestrict the length of "Withdraw to address" & "Withdrawal memo" fields.  Fixes #4656
2020-10-27 18:06:30 -05:00
sqrrm
9a871373c2
Merge pull request #4681 from oscarguindzberg/removeAddressClassFromBsqClasses
Use LegacyAddress instead of Address for BSQ
2020-10-27 23:59:44 +01:00
Oscar Guindzberg
8370bc98d5
Use LegacyAddress instead of Address for BSQ 2020-10-27 13:56:20 -03:00
chimp1984
8bfe9b82c8
Remove outliers when calculating BSQ rate
Add percentage for upper and lower threshold for outlier detection.
2020-10-25 18:34:22 -05:00
chimp1984
114b79fc2b
Fix updates of list
Add missing show to error popup
2020-10-25 15:27:47 -05:00
chimp1984
93031ba66e
Add export to csv hyperlink (a button takes too much vertical space) 2020-10-25 13:54:58 -05:00