diff options
author | 2024-03-18 12:36:05 +0000 | |
---|---|---|
committer | 2024-03-18 12:36:05 +0000 | |
commit | 006950318f1228af10eeb0cdfb0861af6ecb1e75 (patch) | |
tree | d61c790d4a4b9f6f16620f645b2ba5dce248f79d /recipes/infomaniak-kdrive | |
parent | Google Voice darkmode update for add contact (#516) (diff) | |
download | ferdium-recipes-006950318f1228af10eeb0cdfb0861af6ecb1e75.tar.gz ferdium-recipes-006950318f1228af10eeb0cdfb0861af6ecb1e75.tar.zst ferdium-recipes-006950318f1228af10eeb0cdfb0861af6ecb1e75.zip |
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)
Diffstat (limited to 'recipes/infomaniak-kdrive')
-rw-r--r-- | recipes/infomaniak-kdrive/icon.svg | 34 | ||||
-rw-r--r-- | recipes/infomaniak-kdrive/index.js | 1 | ||||
-rw-r--r-- | recipes/infomaniak-kdrive/package.json | 9 | ||||
-rw-r--r-- | recipes/infomaniak-kdrive/webview.js | 16 |
4 files changed, 60 insertions, 0 deletions
diff --git a/recipes/infomaniak-kdrive/icon.svg b/recipes/infomaniak-kdrive/icon.svg new file mode 100644 index 0000000..cad4c94 --- /dev/null +++ b/recipes/infomaniak-kdrive/icon.svg | |||
@@ -0,0 +1,34 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Generator: Adobe Illustrator 28.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | ||
3 | <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | ||
4 | viewBox="0 0 46 46" style="enable-background:new 0 0 46 46;" xml:space="preserve"> | ||
5 | <style type="text/css"> | ||
6 | .st0{opacity:0.5042;fill-rule:evenodd;clip-rule:evenodd;fill:#A2BFFF;enable-background:new ;} | ||
7 | .st1{opacity:0.8;fill-rule:evenodd;clip-rule:evenodd;fill:#A0BDFF;enable-background:new ;} | ||
8 | .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#1A47FF;} | ||
9 | .st3{fill-rule:evenodd;clip-rule:evenodd;fill:#5287FF;} | ||
10 | </style> | ||
11 | <g id="Page-1"> | ||
12 | <g id="Workspace" transform="translate(-68.000000, -293.000000)"> | ||
13 | <g id="Drive" transform="translate(68.000000, 293.000000)"> | ||
14 | <g id="logo" transform="translate(2.700000, 2.700000)"> | ||
15 | <path id="Rectangle-Copy-32" class="st0" d="M17.65,1.64L20.9,3c0.5,0.21,0.88,0.62,1.06,1.13l1.29,3.78 | ||
16 | c0.21,0.61,0.71,1.07,1.34,1.22l13.53,3.31c0.84,0.21,1.44,0.96,1.44,1.83v15.78c0,1.04-0.84,1.89-1.89,1.89 | ||
17 | c-0.19,0-0.37-0.03-0.55-0.08l-20.74-6.38c-0.79-0.24-1.33-0.97-1.33-1.8V3.38c0-1.04,0.84-1.89,1.89-1.89 | ||
18 | C17.17,1.49,17.42,1.54,17.65,1.64z"/> | ||
19 | <path id="Rectangle-Copy-12" class="st1" d="M12.94,5.41l3.25,1.36c0.5,0.21,0.88,0.62,1.06,1.13l1.29,3.78 | ||
20 | c0.21,0.61,0.71,1.07,1.34,1.22L33.4,16.2c0.84,0.21,1.44,0.96,1.44,1.83v15.78c0,1.04-0.84,1.89-1.89,1.89 | ||
21 | c-0.19,0-0.37-0.03-0.55-0.08l-20.74-6.38c-0.79-0.24-1.33-0.97-1.33-1.8V7.15c0-1.04,0.84-1.89,1.89-1.89 | ||
22 | C12.46,5.26,12.71,5.31,12.94,5.41z"/> | ||
23 | <path id="Rectangle" class="st2" d="M8.22,8.61l3.25,1.36c0.5,0.21,0.88,0.62,1.06,1.13l1.29,3.78 | ||
24 | c0.21,0.61,0.71,1.07,1.34,1.22l13.53,3.31c0.84,0.21,1.44,0.96,1.44,1.83v15.78c0,1.04-0.84,1.89-1.89,1.89 | ||
25 | c-0.19,0-0.37-0.03-0.55-0.08L6.94,32.45c-0.79-0.24-1.33-0.97-1.33-1.8V10.35c0-1.04,0.84-1.89,1.89-1.89 | ||
26 | C7.74,8.47,7.99,8.52,8.22,8.61z"/> | ||
27 | <path id="Rectangle-Copy-37" class="st3" d="M3.44,16.98l20.95,5.82c0.63,0.18,1.13,0.67,1.31,1.3l3.95,13.81 | ||
28 | c0.14,0.5-0.15,1.02-0.65,1.17c-0.18,0.05-0.36,0.05-0.54-0.01L6.52,32.32c-0.57-0.18-1.02-0.61-1.22-1.17L1.16,19.42 | ||
29 | c-0.35-0.98,0.17-2.06,1.15-2.41C2.67,16.89,3.07,16.87,3.44,16.98z"/> | ||
30 | </g> | ||
31 | </g> | ||
32 | </g> | ||
33 | </g> | ||
34 | </svg> | ||
diff --git a/recipes/infomaniak-kdrive/index.js b/recipes/infomaniak-kdrive/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/infomaniak-kdrive/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/infomaniak-kdrive/package.json b/recipes/infomaniak-kdrive/package.json new file mode 100644 index 0000000..2f6e0f5 --- /dev/null +++ b/recipes/infomaniak-kdrive/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "infomaniak-kdrive", | ||
3 | "name": "Infomaniak KDrive", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://kdrive.infomaniak.com/" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/infomaniak-kdrive/webview.js b/recipes/infomaniak-kdrive/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/infomaniak-kdrive/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||