Commit Graph

16256 Commits

Author SHA1 Message Date
Christoph Atteneder
2ee6b923b7
Show correct buy BSQ state on activation for take offer 2022-03-28 12:38:08 +02:00
ghubstan
8382419a3b
Set execution bit on bash scripts 2022-03-26 14:02:36 -03:00
ghubstan
645b9d6046
Create API daemon & cli releases as zip files
Each distribution contains a runnable jar with a MANIFEST.MF
defining the classpath (all jar files in lib/).

To run daemon.jar:  $ java -jar daemon.jar --apiPassword=xyz
To run cli.jar:     $ java -jar cli.jar --password=xyz <cmd>

TODO Sign jar files, generate checksums.
2022-03-26 13:28:39 -03:00
Christoph Atteneder
a384071cff
Merge pull request #6109 from xyzmaker123/5979-price-validation
Update trigger price validation
2022-03-21 12:26:47 +01:00
xyzmaker123
55c55dbf47
Update trigger price validation - refactor 2022-03-21 11:43:09 +01:00
Christoph Atteneder
523635319f
Merge pull request #6111 from xyzmaker123/5189-trigger-price-prompt-truncation
Trigger price truncation of prompt text
2022-03-21 11:01:36 +01:00
Christoph Atteneder
06dd94f77a
Merge pull request #6107 from xyzmaker123/growth-241-validate-with-iban
IBAN validation for SEPA account
2022-03-18 12:38:47 +01:00
Christoph Atteneder
4d48c8d5b7
Merge pull request #6110 from xyzmaker123/5308-separate-transaction-details
Separate transaction details in funds views
2022-03-18 12:36:26 +01:00
xyzmaker123
3dcc6e6e18
Trigger price truncation of prompt text 2022-03-18 09:56:58 +01:00
xyzmaker123
174bf2891d
Validate IBAN - merge listeners 2022-03-17 17:13:43 +01:00
xyzmaker123
044bc2d33b
Transactions View - Trade ID column 2022-03-17 15:57:01 +01:00
xyzmaker123
ab5d7dd928
Locked view - Trade ID column 2022-03-17 15:56:51 +01:00
xyzmaker123
a5912a8f5e
Reserved view - fix address column alignment 2022-03-17 15:56:50 +01:00
xyzmaker123
d548dcba07
Reserved view - Offer ID column 2022-03-17 15:56:35 +01:00
xyzmaker123
41256367af
Update trigger price validation 2022-03-17 12:42:41 +01:00
xyzmaker123
6164a1343a
Validate IBAN - adapt Sepa Instant 2022-03-17 08:23:59 +01:00
xyzmaker123
ab1a8a8a2b
SEPA IBAN - fix country code validation 2022-03-16 15:17:45 +01:00
xyzmaker123
7fc406761a
Validate if IBAN country code belongs to SEPA zone 2022-03-16 10:22:29 +01:00
xyzmaker123
fd776954cc
Validate IBAN to match selected country 2022-03-16 09:29:03 +01:00
Christoph Atteneder
64f31f103d
Merge pull request #6103 from ghubstan/send-pretty-payment-details-to-api-client
Send pretty payment details to API clients
2022-03-13 20:40:13 +01:00
ghubstan
a3990783a4
Send pretty payment details to api clients
Non-CLI clients need a better way of accessing payment details
than a contract json string.

- Add grpc.proto PaymentAccountPayloadInfo field: payment_details.
- Adjust proto wrapper PaymentAccountPayloadInfo to new field.
- Add test asserts to verify payment details are sent to client.
- Fix a test name: testKeepFunds -> testCloseTrade.

Based on branch `master` @ Sat 12 Mar 2022 01:42 PM -03 ,
         commit c6293b5273
2022-03-12 14:33:23 -03:00
Bisq GitHub Admin
c6293b5273
Merge pull request #6096 from bisq-network/release/v1.8.4
Release/v1.8.4
2022-03-11 15:57:55 +01:00
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
80995a6212
Revert to SNAPSHOT version 2022-03-09 14:29:16 +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
8136f0a6ca
Bump version number for v1.8.4 2022-03-07 16:42:10 +01:00
jmacxx
605e8886d0
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-07 16:36:47 +01:00
jmacxx
e9c021eac6
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-07 16:35:20 +01: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