Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
version 0.9.5 Rel 3 final
Browse files Browse the repository at this point in the history
  • Loading branch information
deleolajide committed May 24, 2019
1 parent 8e52be0 commit 125d6e5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ <h1>
Chat API Plugin Changelog
</h1>

<p><b>0.9.5 Release 3</b> -- May 24, 2019</p>
<ul>
<li><a href="https://github.com/igniterealtime/Openfire-Chat/issues/10">Fixed #10: Package Pàdé as a progressive web app</a></li>
</ul>

<p><b>0.9.5 Release 2</b> -- Appril 25, 2019</p>
<ul>
<li>Added support for inband-registration</li>
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<description>RESTful API with Server Sent Events (SSE) for Openfire Meetings</description>
<author>Ignite Realtime</author>
<version>0.9.5 Release 3</version>
<date>05/31/2019</date>
<date>05/24/2019</date>
<minServerVersion>4.1.5</minServerVersion>
<minJavaVersion>1.8</minJavaVersion>
<adminconsole>
Expand Down
3 changes: 2 additions & 1 deletion src/apps/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ window.addEventListener("load", function()
console.log("Notification.requestPermission", result);
});

document.getElementById("inverse").src="inverse/index.html" + location.hash
document.getElementById("inverse").src="inverse/index.html" + location.hash;
document.title = chrome.i18n.getMessage('manifest_shortExtensionName') + " - " + chrome.runtime.getManifest().version;
});

function getCredentials(callback)
Expand Down
3 changes: 2 additions & 1 deletion src/apps/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"short_name": "pade.chat",
"name": "pade.chat",
"description": "Unified Communications web client",
"icons": [
{
"src": "images/image_192.png",
Expand All @@ -13,7 +14,7 @@
"type": "image/png"
}
],
"start_url": "https://pade.chat/apps",
"start_url": "./",
"background_color": "#FFFFFF",
"theme_color": "#FFFFFF",
"display": "standalone",
Expand Down
4 changes: 2 additions & 2 deletions src/apps/serviceworker.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ self.addEventListener('activate', function (event) {


// fetch trigger - serve from cache or fetch from server, cache the file if not previously cached
// fix Request method 'PUT' is unsupported error in line 26

self.addEventListener('fetch', function(event) {
event.respondWith(
if (event.request.method == "GET") event.respondWith(
fetch(event.request).then(function(response) {
return caches.open('offline').then(function(cache) {
try {
Expand Down

0 comments on commit 125d6e5

Please sign in to comment.