Commit graph

14552 commits

Author SHA1 Message Date
sqrrm
edbac95f7c
Merge pull request #5292 from ghubstan/00-fix-corecontext-usage
Fix singleton CoreContext usage
2021-03-11 17:24:55 +01:00
Christoph Atteneder
0e6ce20453
Merge pull request #5216 from huey735/rename-summary-notes-category
Rename summary notes "Seller not responding"  category
2021-03-11 17:01:56 +01:00
Christoph Atteneder
9a2dbd7147
Merge pull request #5215 from jmacxx/fix_issue_5214
Fix Multiple Warnings on Enable All Offers
2021-03-11 17:01:05 +01:00
Christoph Atteneder
e1e7ca6cba
Merge pull request #5295 from bisq-network/hotfix/v1.5.9
Hotfix/v1.5.9
2021-03-11 16:54:41 +01:00
Christoph Atteneder
d57df53146
Merge pull request #5248 from cd2357/tor-update-guide
Document tor upgrade steps
2021-03-11 16:33:32 +01:00
Christoph Atteneder
38a9bf0277
Merge branch 'master' of github.com:bisq-network/bisq into hotfix/v1.5.9
# Conflicts:
#	build.gradle
#	desktop/package/linux/Dockerfile
#	desktop/package/linux/package.sh
#	desktop/package/linux/release.sh
#	desktop/package/macosx/create_app.sh
#	desktop/package/macosx/finalize.sh
#	desktop/package/macosx/insert_snapshot_version.sh
#	desktop/package/windows/package.bat
#	desktop/package/windows/release.bat
#	relay/src/main/resources/version.txt
2021-03-11 16:26:50 +01:00
Christoph Atteneder
fb053e85ad
Revert to SNAPSHOT version 2021-03-11 16:24:32 +01:00
Christoph Atteneder
944fa7e120
Merge pull request #5232 from BtcContributor/darkread
Fix dark mode readibility of specific texts
2021-03-11 16:22:59 +01:00
Christoph Atteneder
caac1b4c1e
Merge pull request #5272 from BtcContributor/fixbackupbutton
Fix Set Password text button
2021-03-11 16:07:26 +01:00
BtcContributor
2c945b0c40
change text and navigation 2021-03-11 15:55:47 +01:00
BtcContributor
144b3e4f9a
fix css 2021-03-11 13:23:39 +01:00
sqrrm
a1939f92e6
Merge pull request #5222 from ripcurlx/fix-key-shortcut-documentation
Fix key shortcut documentation when using CMD+Y
2021-03-11 11:55:53 +01:00
Christoph Atteneder
7394da5462
Merge pull request #5206 from jmacxx/improve_mediation_tools
Improve mediation tools / logging.
2021-03-11 11:49:58 +01:00
Christoph Atteneder
337c7bb0cd
Merge pull request #5291 from wallclockbuilder/master
Fix typo
2021-03-11 11:35:45 +01:00
Mawueli Kofi Adzoe
dda2570ee6
Fix
typo in test function name.
2021-03-11 02:26:18 -08:00
sqrrm
f97595ddc2
Merge pull request #5239 from ripcurlx/update-release-process
Add step for signature creation for Arch Linux
2021-03-11 10:22:08 +01:00
Christoph Atteneder
43b8f0afbf
Merge pull request #5209 from JaredBoone/master
Changes "Verify result" to "Check signature"
2021-03-11 09:36:44 +01:00
Christoph Atteneder
9635ed5416
Merge pull request #5293 from sqrrm/make-ngn-default
Add NGN as a default currency
2021-03-11 09:25:28 +01:00
Christoph Atteneder
0130e81600
Adapt new version number placeholder to be conform with Bash specification 2021-03-11 09:20:29 +01:00
ghubstan
48ecb5b2f9
Derive AvailabilityResult from Task errorMessage 2021-03-10 15:07:34 -03:00
ghubstan
d4d989d680
Add missing grpc exception catch blocks 2021-03-10 14:17:05 -03:00
ghubstan
697cf66d7c
Convert AvailabilityResult to error msg when takeoffer fails 2021-03-10 14:16:43 -03:00
ghubstan
d0590d93a9
Adjust grpc & core services to new takeoffer error handling
- GrpcErrorMessageHandler  A new ErrorMessageHandler implementation
  to get around the api specific problem of having to use Task
  ErrorMessageHandlers that build task error messages for the UI.

- GrpcExceptionHandler  A new method for working with the
  ErrorMessageHandler interface.

- GrpcTradesService, CoreApi, CoreTradesService:  Ajdusted takeoffer
  error handling to give a failure reason provided by the new
  GrpcErrorMessageHandler.
2021-03-10 14:16:15 -03:00
ghubstan
067a5c7a08
Inject CoreContext into OpenOfferManager, adjust test 2021-03-10 14:15:59 -03:00
ghubstan
5c097d3bcf
Adjust protos for takeoffer error handing
- Add PRICE_CHECK_FAILED to enum AvailabilityResult.
- Add enum AvailabilityResult to TakeOfferReply message.
2021-03-10 14:15:29 -03:00
sqrrm
eabb173767
Add NGN as a default currency 2021-03-10 14:41:28 +01:00
ghubstan
58100fda6a
Fix singleton CoreContext usage
After GrpcServer builds a gRPC server instance, it calls injected
CoreContext#setApiUser(true).  The same, singleton CoreContext object
is injected into CoreService constructors, which use the coreContext#
isApiUser value (set true by the server builder) to set their own class
level boolean isApiUser fields.

When CoreContext was added, I was fooled by the correct behavior I
saw while stepping through the server debugger.  But now I see that
the correct boolean value in CoreContext is only available after
CoreService constructors have finished instantiating themselves -
- not in time.

In this change, the CoreContext becomes a class level final field
in CoreServices, and the correct coreContex.isApiUser value is available
in the CoreService methods.
2021-03-10 08:26:14 -03:00
sqrrm
463f87b39e
Merge pull request #5284 from ghubstan/07-validate-paymentacct-n-new-offer
Validate offer <-> payment-acct in createoffer
2021-03-09 16:51:56 +01:00
ghubstan
389abf459d
Check valid createoffer opt values with asserts 2021-03-09 10:43:05 -03:00
sqrrm
343d311a25
Merge pull request #5273 from ghubstan/05-doc-test-disputeagents
Document test harness dispute agent registration
2021-03-09 11:53:28 +01:00
sqrrm
3ab184c8da
Merge pull request #5259 from ghubstan/04-fix-feerate-validation-bug
Fix CLI number opt validation, improve server-not-up msg
2021-03-09 11:52:29 +01:00
sqrrm
6f0f0ef5fc
Merge pull request #5250 from ghubstan/03-fix-interceptor-method-key-lookup
Fix call rate metering interceptor bug
2021-03-09 11:50:08 +01:00
sqrrm
7fa1b8043f
Merge pull request #5249 from ghubstan/02-improve-server-error-logging
Improve gRPC server error logging
2021-03-09 11:44:03 +01:00
sqrrm
03f6468d26
Merge pull request #5246 from ghubstan/01-show-cost-in-trade-output
Display buyer's cost in api's gettrade output
2021-03-09 11:41:14 +01:00
Christoph Atteneder
11964e5ed8
Merge pull request #5280 from chimp1984/prevent-persist-at-startup
Prevent persist at startup, flush at backup
2021-03-09 11:40:27 +01:00
Christoph Atteneder
b938776aad
Merge pull request #5288 from wallclockbuilder/patch-1
Replace slack with Keybase
2021-03-09 09:21:44 +01:00
Christoph Atteneder
dd7550931f
Merge pull request #5262 from BtcContributor/fixwindowslinkdao
Fix opening of proposal links in DAO on Windows
2021-03-09 09:20:30 +01:00
Mawueli Kofi Adzoe
5a31461b3d
Replace slack with Keybase 2021-03-08 13:05:00 -08:00
ghubstan
2161c936f1
Adjust canceloffer to getmyoffer bugfix (commit d6c79fc) 2021-03-08 16:36:01 -03:00
ghubstan
d6c79fca70
Filter out 'my' offers from 'available' offers 2021-03-08 16:26:16 -03:00
ghubstan
04b52f873e
Fix setSelectedCurrency bug, and replace unnecessary reflection usage
Commit de59c0a5f9 did not persist the
assigned selected currency, this fixes the bug.
2021-03-08 16:02:18 -03:00
ghubstan
75d81d9095
Avoid test run repetition, add warning supressions 2021-03-08 15:26:15 -03:00
ghubstan
de59c0a5f9
Assign selected trading currency on new payment accts (api only)
If a new account has a trading currency, assign it as the selected trading currency.

Also fixed a payment acct console formatting issue (left justify the ccy code).
2021-03-08 15:22:28 -03:00
ghubstan
b4f4d90e05
Add tradeCurrencies field to Transferwise acct form
These changes make tradeCurrencies a required twise acct form field.

Addresses issue https://github.com/bisq-network/bisq/issues/5281

- Added comment to PaymentAccountForm about special 'tradeCurrencies' field handling.
- Added support for Transferwise 'tradeCurrencies' to PaymentAccountTypeAdapter.
- Added instance of isTransferwiseAccount check to PaymentAccount.
- Added methods to CurrencyUtil to convert comma delimited code list to TradeCurrency list.
- Added methods to ReflectionUtil for getting fields and methods on class.
- Added required field check to CorePaymentAccountsService.
- Added CreatePaymentAccount test cases.
2021-03-08 14:47:30 -03:00
ghubstan
baca7001ea
Fix unnecessary use of fully qualified name 'String.format' 2021-03-07 20:05:39 -03:00
ghubstan
99fea74e09
Validate offer <-> payment-acct in createoffer
This change prohibits creation of new offers with incompatible payment
accounts with the api.

- PaymentAccountUtil
  Renamed isAnyTakerPaymentAccountValidForOffer -> isAnyPaymentAccountValidForOffer.
  Renmaed isTakerPaymentAccountValidForOffer -> isPaymentAccountValidForOffer.
  Deleted commented code.

- PaymentAccounts: Adjusted to PaymentAccountUtil method name changes.

- OfferFilter: Adjusted to PaymentAccountUtil method name changes.

- OfferBookViewModelTest: Adjusted to PaymentAccountUtil method name changes.

- Add CoreOffersService#verifyPaymentAccountIsValidForOffer

- ValidateCreateOfferTest, OfferTest: Added test cases.
2021-03-07 19:51:29 -03:00
chimp1984
f43dc2032f
Handle flush at shutdown differently to flush at backup 2021-03-06 12:02:17 -05:00
chimp1984
6fac9b17f1
Trigger persistence at onAllServicesInitialized in case
we got a requestPersistence called before initialized
2021-03-06 10:59:55 -05:00
chimp1984
a055a8bd36
Call PersistenceManager.flushAllDataToDisk before doing backup 2021-03-06 10:36:14 -05:00
chimp1984
2f814fae47
Make allServicesInitialized final 2021-03-06 10:35:49 -05:00