From 2491ea3c11de71391cd333cfc375576232d64cba Mon Sep 17 00:00:00 2001 From: Bennett Date: Wed, 11 Dec 2019 11:35:39 +0100 Subject: Update packages --- all.json | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) (limited to 'all.json') diff --git a/all.json b/all.json index 44ec489..fb6b389 100644 --- a/all.json +++ b/all.json @@ -4,7 +4,7 @@ "featured": false, "id": "android-messages", "name": "Android Messages", - "version": "1.2.0", + "version": "1.3.0", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/android-messages/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/android-messages/icon.svg" @@ -37,7 +37,7 @@ "featured": false, "id": "franz-custom-website", "name": "Custom Website", - "version": "1.0.0", + "version": "1.0.1", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/franz-custom-website/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/franz-custom-website/icon.svg" @@ -224,7 +224,7 @@ "featured": false, "id": "hangoutschat", "name": "Hangouts Chat", - "version": "1.0.0", + "version": "1.1.1", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangoutschat/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangoutschat/icon.svg" @@ -499,7 +499,7 @@ "featured": false, "id": "skype", "name": "Skype", - "version": "1.1.1", + "version": "1.2.0", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/skype/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/skype/icon.svg" @@ -510,7 +510,7 @@ "featured": false, "id": "slack", "name": "Slack", - "version": "1.0.9", + "version": "1.0.12", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/slack/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/slack/icon.svg" @@ -653,9 +653,9 @@ "featured": false, "id": "twist", "name": "twist", - "version": "1.0.0", + "version": "1.0.1", "icons": { - "png": "https://cdn.franzinfra.com/recipes/dist/twist/src/icon.png", + "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/twist/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/twist/icon.svg" } }, @@ -834,5 +834,27 @@ "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/instagram/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/instagram/icon.svg" } + }, + { + "author": "Stefan Malzner ", + "featured": false, + "id": "nextcloud-talk", + "name": "Nextcloud Talk", + "version": "1.0.0", + "icons": { + "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextcloud-talk/icon.png", + "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextcloud-talk/icon.svg" + } + }, + { + "author": "Cliqgeek ", + "featured": false, + "id": "cliq", + "name": "Zoho Cliq", + "version": "1.0.0", + "icons": { + "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/cliq/icon.png", + "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/cliq/icon.svg" + } } ] -- cgit v1.2.3-54-g00ecf From 145e2684053971db48c2f0779504f32f141eea61 Mon Sep 17 00:00:00 2001 From: Bennett Date: Wed, 11 Dec 2019 12:00:24 +0100 Subject: Update ProtonMail recipe --- all.json | 2 +- proton-mail.tar.gz | Bin 2579 -> 27080 bytes uncompressed/proton-mail/icon.png | Bin 25062 -> 29418 bytes uncompressed/proton-mail/icon.svg | 12 +++++++----- uncompressed/proton-mail/index.js | 3 --- uncompressed/proton-mail/package.json | 2 +- uncompressed/proton-mail/webview.js | 11 ++++------- 7 files changed, 13 insertions(+), 17 deletions(-) (limited to 'all.json') diff --git a/all.json b/all.json index fb6b389..a34c075 100644 --- a/all.json +++ b/all.json @@ -411,7 +411,7 @@ "featured": false, "id": "proton-mail", "name": "proton-mail", - "version": "1.0.0", + "version": "1.1.0", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/proton-mail/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/proton-mail/icon.svg" diff --git a/proton-mail.tar.gz b/proton-mail.tar.gz index bbc50ac..9d445cf 100644 Binary files a/proton-mail.tar.gz and b/proton-mail.tar.gz differ diff --git a/uncompressed/proton-mail/icon.png b/uncompressed/proton-mail/icon.png index a171209..8a6bc85 100644 Binary files a/uncompressed/proton-mail/icon.png and b/uncompressed/proton-mail/icon.png differ diff --git a/uncompressed/proton-mail/icon.svg b/uncompressed/proton-mail/icon.svg index c71c72a..df35f12 100644 --- a/uncompressed/proton-mail/icon.svg +++ b/uncompressed/proton-mail/icon.svg @@ -1,7 +1,9 @@ - - - - - + + + + + + + diff --git a/uncompressed/proton-mail/index.js b/uncompressed/proton-mail/index.js index 84b5537..258da41 100644 --- a/uncompressed/proton-mail/index.js +++ b/uncompressed/proton-mail/index.js @@ -1,4 +1 @@ -"use strict"; - module.exports = Franz => Franz; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb3Rvbi1tYWlsL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoicHJvdG9uLW1haWwvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file diff --git a/uncompressed/proton-mail/package.json b/uncompressed/proton-mail/package.json index bf82335..9046079 100644 --- a/uncompressed/proton-mail/package.json +++ b/uncompressed/proton-mail/package.json @@ -1,7 +1,7 @@ { "id": "proton-mail", "name": "proton-mail", - "version": "1.0.0", + "version": "1.1.0", "description": "proton-mail", "main": "index.js", "author": "Lukas Reineke ", diff --git a/uncompressed/proton-mail/webview.js b/uncompressed/proton-mail/webview.js index 90ca648..8d85afd 100644 --- a/uncompressed/proton-mail/webview.js +++ b/uncompressed/proton-mail/webview.js @@ -1,10 +1,7 @@ -'use strict'; - module.exports = Franz => { function getMessages() { - const count = document.querySelector('.navigationItem-counter').innerText; - Franz.setBadge(count ? count.substring(1, count.length - 1) : 0); + const count = document.querySelector('.navigationItem-counter').innerText + Franz.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0) } - Franz.loop(getMessages); -}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb3Rvbi1tYWlsL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJjb3VudCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvciIsImlubmVyVGV4dCIsInNldEJhZGdlIiwic3Vic3RyaW5nIiwibGVuZ3RoIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBUztBQUN0QixhQUFTQyxXQUFULEdBQXVCO0FBQ25CLGNBQU1DLFFBQVFDLFNBQVNDLGFBQVQsQ0FBdUIseUJBQXZCLEVBQWtEQyxTQUFoRTtBQUNBTCxjQUFNTSxRQUFOLENBQWVKLFFBQVFBLE1BQU1LLFNBQU4sQ0FBZ0IsQ0FBaEIsRUFBbUJMLE1BQU1NLE1BQU4sR0FBZSxDQUFsQyxDQUFSLEdBQStDLENBQTlEO0FBQ0g7QUFDRFIsVUFBTVMsSUFBTixDQUFXUixXQUFYO0FBQ0gsQ0FORCIsImZpbGUiOiJwcm90b24tbWFpbC93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiB7XG4gICAgZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgICAgIGNvbnN0IGNvdW50ID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcignLm5hdmlnYXRpb25JdGVtLWNvdW50ZXInKS5pbm5lclRleHRcbiAgICAgICAgRnJhbnouc2V0QmFkZ2UoY291bnQgPyBjb3VudC5zdWJzdHJpbmcoMSwgY291bnQubGVuZ3RoIC0gMSkgOiAwKVxuICAgIH1cbiAgICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKVxufVxuIl19 \ No newline at end of file + Franz.loop(getMessages) +} -- cgit v1.2.3-54-g00ecf From 3c374271bff116415bbc680739e597d0c05e529a Mon Sep 17 00:00:00 2001 From: Bennett Date: Wed, 11 Dec 2019 19:52:52 +0100 Subject: Add Zimbra recipe --- all.json | 11 +++++++++++ uncompressed/zimbra/README.md | 5 +++++ uncompressed/zimbra/icon.png | Bin 0 -> 169676 bytes uncompressed/zimbra/icon.svg | 9 +++++++++ uncompressed/zimbra/index.js | 7 +++++++ uncompressed/zimbra/package.json | 14 ++++++++++++++ uncompressed/zimbra/webview.js | 18 ++++++++++++++++++ zimbra.tar.gz | Bin 0 -> 339094 bytes 8 files changed, 64 insertions(+) create mode 100644 uncompressed/zimbra/README.md create mode 100644 uncompressed/zimbra/icon.png create mode 100644 uncompressed/zimbra/icon.svg create mode 100644 uncompressed/zimbra/index.js create mode 100644 uncompressed/zimbra/package.json create mode 100644 uncompressed/zimbra/webview.js create mode 100644 zimbra.tar.gz (limited to 'all.json') diff --git a/all.json b/all.json index a34c075..28947ec 100644 --- a/all.json +++ b/all.json @@ -856,5 +856,16 @@ "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/cliq/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/cliq/icon.svg" } + }, + { + "author": "Ferdi Team ", + "featured": false, + "id": "zimbra", + "name": "Zimbra", + "version": "1.0.0", + "icons": { + "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/zimbra/icon.png", + "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/zimbra/icon.svg" + } } ] diff --git a/uncompressed/zimbra/README.md b/uncompressed/zimbra/README.md new file mode 100644 index 0000000..fb6e2c3 --- /dev/null +++ b/uncompressed/zimbra/README.md @@ -0,0 +1,5 @@ +# Zimbra for Ferdi +This is the official Ferdi recipe for Zimbra + +### How to create your own Ferdi recipes: +* [Read the documentation](https://github.com/meetfranz/plugins) diff --git a/uncompressed/zimbra/icon.png b/uncompressed/zimbra/icon.png new file mode 100644 index 0000000..4e07ec0 Binary files /dev/null and b/uncompressed/zimbra/icon.png differ diff --git a/uncompressed/zimbra/icon.svg b/uncompressed/zimbra/icon.svg new file mode 100644 index 0000000..8882545 --- /dev/null +++ b/uncompressed/zimbra/icon.svg @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/uncompressed/zimbra/index.js b/uncompressed/zimbra/index.js new file mode 100644 index 0000000..729a4bb --- /dev/null +++ b/uncompressed/zimbra/index.js @@ -0,0 +1,7 @@ +"use strict"; + +module.exports = Franz => class Zimbra extends Franz { + async validateUrl(url) { + return true; + } +}; \ No newline at end of file diff --git a/uncompressed/zimbra/package.json b/uncompressed/zimbra/package.json new file mode 100644 index 0000000..c3633e8 --- /dev/null +++ b/uncompressed/zimbra/package.json @@ -0,0 +1,14 @@ +{ + "id": "zimbra", + "name": "Zimbra", + "version": "1.0.0", + "description": "Zimbra", + "main": "index.js", + "author": "Ferdi Team ", + "license": "MIT", + "config": { + "hasNotificationSound": true, + "hasIndirectMessages": true, + "hasCustomUrl": true + } +} diff --git a/uncompressed/zimbra/webview.js b/uncompressed/zimbra/webview.js new file mode 100644 index 0000000..aaaa952 --- /dev/null +++ b/uncompressed/zimbra/webview.js @@ -0,0 +1,18 @@ +"use strict"; + +module.exports = Franz => { + const getMessages = function getMessages() { + const { title } = document; + const regex = /\d+/; + + if (regex.test(title)) { + Franz.setBadge( + Number(regex.exec(title)[0]) + ); + } else { + Franz.setBadge(0); + } + }; + + Franz.loop(getMessages); +}; \ No newline at end of file diff --git a/zimbra.tar.gz b/zimbra.tar.gz new file mode 100644 index 0000000..50bb9e1 Binary files /dev/null and b/zimbra.tar.gz differ -- cgit v1.2.3-54-g00ecf