diff options
-rw-r--r-- | all.json | 2 | ||||
-rw-r--r-- | archives/nextcloud-talk.tar.gz | bin | 1491062 -> 1488462 bytes | |||
-rw-r--r-- | uncompressed/nextcloud-talk/index.js | 3 | ||||
-rw-r--r-- | uncompressed/nextcloud-talk/package.json | 5 | ||||
-rw-r--r-- | uncompressed/nextcloud-talk/service.css | 20 | ||||
-rw-r--r-- | uncompressed/nextcloud-talk/webview.js | 6 |
6 files changed, 28 insertions, 8 deletions
@@ -719,7 +719,7 @@ | |||
719 | "featured": false, | 719 | "featured": false, |
720 | "id": "nextcloud-talk", | 720 | "id": "nextcloud-talk", |
721 | "name": "Nextcloud Talk", | 721 | "name": "Nextcloud Talk", |
722 | "version": "1.0.1", | 722 | "version": "1.0.2", |
723 | "icons": { | 723 | "icons": { |
724 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextcloud-talk/icon.png", | 724 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextcloud-talk/icon.png", |
725 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextcloud-talk/icon.svg" | 725 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextcloud-talk/icon.svg" |
diff --git a/archives/nextcloud-talk.tar.gz b/archives/nextcloud-talk.tar.gz index 378d3f7..a5320ab 100644 --- a/archives/nextcloud-talk.tar.gz +++ b/archives/nextcloud-talk.tar.gz | |||
Binary files differ | |||
diff --git a/uncompressed/nextcloud-talk/index.js b/uncompressed/nextcloud-talk/index.js index 29cab0e..3fa8c04 100644 --- a/uncompressed/nextcloud-talk/index.js +++ b/uncompressed/nextcloud-talk/index.js | |||
@@ -4,5 +4,4 @@ module.exports = Franz => class Nextcloud extends Franz { | |||
4 | buildUrl(url) { | 4 | buildUrl(url) { |
5 | return `${url}/apps/spreed/`; | 5 | return `${url}/apps/spreed/`; |
6 | } | 6 | } |
7 | 7 | }; | |
8 | }; \ No newline at end of file | ||
diff --git a/uncompressed/nextcloud-talk/package.json b/uncompressed/nextcloud-talk/package.json index c79a0d8..dcb5508 100644 --- a/uncompressed/nextcloud-talk/package.json +++ b/uncompressed/nextcloud-talk/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "nextcloud-talk", | 2 | "id": "nextcloud-talk", |
3 | "name": "Nextcloud Talk", | 3 | "name": "Nextcloud Talk", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "description": "Nextcloud Talk", | 5 | "description": "Nextcloud Talk", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Stefan Malzner <stefan@adlk.io>", | 7 | "author": "Stefan Malzner <stefan@adlk.io>", |
@@ -9,6 +9,7 @@ | |||
9 | "config": { | 9 | "config": { |
10 | "hasNotificationSound": true, | 10 | "hasNotificationSound": true, |
11 | "hasIndirectMessages": true, | 11 | "hasIndirectMessages": true, |
12 | "hasCustomUrl": true | 12 | "hasCustomUrl": true, |
13 | "serviceURL": "https://{nextcloud}/apps/spreed/" | ||
13 | } | 14 | } |
14 | } | 15 | } |
diff --git a/uncompressed/nextcloud-talk/service.css b/uncompressed/nextcloud-talk/service.css index 30d1d18..82dde75 100644 --- a/uncompressed/nextcloud-talk/service.css +++ b/uncompressed/nextcloud-talk/service.css | |||
@@ -1,3 +1,21 @@ | |||
1 | /* Hide all app links in the top menu except for Talk */ | ||
1 | #appmenu li:not([data-id="spreed"]) { | 2 | #appmenu li:not([data-id="spreed"]) { |
2 | display: none; | 3 | display: none; |
3 | } \ No newline at end of file | 4 | } |
5 | |||
6 | /* Change cursor to the default pointer for top menu Nextcloud home, Talk and | ||
7 | settings links and disable them */ | ||
8 | #nextcloud, #appmenu li[data-id="spreed"] a, #settings { | ||
9 | cursor: default; | ||
10 | pointer-events: none; | ||
11 | } | ||
12 | |||
13 | /* Hide "More" link in the top menu */ | ||
14 | #more-apps { | ||
15 | display: none !important; | ||
16 | } | ||
17 | |||
18 | /* Hide contacts in the top menu */ | ||
19 | #contactsmenu { | ||
20 | display: none; | ||
21 | } | ||
diff --git a/uncompressed/nextcloud-talk/webview.js b/uncompressed/nextcloud-talk/webview.js index ae055f0..c180d4d 100644 --- a/uncompressed/nextcloud-talk/webview.js +++ b/uncompressed/nextcloud-talk/webview.js | |||
@@ -2,7 +2,9 @@ | |||
2 | 2 | ||
3 | var _path = _interopRequireDefault(require("path")); | 3 | var _path = _interopRequireDefault(require("path")); |
4 | 4 | ||
5 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 5 | function _interopRequireDefault(obj) { |
6 | return obj && obj.__esModule ? obj : { default: obj }; | ||
7 | } | ||
6 | 8 | ||
7 | module.exports = Franz => { | 9 | module.exports = Franz => { |
8 | const getMessages = function getMessages() { | 10 | const getMessages = function getMessages() { |
@@ -13,4 +15,4 @@ module.exports = Franz => { | |||
13 | 15 | ||
14 | Franz.loop(getMessages); | 16 | Franz.loop(getMessages); |
15 | Franz.injectCSS(_path.default.join(__dirname, 'service.css')); | 17 | Franz.injectCSS(_path.default.join(__dirname, 'service.css')); |
16 | }; \ No newline at end of file | 18 | }; |