diff options
103 files changed, 89 insertions, 333 deletions
@@ -21,7 +21,7 @@ | |||
21 | "featured": false, | 21 | "featured": false, |
22 | "id": "amazon-web-services", | 22 | "id": "amazon-web-services", |
23 | "name": "Amazon Web Services", | 23 | "name": "Amazon Web Services", |
24 | "version": "1.0.0", | 24 | "version": "1.0.1", |
25 | "aliases": [ | 25 | "aliases": [ |
26 | "aws" | 26 | "aws" |
27 | ], | 27 | ], |
@@ -51,7 +51,7 @@ | |||
51 | "featured": false, | 51 | "featured": false, |
52 | "id": "anonaddy", | 52 | "id": "anonaddy", |
53 | "name": "AnonAddy", | 53 | "name": "AnonAddy", |
54 | "version": "1.1.0", | 54 | "version": "1.1.1", |
55 | "icons": { | 55 | "icons": { |
56 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/anonaddy/icon.svg" | 56 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/anonaddy/icon.svg" |
57 | } | 57 | } |
@@ -78,7 +78,7 @@ | |||
78 | "featured": false, | 78 | "featured": false, |
79 | "id": "azure-devops", | 79 | "id": "azure-devops", |
80 | "name": "Azure DevOps", | 80 | "name": "Azure DevOps", |
81 | "version": "1.1.0", | 81 | "version": "1.1.1", |
82 | "aliases": [ | 82 | "aliases": [ |
83 | "azdo" | 83 | "azdo" |
84 | ], | 84 | ], |
@@ -108,7 +108,7 @@ | |||
108 | "featured": false, | 108 | "featured": false, |
109 | "id": "binance", | 109 | "id": "binance", |
110 | "name": "Binance", | 110 | "name": "Binance", |
111 | "version": "1.0.0", | 111 | "version": "1.0.1", |
112 | "icons": { | 112 | "icons": { |
113 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/binance/icon.svg" | 113 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/binance/icon.svg" |
114 | } | 114 | } |
@@ -117,7 +117,7 @@ | |||
117 | "featured": false, | 117 | "featured": false, |
118 | "id": "bip", | 118 | "id": "bip", |
119 | "name": "BiP", | 119 | "name": "BiP", |
120 | "version": "1.1.2", | 120 | "version": "1.1.3", |
121 | "icons": { | 121 | "icons": { |
122 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/bip/icon.svg" | 122 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/bip/icon.svg" |
123 | } | 123 | } |
@@ -126,7 +126,7 @@ | |||
126 | "featured": false, | 126 | "featured": false, |
127 | "id": "bitbucket", | 127 | "id": "bitbucket", |
128 | "name": "BitBucket", | 128 | "name": "BitBucket", |
129 | "version": "1.1.0", | 129 | "version": "1.1.1", |
130 | "icons": { | 130 | "icons": { |
131 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/bitbucket/icon.svg" | 131 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/bitbucket/icon.svg" |
132 | } | 132 | } |
@@ -135,7 +135,7 @@ | |||
135 | "featured": false, | 135 | "featured": false, |
136 | "id": "bitwarden", | 136 | "id": "bitwarden", |
137 | "name": "Bitwarden", | 137 | "name": "Bitwarden", |
138 | "version": "1.0.0", | 138 | "version": "1.0.1", |
139 | "icons": { | 139 | "icons": { |
140 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/bitwarden/icon.svg" | 140 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/bitwarden/icon.svg" |
141 | } | 141 | } |
@@ -315,7 +315,7 @@ | |||
315 | "featured": false, | 315 | "featured": false, |
316 | "id": "dockerhub", | 316 | "id": "dockerhub", |
317 | "name": "Docker Hub", | 317 | "name": "Docker Hub", |
318 | "version": "1.0.0", | 318 | "version": "1.0.1", |
319 | "icons": { | 319 | "icons": { |
320 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/dockerhub/icon.svg" | 320 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/dockerhub/icon.svg" |
321 | } | 321 | } |
@@ -324,7 +324,7 @@ | |||
324 | "featured": false, | 324 | "featured": false, |
325 | "id": "dropbox", | 325 | "id": "dropbox", |
326 | "name": "Dropbox", | 326 | "name": "Dropbox", |
327 | "version": "1.0.0", | 327 | "version": "1.0.1", |
328 | "icons": { | 328 | "icons": { |
329 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/dropbox/icon.svg" | 329 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/dropbox/icon.svg" |
330 | } | 330 | } |
@@ -355,7 +355,7 @@ | |||
355 | "featured": false, | 355 | "featured": false, |
356 | "id": "epicgames", | 356 | "id": "epicgames", |
357 | "name": "Epic Games Store", | 357 | "name": "Epic Games Store", |
358 | "version": "1.1.0", | 358 | "version": "1.1.1", |
359 | "icons": { | 359 | "icons": { |
360 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/epicgames/icon.svg" | 360 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/epicgames/icon.svg" |
361 | } | 361 | } |
@@ -436,7 +436,7 @@ | |||
436 | "featured": false, | 436 | "featured": false, |
437 | "id": "fleep", | 437 | "id": "fleep", |
438 | "name": "Fleep", | 438 | "name": "Fleep", |
439 | "version": "1.1.1", | 439 | "version": "1.1.2", |
440 | "icons": { | 440 | "icons": { |
441 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/fleep/icon.svg" | 441 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/fleep/icon.svg" |
442 | } | 442 | } |
@@ -499,7 +499,7 @@ | |||
499 | "featured": false, | 499 | "featured": false, |
500 | "id": "gitlab", | 500 | "id": "gitlab", |
501 | "name": "GitLab", | 501 | "name": "GitLab", |
502 | "version": "1.2.0", | 502 | "version": "1.2.1", |
503 | "icons": { | 503 | "icons": { |
504 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/gitlab/icon.svg" | 504 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/gitlab/icon.svg" |
505 | } | 505 | } |
@@ -535,7 +535,7 @@ | |||
535 | "featured": false, | 535 | "featured": false, |
536 | "id": "good-reads", | 536 | "id": "good-reads", |
537 | "name": "Good Reads", | 537 | "name": "Good Reads", |
538 | "version": "1.0.0", | 538 | "version": "1.0.1", |
539 | "icons": { | 539 | "icons": { |
540 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/good-reads/icon.svg" | 540 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/good-reads/icon.svg" |
541 | } | 541 | } |
@@ -562,7 +562,7 @@ | |||
562 | "featured": false, | 562 | "featured": false, |
563 | "id": "google-translate", | 563 | "id": "google-translate", |
564 | "name": "Google Translate", | 564 | "name": "Google Translate", |
565 | "version": "1.0.0", | 565 | "version": "1.0.1", |
566 | "icons": { | 566 | "icons": { |
567 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/google-translate/icon.svg" | 567 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/google-translate/icon.svg" |
568 | } | 568 | } |
@@ -593,7 +593,7 @@ | |||
593 | "featured": false, | 593 | "featured": false, |
594 | "id": "googleclassroom", | 594 | "id": "googleclassroom", |
595 | "name": "Google Classroom", | 595 | "name": "Google Classroom", |
596 | "version": "1.1.2", | 596 | "version": "1.1.3", |
597 | "icons": { | 597 | "icons": { |
598 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/googleclassroom/icon.svg" | 598 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/googleclassroom/icon.svg" |
599 | } | 599 | } |
@@ -939,7 +939,7 @@ | |||
939 | "featured": false, | 939 | "featured": false, |
940 | "id": "meetup", | 940 | "id": "meetup", |
941 | "name": "Meetup", | 941 | "name": "Meetup", |
942 | "version": "1.0.0", | 942 | "version": "1.0.1", |
943 | "icons": { | 943 | "icons": { |
944 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/meetup/icon.svg" | 944 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/meetup/icon.svg" |
945 | } | 945 | } |
@@ -993,7 +993,7 @@ | |||
993 | "featured": false, | 993 | "featured": false, |
994 | "id": "moodle", | 994 | "id": "moodle", |
995 | "name": "Moodle", | 995 | "name": "Moodle", |
996 | "version": "1.0.0", | 996 | "version": "1.0.1", |
997 | "icons": { | 997 | "icons": { |
998 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/moodle/icon.svg" | 998 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/moodle/icon.svg" |
999 | } | 999 | } |
@@ -1041,7 +1041,7 @@ | |||
1041 | "featured": false, | 1041 | "featured": false, |
1042 | "id": "netlify", | 1042 | "id": "netlify", |
1043 | "name": "Netlify", | 1043 | "name": "Netlify", |
1044 | "version": "1.0.0", | 1044 | "version": "1.0.1", |
1045 | "icons": { | 1045 | "icons": { |
1046 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/netlify/icon.svg" | 1046 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/netlify/icon.svg" |
1047 | } | 1047 | } |
@@ -1149,7 +1149,7 @@ | |||
1149 | "featured": false, | 1149 | "featured": false, |
1150 | "id": "odoo", | 1150 | "id": "odoo", |
1151 | "name": "Odoo", | 1151 | "name": "Odoo", |
1152 | "version": "1.0.0", | 1152 | "version": "1.0.1", |
1153 | "icons": { | 1153 | "icons": { |
1154 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/odoo/icon.svg" | 1154 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/odoo/icon.svg" |
1155 | } | 1155 | } |
@@ -1170,7 +1170,7 @@ | |||
1170 | "featured": false, | 1170 | "featured": false, |
1171 | "id": "onenote", | 1171 | "id": "onenote", |
1172 | "name": "OneNote", | 1172 | "name": "OneNote", |
1173 | "version": "1.1.0", | 1173 | "version": "1.1.1", |
1174 | "icons": { | 1174 | "icons": { |
1175 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/onenote/icon.svg" | 1175 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/onenote/icon.svg" |
1176 | } | 1176 | } |
@@ -1179,7 +1179,7 @@ | |||
1179 | "featured": false, | 1179 | "featured": false, |
1180 | "id": "OVHCloud", | 1180 | "id": "OVHCloud", |
1181 | "name": "OVH Cloud", | 1181 | "name": "OVH Cloud", |
1182 | "version": "1.0.0", | 1182 | "version": "1.0.1", |
1183 | "icons": { | 1183 | "icons": { |
1184 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/OVHCloud/icon.svg" | 1184 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/OVHCloud/icon.svg" |
1185 | } | 1185 | } |
@@ -1206,7 +1206,7 @@ | |||
1206 | "featured": false, | 1206 | "featured": false, |
1207 | "id": "pipefy", | 1207 | "id": "pipefy", |
1208 | "name": "Pipefy", | 1208 | "name": "Pipefy", |
1209 | "version": "1.0.1", | 1209 | "version": "1.0.2", |
1210 | "icons": { | 1210 | "icons": { |
1211 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/pipefy/icon.svg" | 1211 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/pipefy/icon.svg" |
1212 | } | 1212 | } |
@@ -1233,7 +1233,7 @@ | |||
1233 | "featured": false, | 1233 | "featured": false, |
1234 | "id": "plek", | 1234 | "id": "plek", |
1235 | "name": "Plek", | 1235 | "name": "Plek", |
1236 | "version": "1.0.0", | 1236 | "version": "1.0.1", |
1237 | "icons": { | 1237 | "icons": { |
1238 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/plek/icon.svg" | 1238 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/plek/icon.svg" |
1239 | } | 1239 | } |
@@ -1278,7 +1278,7 @@ | |||
1278 | "featured": false, | 1278 | "featured": false, |
1279 | "id": "pomodoro-tracker", | 1279 | "id": "pomodoro-tracker", |
1280 | "name": "Pomodoro Tracker", | 1280 | "name": "Pomodoro Tracker", |
1281 | "version": "1.1.0", | 1281 | "version": "1.1.1", |
1282 | "icons": { | 1282 | "icons": { |
1283 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/pomodoro-tracker/icon.svg" | 1283 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/pomodoro-tracker/icon.svg" |
1284 | } | 1284 | } |
@@ -1305,7 +1305,7 @@ | |||
1305 | "featured": false, | 1305 | "featured": false, |
1306 | "id": "protoncalendar", | 1306 | "id": "protoncalendar", |
1307 | "name": "ProtonCalendar", | 1307 | "name": "ProtonCalendar", |
1308 | "version": "1.1.0", | 1308 | "version": "1.1.1", |
1309 | "icons": { | 1309 | "icons": { |
1310 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/protoncalendar/icon.svg" | 1310 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/protoncalendar/icon.svg" |
1311 | } | 1311 | } |
@@ -1368,7 +1368,7 @@ | |||
1368 | "featured": false, | 1368 | "featured": false, |
1369 | "id": "riseup", | 1369 | "id": "riseup", |
1370 | "name": "Riseup.net", | 1370 | "name": "Riseup.net", |
1371 | "version": "1.1.2", | 1371 | "version": "1.1.3", |
1372 | "icons": { | 1372 | "icons": { |
1373 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/riseup/icon.svg" | 1373 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/riseup/icon.svg" |
1374 | } | 1374 | } |
@@ -1404,7 +1404,7 @@ | |||
1404 | "featured": false, | 1404 | "featured": false, |
1405 | "id": "scribens", | 1405 | "id": "scribens", |
1406 | "name": "Scribens", | 1406 | "name": "Scribens", |
1407 | "version": "1.0.0", | 1407 | "version": "1.0.1", |
1408 | "icons": { | 1408 | "icons": { |
1409 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/scribens/icon.svg" | 1409 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/scribens/icon.svg" |
1410 | } | 1410 | } |
@@ -1494,7 +1494,7 @@ | |||
1494 | "featured": false, | 1494 | "featured": false, |
1495 | "id": "stackexchange", | 1495 | "id": "stackexchange", |
1496 | "name": "StackExchange", | 1496 | "name": "StackExchange", |
1497 | "version": "1.1.0", | 1497 | "version": "1.1.1", |
1498 | "icons": { | 1498 | "icons": { |
1499 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/stackexchange/icon.svg" | 1499 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/stackexchange/icon.svg" |
1500 | } | 1500 | } |
@@ -1512,7 +1512,7 @@ | |||
1512 | "featured": false, | 1512 | "featured": false, |
1513 | "id": "stackoverflow-chat", | 1513 | "id": "stackoverflow-chat", |
1514 | "name": "Stackoverflow chat", | 1514 | "name": "Stackoverflow chat", |
1515 | "version": "1.0.1", | 1515 | "version": "1.0.2", |
1516 | "icons": { | 1516 | "icons": { |
1517 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/stackoverflow-chat/icon.svg" | 1517 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/stackoverflow-chat/icon.svg" |
1518 | } | 1518 | } |
@@ -1557,7 +1557,7 @@ | |||
1557 | "featured": false, | 1557 | "featured": false, |
1558 | "id": "sync", | 1558 | "id": "sync", |
1559 | "name": "sync", | 1559 | "name": "sync", |
1560 | "version": "1.1.0", | 1560 | "version": "1.1.1", |
1561 | "icons": { | 1561 | "icons": { |
1562 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/sync/icon.svg" | 1562 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/sync/icon.svg" |
1563 | } | 1563 | } |
@@ -1638,7 +1638,7 @@ | |||
1638 | "featured": false, | 1638 | "featured": false, |
1639 | "id": "tinder", | 1639 | "id": "tinder", |
1640 | "name": "Tinder", | 1640 | "name": "Tinder", |
1641 | "version": "1.0.1", | 1641 | "version": "1.0.2", |
1642 | "icons": { | 1642 | "icons": { |
1643 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/tinder/icon.svg" | 1643 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/tinder/icon.svg" |
1644 | } | 1644 | } |
@@ -1683,7 +1683,7 @@ | |||
1683 | "featured": false, | 1683 | "featured": false, |
1684 | "id": "tutanota", | 1684 | "id": "tutanota", |
1685 | "name": "Tutanota", | 1685 | "name": "Tutanota", |
1686 | "version": "1.1.0", | 1686 | "version": "1.1.1", |
1687 | "icons": { | 1687 | "icons": { |
1688 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/tutanota/icon.svg" | 1688 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/tutanota/icon.svg" |
1689 | } | 1689 | } |
@@ -1773,7 +1773,7 @@ | |||
1773 | "featured": false, | 1773 | "featured": false, |
1774 | "id": "wakatime", | 1774 | "id": "wakatime", |
1775 | "name": "Wakatime", | 1775 | "name": "Wakatime", |
1776 | "version": "1.0.1", | 1776 | "version": "1.0.2", |
1777 | "icons": { | 1777 | "icons": { |
1778 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/wakatime/icon.svg" | 1778 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/wakatime/icon.svg" |
1779 | } | 1779 | } |
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 | }; | ||
diff --git a/scripts/create.js b/scripts/create.js index f171290..6ba1ee4 100644 --- a/scripts/create.js +++ b/scripts/create.js | |||
@@ -24,7 +24,6 @@ const filesThatNeedTextReplace = [ | |||
24 | 'package.json', | 24 | 'package.json', |
25 | 'index.js', | 25 | 'index.js', |
26 | 'webview.js', | 26 | 'webview.js', |
27 | 'README.md', | ||
28 | ]; | 27 | ]; |
29 | 28 | ||
30 | const toPascalCase = (str) => { | 29 | const toPascalCase = (str) => { |
diff --git a/scripts/sample_recipe/README.md b/scripts/sample_recipe/README.md deleted file mode 100644 index 40ddca5..0000000 --- a/scripts/sample_recipe/README.md +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # SNAME for Ferdi | ||
2 | This is a Ferdi recipe for SNAME | ||
diff --git a/scripts/sample_recipe/service.css b/scripts/sample_recipe/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/scripts/sample_recipe/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/scripts/sample_recipe/webview.js b/scripts/sample_recipe/webview.js index a6596b1..29cca49 100644 --- a/scripts/sample_recipe/webview.js +++ b/scripts/sample_recipe/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 SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | 2 | // TODO: If your SNAME 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 | }; |