Commit Graph

16163 Commits

Author SHA1 Message Date
Bisq GitHub Admin
ffe1a206c5
Merge pull request #6097 from ripcurlx/fix-currency-selection-issue
Update currency related fields after switch of payment account
2022-03-11 15:56:45 +01:00
Christoph Atteneder
a188266d65
Merge pull request #6099 from jmacxx/mediation_enhancements_202203
Dispute subsystem enhancements
2022-03-11 15:55:42 +01:00
jmacxx
7e802e5e28
Dispute subsystem enhancements.
Dispute result show payout suggestion and penalty.
Feature allowing trader chat upload to dispute agents.
2022-03-10 20:20:37 -06:00
Christoph Atteneder
844913962a
Merge pull request #6098 from ghubstan/exclude-persistedAccountName-from-json-form
Exclude persistedAccountName from API payment acct json forms
2022-03-10 09:48:20 +01:00
Christoph Atteneder
00dc7998ef
Update currency related fields after switch of payment account
Fixes #5999
2022-03-09 16:15:48 +01:00
ghubstan
24e5f193be
Exclude persistedAccountName field from json payment acct forms
This recently added field is automatically set inside PaymentAccount.
It should not be included in the payment acct json forms used by API clients.

Based on branch `master`.
2022-03-09 12:07:33 -03:00
Christoph Atteneder
43fb6462cc
Merge pull request #6041 from xyzmaker123/5300-default-currencies
Update currency filtering logic
2022-03-09 15:17:56 +01:00
Christoph Atteneder
0ea70dc36b
Merge pull request #6014 from xyzmaker123/6009-account-names-editable
Editable account names
2022-03-09 14:56:00 +01:00
Christoph Atteneder
185d80e8d0
Merge pull request #6083 from Devils-Knight/permission
fix: permissions for build.yml
2022-03-08 11:31:33 +01:00
Christoph Atteneder
b3b488c38c
Merge pull request #6094 from ghubstan/3-fix-is-activated-setting-bug
API bug-fix for incorrect BsqSwap's OfferInfo.isActivated value [No. 3]
2022-03-08 11:26:44 +01:00
Christoph Atteneder
20a3ec0592
Merge pull request #6088 from ghubstan/2-improve-grpc-exception-status-code-mapping
Send meaningful io.grpc.Status.Code to gRPC clients [No. 2]
2022-03-08 11:25:35 +01:00
Christoph Atteneder
ae17da93ea
Merge pull request #6086 from ghubstan/move-cli-crypto-offer-filter-to-server
Move get (cryptocurrency) offer filter to daemon [No. 1]
2022-03-08 11:23:05 +01:00
xyzmaker123
f2533b1772
Currency filtering - fix logic 2022-03-08 11:13:29 +01:00
Christoph Atteneder
18f8e797f5
Merge pull request #6093 from bisq-network/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2.4.0 to 3
2022-03-08 11:05:32 +01:00
ghubstan
4c2649b118
Fix 'unnecessary use of fully qualified name' 2022-03-07 21:02:13 -03:00
ghubstan
1ba2b6ca18
Fix API OfferInfo.isActivated setting for bsqswaps
I think this bug was introduced when deprecating GrpcOffersService
 .getMyOffer(id), in favor of using only getOffer(id) for 'my'
and 'available' offers.  This change explicitly sets the proto's
isActivated flag in the OfferInfo factory methods, and adds checks
to api offer test cases.

Based on branch `2-improve-grpc-exception-status-code-mapping`,
PR https://github.com/bisq-network/bisq/pull/6088
2022-03-07 20:46:27 -03:00
Christoph Atteneder
b95c385ffd
Merge pull request #6087 from jmacxx/fix_dao_resync_popup
Fix DAO needs resync popup.
2022-03-07 16:35:12 +01:00
dependabot[bot]
9d13dacf3f
Bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](ec3a7ce113...a12a3943b4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 14:22:11 +00:00
ghubstan
df2cac3015
Make codacy happy 2022-03-05 21:00:33 -03:00
ghubstan
82549b3c22
Fix comment 2022-03-05 20:45:09 -03:00
ghubstan
784e2ae894
Send meaningful io.grpc.Status.Code to gRPC clients
Exceptions thrown by the core.api services for the daemon Grpc*Services
have to be converted into gRPC StatusRuntimeExceptions before being sent to
gRPC clients.  Most of these gRPC StatusRuntimeExceptions had a gRPC
Status.Code.UNKNOWN, which not helpful to client error handlers.

This change partially resolves the issue by sending more meaningful
io.grpc.Status.Codes to clients, where possible.  But it is not as
comprehensive as it an be for a webapp because HTTP has so many more
possible response status codes than the gRPC library (sixteen). See:
https://github.com/grpc/grpc-java/blob/master/api/src/main/java/io/grpc/Status.java

There are three types of changes:

- Create custom exceptions in bisq.core.api.exception.

- Map any custom bisq.core.api.exception to a meaningful
  io.grpc.Status.Code within daemon Grpc*Service classes.

- Adjust apitest cases to new grpc status codes.

Based on branch `move-cli-crypto-offer-filter-to-server`,  PR https://github.com/bisq-network/bisq/pull/6086
2022-03-05 20:31:50 -03:00
jmacxx
5b03c1a4c5
Fix DAO needs resync popup.
The resync popup was being shown when flag isInConflictWithSeedNode
was set, but there is also a different relevant flag
isDaoStateBlockChainNotConnecting which can happen in certain
situations.  For that case we also need to show the popup.
2022-03-04 14:17:53 -06:00
Christoph Atteneder
c4a941c352
Merge pull request #6085 from jmacxx/5396_privacy_enhancement
Use a new key for settings badge.
2022-03-03 22:11:52 +01:00
ghubstan
d913022506
Force rebuild after github action ECONNRESET 2022-03-03 16:32:03 -03:00
ghubstan
b7fb3df0d4
Move get (cryptocurrency) offer filter to daemon
Some API reference & Python bot examples exposed an API bug the Java CLI
has been hiding. Due due this Bisq v1 Offer entity design:

- In fiat offers, the baseCurrencyCode=BTC, counterCurrencyCode=FiatCode
- In altcoin offers, baseCurrencyCode=AltcoinCode, counterCurrencyCode=BTC,

new API examples were not doing what the CLI has been doing for several
months, which is get (cryptocurrency) all BTC offers from the server,
and filter on the altcoin code.  The CLI side filtering should have been
done on the server, as it is in this commit.

A lot of dead gRPC client side offer filtering code is removed as well.

Based on `master`.
2022-03-03 16:19:00 -03:00
xyzmaker123
462eaec85c
Currency filtering - possibility to search for all currencies 2022-03-03 18:16:52 +01:00
jmacxx
8fa44d7bfe
Use a new key for settings badge.
Rename the key constant variable to SETTINGS_BADGE_KEY to clarify
that its value should be different each time it is used for a new
feature.
Use a key which describes the new feature being promoted.
2022-03-03 07:44:08 -06:00
Shubham malik
553501f2c3
Update build.yml 2022-03-02 20:37:34 +05:30
Christoph Atteneder
e7f1bf2d7d
Merge pull request #6082 from bisq-network/dependabot/github_actions/actions/setup-java-3
Bump actions/setup-java from 2.5.0 to 3
2022-02-28 20:47:06 +01:00
dependabot[bot]
60aa44dadb
Bump actions/setup-java from 2.5.0 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.5.0 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](f0bb916062...f69f00b5e5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 14:13:48 +00:00
xyzmaker123
fcbe3cb6b1
Fix: revert account name on change selected account 2022-02-28 14:33:34 +01:00
xyzmaker123
e6320cdf06
Optimize imports 2022-02-28 13:53:38 +01:00
xyzmaker123
01b1512705
Edit account names - fiat forms 2022-02-28 13:53:37 +01:00
xyzmaker123
702a31f1d6
Edit account names - altcoin forms 2022-02-28 13:53:37 +01:00
xyzmaker123
e8ee3fa4c3
Edit account names - refactor method name 2022-02-28 13:53:32 +01:00
Christoph Atteneder
de1c9bafb2
Merge pull request #6081 from ghubstan/10-fix-grpcproto-tradeinfo-fieldnames
Fix 3 misleading .proto TradeInfo field names [#10]
2022-02-28 09:29:13 +01:00
Christoph Atteneder
bed05714fc
Merge pull request #6080 from ghubstan/9-use-snake_case-field-names
Convert grpc.proto field names to snake_case [#9]
2022-02-28 09:27:58 +01:00
Christoph Atteneder
92b48af6c0
Merge pull request #6079 from ghubstan/8-remove-trdstats-service
Remove GetTradeStatistics service from grpc.proto [#8]
2022-02-28 09:27:03 +01:00
Christoph Atteneder
d301b0d39b
Merge pull request #6068 from ghubstan/7-more-grpcproto-comments
Continue documenting grpc.proto for API reference site [#7]
2022-02-28 09:24:53 +01:00
Christoph Atteneder
a73ee0352b
Merge pull request #6065 from ghubstan/6-disambiguate-api-pct-field-names
Clarify meaning of API/Offer related % fields [#6]
2022-02-28 09:21:18 +01:00
Christoph Atteneder
dbd6f330e1
Merge pull request #6062 from ghubstan/5-change-tradeinfo-proto-prc-n-vol-to-string
Change TradeInfo proto's tradePrice & tradeVolume fields to string [#5]
2022-02-28 09:17:44 +01:00
Christoph Atteneder
532efcc8b8
Merge pull request #6060 from ghubstan/4-change-grpc-proto-volume-to-string
Change API OfferInfo volume/minVolume proto fields to string [#4]
2022-02-28 09:14:04 +01:00
Christoph Atteneder
068fedb9f8
Merge pull request #6057 from ghubstan/3-change-grpc-proto-triggerprice-to-string
Change API grpc.proto triggerPrice field to string [#3]
2022-02-28 09:11:57 +01:00
Christoph Atteneder
c471936789
Merge pull request #6056 from ghubstan/2-change-offerinfo-price-to-string
Change API's OfferInfo proto's price field to string [#2]
2022-02-28 09:09:34 +01:00
ghubstan
06c6b0c3d2
Adjust apitest cases to TradeInfo field name changes
See commit b9b66b4826.
2022-02-27 18:24:19 -03:00
ghubstan
82a0f0060c
Adjust to grpc.proto TradeInfo field name changes
See commit b9b66b4826.
2022-02-27 18:13:54 -03:00
ghubstan
b9b66b4826
Change grpc.proto TradeInfo field names
- is_fiat_sent		->	is_payment_started_message_sent
	Payment can be in altcoin.
- is_fiat_received	->	is_payment_received_message_sent
	Payment can be in altcoin.
- is_withdrawn		->	is_completed
	Trade can be closed with funds kept in Bisq wallet.
2022-02-27 18:09:36 -03:00
ghubstan
68ebdb2b08
Change grpc.proto field names to snake_case
Java client code can still use the camelCase field naming convention,
and other language bindings will not be forced to do the same.

Snake_case field names are also recommended in the Protocol Buffers
Sytle Guide:  https://developers.google.com/protocol-buffers/docs/style
2022-02-27 09:42:17 -03:00
ghubstan
a1f059ded4
Merge branch '7-more-grpcproto-comments' into 8-remove-trdstats-service 2022-02-26 17:53:04 -03:00
ghubstan
3d33aa21c9
Merge branch '7-more-grpcproto-comments' of https://github.com/ghubstan/bisq into 7-more-grpcproto-comments 2022-02-26 17:50:05 -03:00