aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/idobata
diff options
context:
space:
mode:
authorLibravatar Bennett <hello@vantezzen.io>2020-09-22 20:56:48 +0200
committerLibravatar GitHub <noreply@github.com>2020-09-22 19:56:48 +0100
commit6f5e4a00588aefdda7a5a1cfe70935870e7e234a (patch)
tree9e29aa7aa0620a1a4a968ff8739b4b8ba96791a9 /recipes/idobata
parentUpdated logos for Outlook/OWA (diff)
downloadferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.tar.gz
ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.tar.zst
ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.zip
Unpack recipes and update recipes icons (#292)
Co-authored-by: Amine Mouafik <amine@mouafik.fr>
Diffstat (limited to 'recipes/idobata')
-rw-r--r--recipes/idobata/README.md17
-rw-r--r--recipes/idobata/icon.pngbin0 -> 26447 bytes
-rw-r--r--recipes/idobata/icon.svg21
-rw-r--r--recipes/idobata/index.js4
-rw-r--r--recipes/idobata/package.json24
-rw-r--r--recipes/idobata/webview.js13
6 files changed, 79 insertions, 0 deletions
diff --git a/recipes/idobata/README.md b/recipes/idobata/README.md
new file mode 100644
index 0000000..a410d58
--- /dev/null
+++ b/recipes/idobata/README.md
@@ -0,0 +1,17 @@
1# Idobata for Franz
2
3---
4
5This is the Franz 5 Recipe for Idobata.
6
7## For furher information on Idobata:
8
9[Idobata](https://idobata.io/en/home) is a chat service.
10
11## Installation for Development
12
13copy files to [Franz Plugins folder](http://github.com/meetfranz/plugins/blob/master/docs/integration.md#installation).
14
15## License
16
17This plugins are available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
diff --git a/recipes/idobata/icon.png b/recipes/idobata/icon.png
new file mode 100644
index 0000000..97e6498
--- /dev/null
+++ b/recipes/idobata/icon.png
Binary files differ
diff --git a/recipes/idobata/icon.svg b/recipes/idobata/icon.svg
new file mode 100644
index 0000000..1ee3062
--- /dev/null
+++ b/recipes/idobata/icon.svg
@@ -0,0 +1,21 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 19.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4<svg version="1.1"
5 id="svg2" sodipodi:docname="evernote.svg" inkscape:version="0.47 r22583" sodipodi:version="0.32" inkscape:output_extension="org.inkscape.output.svg.inkscape" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:cc="http://creativecommons.org/ns#"
6 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="256px" height="256px"
7 viewBox="-71 73 256 256" style="enable-background:new -71 73 256 256;" xml:space="preserve">
8<style type="text/css">
9 .st0{fill:#554B47;}
10 .st1{fill:#FFFFFF;}
11</style>
12<sodipodi:namedview inkscape:window-maximized="0" inkscape:window-y="0" inkscape:window-x="0" inkscape:window-height="556" inkscape:window-width="867" inkscape:pageshadow="2" inkscape:document-units="px" inkscape:current-layer="layer1" inkscape:pageopacity="0.0" borderopacity="1.0" inkscape:zoom="0.98994949" inkscape:cy="178.60796" inkscape:cx="89.43536" showgrid="false" bordercolor="#666666" pagecolor="#ffffff" id="base">
13 </sodipodi:namedview>
14<g>
15 <path class="st0" d="M158.5,329H-44.5c-14.6,0-26.5-11.8-26.5-26.5V99.5C-71,84.8-59.2,73-44.5,73h203.1
16 c14.6,0,26.5,11.8,26.5,26.5v203.1C185,317.2,173.2,329,158.5,329z"/>
17 <path class="st1" d="M150.5,191.3l-18-12.3l-14.2,9.7L75,159.1l14.2-9.7l-18-12.3L57,146.8l-14.2-9.7l-18,12.3l14.2,9.7l-43.4,29.6
18 l-14.2-9.7l-18,12.3l14.2,9.7l-14.2,9.7l18,12.3l14.2-9.7L39,242.9l-14.2,9.7l18,12.3l14.2-9.7l14.2,9.7l18-12.3L75,242.9
19 l43.4-29.6l14.2,9.7l18-12.3l-14.2-9.7L150.5,191.3z M57,230.6L13.6,201L57,171.4l43.4,29.6L57,230.6z"/>
20</g>
21</svg>
diff --git a/recipes/idobata/index.js b/recipes/idobata/index.js
new file mode 100644
index 0000000..6b71e31
--- /dev/null
+++ b/recipes/idobata/index.js
@@ -0,0 +1,4 @@
1"use strict";
2
3module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlkb2JhdGEvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJpZG9iYXRhL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ== \ No newline at end of file
diff --git a/recipes/idobata/package.json b/recipes/idobata/package.json
new file mode 100644
index 0000000..6f94d4e
--- /dev/null
+++ b/recipes/idobata/package.json
@@ -0,0 +1,24 @@
1{
2 "id": "idobata",
3 "name": "Idobata",
4 "version": "0.1.0",
5 "description": "Idobata plugin for meetfranz.",
6 "main": "index.js",
7 "author": "",
8 "license": "MIT",
9 "config": {
10 "serviceURL": "https://idobata.io",
11 "serviceName": "Idobata",
12 "message": "Idobata plugin for meetfranz.",
13 "popup": [],
14 "hasNotificationSound": false,
15 "hasIndirectMessages": false,
16 "hasTeamID": false,
17 "customURL": false,
18 "hostedOnly": false,
19 "webviewOptions": {
20 "disablewebsecurity": ""
21 },
22 "openDevTools": false
23 }
24}
diff --git a/recipes/idobata/webview.js b/recipes/idobata/webview.js
new file mode 100644
index 0000000..3e7352e
--- /dev/null
+++ b/recipes/idobata/webview.js
@@ -0,0 +1,13 @@
1'use strict';
2
3module.exports = Franz => {
4 function getMessages() {
5 const title = document.querySelector('title').innerHTML.match(/\d+/);
6 const count = title !== null ? title[0] : 0;
7
8 Franz.setBadge(count);
9 }
10
11 Franz.loop(getMessages);
12};
13//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlkb2JhdGEvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsInRpdGxlIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yIiwiaW5uZXJIVE1MIiwibWF0Y2giLCJjb3VudCIsInNldEJhZGdlIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFrQkMsS0FBRCxJQUFXO0FBQzFCLFdBQVNDLFdBQVQsR0FBdUI7QUFDckIsVUFBTUMsUUFBUUMsU0FBU0MsYUFBVCxDQUF1QixPQUF2QixFQUFnQ0MsU0FBaEMsQ0FBMENDLEtBQTFDLENBQWdELEtBQWhELENBQWQ7QUFDQSxVQUFNQyxRQUFRTCxVQUFVLElBQVYsR0FBaUJBLE1BQU0sQ0FBTixDQUFqQixHQUE0QixDQUExQzs7QUFFQUYsVUFBTVEsUUFBTixDQUFlRCxLQUFmO0FBQ0Q7O0FBRURQLFFBQU1TLElBQU4sQ0FBV1IsV0FBWDtBQUNELENBVEQiLCJmaWxlIjoiaWRvYmF0YS93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSAoRnJhbnopID0+IHtcbiAgZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgY29uc3QgdGl0bGUgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCd0aXRsZScpLmlubmVySFRNTC5tYXRjaCgvXFxkKy8pO1xuICAgIGNvbnN0IGNvdW50ID0gdGl0bGUgIT09IG51bGwgPyB0aXRsZVswXSA6IDA7XG5cbiAgICBGcmFuei5zZXRCYWRnZShjb3VudCk7XG4gIH1cblxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn07XG4iXX0= \ No newline at end of file