Commit Graph

3821 Commits

Author SHA1 Message Date
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
HenrikJannsen
0020f198cf
Do not navigate to open offers after user has clicked dont show again.
Another option would be to store the selection the user has made, but the automatic navigation is kind of confusing and ppl forget that they might have previously selected to prefer to go to open offers. The intent of the popup is that users learn where they can find their created offer which is achieved if the user navigates once there.
2024-05-26 10:51:39 +07:00
Alejandro García
e0b6a2cbb4
Bump version number for v1.9.16 2024-05-24 17:40:00 +02:00
HenrikJannsen
3a09024b10
Disable ImageCaptureReaderTest
If tests are run via gradle I get an error:
`Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: Can't load library: /Users/dev/.openjfx/cache/16/libprism_es2.dylib`
If run from the IDE it works.
CI on windows also fails, other OS work.
Seems that there are some platfomr specific dependency issues...

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-21 11:42:08 +07:00
Gabriel Bernard
db04961300
Merge pull request #7101 from bisq-network/release/v1.9.15
Release/v1.9.15
2024-05-12 17:17:41 +00:00
Alejandro García
0d5af748ad
Merge pull request #7095 from HenrikJannsen/fix-GuiceSetupTest
Fix GuiceSetupTest
2024-05-09 18:59:27 +00:00
Alejandro García
0b85e0615d
Merge pull request #7092 from stejbac/speed-up-vote-result-view-load
Speed up Vote Result display, cycle list item selection & JSON export
2024-05-09 18:57:53 +00:00
Alejandro García
0a5a0f316d
Merge pull request #7090 from HenrikJannsen/Improve-export-account-reputation-process-for-Bisq-2
Improve export account reputation process for bisq 2
2024-05-09 18:56:48 +00:00
Alejandro García
09ae097dc9
Merge pull request #7089 from stejbac/add-missing-space-to-log-pattern
Tidy logback files & add space back to log pattern
2024-05-09 18:55:53 +00:00