Commit Graph

3829 Commits

Author SHA1 Message Date
Chris Parker
885f16e15d
Added 500+ string translations to Russian language file
Code Review follow-up - Remove substition replacements for strings which
do not have any substition parameters, as these are causing confusion as
to whether apostrophes are required.
2024-10-12 00:01:15 -04:00
HenrikJannsen
f37344bdc6
Merge pull request #7252 from cparke2/phone-number-validator-required-length-option
New option in PhoneNumberValidator to enforce exact number of digits
2024-09-27 16:07:50 +07:00
HenrikJannsen
122faa5c03
Merge pull request #7259 from cparke2/offer-view-currency-blank-bug
Fix randomly blank currency box upon opening the Offer screen
2024-09-27 16:06:26 +07:00
Chris Parker
abe3329071
Fix randomly blank currency box upon opening the Offer screen
When clicking Create Buy/Sell Offer, or Edit/Duplicate/Clone an existing
offer, randomly the initial display of "Currency" associated with the
initially selected payment method was displayed as blank. This seems to
have been caused by scheduling the selection of the initial payment
method combobox selection to happen on a different thread rather than
immediately selecting it (apparently, sometimes the secondard event to
select the currency gets lost).
2024-09-25 19:49:24 -04:00
Chris Parker
a0f24fe5d5
Add new payment method "Faster Payments System (SBP)" for Russian Ruble
Added new displayStrings into other language files as a placeholder for
future translation, minor revision to order of payment method fields
in source code (cosmetic, no impact on functionality)
2024-09-22 18:55:04 -04:00
Chris Parker
a136f79bd1
Add new payment method "Faster Payments System (SBP)" for Russian Ruble
This is the standard P2P payment method in Russia to perform funds transfers and
payments between Russian bank accounts in Russian Rubles. There is no chargeback
risk. Recipient bank account is located using telephone number and bank name,
and sender receives recipients first name, middle name, and initial of last name
to confirm the phone number entered is correct before sending. Adding this new
payment method has been discussed at length on the GitHub 'growth' channel at:
   https://github.com/bisq-network/growth/issues/288
2024-09-22 18:05:19 -04:00
Chris Parker
595044f4cc
Code Review followup: Use Optional<> and create a new Map for length
Created new class PhoneNumberRequiredLengths.java with a Map lookup for the
requiredlength of phone numbers in select countries that are well-known to
have uniform fixed-length phone number throughout. Country codes missing
will continue to use just the previous length-range algorithms.  Lookup
into this Map is integrated into PhoneNumberValidator.java, no longer
needed an overloaded constructor to provide this functionality.
[New .java file was accidentally omitted from previous commit]
2024-09-22 04:48:57 -04:00
Chris Parker
824997d337
Code Review followup: Use Optional<> and create a new Map for length
Created new class PhoneNumberRequiredLengths.java with a Map lookup for the
requiredlength of phone numbers in select countries that are well-known to
have uniform fixed-length phone number throughout. Country codes missing
will continue to use just the previous length-range algorithms.  Lookup
into this Map is integrated into PhoneNumberValidator.java, no longer
needed an overloaded constructor to provide this functionality.
2024-09-22 04:30:31 -04:00
Chris Parker
1f3cd6765f
Added missing resource string, added unittest, fixed minor bug
Original commit omitted the new display string used by this new
feature. Additionally, added two unittests to verify the code
changes in this pull request work and do not break existing
functionality.
2024-09-21 14:43:47 -04:00
Chris Parker
9dc338b87a
New option in PhoneNumberValidator to enforce exact number of digits
Until now, national phone numbers worldwide just had to be between
5-12 digits long to pass validation. However, many countries have a
specific number of of digits in all their phone numbers which is
very well known (EX: all USA numbers are 10 digits long). So this
change adds an optional parameter to specify how many digits must
be in the phone number for it to validate. Uncommited changes will
also use this new capability, provided this pull request is adopted.
2024-09-19 07:14:01 -04:00
Steven Barclay
408f902d9c
Use LowRSigningKey elsewhere ECKeys are used for signing
To slightly save storage & bandwidth, create low-R signatures in places
besides tx ScriptSigs & witnesses, such as merit lists, proofs of burn,
filter, alert & accounting authentication data.

(Also, to make setup of mock keys a little easier, bypass wrapping of
keys that are already instances of 'LowRSigningKey' in the factory
method, 'LowRSigningKey.from(ECKey)'.)
2024-09-04 23:46:22 +08:00
Alejandro García
bc31f206c2
Merge pull request #7196 from HenrikJannsen/Avoid-color-artefacts-at-antialias
Set -fx-font-smoothing-type to grey.
2024-07-19 00:17:42 +00:00
HenrikJannsen
633f823581
Set -fx-font-smoothing-type to grey.
Remove system property at linux set to false (issue happens on all OS as far I am aware).

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-07-06 22:39:28 +07:00
HenrikJannsen
262840b6b8
Fix missing params in tests 2024-06-30 19:11:18 +07:00
HenrikJannsen
312022f41b
Merge branch 'master' into reduce-javacv-lib-size 2024-06-29 11:08:12 +07:00
Alejandro García
d95b07432d
Merge pull request #7184 from HenrikJannsen/do-not-clear-tor-files-at-update-to-new-version
Do not clear tor files at update to new version
2024-06-28 21:55:48 +00:00
HenrikJannsen
88c7feb29c
Remove CLEAN_TOR_DIR_AT_RESTART flag at download of new version
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 21:46:21 +07:00
HenrikJannsen
62a89a03ce
Add hideCloseButton at onCheckpointFail popup
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:49:37 +07:00
HenrikJannsen
b30924b3fb
Remove storageDir param from removeAndBackupAllDaoData method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:21:56 +07:00
HenrikJannsen
9b23edc2a9
Remove empty methods
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:19:47 +07:00
HenrikJannsen
d12b6608c7
Improve logs. Minor cleanups
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:19:47 +07:00
HenrikJannsen
b3580c05f7
Refactoring: renaming 2024-06-28 18:19:46 +07:00
Devin Bileck
dd255d00cf
Disable QrCodeProcessorTest on macOS 2024-06-27 23:26:58 -07:00
HenrikJannsen
87ea800f66
Deactivate QrCodeProcessorTest until UnsatisfiedLinkError on MacOS is resolved
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 12:23:14 +07:00
Alejandro García
a090f2aa27
Merge branch 'master' into release/v1.9.17 2024-06-25 20:33:51 +00:00
Alejandro García
01ffec9d03
Revert to SNAPSHOT version 2024-06-25 20:24:10 +00:00
Devin Bileck
51b4d897b7
Exclude all unnecessary modules from javacv to further reduce size 2024-06-24 23:41:57 -07:00
Alejandro García
5a2bc54be3
Bump version number for v1.9.17 2024-06-24 00:58:28 +00:00
Devin Bileck
8e9e665cf9
Reduce bundled javacv library size
With the introduction of the javacv library when re-adding the QR code
scanner feature for mobile notification pairing in #7050, the Bisq
binary increased to nearly 1 GB from its previous size of around 300 MB.

When including the javacv-platform dependency, it pulls in binaries
for all platforms. But it is possible to limit this by utilizing
the gradle-javacpp platform plugin which by default will pull in
binaries only for the current platform.

Reference: https://github.com/bytedeco/gradle-javacpp#the-platform-plugin

With this change, the included libs went from ~980 MB down to ~366 MB.
2024-06-24 00:58:22 +00:00
Alejandro García
707349f9df
Revert to SNAPSHOT version 2024-06-24 00:41:05 +00:00
Devin Bileck
5016ad8951
Reduce bundled javacv library size
With the introduction of the javacv library when re-adding the QR code
scanner feature for mobile notification pairing in #7050, the Bisq
binary increased to nearly 1 GB from its previous size of around 300 MB.

When including the javacv-platform dependency, it pulls in binaries
for all platforms. But it is possible to limit this by utilizing
the gradle-javacpp platform plugin which by default will pull in
binaries only for the current platform.

Reference: https://github.com/bytedeco/gradle-javacpp#the-platform-plugin

With this change, the included libs went from ~980 MB down to ~366 MB.
2024-06-22 23:17:27 -07:00
HenrikJannsen
b0b54d3617
Add uid to Filter
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:06:43 +00:00
HenrikJannsen
f38b64b9ed
Add addedBtcNodes and addedSeedNodes fields to Filter.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:05:06 +00:00
HenrikJannsen
73a1281771
Add uid to Filter
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-08 17:07:08 +07:00
HenrikJannsen
01355fdc54
Add addedBtcNodes and addedSeedNodes fields to Filter.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 18:11:23 +07:00
HenrikJannsen
a5a852394b
Comment out failing test cases.
They fail when running from terminal but not when running in IDE

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-29 18:06:11 +02:00
HenrikJannsen
053884cad5
Fix tests
Don't use 20 BTC amount as we limit to 2 BTC
Remove 30 BTC amounts
2024-05-29 18:06:04 +02:00
HenrikJannsen
0dcd24105f
Refactor: Rename
Fix type
Add comment

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-29 18:05:48 +02:00
HenrikJannsen
f4d525cfd6
Add predicate to offer filter to check if offer amount exceeds trade limit.
Filter offers at OfferBookViewModel when the DaoState changes.
Check for offers amount exceeds trade limit at OpenOfferManager and add it to invalidOffers.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-29 18:05:14 +02:00
Alejandro García
ed91a17e56
Merge pull request #7123 from HenrikJannsen/dont-show-xmr-subaddress-recommendation-popup-if-no-xmr-accounts-available
Only show XMR subaddress recommendation if the user has a XMR account setup
2024-05-29 15:52:48 +00:00
Alejandro García
e9b1a689b6
Merge pull request #7122 from HenrikJannsen/remove-ARS-BlueMarke-warning-at-startup
Don't show ARS blue market price warning at startup
2024-05-29 15:51:02 +00:00
Alejandro García
2185bcba49
Merge pull request #7120 from HenrikJannsen/remove-survey-link-at-trade-feedback
Remove survey link and related text at trade complete feedback
2024-05-29 15:46:08 +00:00
HenrikJannsen
9defd482ef
Remove news badge from account
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 19:19:42 +07:00
HenrikJannsen
2c040ec7f5
Only show XMR subaddress recommendation if the user has a XMR account setup.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 19:02:37 +07:00
HenrikJannsen
a3acd4f7f1
Show popup warning about the ARS blue market price when saving the fiat payment account creation instead at startup.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 18:54:33 +07:00
HenrikJannsen
db3f05e121
Comment out failing test cases.
They fail when running from terminal but not when running in IDE

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 18:42:11 +07:00
HenrikJannsen
8c07c11668
Fix tests
Don't use 20 BTC amount as we limit to 2 BTC
Remove 30 BTC amounts
2024-05-26 18:30:08 +07:00
HenrikJannsen
3b7f72e3ef
Remove survey link and related text at trade complete feedback
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 18:24:22 +07:00
HenrikJannsen
58a531d6aa
Refactor: Rename
Fix type
Add comment

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 17:32:39 +07:00
HenrikJannsen
45a03db5cd
Add predicate to offer filter to check if offer amount exceeds trade limit.
Filter offers at OfferBookViewModel when the DaoState changes.
Check for offers amount exceeds trade limit at OpenOfferManager and add it to invalidOffers.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-26 16:02:11 +07:00