From 006950318f1228af10eeb0cdfb0861af6ecb1e75 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:36:05 +0000 Subject: Add several recipes (#519) The added recipes are as follows: - Mastodeck (fixes https://github.com/ferdium/ferdium-app/issues/959) - Microsoft Planner (fixes https://github.com/ferdium/ferdium-app/issues/955) - Alibaba Chat (fixes https://github.com/ferdium/ferdium-app/issues/1376) - Fiverr (step forward in https://github.com/ferdium/ferdium-app/issues/1377 - missing unread logic) - Draw.io (fixes https://github.com/ferdium/ferdium-app/issues/1429) - Canva (fixes https://github.com/ferdium/ferdium-app/issues/1447) - Penpot (fixes https://github.com/ferdium/ferdium-app/issues/1469) - HackerNews (fixes https://github.com/ferdium/ferdium-app/issues/1505) - Google Maps (fixes https://github.com/ferdium/ferdium-app/issues/1513) - Patreon (fixes https://github.com/ferdium/ferdium-app/issues/1524) - Fandom (fixes https://github.com/ferdium/ferdium-app/issues/1540) - Romeo (fixes https://github.com/ferdium/ferdium-app/issues/1553) - Infomaniak Kdrive (fixes https://github.com/ferdium/ferdium-app/issues/1559) - Notion Calendar (fixes https://github.com/ferdium/ferdium-app/issues/1599) - Superlist (fixes https://github.com/ferdium/ferdium-app/issues/1601) - Purelymail (fixes https://github.com/ferdium/ferdium-app/issues/1624) - SOGo (fixes https://github.com/ferdium/ferdium-app/issues/1472) --- recipes/fiverr/icon.svg | 15 +++++++++++++++ recipes/fiverr/index.js | 1 + recipes/fiverr/package.json | 10 ++++++++++ recipes/fiverr/webview.js | 16 ++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 recipes/fiverr/icon.svg create mode 100644 recipes/fiverr/index.js create mode 100644 recipes/fiverr/package.json create mode 100644 recipes/fiverr/webview.js (limited to 'recipes/fiverr') diff --git a/recipes/fiverr/icon.svg b/recipes/fiverr/icon.svg new file mode 100644 index 0000000..1e71430 --- /dev/null +++ b/recipes/fiverr/icon.svg @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/recipes/fiverr/index.js b/recipes/fiverr/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/fiverr/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/fiverr/package.json b/recipes/fiverr/package.json new file mode 100644 index 0000000..6f9f630 --- /dev/null +++ b/recipes/fiverr/package.json @@ -0,0 +1,10 @@ +{ + "id": "fiverr", + "name": "Fiverr", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://www.fiverr.com/inbox/", + "hasNotificationSound": true + } +} diff --git a/recipes/fiverr/webview.js b/recipes/fiverr/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/fiverr/webview.js @@ -0,0 +1,16 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +const _path = _interopRequireDefault(require('path')); + +module.exports = Ferdium => { + // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges + // const getMessages = () => { + // // TODO: Insert your notification-finding code here + // Ferdium.setBadge(0, 0); + // }; + // Ferdium.loop(getMessages); + + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-54-g00ecf