Commit graph

12783 commits

Author SHA1 Message Date
sqrrm
605f4b3015
Merge pull request #4726 from chimp1984/add-transferwise-payment-method
Add transferwise account
2020-10-31 13:20:41 +01:00
sqrrm
1e1d1ffb70
Merge pull request #4732 from chimp1984/add-more-logs-at-trade-data-validation-exception
Avoid null pointers at TradeDataValidation
2020-10-31 12:35:26 +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
chimp1984
f817018410
Add null checks, remove verbose logs from IllegalArgumentException branch 2020-10-30 20:01:01 -05:00
chimp1984
7fe5b80d39
Add more logs 2020-10-30 19:20:20 -05:00
sqrrm
c4e2021e37
Merge pull request #4709 from ghubstan/9-closetrade-protos
Stub out api methods 'keepfunds', 'withdrawfunds'
2020-10-30 14:05:16 +01:00
sqrrm
6079a96c68
Merge pull request #4705 from ghubstan/8-gettrade-json-option
Optionally print the json contract for a given trade id
2020-10-30 14:03:17 +01:00
sqrrm
e059342c89
Merge pull request #4704 from ghubstan/7-cli-gettrade
Add 'gettrade' to api method CLI
2020-10-30 14:00:58 +01:00
sqrrm
8c23017d62
Merge pull request #4703 from ghubstan/6-format-trade
Refactor CLI output formatting code & add trade formatter
2020-10-30 13:59:43 +01:00
sqrrm
3c56268149
Merge pull request #4701 from ghubstan/5-refactor-trade-utils
Add getRole(tradeId) to core api
2020-10-30 13:43:15 +01: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
sqrrm
258d44ebb7
Merge pull request #4697 from ghubstan/2-refactor-trade-utils
Replace TradeUtils with singleton TradeUtil
2020-10-29 22:36:54 +01:00
sqrrm
3356c8f632
Merge pull request #4696 from ghubstan/1-add-grpc-trade-proto-fields
Add fields to grpc TradeInfo proto & wrapper
2020-10-29 22:31:26 +01:00
sqrrm
407fa3f28c
Merge pull request #4692 from ghubstan/blocking-fee-request
Block on tx-fee-request in core TakeOfferModel init
2020-10-29 22:18:51 +01:00
chimp1984
db3ac48758
Reformat to force codacy update 2020-10-29 13:04:51 -05: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
5639a5e474
Add TRANSFERWISE to TradeStatistics3.PaymentMethodMapper 2020-10-28 23:30:56 -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
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
sqrrm
917ab4ee32
Merge pull request #4689 from chimp1984/revert-dao-data-json-export-changes
Revert changes for json export of dao data
2020-10-27 23:58:35 +01:00
sqrrm
91bc88c86c
Merge pull request #4695 from chimp1984/cleanup-monitor-module
Cleanup monitor module
2020-10-27 19:55:59 +01:00
sqrrm
6cb0130a41
Merge pull request #4694 from cd2357/update-tor-repos
Update netlayer references to bisq repos
2020-10-27 19:27:20 +01:00
Oscar Guindzberg
8370bc98d5
Use LegacyAddress instead of Address for BSQ 2020-10-27 13:56:20 -03:00
ghubstan
a8decafc2f
Stub out api methods 'keepfunds', 'withdrawfunds'
This PR adds trade closing method stubs to keep funds in the
Bisq wallet or send them to an external BTC wallet.

- Add grpc protos
- Add new methods to GrpcTradesService, CoreApi
- Stub out implementations in CoreTradesService
- Add methods to CLI
2020-10-26 17:43:08 -03:00
ghubstan
a2b292318c
Add boolean 'showcontract' argument to api's 'gettrade'
Optionally print the json contract for a given trade id.
2020-10-25 17:44:18 -03:00
chimp1984
114b79fc2b
Fix updates of list
Add missing show to error popup
2020-10-25 15:27:47 -05:00
ghubstan
2b23704b5a
Add 'gettrade' to api method CLI 2020-10-25 17:15:02 -03:00
ghubstan
31435bba51
Move semicolon up from blank line 2020-10-25 17:02:40 -03:00
ghubstan
d8bc26588c
Add license comment 2020-10-25 16:52:45 -03:00
ghubstan
3379376bab
Refactor CLI output formatting code & add trade formatter
- Move output column header specs to its own shared constants class.

- Add new TradeFormat class for printing trade details in the console.

- Print formatted trade in api trade tests -- to see output before
  using formatter in CLI (in next PR).
2020-10-25 16:50:22 -03:00
ghubstan
161dbade0d
Add getRole(tradeId) to core api
API users will need to see their role as maker/taker when looking at trade details.

- Add getRole(trade) to TradeUtil.
- Add getTradeRole(tradeId) to CoreApi, CoreTradesService.
- Add role field to TradeInfo proto and its wrapper class.
2020-10-25 16:22:20 -03:00
chimp1984
93031ba66e
Add export to csv hyperlink (a button takes too much vertical space) 2020-10-25 13:54:58 -05:00
ghubstan
bbd7a31c88
Remove unused import 2020-10-25 11:38:03 -03:00
ghubstan
95bcb1ef9c
Refactor PendingTradesDataModel methods -> TradeUtil
Scope of this refactoring is small;  more can be done, but the short
term goal is to share trade util logic with core api.

- Removed unused method getCurrencyCode()
- Made minor style changes
- Removed duplicated code block
2020-10-25 11:27:30 -03:00
ghubstan
36ad137949
Remove trailing spaces for codacy 2020-10-25 10:54:40 -03:00
ghubstan
24ba9215cd
Refactor PendingTradesViewModel methods -> TradeUtil & OfferUtil 2020-10-25 10:41:19 -03:00
ghubstan
ccd3c99f2e
Fix comment typos 2020-10-24 17:45:01 -03:00
ghubstan
296e4f98cb
Replace static TradeUtil with singleton TradeUtil
The API is going to need some desktop trade utilities, which should be
shared between :desktop and :core.api.
2020-10-24 17:26:10 -03:00
ghubstan
63cf436990
Add fields to grpc TradeInfo proto & wrapper 2020-10-24 16:27:03 -03:00
ghubstan
ab20225cd2
Add compiler warning suppression, remove comment 2020-10-24 16:25:20 -03:00
chimp1984
44a9756f80
Apply code inspection suggestions
Add checks if optional is present
2020-10-24 13:20:29 -05:00
chimp1984
37952c8dd0
Use networkPostfix for file name 2020-10-24 13:03:52 -05:00
chimp1984
832bc83e93
Add ifPresent check at optional 2020-10-24 13:03:03 -05:00
cd2357
ca56d002df
Update netlayer references to bisq repos
Update build.gradle to rely on the netlayer libraries from the bisq-network repo. The library versions (commit IDs) remain the same, only the repo from which they are pulled is changed.
2020-10-24 13:33:22 +02:00
Christoph Atteneder
55c663ad47
Merge pull request #4676 from jmacxx/show_tx_fee
Show current tx fee rate on main screen
2020-10-24 11:40:34 +02:00