Skip to content

Commit 39083c2

Browse files
authored
Merge pull request #5 from guusdk/release-and-5.0.0-compat
Update, release and Openfire 5.0.0 compatibility
2 parents 767519f + a8decb4 commit 39083c2

File tree

11 files changed

+53
-31
lines changed

11 files changed

+53
-31
lines changed

changelog.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ <h1>
4343
Xmppweb Plugin Changelog
4444
</h1>
4545

46+
<p><b>0.10.3 Release 2</b> -- (to be determined)</p>
47+
<ul>
48+
<li>Requires Openfire 5.0.0 or later</li>
49+
<li>[<a href='https://github.com/igniterealtime/openfire-xmppweb-plugin/issues/3'>Issue #3</a>] - Openfire 5.0.0 compatibility</li>
50+
</ul>
51+
52+
<p><b>0.10.3 Release 1</b> -- November 20, 2024</p>
53+
<ul>
54+
<li>Marked as last version to be compatible with Openfire versions prior to 5.0.0.</li>
55+
<li>[<a href='https://github.com/igniterealtime/openfire-xmppweb-plugin/issues/4'>Issue #4</a>] - Update to version 0.10.3 of the <a href="https://github.com/nioc/xmpp-web">XMPP Web project</a>.</li>
56+
</ul>
57+
4658
<p><b>0.10.2 Release 1</b> -- May 26, 2024</p>
4759
<ul>
4860
<li>Initial release based on version 0.10.2 of the <a href="https://github.com/nioc/xmpp-web">XMPP Web project</a>.</li>
Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/assets/index-375456c0.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/assets/index-f92e8bbe.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

classes/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<title>XMPP web</title>
1212
<meta name="description" content="Lightweight web chat client for XMPP server">
1313
<meta name="theme-color" content="#333333">
14-
<script type="module" crossorigin src="./assets/index-f92e8bbe.js"></script>
14+
<script type="module" crossorigin src="./assets/index-375456c0.js"></script>
1515
<link rel="stylesheet" href="./assets/index-b1d20143.css">
1616
<link rel="manifest" href="./manifest.webmanifest"></head>
1717
<body class="has-navbar-fixed-top" id="body">

classes/local.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// eslint-disable-next-line no-unused-vars, no-var
2+
var config = {
3+
name: 'XMPP web',
4+
transports: {
5+
websocket: 'wss://chat.domain-web.ltd/xmpp-websocket',
6+
},
7+
hasGuestAccess: true,
8+
hasRegisteredAccess: true,
9+
anonymousHost: null,
10+
// anonymousHost: 'anon.domain-xmpp.ltd',
11+
isTransportsUserAllowed: false,
12+
hasHttpAutoDiscovery: false,
13+
resource: 'Web XMPP',
14+
defaultDomain: 'domain-xmpp.ltd',
15+
defaultMuc: null,
16+
// defaultMuc: 'conference.domain-xmpp.ltd',
17+
isStylingDisabled: false,
18+
hasSendingEnterKey: false,
19+
connectTimeout: 5000,
20+
pinnedMucs: [],
21+
logoUrl: '',
22+
guestDescription: '',
23+
}

classes/sw.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/sw.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<description>${project.description}</description>
66
<author>Guus der Kinderen</author>
77
<version>${project.version}</version>
8-
<date>2024-05-26</date>
9-
<minServerVersion>4.8.0</minServerVersion>
8+
<date>2024-11-20</date>
9+
<minServerVersion>5.0.0</minServerVersion>
1010
<adminconsole>
1111
<tab id="tab-webclients" name="${admin.sidebar.webclients.name}" description="${admin.sidebar.webclients.description}" url="xmppweb-config.jsp">
1212
<sidebar id="tab-xmppweb" name="${admin.sidebar.webclients.item.xmppweb.name}" description="${admin.sidebar.webclients.item.xmppweb.description}">

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<artifactId>plugins</artifactId>
66
<groupId>org.igniterealtime.openfire</groupId>
7-
<version>4.8.0</version>
7+
<version>5.0.0-SNAPSHOT</version>
88
</parent>
99
<groupId>org.igniterealtime.openfire.plugins</groupId>
1010
<artifactId>xmppweb</artifactId>
11-
<version>0.10.2.2-SNAPSHOT</version>
11+
<version>0.10.3.2-SNAPSHOT</version>
1212
<name>xmppweb</name>
1313
<description>Adds the (third-party) xmpp-web client to Openfire.</description>
1414
<build>
@@ -19,8 +19,8 @@
1919
</plugin>
2020
<!-- Compiles the Openfire Admin Console JSP pages. -->
2121
<plugin>
22-
<groupId>org.eclipse.jetty</groupId>
23-
<artifactId>jetty-jspc-maven-plugin</artifactId>
22+
<groupId>org.eclipse.jetty.ee8</groupId>
23+
<artifactId>jetty-ee8-jspc-maven-plugin</artifactId>
2424
</plugin>
2525
</plugins>
2626
</build>

0 commit comments

Comments
 (0)