Commit graph

15124 commits

Author SHA1 Message Date
sqrrm
44cbea886a
Merge pull request #5081 from ghubstan/04-posix-cli-opts+method-help
Use posix-style CLI opts, provide method help
2021-01-16 13:43:18 +01:00
ghubstan
1ad7b351b6
Remove uneeded method 2021-01-15 16:33:52 -03:00
ghubstan
ec9f783eb5
Remove switch(hardcoded enum.name)
There is no need for a switch here, the doc exists or it does not.
2021-01-15 16:25:39 -03:00
chimp1984
5d13fdcdbb
Return early 2021-01-14 20:42:36 -05:00
ghubstan
f2a899917c
Fix default opt values 2021-01-14 19:05:27 -03:00
ghubstan
baf79e2b50
Make opt description more generic 2021-01-14 19:03:49 -03:00
ghubstan
acf2c7c50e
Remove deprecated NegativeNumberOptions
Not needed anymore, and all method opts are posix style.
(The opts parsing lib used to treat negative numbers as opt labels.)
2021-01-14 10:27:47 -03:00
ghubstan
9f0f083cf7
Change CLI opts to posix-style 2021-01-14 10:26:11 -03:00
ghubstan
f4e735faec
Move CLI method enum to it's own class
This helps reduce size of growing CLI class file.
2021-01-14 10:25:08 -03:00
ghubstan
37ad73d4f4
Add posix-style api method option parsers 2021-01-14 10:23:38 -03:00
ghubstan
49a3b46960
Add CoreHelpService gRPC stubs and test case 2021-01-14 10:22:14 -03:00
ghubstan
a067ba1228
Add new CoreHelpService and method help docs
Adds all the gRPC server boilerplate, and a simple help service
that serves method help in man page format.  Help text is maintained
in text files located in core/src/main/resources/help.

Only some of the method help text files are defined in this
change, more to be added.
2021-01-14 10:19:39 -03:00
sqrrm
f838b1a475
Merge pull request #5076 from ghubstan/03-support-trigger-price
Stub out support for OpenOffer's triggerPrice in api
2021-01-14 10:34:29 +01:00
Christoph Atteneder
7cf741033c
Replace non-existing contact email
To make it clear that there will be no response when using it
2021-01-14 10:29:17 +01:00
Christoph Atteneder
48ef1453f9
Move primary bundle ID into environment variable 2021-01-14 10:28:34 +01:00
Christoph Atteneder
74efd53c6b
Extract re-used arguments 2021-01-14 10:28:06 +01:00
Christoph Atteneder
8b5c6d8604
Remove license confirmation prompt
As we already have a TAC popup in place on first application launch
2021-01-14 10:27:02 +01:00
Christoph Atteneder
d09a4ecda7
Add missing volume icon for dmg bundle 2021-01-14 10:25:19 +01:00
Christoph Atteneder
01bfbe7ca0
Merge pull request #5071 from jmacxx/fix_issue_5067
Show a confirmation of successfully sending BTC or BSQ from wallet
2021-01-14 09:37:20 +01:00
chimp1984
f19b049a7f
Update desktop/src/main/java/bisq/desktop/main/overlays/windows/TacWindow.java
Co-authored-by: m52go <735155+m52go@users.noreply.github.com>
2021-01-14 00:36:18 -05:00
chimp1984
8b721e72df
Update core/src/main/resources/i18n/displayStrings.properties
Co-authored-by: m52go <735155+m52go@users.noreply.github.com>
2021-01-14 00:35:51 -05:00
chimp1984
6b7880c52e
Update core/src/main/resources/i18n/displayStrings.properties
Co-authored-by: m52go <735155+m52go@users.noreply.github.com>
2021-01-14 00:35:26 -05:00
chimp1984
cef1c056bb
Improve text, reformat tac text 2021-01-13 23:35:13 -05:00
chimp1984
935d9853bc
Add popup at startup to notify about rule change if user had already a fiat account 2021-01-13 23:34:15 -05:00
chimp1984
c68f75c7e9
Remove instructions for using trade id as reason for payment
State to use empty field instead.
2021-01-13 23:03:04 -05:00
jmacxx
3984e8b3dd
Code review suggestions from @ripcurlx
Disable validation errors when clearing edit fields
Implement spacer field using Region
2021-01-13 21:31:58 -06:00
chimp1984
7ba5ab5a4e
Change prio for mailboxMessageList persitence 2021-01-13 20:48:52 -05:00
chimp1984
541f367e81
Dont log filter content if a filter got updated 2021-01-13 20:39:26 -05:00
sqrrm
685d79749b
Merge pull request #5065 from ghubstan/offer-protection-tools-api-integration
Integrate new protection tools into api's offer & trade services
2021-01-14 00:26:10 +01:00
ghubstan
a8d15d0161
Merge branch 'offer-protection-tools-api-integration' into 03-support-trigger-price 2021-01-13 20:03:03 -03:00
ghubstan
0e779a4bf6
Inject CoreContext into server, then set isApiUser=true
Do not set isApiUser=true based on hardcoded thread name ;-(

For requested change
https://github.com/bisq-network/bisq/pull/5065#pullrequestreview-567708569
2021-01-13 19:55:49 -03:00
cd2357
85af986671
Fix typos
Fix several typos and updated a comment.
2021-01-13 22:40:15 +01:00
cd2357
04737f48f2
Sign Windows installer
Add signing step in the Windows installer generation.
2021-01-13 22:33:55 +01:00
cd2357
47c4e09d69
Merge remote-tracking branch 'bisq-network/hotfix/v1.5.4' into upgrade-javafax-14 2021-01-13 19:44:12 +01:00
ghubstan
9a4e311193
Fix file conflict
The createoffer trigger price was defined as the 0 default value
in the gRPC request object (causing the file conflict with the
main branch).  This line can be removed because a protobuf
long's default value is 0.
2021-01-13 09:31:34 -03:00
sqrrm
fe32c91426
Merge pull request #5063 from ghubstan/fix-cli-negative-opts-parsing
Fix two CLI option parsing bugs
2021-01-13 10:42:08 +01:00
Christoph Atteneder
a10b63e73b
Make fatJar inclusion more reliable across builds 2021-01-13 09:53:48 +01:00
chimp1984
d434cb3022
Sort persisted mail box messages by age and limit total number.
Add size limit.
Add log for number of persisted mailbox msg per day
2021-01-12 22:59:44 -05:00
chimp1984
2fb3bba74d
Use MailboxMessage as param type in sendEncryptedMailboxMessage 2021-01-12 17:47:44 -05:00
chimp1984
c12e239fa5
Refactor: rename method 2021-01-12 17:44:04 -05:00
chimp1984
36657f5532
Use TradeMailboxMessage as type for getMessage in SendMailboxMessageTask 2021-01-12 17:43:27 -05:00
chimp1984
3834785828
Bugfix: Add processing of SendersNodeAddressMessage to
onBundleOfEnvelopes method.

In case we received a SendersNodeAddressMessage
inside a BundleOfEnvelope we did not set the
peers address.
2021-01-12 17:40:40 -05:00
chimp1984
3e69edeb9e
Remove comment 2021-01-12 17:34:54 -05:00
chimp1984
a21d79ad63
Refactor: rename 2021-01-12 17:34:28 -05:00
chimp1984
364a7f524c
Add toString 2021-01-12 16:14:32 -05:00
chimp1984
2b05ed54fc
Let MailboxMessage extend ExpirablePayload:
For all MailboxMessage we want to be sure they have an expire date.
Add getTTL methods and TTL value.
We use 7 days for ChatMessages and 30 days for PrivateNotificationMessages.
All others use default 15 days.
We prefer to keep them explicit and not use a default method in
ExpirablePayload or MailboxMessage.
The value in PrefixedSealedAndSignedMessage will not be used as the
sender use the TTL of the payload and pass that to the MailboxStoragePayload
where we store it in the extraMap. That way we can use different TTL even the
payload message is encrypted and we would not be able to look it up.
2021-01-12 16:14:13 -05:00
chimp1984
470230c35c
Add TradeMailboxMessage and use a TTL of 15 days
Extend TradeMailboxMessage where we had `extends TradeMessage implements MailboxMessage`
2021-01-12 16:06:13 -05:00
chimp1984
46f60260dc
Remove outdated code
Remove outdated comment
Add checkNotNull for senderNodeAddress
2021-01-12 15:46:33 -05:00
chimp1984
4c003cded6
Clone reportedPeers to avoid ConcurrentModificationExceptions 2021-01-12 15:33:31 -05:00
chimp1984
5c429bb3a7
Add containsKey check 2021-01-12 14:48:45 -05:00