diff options
author | vantezzen <hello@vantezzen.io> | 2019-09-28 12:10:25 +0200 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2019-09-28 12:10:25 +0200 |
commit | 728d339739b63e9bb59e457e4a84fe9a65b93fc9 (patch) | |
tree | a0fc6180ea26fa9ef397458e8eb6491031d6437d /uncompressed/trello | |
parent | Add list of recipes (diff) | |
download | ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.tar.gz ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.tar.zst ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.zip |
Add uncompressed recipes
Diffstat (limited to 'uncompressed/trello')
-rw-r--r-- | uncompressed/trello/LICENSE | 21 | ||||
-rw-r--r-- | uncompressed/trello/README.md | 19 | ||||
-rw-r--r-- | uncompressed/trello/icon.svg | 22 | ||||
-rw-r--r-- | uncompressed/trello/index.js | 4 | ||||
-rw-r--r-- | uncompressed/trello/package.json | 12 | ||||
-rw-r--r-- | uncompressed/trello/webview.js | 12 |
6 files changed, 90 insertions, 0 deletions
diff --git a/uncompressed/trello/LICENSE b/uncompressed/trello/LICENSE new file mode 100644 index 0000000..226c90e --- /dev/null +++ b/uncompressed/trello/LICENSE | |||
@@ -0,0 +1,21 @@ | |||
1 | MIT License | ||
2 | |||
3 | Copyright (c) 2017 Thom van Hal | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in all | ||
13 | copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | SOFTWARE. \ No newline at end of file | ||
diff --git a/uncompressed/trello/README.md b/uncompressed/trello/README.md new file mode 100644 index 0000000..5e316f3 --- /dev/null +++ b/uncompressed/trello/README.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # Trello Franz Recipe | ||
2 | |||
3 | ## Requirements | ||
4 | This recipe only works for Franz 5.X, get it now at http://meetfranz.com | ||
5 | |||
6 | ## Installation | ||
7 | |||
8 | 1. Clone/download the folder `recipe-franz-trello`. | ||
9 | |||
10 | 2. Open the Franz Recipe folder on your machine: | ||
11 | * Mac: `~/Library/Application Support/Franz/recipes/` | ||
12 | * Windows: `%appdata%/Franz/recipes/` | ||
13 | * Linux: `~/.config/Franz/recipes/` | ||
14 | |||
15 | 3. Create a `dev` folder if you have not already done so | ||
16 | |||
17 | 3. Unzip and copy the `recipe-franz-trello` folder into the recipes dev directory | ||
18 | |||
19 | 4. Restart Franz \ No newline at end of file | ||
diff --git a/uncompressed/trello/icon.svg b/uncompressed/trello/icon.svg new file mode 100644 index 0000000..eecadb3 --- /dev/null +++ b/uncompressed/trello/icon.svg | |||
@@ -0,0 +1,22 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <svg width="200px" height="200px" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
3 | <!-- Generator: Sketch 41 (35326) - http://www.bohemiancoding.com/sketch --> | ||
4 | <title>trello-mark-blue-flat</title> | ||
5 | <desc>Created with Sketch.</desc> | ||
6 | <defs></defs> | ||
7 | <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
8 | <g id="Logos" transform="translate(-1579.000000, -521.000000)"> | ||
9 | <g id="Group" transform="translate(-9.000000, 1.000000)"> | ||
10 | <g id="Trello-Logo" transform="translate(468.000000, 0.000000)"> | ||
11 | <g id="Trello-Mark---Blue---Flat" transform="translate(1020.000000, 420.000000)"> | ||
12 | <g id="Mark" transform="translate(100.000000, 100.000000)"> | ||
13 | <rect id="Board" fill="#0079BF" x="0" y="0" width="200" height="200" rx="25"></rect> | ||
14 | <rect id="Right-List" fill="#FFFFFF" x="113" y="26" width="61" height="87.5" rx="12"></rect> | ||
15 | <rect id="Left-List" fill="#FFFFFF" x="26" y="26" width="61" height="137.5" rx="12"></rect> | ||
16 | </g> | ||
17 | </g> | ||
18 | </g> | ||
19 | </g> | ||
20 | </g> | ||
21 | </g> | ||
22 | </svg> \ No newline at end of file | ||
diff --git a/uncompressed/trello/index.js b/uncompressed/trello/index.js new file mode 100644 index 0000000..fc1746a --- /dev/null +++ b/uncompressed/trello/index.js | |||
@@ -0,0 +1,4 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; | ||
4 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRyZWxsby9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVNBLEtBQTFCIiwiZmlsZSI6InRyZWxsby9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gRnJhbno7XG4iXX0= \ No newline at end of file | ||
diff --git a/uncompressed/trello/package.json b/uncompressed/trello/package.json new file mode 100644 index 0000000..6cba316 --- /dev/null +++ b/uncompressed/trello/package.json | |||
@@ -0,0 +1,12 @@ | |||
1 | { | ||
2 | "id": "trello", | ||
3 | "name": "Trello", | ||
4 | "version": "1.0.0", | ||
5 | "description": "Trello", | ||
6 | "main": "index.js", | ||
7 | "author": "Thom van Hal <thom@thvmh.nl>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://trello.com/" | ||
11 | } | ||
12 | } | ||
diff --git a/uncompressed/trello/webview.js b/uncompressed/trello/webview.js new file mode 100644 index 0000000..e8214dd --- /dev/null +++ b/uncompressed/trello/webview.js | |||
@@ -0,0 +1,12 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | const getMessages = function getMessages() { | ||
5 | const notifications = document.querySelectorAll('.new-notifications'); | ||
6 | |||
7 | Franz.setBadge(0, notifications.length >= 1 ? 1 : 0); | ||
8 | }; | ||
9 | |||
10 | Franz.loop(getMessages); | ||
11 | }; | ||
12 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRyZWxsby93ZWJ2aWV3LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiIsImdldE1lc3NhZ2VzIiwibm90aWZpY2F0aW9ucyIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvckFsbCIsInNldEJhZGdlIiwibGVuZ3RoIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFrQkMsS0FBRCxJQUFXO0FBQzFCLFFBQU1DLGNBQWMsU0FBU0EsV0FBVCxHQUF1QjtBQUN6QyxVQUFNQyxnQkFBZ0JDLFNBQVNDLGdCQUFULENBQTBCLG9CQUExQixDQUF0Qjs7QUFFQUosVUFBTUssUUFBTixDQUFlLENBQWYsRUFBbUJILGNBQWNJLE1BQWQsSUFBd0IsQ0FBekIsR0FBOEIsQ0FBOUIsR0FBa0MsQ0FBcEQ7QUFDRCxHQUpEOztBQU1BTixRQUFNTyxJQUFOLENBQVdOLFdBQVg7QUFDRCxDQVJEIiwiZmlsZSI6InRyZWxsby93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSAoRnJhbnopID0+IHtcbiAgY29uc3QgZ2V0TWVzc2FnZXMgPSBmdW5jdGlvbiBnZXRNZXNzYWdlcygpIHtcbiAgICBjb25zdCBub3RpZmljYXRpb25zID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLm5ldy1ub3RpZmljYXRpb25zJyk7XG5cbiAgICBGcmFuei5zZXRCYWRnZSgwLCAobm90aWZpY2F0aW9ucy5sZW5ndGggPj0gMSkgPyAxIDogMCk7XG4gIH07XG5cbiAgRnJhbnoubG9vcChnZXRNZXNzYWdlcyk7XG59O1xuIl19 \ No newline at end of file | ||