Skip to content

Commit 3acceb0

Browse files
authored
Merge pull request #1635 from akrherz/452
Denote Openfire 4.5.2 Release
2 parents ba6c5c1 + d686757 commit 3acceb0

File tree

12 files changed

+108
-28
lines changed

12 files changed

+108
-28
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ before_script:
1818
- gem install travis
1919
script:
2020
- mvn verify -P ci
21-
- TERM="dumb" ./runIntegrationTests -gl
21+
- JAVAC_MAJOR_VERSION=$(javac -version | sed -E 's/javac ([[:digit:]]+).*/\1/')
22+
- if [[ ${JAVAC_MAJOR_VERSION} -gt 8 ]]; then ./runIntegrationTests -gl || true ; fi
2223
install: true
2324
deploy:
2425
provider: script

distribution/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>parent</artifactId>
77
<groupId>org.igniterealtime.openfire</groupId>
8-
<version>4.5.2-SNAPSHOT</version>
8+
<version>4.5.2</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

i18n/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>parent</artifactId>
66
<groupId>org.igniterealtime.openfire</groupId>
7-
<version>4.5.2-SNAPSHOT</version>
7+
<version>4.5.2</version>
88
</parent>
99
<artifactId>i18n</artifactId>
1010
<name>Internationalization files for Openfire</name>

plugins/openfire-plugin-assembly-descriptor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>plugins</artifactId>
66
<groupId>org.igniterealtime.openfire</groupId>
7-
<version>4.5.2-SNAPSHOT</version>
7+
<version>4.5.2</version>
88
</parent>
99
<groupId>org.igniterealtime.openfire.plugins</groupId>
1010
<artifactId>openfire-plugin-assembly-descriptor</artifactId>

plugins/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.igniterealtime.openfire</groupId>
5-
<version>4.5.2-SNAPSHOT</version>
5+
<version>4.5.2</version>
66
<artifactId>plugins</artifactId>
77
<packaging>pom</packaging>
88
<name>Openfire Plugins</name>
@@ -120,7 +120,7 @@
120120
<plugin.name>${project.artifactId}</plugin.name>
121121

122122
<!-- Versions -->
123-
<openfire.version>4.5.2-SNAPSHOT</openfire.version>
123+
<openfire.version>4.5.2</openfire.version>
124124
<!-- Note; the following jetty.version should be identical to the jetty.version in xmppserver/pom.xml -->
125125
<jetty.version>9.4.18.v20190429</jetty.version>
126126
</properties>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>org.igniterealtime.openfire</groupId>
66
<artifactId>parent</artifactId>
7-
<version>4.5.2-SNAPSHOT</version>
7+
<version>4.5.2</version>
88
<name>Parent</name>
99
<packaging>pom</packaging>
1010

runIntegrationTests

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
SMACK_VERSION="4.4.0-alpha2" # master 22 Nov 2019
5-
GRADLE_VERSION="6.0.1"
4+
SMACK_VERSION="4.4.0-alpha3-20200513.010448-11"
5+
GRADLE_VERSION="6.3"
66
FORCE_CUSTOM_GRADLE=false
77
CURL_ARGS="--location --silent"
88
DEBUG=false
@@ -14,12 +14,12 @@ ADMINPASS='admin'
1414

1515
usage()
1616
{
17-
echo "Usage: $0 [-d] [-l] [-g] [-i IPADDRESS] [-s GITREF] [-h HOST] [-u USERNAME] [-p PASSWORD]"
17+
echo "Usage: $0 [-d] [-l] [-g] [-i IPADDRESS] [-s SMACK_VERSION] [-h HOST] [-u USERNAME] [-p PASSWORD]"
1818
echo " -d: Enable debug mode. Prints commands, and preserves temp directories if used (default: off)"
1919
echo " -l: Launch a local Openfire. (default: off)"
2020
echo " -i: Set a hosts file for the given IP and host (or for example.com if running locally). Reverted at exit."
2121
echo " -g: Download and use a known-good Gradle, rather than use the system in-built (default: off)"
22-
echo " -s: Set Smack to the given version (default: 4.4.0-alpha2)"
22+
echo " -s: Set Smack to the given version (default: ${SMACK_VERSION})"
2323
echo " -h: The hostname for the Openfire under test (default: example.org)"
2424
echo " -u: Admin username for Openfire (default: admin)"
2525
echo " -p: Admin password for Openfire (default: admin)"
@@ -155,8 +155,6 @@ function runTestsInGradle {
155155
echo "Starting Integration Tests (using Smack ${SMACK_VERSION})…"
156156

157157
DISABLED_INTEGRATION_TESTS=()
158-
#Fails only in Java8, only on Travis
159-
DISABLED_INTEGRATION_TESTS+=(MoodIntegrationTest)
160158
#DISABLED_INTEGRATION_TESTS+=(MultiUserChatIntegrationTest)
161159
DISABLED_INTEGRATION_TESTS+=(StreamManagementTest)
162160
#DISABLED_INTEGRATION_TESTS+=(MultiUserChatLowLevelIntegrationTest)
@@ -171,6 +169,9 @@ function runTestsInGradle {
171169
#OX tests use a removed dependency, and so don't compile on 4.4.0a2
172170
DISABLED_INTEGRATION_TESTS+=(OXInstantMessagingIntegrationTest)
173171
DISABLED_INTEGRATION_TESTS+=(OXSecretKeyBackupIntegrationTest)
172+
DISABLED_INTEGRATION_TESTS+=(WaitForClosingStreamElementTest)
173+
DISABLED_INTEGRATION_TESTS+=(IoTControlIntegrationTest)
174+
DISABLED_INTEGRATION_TESTS+=(ModularXmppClientToServerConnectionLowLevelIntegrationTest)
174175

175176
SINTTEST_DISABLED_TESTS_ARGUMENT="-Dsinttest.disabledTests="
176177
for disabledTest in "${DISABLED_INTEGRATION_TESTS[@]}"; do
@@ -180,14 +181,22 @@ function runTestsInGradle {
180181
SINTTEST_DISABLED_TESTS_ARGUMENT="${SINTTEST_DISABLED_TESTS_ARGUMENT:0:$((${#SINTTEST_DISABLED_TESTS_ARGUMENT}-1))}"
181182

182183
#SINTTEST_DISABLED_TESTS_ARGUMENT="-Dsinttest.enabledTests=EntityCapsTest"
183-
$GRADLE --stacktrace run \
184+
$GRADLE --console=plain \
185+
--build-file test.gradle \
186+
-PsmackVersion="${SMACK_VERSION}" \
187+
-q dependencies
188+
$GRADLE --console=plain \
189+
--stacktrace \
190+
run \
184191
-b test.gradle \
185192
-PsmackVersion="${SMACK_VERSION}" \
186193
-Dsinttest.service="${HOST}" \
187194
-Dsinttest.securityMode=disabled \
188195
-Dsinttest.replyTimeout=60000 \
189196
-Dsinttest.adminAccountUsername="${ADMINUSER}" \
190197
-Dsinttest.adminAccountPassword="${ADMINPASS}" \
198+
-Dsinttest.enabledConnections=tcp \
199+
-Dsinttest.dnsResolver=javax \
191200
${SINTTEST_DISABLED_TESTS_ARGUMENT}
192201
}
193202

@@ -201,4 +210,4 @@ fi
201210
if [[ $LOCAL_RUN == true ]]; then
202211
launchOpenfire
203212
fi
204-
runTestsInGradle
213+
runTestsInGradle

starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>parent</artifactId>
66
<groupId>org.igniterealtime.openfire</groupId>
7-
<version>4.5.2-SNAPSHOT</version>
7+
<version>4.5.2</version>
88
</parent>
99
<artifactId>starter</artifactId>
1010
<name>Starter for Openfire</name>

test.gradle

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,37 @@ applicationDefaultJvmArgs = ["-enableassertions"]
55

66
repositories {
77
mavenCentral()
8-
maven {
9-
url 'https://oss.sonatype.org/content/repositories/snapshots'
10-
}
8+
maven {
9+
url 'https://oss.sonatype.org/content/repositories/snapshots'
10+
}
11+
maven {
12+
url 'https://www.igniterealtime.org/archiva/repository/maven/'
13+
}
1114
}
1215

1316
dependencies {
14-
compile group: 'org.igniterealtime.smack', name: 'smack-java7', version: smackVersion
15-
compile group: 'org.igniterealtime.smack', name: 'smack-legacy', version: smackVersion
16-
if (smackVersion.matches("(5|4.[45]).*")) {
17-
compile group: 'org.igniterealtime.smack', name: 'smack-xmlparser-xpp3', version: smackVersion
18-
compile group: 'org.igniterealtime.smack', name: 'smack-xmlparser-stax', version: smackVersion
19-
}
2017
compile group: 'org.igniterealtime.smack', name: 'smack-integration-test', version: smackVersion
18+
19+
// Workaround for https://discuss.gradle.org/t/unique-snapshot-dependencies-for-projects-own-subproject-in-pom-not-declared/35692?u=flow
20+
// see https://discuss.gradle.org/t/how-to-force-a-dependency-version-while-also-substituting-a-transitive-dependency/26759/4?u=flow
21+
components.all {
22+
allVariants {
23+
withDependencies { deps ->
24+
deps.each { dep ->
25+
if (dep.group == 'org.igniterealtime.smack') {
26+
dep.version {
27+
strictly smackVersion
28+
}
29+
}
30+
}
31+
}
32+
}
33+
}
2134
}
2235

36+
println "Sinttest with ${smackVersion}"
37+
2338
run {
2439
// Pass all system properties down to the "application" run
2540
systemProperties System.getProperties()
26-
}
41+
}

xmppserver/changelog.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,61 @@ <h1>Openfire Changelog</h1>
163163
<div id="pageBody">
164164

165165

166+
<h2>4.5.2 -- <span style="font-weight: normal;">May 18, 2020</span></h2>
167+
<h2> Bug
168+
</h2>
169+
<ul>
170+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-963'>OF-963</a>] - WebSocket keep-alive is not working as expected
171+
</li>
172+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1963'>OF-1963</a>] - Cross Site Scripting (XSS) issues - CSW Document No: C1055
173+
</li>
174+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1964'>OF-1964</a>] - SystemProperty should load classes with Thread.getContextClassloader as fallback
175+
</li>
176+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1970'>OF-1970</a>] - Undeliverable messages routed to unavailable full jid should be routed to other resources with prio 0 (not 1) or higher.
177+
</li>
178+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1977'>OF-1977</a>] - Pubsub notifications should be sent to subscribers of parent nodes
179+
</li>
180+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1999'>OF-1999</a>] - Prevent potential arithmetic overflow
181+
</li>
182+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-2013'>OF-2013</a>] - Fix detection of &#39;detached&#39; state of a connection
183+
</li>
184+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-2014'>OF-2014</a>] - Reset ConnectionListener callback object on re-init
185+
</li>
186+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-2015'>OF-2015</a>] - Remove the session that was used for resumption immediately
187+
</li>
188+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-2017'>OF-2017</a>] - Update Jetty to 9.4.28.v20200408
189+
</li>
190+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-2026'>OF-2026</a>] - Stable and Unique Stanza Identifier need not be UUID
191+
</li>
192+
</ul>
193+
194+
<h2> New Feature
195+
</h2>
196+
<ul>
197+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-158'>OF-158</a>] - Set through the admin console the MUC room configuration form&#39;s default values
198+
</li>
199+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1966'>OF-1966</a>] - Add Japanese translation
200+
</li>
201+
</ul>
202+
203+
<h2> Improvement
204+
</h2>
205+
<ul>
206+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1969'>OF-1969</a>] - Log username when auth fails
207+
</li>
208+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1974'>OF-1974</a>] - Openfire should not disclose Jetty version within HTTP header for websocket connections
209+
</li>
210+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1976'>OF-1976</a>] - Allow any number of maximum MUC occupants to be configured.
211+
</li>
212+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1979'>OF-1979</a>] - Guard against invalid SASL responses
213+
</li>
214+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1997'>OF-1997</a>] - Bump Bouncy Castle version to v1.65
215+
</li>
216+
<li>[<a href='https://issues.igniterealtime.org/browse/OF-2019'>OF-2019</a>] - Allow Archiver to start polling only after work is produced.
217+
</li>
218+
</ul>
219+
220+
166221
<h2>4.5.1 -- <span style="font-weight: normal;">January 31, 2020</span></h2>
167222
<h2> Bug
168223
</h2>

0 commit comments

Comments
 (0)