Commit Graph

562 Commits

Author SHA1 Message Date
Alejandro García
28c4da3212
Merge pull request #6430 from HenrikJannsen/remove-unused-modules
Remove unused modules
2022-11-29 14:45:37 +02:00
HenrikJannsen
0e4255c61b
Update verification-metadata.xml
Remove classpath to springframework

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-25 12:37:02 -05:00
HenrikJannsen
f55ab5e565
Remove monitor module
It has been extracted to https://github.com/bisq-network/bisq-monitor

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-24 16:30:34 -05:00
HenrikJannsen
4ad1f4d246
Remove pricenode module
It has been extracted to https://github.com/bisq-network/bisq-pricenode

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-24 16:26:31 -05:00
jmacxx
797bfe5cd5
Store the build's commit hash in Jarfile manifest. 2022-10-29 22:12:31 -05:00
Christoph Atteneder
40410daef4
Update tor-browser to v11.5.2 / tor-binary to v0.4.7.10 2022-10-04 12:10:51 +02:00
ghubstan
b9918f6649
Remove subproject :relay 2022-09-28 12:52:23 -03:00
Christoph Atteneder
aefb342691
Not use git lfs anymore 2022-09-15 09:21:37 +02:00
ghubstan
b758bd8b41
Remove build's project(':daonode') configuration + deps 2022-08-08 11:23:55 -03:00
ghubstan
8705f9937b
Remove subproject inventory
This has been moved into its own repo:
    https://github.com/bisq-network/bisq-inventory
2022-08-04 12:31:59 -03:00
ghubstan
d139d85ddd
Set desktop version property in resources file
Several repos are to be extracted from the main bisq repo, and their
distribution versions need to match the bisq desktop's version.

This change moves the desktop version property definition to a file
that can be read from Gradle builds having the bisq git submodule dependency,
i.e., version = file("bisq/desktop/src/main/resources/version.txt").text.trim()

Based on `master`.
2022-07-19 14:28:08 -03:00
Christoph Atteneder
da8cbabe3e
Revert to SNAPSHOT version 2022-07-08 21:30:04 +02:00
Christoph Atteneder
1b2bddf1e7
Use tag instead of commit hash for netlayer 2022-07-05 10:46:43 +02:00
Christoph Atteneder
f615e66a31
Update tor-browser to v11.0.15 / tor-binary to v0.4.7.8 2022-07-04 15:27:50 +02:00
Christoph Atteneder
efe306aae6
Bump version number for v1.9.4 2022-07-04 09:52:27 +02:00
Christoph Atteneder
791ad62a51
Bump version number for v1.9.3 2022-06-23 09:39:04 +02:00
Christoph Atteneder
56d8842092
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.9.2
Conflicts:
	build.gradle
	desktop/package/linux/Dockerfile
	desktop/package/macosx/finalize.sh
	desktop/package/macosx/insert_snapshot_version.sh
	relay/src/main/resources/version.txt
2022-06-23 09:03:33 +02:00
Christoph Atteneder
a2d84b0174
Revert to SNAPSHOT version 2022-06-22 21:20:18 +02:00
Christoph Atteneder
043f1e4c70
Bump version number for v1.9.2 2022-06-21 20:39:23 +02:00
chimp1984
97cbc21d61
Add netlayer 0.7.3
Conflicts:
	gradle/verification-metadata.xml
2022-06-21 20:36:36 +02:00
chimp1984
03efe23449
Add netlayer 0.7.3 2022-06-20 23:05:42 +02:00
chimp1984
44ae4017d1
Use Bisq2 rest infrastructure with swagger support 2022-06-14 12:53:06 +02:00
jmacxx
1c9aff0f21
Upgrade XChange 5.0.13, remove BitBay CoinPaprika add CoinbasePro. 2022-05-30 21:42:32 -05:00
Christoph Atteneder
1a5dad0e0b
Merge pull request #6190 from ghubstan/restful-dao-node-example
2nd attempt at a tiny daonode rest service with 1 endpoint
2022-05-18 09:41:36 +02:00
ghubstan
c70810edd7
2nd attempt at a tiny daonode rest service
Based on chimp1984's https://github.com/bisq-network/bisq/pull/6184
2022-05-07 18:37:42 -03:00
Christoph Atteneder
dac6355c91
Revert to SNAPSHOT version 2022-05-03 10:06:10 +02:00
Christoph Atteneder
0e4d25f007
Bump version number for v1.9.1 2022-05-02 09:50:46 +02:00
Christoph Atteneder
ac263432cf
Revert to SNAPSHOT version 2022-04-29 10:26:57 +02:00
Christoph Atteneder
dd6c8d1c30
Bump version number for v1.9.0 2022-04-22 11:36:43 +02:00
Christoph Atteneder
80995a6212
Revert to SNAPSHOT version 2022-03-09 14:29:16 +01:00
Christoph Atteneder
8136f0a6ca
Bump version number for v1.8.4 2022-03-07 16:42:10 +01:00
Christoph Atteneder
24bd47508b
Revert to SNAPSHOT version 2022-03-03 11:32:48 +01:00
Christoph Atteneder
602101c117
Bump version number for v1.8.3 2022-02-17 10:49:55 +01:00
Christoph Atteneder
0fd1964d34
Revert to SNAPSHOT version 2022-01-24 11:43:21 +01:00
Christoph Atteneder
c4fa58db78
Bump version number for v1.8.2 2022-01-24 09:40:46 +01:00
Christoph Atteneder
9d39f16d35
Bump version number for v1.8.1 2022-01-12 10:41:29 +01:00
Chris Beams
07a139c927
Upgrade log4j 2.15.0 => 2.17.0
This change upgrades log4j to patch fixes for recently documented
CVE-2021-45046 CVE-2021-45105 vulnerabilities related to the Log4Shell
exploit.

Like the earlier fix, Bisq does not appear to be vulnerable to these
exploits because it does not use log4j directly, only transitively
depends on it. Nevertheless, the upgrade is still the safe bet.
2021-12-20 07:34:04 +01:00
Christoph Atteneder
a7c38630e8
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.8.0
Conflicts:
	core/src/main/resources/i18n/displayStrings_pl.properties
2021-12-13 11:51:16 +01:00
Christoph Atteneder
3f380226fd
Revert to SNAPSHOT version 2021-12-13 11:47:14 +01:00
Chris Beams
5f0f9e8d7a
Avoid Log4J "Log4Shell" exploit
This commit upgrades our transitive dependency on Log4J 2 from 2.14.1 to
the newly-released 2.15.0 to avoid the CVE described at
https://www.lunasec.io/docs/blog/log4j-zero-day/.

We do not use log4j directly anywhere in our codebase, so our exposure
to this exploit was already mitigated if not eliminated, but Spring Boot
depends on Log4J 2 internally. This commit upgrades Spring Boot's
underlying dependency on Log4J to 2.15.0 in the manner recommended at
https://github.com/spring-projects/spring-boot/issues/28958.
2021-12-10 11:04:33 +01:00
Chris Beams
bb4ceaa238
Use Spring dependency-management plugin in pricenode
This is in preparation for addressing log4j 2 zero day exploit described
at https://www.lunasec.io/docs/blog/log4j-zero-day/. See full details
in the next commit.

Bringing in the dependency-management plugin results in many changes to
our Gradle verification metadata file, but all are BOM / POM / Module
manifests. No additional jar or code dependencies have been whitelisted
with this change.
2021-12-10 11:04:32 +01:00
Chris Beams
55becc59c0
Avoid Log4J "Log4Shell" exploit
This commit upgrades our transitive dependency on Log4J 2 from 2.14.1 to
the newly-released 2.15.0 to avoid the CVE described at
https://www.lunasec.io/docs/blog/log4j-zero-day/.

We do not use log4j directly anywhere in our codebase, so our exposure
to this exploit was already mitigated if not eliminated, but Spring Boot
depends on Log4J 2 internally. This commit upgrades Spring Boot's
underlying dependency on Log4J to 2.15.0 in the manner recommended at
https://github.com/spring-projects/spring-boot/issues/28958.
2021-12-10 10:40:36 +01:00
Chris Beams
31c6e16e63
Use Spring dependency-management plugin in pricenode
This is in preparation for addressing log4j 2 zero day exploit described
at https://www.lunasec.io/docs/blog/log4j-zero-day/. See full details
in the next commit.

Bringing in the dependency-management plugin results in many changes to
our Gradle verification metadata file, but all are BOM / POM / Module
manifests. No additional jar or code dependencies have been whitelisted
with this change.
2021-12-10 10:34:09 +01:00
ghubstan
37a6b42f74
Set gradle java src & target compat = VERSION_11
This change sets java source and class generation version targets to 11.
The Bisq distribution is built with JDK 11, but source target has remained at 1.10.
Upgrading allows devs to use some Java syntax features available @since 11, and it
might help anyone building the src avoid confusion over which JDK they should use
(minimum is JDK 11).

See https://docs.gradle.org/current/userguide/java_plugin.html#sec:java-extension
2021-11-23 17:43:12 -03:00
Chris Beams
3884e0c471
Fix guava dependency issue
Problem: a

    NoSuchMethodError: 'java.util.stream.Collector
    com.google.common.collect.ImmutableMultiset.toImmutableMultiset()'

exception was being thrown when testing the previously-merged upgrade to
Gradle 7.3, as described at keybase://chat/bisq#testing/2466.

Solution: This problem is similar to the issue reported at
jeremylong/DependencyCheck#3221. The source of the problem was multiple
conflicting guava jars on the runtime classpath. This commit upgrades to
guava 30.1.1-jre which ensures a single jar on the classpath.
2021-11-21 17:37:25 +01:00
Chris Beams
42b00b3a3e
Fix guava dependency issue
Problem: a

    NoSuchMethodError: 'java.util.stream.Collector
    com.google.common.collect.ImmutableMultiset.toImmutableMultiset()'

exception was being thrown when testing the previously-merged upgrade to
Gradle 7.3, as described at keybase://chat/bisq#testing/2466.

Solution: This problem is similar to the issue reported at
jeremylong/DependencyCheck#3221. The source of the problem was multiple
conflicting guava jars on the runtime classpath. This commit upgrades to
guava 30.1.1-jre which ensures a single jar on the classpath.
2021-11-21 17:06:10 +01:00
Christoph Atteneder
aacc1105e3
Bump version number for v1.8.0 2021-11-19 18:35:56 +01:00
Chris Beams
cb7b0e8da4
Set pricenode mainClassName explicitly
Problem: after the upgrade from 6.6.1 to 7.3, the usual invocation of,
e.g. `./bisq-pricenode 2 2` started failing as reported by @emzy at [1].

    bisq@ubuntu-4gb-fsn1-1:~$ /bisq/bisq/bisq-pricenode 2
    Error: Could not find or load main class 2
    Caused by: java.lang.ClassNotFoundException: 2

Solution: for unknown reasons, the bisq-pricenode script worked as
expected under 6.6.1, i.e. contained the fq main class name in its
scripted invocation of `java -jar ...`, but under 7.3, this main class
name was missing. Through trial and error, it turns out that setting
`mainClassName` explicitly in the :pricenode subproject configuration
solves this problem and makes the start script work as expected.
Presumably, this problem arose in conjunction with the major version
upgrade of the spring boot Gradle plugin that was necessary when
upgrading to Gradle 7.3, but this has not been verified.

[1]: https://github.com/bisq-network/bisq/pull/5824#issuecomment-968276686
2021-11-15 13:44:44 +01:00
Chris Beams
280c2aaa8e
Adapt Gradle startScript customization logic
Problem: ClassNotFoundError was getting thrown when attempting to run,
e.g. the `./bisq-desktop` or `./bisq-pricenode` start scripts.

Solution: Gradle's posix start scripts were changed significantly
between 6.6.1 and 7.3, including a change to the way the current
directory is determined. This change updates the way we customize start
script generation to allow running them from the root of the repo. This
change only affects the unix / posix variants. The Windows .bat files do
not need to be adapted similarly.
2021-11-15 13:03:49 +01:00
Chris Beams
1460914757
Organize dependency entries
As mentioned in a prior commit, the upgrade to Gradle 7.x results in
many more dependency declarations in the file, many of which are
effectively duplicates. This change does not attempt to eliminate those
duplications in any clever way, but rather just tidies up and organizes
all dependency declarations by sorting them alphabetically.
2021-11-13 14:45:14 +01:00