aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mailbox.org
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/mailbox.org
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/mailbox.org')
-rw-r--r--recipes/mailbox.org/LICENSE21
-rw-r--r--recipes/mailbox.org/README.md18
-rw-r--r--recipes/mailbox.org/icon.pngbin0 -> 29543 bytes
-rw-r--r--recipes/mailbox.org/icon.svg85
-rw-r--r--recipes/mailbox.org/index.js2
-rw-r--r--recipes/mailbox.org/package.json12
-rw-r--r--recipes/mailbox.org/webview.js9
7 files changed, 147 insertions, 0 deletions
diff --git a/recipes/mailbox.org/LICENSE b/recipes/mailbox.org/LICENSE
new file mode 100644
index 0000000..b0958eb
--- /dev/null
+++ b/recipes/mailbox.org/LICENSE
@@ -0,0 +1,21 @@
1MIT License
2
3Copyright (c) 2017 Jonas H.
4
5Permission is hereby granted, free of charge, to any person obtaining a copy
6of this software and associated documentation files (the "Software"), to deal
7in the Software without restriction, including without limitation the rights
8to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9copies of the Software, and to permit persons to whom the Software is
10furnished to do so, subject to the following conditions:
11
12The above copyright notice and this permission notice shall be included in all
13copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21SOFTWARE.
diff --git a/recipes/mailbox.org/README.md b/recipes/mailbox.org/README.md
new file mode 100644
index 0000000..d077587
--- /dev/null
+++ b/recipes/mailbox.org/README.md
@@ -0,0 +1,18 @@
1# mailbox.org Franz Plugin
2Recipe for [mailbox.org](https://www.mailbox.org) integration with [Franz](http://meetfranz.com)
3
4## Requirements
5This recipe only works for Franz 5.X, get it now at http://meetfranz.com
6
7## How to test this recipe
81. To install a new integration, download the integration folder.
92. Open the Franz Plugins folder on your machine:
10 * Mac: `~/Library/Application Support/Franz/recipes/dev/`
11 * Windows: `%appdata%/Franz/recipes/dev/`
123. Copy the folder into the plugins directory
134. Reload Franz
14
15## Documentation
16* [Read the documentation](https://github.com/meetfranz/plugins/blob/master/docs/integration.md)
17
18**_All images are copyright to their respective owners_**
diff --git a/recipes/mailbox.org/icon.png b/recipes/mailbox.org/icon.png
new file mode 100644
index 0000000..e2952a2
--- /dev/null
+++ b/recipes/mailbox.org/icon.png
Binary files differ
diff --git a/recipes/mailbox.org/icon.svg b/recipes/mailbox.org/icon.svg
new file mode 100644
index 0000000..9f723f1
--- /dev/null
+++ b/recipes/mailbox.org/icon.svg
@@ -0,0 +1,85 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!-- Generator: Adobe Illustrator 24.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
4<svg
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 xmlns:cc="http://creativecommons.org/ns#"
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8 xmlns:svg="http://www.w3.org/2000/svg"
9 xmlns="http://www.w3.org/2000/svg"
10 xmlns:xlink="http://www.w3.org/1999/xlink"
11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13 version="1.1"
14 id="Ebene_1"
15 x="0px"
16 y="0px"
17 viewBox="0 0 429.53 429.52999"
18 xml:space="preserve"
19 sodipodi:docname="Mailbox_org icon.svg"
20 width="429.53"
21 height="429.53"
22 inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
23 id="metadata19"><rdf:RDF><cc:Work
24 rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
25 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
26 id="defs17" /><sodipodi:namedview
27 pagecolor="#ffffff"
28 bordercolor="#666666"
29 borderopacity="1"
30 objecttolerance="10"
31 gridtolerance="10"
32 guidetolerance="10"
33 inkscape:pageopacity="0"
34 inkscape:pageshadow="2"
35 inkscape:window-width="1296"
36 inkscape:window-height="740"
37 id="namedview15"
38 showgrid="false"
39 inkscape:zoom="0.4609375"
40 inkscape:cx="99.834402"
41 inkscape:cy="245.27599"
42 inkscape:window-x="70"
43 inkscape:window-y="28"
44 inkscape:window-maximized="1"
45 inkscape:current-layer="g12"
46 fit-margin-top="0" />
47<style
48 type="text/css"
49 id="style2">
50 .st0{clip-path:url(#SVGID_2_);fill:#76BC21;}
51</style>
52<g
53 id="g12"
54 transform="translate(0,-276.55001)">
55 <defs
56 id="defs5">
57 <rect
58 id="SVGID_1_"
59 y="317.91"
60 width="1024"
61 height="388.17001"
62 x="0" />
63 </defs>
64 <clipPath
65 id="SVGID_2_">
66 <use
67 xlink:href="#SVGID_1_"
68 style="overflow:visible"
69 id="use7"
70 x="0"
71 y="0"
72 width="100%"
73 height="100%" />
74 </clipPath>
75 <path
76 class="st0"
77 d="M 39.87,706.09 H 429.53 V 485.17 L 275.11,590.45 c -10.98,7.49 -21.93,-0.05 -21.93,-0.05 L 0,416.21 v 250 c 0,0 0,39.88 39.87,39.88 M 264.64,540.12 429.52,427.19 V 317.91 H 39.87 c 0,0 -39.87,0 -39.87,39.87 v 1.09 z"
78 clip-path="url(#SVGID_2_)"
79 id="path10"
80 inkscape:connector-curvature="0"
81 style="fill:#76bc21"
82 sodipodi:nodetypes="ccccccccccccscc"
83 transform="translate(0,-20.680001)" />
84</g>
85</svg> \ No newline at end of file
diff --git a/recipes/mailbox.org/index.js b/recipes/mailbox.org/index.js
new file mode 100644
index 0000000..886d7f6
--- /dev/null
+++ b/recipes/mailbox.org/index.js
@@ -0,0 +1,2 @@
1// default integration (e.g messenger.com, ...)
2module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/mailbox.org/package.json b/recipes/mailbox.org/package.json
new file mode 100644
index 0000000..6684cc3
--- /dev/null
+++ b/recipes/mailbox.org/package.json
@@ -0,0 +1,12 @@
1{
2 "id": "mailbox.org",
3 "name": "mailbox.org",
4 "version": "1.2.0",
5 "description": "Integration of mailbox.org",
6 "main": "index.js",
7 "author": "Jonas Hilke <jonashilke@gmail.com>",
8 "license": "MIT",
9 "config": {
10 "serviceURL": "https://office.mailbox.org/appsuite/#!!&app=io.ox/portal"
11 }
12}
diff --git a/recipes/mailbox.org/webview.js b/recipes/mailbox.org/webview.js
new file mode 100644
index 0000000..56cfa6e
--- /dev/null
+++ b/recipes/mailbox.org/webview.js
@@ -0,0 +1,9 @@
1module.exports = (Franz) => {
2 const getMessages = function getMessages() {
3 const count = document.querySelectorAll('.new-item').length;
4
5 Franz.setBadge(count);
6
7 };
8 Franz.loop(getMessages);
9};