diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2021-11-01 15:14:04 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2021-11-01 15:14:04 +0530 |
commit | 27ffda874e6808a7815ea7844355802afaad9599 (patch) | |
tree | 194011a66b86e3c603e964426c487813e62e943a /recipes | |
parent | Use PascalCasing for generated backend API class name (#759) (diff) | |
download | ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.gz ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.zst ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.zip |
chore: remove empty 'service.css' from recipes. Remove 'README.md' from the creation script
Diffstat (limited to 'recipes')
98 files changed, 55 insertions, 289 deletions
diff --git a/recipes/OVHCloud/package.json b/recipes/OVHCloud/package.json index a853f2d..de79901 100644 --- a/recipes/OVHCloud/package.json +++ b/recipes/OVHCloud/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "OVHCloud", | 2 | "id": "OVHCloud", |
3 | "name": "OVH Cloud", | 3 | "name": "OVH Cloud", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.ovh.com/auth" | 7 | "serviceURL": "https://www.ovh.com/auth" |
diff --git a/recipes/OVHCloud/service.css b/recipes/OVHCloud/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/OVHCloud/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/OVHCloud/webview.js b/recipes/OVHCloud/webview.js index 1d4a8b3..0529314 100644 --- a/recipes/OVHCloud/webview.js +++ b/recipes/OVHCloud/webview.js | |||
@@ -1,14 +1,8 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | 1 | module.exports = () => { |
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 | 2 | // TODO: If your ovh-cloud service has unread messages, uncomment these lines to implement the logic for updating the badges |
7 | // const getMessages = () => { | 3 | // const getMessages = () => { |
8 | // // TODO: Insert your notification-finding code here | 4 | // // TODO: Insert your notification-finding code here |
9 | // Ferdi.setBadge(0, 0); | 5 | // Ferdi.setBadge(0, 0); |
10 | // }; | 6 | // }; |
11 | // Ferdi.loop(getMessages); | 7 | // Ferdi.loop(getMessages); |
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | 8 | }; |
diff --git a/recipes/amazon-web-services/package.json b/recipes/amazon-web-services/package.json index f0203e5..71ed7d8 100644 --- a/recipes/amazon-web-services/package.json +++ b/recipes/amazon-web-services/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "amazon-web-services", | 2 | "id": "amazon-web-services", |
3 | "name": "Amazon Web Services", | 3 | "name": "Amazon Web Services", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | 6 | "aliases": [ |
7 | "aws" | 7 | "aws" |
diff --git a/recipes/amazon-web-services/service.css b/recipes/amazon-web-services/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/amazon-web-services/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/amazon-web-services/webview.js b/recipes/amazon-web-services/webview.js index d024c70..877bce7 100644 --- a/recipes/amazon-web-services/webview.js +++ b/recipes/amazon-web-services/webview.js | |||
@@ -1,14 +1,8 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | 1 | module.exports = () => { |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your amazon-web-services service has unread messages, uncomment these lines to implement the logic for updating the badges | 2 | // TODO: If your amazon-web-services service has unread messages, uncomment these lines to implement the logic for updating the badges |
7 | // const getMessages = () => { | 3 | // const getMessages = () => { |
8 | // // TODO: Insert your notification-finding code here | 4 | // // TODO: Insert your notification-finding code here |
9 | // Ferdi.setBadge(0, 0); | 5 | // Ferdi.setBadge(0, 0); |
10 | // }; | 6 | // }; |
11 | // Ferdi.loop(getMessages); | 7 | // Ferdi.loop(getMessages); |
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | 8 | }; |
diff --git a/recipes/anonaddy/package.json b/recipes/anonaddy/package.json index aa529d1..9056e12 100644 --- a/recipes/anonaddy/package.json +++ b/recipes/anonaddy/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "anonaddy", | 2 | "id": "anonaddy", |
3 | "name": "AnonAddy", | 3 | "name": "AnonAddy", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://app.anonaddy.com/" | 7 | "serviceURL": "https://app.anonaddy.com/" |
diff --git a/recipes/anonaddy/service.css b/recipes/anonaddy/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/anonaddy/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/anonaddy/webview.js b/recipes/anonaddy/webview.js index 10157e9..cc40a46 100644 --- a/recipes/anonaddy/webview.js +++ b/recipes/anonaddy/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/azure-devops/package.json b/recipes/azure-devops/package.json index 23c33cd..4ef9ba4 100644 --- a/recipes/azure-devops/package.json +++ b/recipes/azure-devops/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "azure-devops", | 2 | "id": "azure-devops", |
3 | "name": "Azure DevOps", | 3 | "name": "Azure DevOps", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | 6 | "aliases": [ |
7 | "azdo" | 7 | "azdo" |
diff --git a/recipes/azure-devops/service.css b/recipes/azure-devops/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/azure-devops/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/azure-devops/webview.js b/recipes/azure-devops/webview.js index 10157e9..cc40a46 100644 --- a/recipes/azure-devops/webview.js +++ b/recipes/azure-devops/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/binance/package.json b/recipes/binance/package.json index ecd7675..4f7eaab 100644 --- a/recipes/binance/package.json +++ b/recipes/binance/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "binance", | 2 | "id": "binance", |
3 | "name": "Binance", | 3 | "name": "Binance", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://accounts.binance.com" | 7 | "serviceURL": "https://accounts.binance.com" |
diff --git a/recipes/binance/service.css b/recipes/binance/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/binance/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/binance/webview.js b/recipes/binance/webview.js index c9d1047..2a67595 100644 --- a/recipes/binance/webview.js +++ b/recipes/binance/webview.js | |||
@@ -1,14 +1,8 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | 1 | module.exports = () => { |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your binance service has unread messages, uncomment these lines to implement the logic for updating the badges | 2 | // TODO: If your binance service has unread messages, uncomment these lines to implement the logic for updating the badges |
7 | // const getMessages = () => { | 3 | // const getMessages = () => { |
8 | // // TODO: Insert your notification-finding code here | 4 | // // TODO: Insert your notification-finding code here |
9 | // Ferdi.setBadge(0, 0); | 5 | // Ferdi.setBadge(0, 0); |
10 | // }; | 6 | // }; |
11 | // Ferdi.loop(getMessages); | 7 | // Ferdi.loop(getMessages); |
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | 8 | }; |
diff --git a/recipes/bip/package.json b/recipes/bip/package.json index d42c72a..0ad1628 100644 --- a/recipes/bip/package.json +++ b/recipes/bip/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "bip", | 2 | "id": "bip", |
3 | "name": "BiP", | 3 | "name": "BiP", |
4 | "version": "1.1.2", | 4 | "version": "1.1.3", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://web.bip.com/", | 7 | "serviceURL": "https://web.bip.com/", |
diff --git a/recipes/bip/service.css b/recipes/bip/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/bip/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/bip/webview.js b/recipes/bip/webview.js index f3166ce..8b9eccc 100644 --- a/recipes/bip/webview.js +++ b/recipes/bip/webview.js | |||
@@ -1,7 +1,3 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
6 | const getMessages = () => { | 2 | const getMessages = () => { |
7 | const elements = document.querySelectorAll('.contact-list__message__unread-badge-counter'); | 3 | const elements = document.querySelectorAll('.contact-list__message__unread-badge-counter'); |
@@ -13,6 +9,4 @@ module.exports = Ferdi => { | |||
13 | }; | 9 | }; |
14 | 10 | ||
15 | Ferdi.loop(getMessages); | 11 | Ferdi.loop(getMessages); |
16 | |||
17 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
18 | }; | 12 | }; |
diff --git a/recipes/bitbucket/package.json b/recipes/bitbucket/package.json index 8937440..373a8cb 100644 --- a/recipes/bitbucket/package.json +++ b/recipes/bitbucket/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "bitbucket", | 2 | "id": "bitbucket", |
3 | "name": "BitBucket", | 3 | "name": "BitBucket", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://bitbucket.org/dashboard/overview" | 7 | "serviceURL": "https://bitbucket.org/dashboard/overview" |
diff --git a/recipes/bitbucket/service.css b/recipes/bitbucket/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/bitbucket/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/bitbucket/webview.js b/recipes/bitbucket/webview.js index 10157e9..cc40a46 100644 --- a/recipes/bitbucket/webview.js +++ b/recipes/bitbucket/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/bitwarden/package.json b/recipes/bitwarden/package.json index 294adf4..66637ff 100644 --- a/recipes/bitwarden/package.json +++ b/recipes/bitwarden/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "bitwarden", | 2 | "id": "bitwarden", |
3 | "name": "Bitwarden", | 3 | "name": "Bitwarden", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://vault.bitwarden.com", | 7 | "serviceURL": "https://vault.bitwarden.com", |
diff --git a/recipes/bitwarden/service.css b/recipes/bitwarden/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/bitwarden/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/bitwarden/webview.js b/recipes/bitwarden/webview.js index 9048e1a..b1b2952 100644 --- a/recipes/bitwarden/webview.js +++ b/recipes/bitwarden/webview.js | |||
@@ -1,14 +1,8 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | 1 | module.exports = () => { |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your bitwarden service has unread messages, uncomment these lines to implement the logic for updating the badges | 2 | // TODO: If your bitwarden service has unread messages, uncomment these lines to implement the logic for updating the badges |
7 | // const getMessages = () => { | 3 | // const getMessages = () => { |
8 | // // TODO: Insert your notification-finding code here | 4 | // // TODO: Insert your notification-finding code here |
9 | // Ferdi.setBadge(0, 0); | 5 | // Ferdi.setBadge(0, 0); |
10 | // }; | 6 | // }; |
11 | // Ferdi.loop(getMessages); | 7 | // Ferdi.loop(getMessages); |
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | 8 | }; |
diff --git a/recipes/dockerhub/package.json b/recipes/dockerhub/package.json index 6b33abe..e3854cc 100644 --- a/recipes/dockerhub/package.json +++ b/recipes/dockerhub/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "dockerhub", | 2 | "id": "dockerhub", |
3 | "name": "Docker Hub", | 3 | "name": "Docker Hub", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://hub.docker.com" | 7 | "serviceURL": "https://hub.docker.com" |
diff --git a/recipes/dockerhub/service.css b/recipes/dockerhub/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/dockerhub/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/dockerhub/webview.js b/recipes/dockerhub/webview.js index 04d0413..d19b579 100644 --- a/recipes/dockerhub/webview.js +++ b/recipes/dockerhub/webview.js | |||
@@ -1,14 +1,8 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | 1 | module.exports = () => { |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your docker hub service has unread messages, uncomment these lines to implement the logic for updating the badges | 2 | // TODO: If your docker hub service has unread messages, uncomment these lines to implement the logic for updating the badges |
7 | // const getMessages = () => { | 3 | // const getMessages = () => { |
8 | // // TODO: Insert your notification-finding code here | 4 | // // TODO: Insert your notification-finding code here |
9 | // Ferdi.setBadge(0, 0); | 5 | // Ferdi.setBadge(0, 0); |
10 | // }; | 6 | // }; |
11 | // Ferdi.loop(getMessages); | 7 | // Ferdi.loop(getMessages); |
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | 8 | }; |
diff --git a/recipes/dropbox/package.json b/recipes/dropbox/package.json index f8df28b..21736c3 100644 --- a/recipes/dropbox/package.json +++ b/recipes/dropbox/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "dropbox", | 2 | "id": "dropbox", |
3 | "name": "Dropbox", | 3 | "name": "Dropbox", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.dropbox.com/home", | 7 | "serviceURL": "https://www.dropbox.com/home", |
diff --git a/recipes/dropbox/service.css b/recipes/dropbox/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/dropbox/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/dropbox/webview.js b/recipes/dropbox/webview.js index 0cfbc7d..0740019 100644 --- a/recipes/dropbox/webview.js +++ b/recipes/dropbox/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require("path")); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdi) => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const hasNotifications = document.querySelector(".dig-NotificationBadge"); | 3 | const hasNotifications = document.querySelector(".dig-NotificationBadge"); |
@@ -11,6 +5,4 @@ module.exports = (Ferdi) => { | |||
11 | Ferdi.setBadge(0, hasNotifications ? 1 : 0); | 5 | Ferdi.setBadge(0, hasNotifications ? 1 : 0); |
12 | }; | 6 | }; |
13 | Ferdi.loop(getMessages); | 7 | Ferdi.loop(getMessages); |
14 | |||
15 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
16 | }; | 8 | }; |
diff --git a/recipes/epicgames/package.json b/recipes/epicgames/package.json index c6aafa1..6eb0a40 100644 --- a/recipes/epicgames/package.json +++ b/recipes/epicgames/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "epicgames", | 2 | "id": "epicgames", |
3 | "name": "Epic Games Store", | 3 | "name": "Epic Games Store", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.epicgames.com/id/login?lang=en_US&redirectUrl=https%3A%2F%2Fwww.epicgames.com%2Fstore%2Fen-US%2F&noHostRedirect=true" | 7 | "serviceURL": "https://www.epicgames.com/id/login?lang=en_US&redirectUrl=https%3A%2F%2Fwww.epicgames.com%2Fstore%2Fen-US%2F&noHostRedirect=true" |
diff --git a/recipes/epicgames/service.css b/recipes/epicgames/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/epicgames/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/epicgames/webview.js b/recipes/epicgames/webview.js index 10157e9..cc40a46 100644 --- a/recipes/epicgames/webview.js +++ b/recipes/epicgames/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/fleep/package.json b/recipes/fleep/package.json index a03d7a4..1781341 100644 --- a/recipes/fleep/package.json +++ b/recipes/fleep/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "fleep", | 2 | "id": "fleep", |
3 | "name": "Fleep", | 3 | "name": "Fleep", |
4 | "version": "1.1.1", | 4 | "version": "1.1.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://fleep.io/chat" | 7 | "serviceURL": "https://fleep.io/chat" |
diff --git a/recipes/fleep/service.css b/recipes/fleep/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/fleep/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/fleep/webview.js b/recipes/fleep/webview.js index 85b5365..eaefbd1 100644 --- a/recipes/fleep/webview.js +++ b/recipes/fleep/webview.js | |||
@@ -1,7 +1,3 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
6 | const getMessages = () => { | 2 | const getMessages = () => { |
7 | // Count number of conversations or teams with unread messages | 3 | // Count number of conversations or teams with unread messages |
@@ -10,6 +6,4 @@ module.exports = Ferdi => { | |||
10 | }; | 6 | }; |
11 | 7 | ||
12 | Ferdi.loop(getMessages); | 8 | Ferdi.loop(getMessages); |
13 | |||
14 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
15 | }; | 9 | }; |
diff --git a/recipes/gitlab/package.json b/recipes/gitlab/package.json index 3ed3464..c1540f4 100644 --- a/recipes/gitlab/package.json +++ b/recipes/gitlab/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "gitlab", | 2 | "id": "gitlab", |
3 | "name": "GitLab", | 3 | "name": "GitLab", |
4 | "version": "1.2.0", | 4 | "version": "1.2.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://gitlab.com/users/sign_in", | 7 | "serviceURL": "https://gitlab.com/users/sign_in", |
diff --git a/recipes/gitlab/service.css b/recipes/gitlab/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/gitlab/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/gitlab/webview.js b/recipes/gitlab/webview.js index 10157e9..cc40a46 100644 --- a/recipes/gitlab/webview.js +++ b/recipes/gitlab/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/good-reads/package.json b/recipes/good-reads/package.json index 310da33..7e68582 100644 --- a/recipes/good-reads/package.json +++ b/recipes/good-reads/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "good-reads", | 2 | "id": "good-reads", |
3 | "name": "Good Reads", | 3 | "name": "Good Reads", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.goodreads.com/" | 7 | "serviceURL": "https://www.goodreads.com/" |
diff --git a/recipes/good-reads/service.css b/recipes/good-reads/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/good-reads/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/good-reads/webview.js b/recipes/good-reads/webview.js index 338b634..7fa5867 100644 --- a/recipes/good-reads/webview.js +++ b/recipes/good-reads/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require("path")); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdi) => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const notificationBadge = document.querySelector( | 3 | const notificationBadge = document.querySelector( |
@@ -16,6 +10,4 @@ module.exports = (Ferdi) => { | |||
16 | Ferdi.setBadge(notification); | 10 | Ferdi.setBadge(notification); |
17 | }; | 11 | }; |
18 | Ferdi.loop(getMessages); | 12 | Ferdi.loop(getMessages); |
19 | |||
20 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
21 | }; | 13 | }; |
diff --git a/recipes/google-translate/package.json b/recipes/google-translate/package.json index 7e7f272..bffce00 100644 --- a/recipes/google-translate/package.json +++ b/recipes/google-translate/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "google-translate", | 2 | "id": "google-translate", |
3 | "name": "Google Translate", | 3 | "name": "Google Translate", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://translate.google.com" | 7 | "serviceURL": "https://translate.google.com" |
diff --git a/recipes/google-translate/service.css b/recipes/google-translate/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/google-translate/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/google-translate/webview.js b/recipes/google-translate/webview.js index 41aa5e0..ca1cf99 100644 --- a/recipes/google-translate/webview.js +++ b/recipes/google-translate/webview.js | |||
@@ -1,14 +1,8 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | 1 | module.exports = () => { |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your google-translate service has unread messages, uncomment these lines to implement the logic for updating the badges | 2 | // TODO: If your google-translate service has unread messages, uncomment these lines to implement the logic for updating the badges |
7 | // const getMessages = () => { | 3 | // const getMessages = () => { |
8 | // // TODO: Insert your notification-finding code here | 4 | // // TODO: Insert your notification-finding code here |
9 | // Ferdi.setBadge(0, 0); | 5 | // Ferdi.setBadge(0, 0); |
10 | // }; | 6 | // }; |
11 | // Ferdi.loop(getMessages); | 7 | // Ferdi.loop(getMessages); |
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | 8 | }; |
diff --git a/recipes/googleclassroom/package.json b/recipes/googleclassroom/package.json index 5dc3ef8..4adfad7 100644 --- a/recipes/googleclassroom/package.json +++ b/recipes/googleclassroom/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "googleclassroom", | 2 | "id": "googleclassroom", |
3 | "name": "Google Classroom", | 3 | "name": "Google Classroom", |
4 | "version": "1.1.2", | 4 | "version": "1.1.3", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/TanZng/ferdi-googleclassroom", | 6 | "repository": "https://github.com/TanZng/ferdi-googleclassroom", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/googleclassroom/service.css b/recipes/googleclassroom/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/googleclassroom/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/meetup/package.json b/recipes/meetup/package.json index 2b83402..f18c648 100644 --- a/recipes/meetup/package.json +++ b/recipes/meetup/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "meetup", | 2 | "id": "meetup", |
3 | "name": "Meetup", | 3 | "name": "Meetup", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://meetup.com", | 7 | "serviceURL": "https://meetup.com", |
diff --git a/recipes/meetup/service.css b/recipes/meetup/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/meetup/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/meetup/webview.js b/recipes/meetup/webview.js index b8ba1fa..5d45d55 100644 --- a/recipes/meetup/webview.js +++ b/recipes/meetup/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require("path")); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdi) => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const hasNotifications = document.querySelector(".counterBadge"); | 3 | const hasNotifications = document.querySelector(".counterBadge"); |
@@ -11,6 +5,4 @@ module.exports = (Ferdi) => { | |||
11 | Ferdi.setBadge(0, hasNotifications ? 1 : 0); | 5 | Ferdi.setBadge(0, hasNotifications ? 1 : 0); |
12 | }; | 6 | }; |
13 | Ferdi.loop(getMessages); | 7 | Ferdi.loop(getMessages); |
14 | |||
15 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
16 | }; | 8 | }; |
diff --git a/recipes/moodle/package.json b/recipes/moodle/package.json index b421623..109a197 100644 --- a/recipes/moodle/package.json +++ b/recipes/moodle/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "moodle", | 2 | "id": "moodle", |
3 | "name": "Moodle", | 3 | "name": "Moodle", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "hasCustomUrl": true | 7 | "hasCustomUrl": true |
diff --git a/recipes/moodle/service.css b/recipes/moodle/service.css deleted file mode 100644 index e69de29..0000000 --- a/recipes/moodle/service.css +++ /dev/null | |||
diff --git a/recipes/moodle/webview.js b/recipes/moodle/webview.js index 932d1ec..6439c2c 100644 --- a/recipes/moodle/webview.js +++ b/recipes/moodle/webview.js | |||
@@ -1,18 +1,12 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
6 | const getMessages = () => { | 2 | const getMessages = () => { |
7 | const directCountSelector = [...document.querySelectorAll('[data-region="count-container"]')]; | 3 | const directCountSelector = [...document.querySelectorAll('[data-region="count-container"]')]; |
8 | const totalMessageCount = directCountSelector.reduce( | 4 | const totalMessageCount = directCountSelector.reduce( |
9 | ((count, item) => count + Number(item.textContent)), | 5 | ((count, item) => count + Ferdi.safeParseInt(item.textContent)), |
10 | 0 | 6 | 0 |
11 | ); | 7 | ); |
12 | 8 | ||
13 | Ferdi.setBadge(totalMessageCount, 0); | 9 | Ferdi.setBadge(totalMessageCount, 0); |
14 | }; | 10 | }; |
15 | Ferdi.loop(getMessages); | 11 | Ferdi.loop(getMessages); |
16 | |||
17 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
18 | }; | 12 | }; |
diff --git a/recipes/netlify/package.json b/recipes/netlify/package.json index b4784a0..d69dbfe 100644 --- a/recipes/netlify/package.json +++ b/recipes/netlify/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "netlify", | 2 | "id": "netlify", |
3 | "name": "Netlify", | 3 | "name": "Netlify", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://app.netlify.com", | 7 | "serviceURL": "https://app.netlify.com", |
diff --git a/recipes/netlify/service.css b/recipes/netlify/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/netlify/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/netlify/webview.js b/recipes/netlify/webview.js index 9a74683..01b215b 100644 --- a/recipes/netlify/webview.js +++ b/recipes/netlify/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require("path")); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdi) => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const notifications = document.querySelectorAll("circle"); | 3 | const notifications = document.querySelectorAll("circle"); |
@@ -11,6 +5,4 @@ module.exports = (Ferdi) => { | |||
11 | Ferdi.setBadge(0, notifications.length > 0 ? 1 : 0); | 5 | Ferdi.setBadge(0, notifications.length > 0 ? 1 : 0); |
12 | }; | 6 | }; |
13 | Ferdi.loop(getMessages); | 7 | Ferdi.loop(getMessages); |
14 | |||
15 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
16 | }; | 8 | }; |
diff --git a/recipes/odoo/package.json b/recipes/odoo/package.json index aa6a881..ed6f229 100644 --- a/recipes/odoo/package.json +++ b/recipes/odoo/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "odoo", | 2 | "id": "odoo", |
3 | "name": "Odoo", | 3 | "name": "Odoo", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.odoo.com/web/login", | 7 | "serviceURL": "https://www.odoo.com/web/login", |
diff --git a/recipes/odoo/service.css b/recipes/odoo/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/odoo/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/odoo/webview.js b/recipes/odoo/webview.js index 453b3fc..cc40a46 100644 --- a/recipes/odoo/webview.js +++ b/recipes/odoo/webview.js | |||
@@ -1,9 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdi => { | ||
8 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
9 | }; | ||
diff --git a/recipes/onenote/package.json b/recipes/onenote/package.json index 66a79a3..8ee2174 100644 --- a/recipes/onenote/package.json +++ b/recipes/onenote/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "onenote", | 2 | "id": "onenote", |
3 | "name": "OneNote", | 3 | "name": "OneNote", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://onenote.com" | 7 | "serviceURL": "https://onenote.com" |
diff --git a/recipes/onenote/service.css b/recipes/onenote/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/onenote/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/onenote/webview.js b/recipes/onenote/webview.js index 10157e9..cc40a46 100644 --- a/recipes/onenote/webview.js +++ b/recipes/onenote/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/pipefy/package.json b/recipes/pipefy/package.json index 0403f39..0c481a9 100644 --- a/recipes/pipefy/package.json +++ b/recipes/pipefy/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "pipefy", | 2 | "id": "pipefy", |
3 | "name": "Pipefy", | 3 | "name": "Pipefy", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://app.pipefy.com/", | 7 | "serviceURL": "https://app.pipefy.com/", |
diff --git a/recipes/pipefy/service.css b/recipes/pipefy/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/pipefy/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/pipefy/webview.js b/recipes/pipefy/webview.js index 48904e6..e0ac242 100644 --- a/recipes/pipefy/webview.js +++ b/recipes/pipefy/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const getNotificationButton = document.querySelector( | 3 | const getNotificationButton = document.querySelector( |
@@ -13,6 +7,4 @@ module.exports = Ferdi => { | |||
13 | Ferdi.setBadge(0, hasNotification ? 1 : 0); | 7 | Ferdi.setBadge(0, hasNotification ? 1 : 0); |
14 | }; | 8 | }; |
15 | Ferdi.loop(getMessages); | 9 | Ferdi.loop(getMessages); |
16 | |||
17 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
18 | }; | 10 | }; |
diff --git a/recipes/plek/package.json b/recipes/plek/package.json index de37a6e..a1737e9 100644 --- a/recipes/plek/package.json +++ b/recipes/plek/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "plek", | 2 | "id": "plek", |
3 | "name": "Plek", | 3 | "name": "Plek", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "repository": "https://github.com/jsimonetti/franz-recipe-plek", | 5 | "repository": "https://github.com/jsimonetti/franz-recipe-plek", |
6 | "license": "MIT", | 6 | "license": "MIT", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/plek/service.css b/recipes/plek/service.css deleted file mode 100644 index e69de29..0000000 --- a/recipes/plek/service.css +++ /dev/null | |||
diff --git a/recipes/plek/webview.js b/recipes/plek/webview.js index 0ac618b..661868b 100644 --- a/recipes/plek/webview.js +++ b/recipes/plek/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | let directMessages = 0; | 3 | let directMessages = 0; |
@@ -23,5 +17,4 @@ module.exports = Ferdi => { | |||
23 | }; | 17 | }; |
24 | 18 | ||
25 | Ferdi.loop(getMessages); | 19 | Ferdi.loop(getMessages); |
26 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
27 | }; | 20 | }; |
diff --git a/recipes/pomodoro-tracker/package.json b/recipes/pomodoro-tracker/package.json index 750d907..018b7cf 100644 --- a/recipes/pomodoro-tracker/package.json +++ b/recipes/pomodoro-tracker/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "pomodoro-tracker", | 2 | "id": "pomodoro-tracker", |
3 | "name": "Pomodoro Tracker", | 3 | "name": "Pomodoro Tracker", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://pomodoro-tracker.com", | 7 | "serviceURL": "https://pomodoro-tracker.com", |
diff --git a/recipes/pomodoro-tracker/service.css b/recipes/pomodoro-tracker/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/pomodoro-tracker/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/pomodoro-tracker/webview.js b/recipes/pomodoro-tracker/webview.js index 10157e9..cc40a46 100644 --- a/recipes/pomodoro-tracker/webview.js +++ b/recipes/pomodoro-tracker/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/protoncalendar/package.json b/recipes/protoncalendar/package.json index 9ddd612..350cf38 100644 --- a/recipes/protoncalendar/package.json +++ b/recipes/protoncalendar/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "protoncalendar", | 2 | "id": "protoncalendar", |
3 | "name": "ProtonCalendar", | 3 | "name": "ProtonCalendar", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://calendar.protonmail.com/" | 7 | "serviceURL": "https://calendar.protonmail.com/" |
diff --git a/recipes/protoncalendar/service.css b/recipes/protoncalendar/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/protoncalendar/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/protoncalendar/webview.js b/recipes/protoncalendar/webview.js index 10157e9..cc40a46 100644 --- a/recipes/protoncalendar/webview.js +++ b/recipes/protoncalendar/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/riseup/package.json b/recipes/riseup/package.json index fa26c13..88519ad 100644 --- a/recipes/riseup/package.json +++ b/recipes/riseup/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "riseup", | 2 | "id": "riseup", |
3 | "name": "Riseup.net", | 3 | "name": "Riseup.net", |
4 | "version": "1.1.2", | 4 | "version": "1.1.3", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://mail.riseup.net" | 7 | "serviceURL": "https://mail.riseup.net" |
diff --git a/recipes/riseup/service.css b/recipes/riseup/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/riseup/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/scribens/package.json b/recipes/scribens/package.json index dbdfbb2..661f16e 100644 --- a/recipes/scribens/package.json +++ b/recipes/scribens/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "scribens", | 2 | "id": "scribens", |
3 | "name": "Scribens", | 3 | "name": "Scribens", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://scribens.{teamId}", | 7 | "serviceURL": "https://scribens.{teamId}", |
diff --git a/recipes/scribens/service.css b/recipes/scribens/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/scribens/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/scribens/webview.js b/recipes/scribens/webview.js index 0a6434d..cc40a46 100644 --- a/recipes/scribens/webview.js +++ b/recipes/scribens/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/stackexchange/package.json b/recipes/stackexchange/package.json index d3bba01..d39d588 100644 --- a/recipes/stackexchange/package.json +++ b/recipes/stackexchange/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "stackexchange", | 2 | "id": "stackexchange", |
3 | "name": "StackExchange", | 3 | "name": "StackExchange", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://stackexchange.com/" | 7 | "serviceURL": "https://stackexchange.com/" |
diff --git a/recipes/stackexchange/service.css b/recipes/stackexchange/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/stackexchange/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/stackexchange/webview.js b/recipes/stackexchange/webview.js index 10157e9..cc40a46 100644 --- a/recipes/stackexchange/webview.js +++ b/recipes/stackexchange/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/stackoverflow-chat/README.md b/recipes/stackoverflow-chat/README.md deleted file mode 100644 index a5aadcd..0000000 --- a/recipes/stackoverflow-chat/README.md +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # stackoverflow-chat for Ferdi | ||
2 | This is a Ferdi recipe for stackoverflow-chat | ||
diff --git a/recipes/stackoverflow-chat/package.json b/recipes/stackoverflow-chat/package.json index 4cbddeb..81efd40 100644 --- a/recipes/stackoverflow-chat/package.json +++ b/recipes/stackoverflow-chat/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "stackoverflow-chat", | 2 | "id": "stackoverflow-chat", |
3 | "name": "Stackoverflow chat", | 3 | "name": "Stackoverflow chat", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://chat.stackoverflow.com/", | 7 | "serviceURL": "https://chat.stackoverflow.com/", |
diff --git a/recipes/stackoverflow-chat/service.css b/recipes/stackoverflow-chat/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/stackoverflow-chat/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/stackoverflow-chat/webview.js b/recipes/stackoverflow-chat/webview.js index 4157600..622d764 100644 --- a/recipes/stackoverflow-chat/webview.js +++ b/recipes/stackoverflow-chat/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const unreadSpan = document.querySelector( | 3 | const unreadSpan = document.querySelector( |
@@ -16,6 +10,4 @@ module.exports = Ferdi => { | |||
16 | Ferdi.setBadge(directCount); | 10 | Ferdi.setBadge(directCount); |
17 | }; | 11 | }; |
18 | Ferdi.loop(getMessages); | 12 | Ferdi.loop(getMessages); |
19 | |||
20 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
21 | }; | 13 | }; |
diff --git a/recipes/sync/package.json b/recipes/sync/package.json index f436ae9..b54783b 100644 --- a/recipes/sync/package.json +++ b/recipes/sync/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "sync", | 2 | "id": "sync", |
3 | "name": "sync", | 3 | "name": "sync", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://cp.sync.com/files/" | 7 | "serviceURL": "https://cp.sync.com/files/" |
diff --git a/recipes/sync/service.css b/recipes/sync/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/sync/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/sync/webview.js b/recipes/sync/webview.js index 10157e9..cc40a46 100644 --- a/recipes/sync/webview.js +++ b/recipes/sync/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/tinder/package.json b/recipes/tinder/package.json index 6404122..3f21be1 100644 --- a/recipes/tinder/package.json +++ b/recipes/tinder/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "tinder", | 2 | "id": "tinder", |
3 | "name": "Tinder", | 3 | "name": "Tinder", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://tinder.com" | 7 | "serviceURL": "https://tinder.com" |
diff --git a/recipes/tinder/service.css b/recipes/tinder/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/tinder/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/tinder/webview.js b/recipes/tinder/webview.js index 0a6434d..cc40a46 100644 --- a/recipes/tinder/webview.js +++ b/recipes/tinder/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/tutanota/package.json b/recipes/tutanota/package.json index ba7dfa0..0905752 100644 --- a/recipes/tutanota/package.json +++ b/recipes/tutanota/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "tutanota", | 2 | "id": "tutanota", |
3 | "name": "Tutanota", | 3 | "name": "Tutanota", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://mail.tutanota.com/" | 7 | "serviceURL": "https://mail.tutanota.com/" |
diff --git a/recipes/tutanota/service.css b/recipes/tutanota/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/tutanota/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/tutanota/webview.js b/recipes/tutanota/webview.js index 10157e9..cc40a46 100644 --- a/recipes/tutanota/webview.js +++ b/recipes/tutanota/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | }; | ||
diff --git a/recipes/wakatime/package.json b/recipes/wakatime/package.json index a386b4d..79a6b07 100644 --- a/recipes/wakatime/package.json +++ b/recipes/wakatime/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "wakatime", | 2 | "id": "wakatime", |
3 | "name": "Wakatime", | 3 | "name": "Wakatime", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://wakatime.com/login" | 7 | "serviceURL": "https://wakatime.com/login" |
diff --git a/recipes/wakatime/service.css b/recipes/wakatime/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/wakatime/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/wakatime/webview.js b/recipes/wakatime/webview.js index e1e18ee..cc40a46 100644 --- a/recipes/wakatime/webview.js +++ b/recipes/wakatime/webview.js | |||
@@ -1,7 +1 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | module.exports = () => {}; | |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = (Ferdi) => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
7 | }; | ||