diff options
-rw-r--r-- | all.json | 9 | ||||
-rw-r--r-- | recipes/ovh-cloud/LICENSE | 21 | ||||
-rw-r--r-- | recipes/ovh-cloud/README.md | 2 | ||||
-rw-r--r-- | recipes/ovh-cloud/icon.svg | 1 | ||||
-rw-r--r-- | recipes/ovh-cloud/index.js | 1 | ||||
-rw-r--r-- | recipes/ovh-cloud/package.json | 9 | ||||
-rw-r--r-- | recipes/ovh-cloud/service.css | 1 | ||||
-rw-r--r-- | recipes/ovh-cloud/webview.js | 14 |
8 files changed, 58 insertions, 0 deletions
@@ -1036,6 +1036,15 @@ | |||
1036 | }, | 1036 | }, |
1037 | { | 1037 | { |
1038 | "featured": false, | 1038 | "featured": false, |
1039 | "id": "OVHCloud", | ||
1040 | "name": "OVH Cloud", | ||
1041 | "version": "1.0.0", | ||
1042 | "icons": { | ||
1043 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/OVHCloud/icon.svg" | ||
1044 | } | ||
1045 | }, | ||
1046 | { | ||
1047 | "featured": false, | ||
1039 | "id": "paymo", | 1048 | "id": "paymo", |
1040 | "name": "paymo", | 1049 | "name": "paymo", |
1041 | "version": "1.1.0", | 1050 | "version": "1.1.0", |
diff --git a/recipes/ovh-cloud/LICENSE b/recipes/ovh-cloud/LICENSE new file mode 100644 index 0000000..99d6f23 --- /dev/null +++ b/recipes/ovh-cloud/LICENSE | |||
@@ -0,0 +1,21 @@ | |||
1 | MIT License | ||
2 | |||
3 | Copyright (c) 2020 Vijay Raghavan Aravamudhan | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in all | ||
13 | copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | SOFTWARE. | ||
diff --git a/recipes/ovh-cloud/README.md b/recipes/ovh-cloud/README.md new file mode 100644 index 0000000..144e5d8 --- /dev/null +++ b/recipes/ovh-cloud/README.md | |||
@@ -0,0 +1,2 @@ | |||
1 | # ovh-cloud for Ferdi | ||
2 | This is a Ferdi recipe for ovh-cloud | ||
diff --git a/recipes/ovh-cloud/icon.svg b/recipes/ovh-cloud/icon.svg new file mode 100644 index 0000000..14b4933 --- /dev/null +++ b/recipes/ovh-cloud/icon.svg | |||
@@ -0,0 +1 @@ | |||
<?xml version="1.0" ?><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><path d="M19.881 10.095l2.563-4.45C23.434 7.389 24 9.404 24 11.555c0 2.88-1.017 5.523-2.71 7.594h-6.62l2.04-3.541h-2.696l3.176-5.513h2.691zm-2.32-5.243L9.333 19.14l.003.009H2.709C1.014 17.077 0 14.435 0 11.555c0-2.152.57-4.17 1.561-5.918L5.855 13.1 10.6 4.852h6.961z"/></svg> \ No newline at end of file | |||
diff --git a/recipes/ovh-cloud/index.js b/recipes/ovh-cloud/index.js new file mode 100644 index 0000000..99219fe --- /dev/null +++ b/recipes/ovh-cloud/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = (Ferdi) => class OVHCloud extends Ferdi {}; | |||
diff --git a/recipes/ovh-cloud/package.json b/recipes/ovh-cloud/package.json new file mode 100644 index 0000000..a853f2d --- /dev/null +++ b/recipes/ovh-cloud/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "OVHCloud", | ||
3 | "name": "OVH Cloud", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://www.ovh.com/auth" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/ovh-cloud/service.css b/recipes/ovh-cloud/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/ovh-cloud/service.css | |||
@@ -0,0 +1 @@ | |||
/* Insert custom styles you want to insert here */ \ No newline at end of file | |||
diff --git a/recipes/ovh-cloud/webview.js b/recipes/ovh-cloud/webview.js new file mode 100644 index 0000000..ee7d8aa --- /dev/null +++ b/recipes/ovh-cloud/webview.js | |||
@@ -0,0 +1,14 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your ovh-cloud service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
7 | // const getMessages = function getMessages() { | ||
8 | // // TODO: Insert your notification-finding code here | ||
9 | // Ferdi.setBadge(0, 0); | ||
10 | // }; | ||
11 | // Ferdi.loop(getMessages); | ||
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | ||