aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed/jira
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 /uncompressed/jira
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 'uncompressed/jira')
-rw-r--r--uncompressed/jira/LICENSE21
-rw-r--r--uncompressed/jira/README.md5
-rw-r--r--uncompressed/jira/icon.pngbin32910 -> 0 bytes
-rw-r--r--uncompressed/jira/icon.svg17
-rw-r--r--uncompressed/jira/index.js11
-rw-r--r--uncompressed/jira/package.json16
-rw-r--r--uncompressed/jira/webview.js16
7 files changed, 0 insertions, 86 deletions
diff --git a/uncompressed/jira/LICENSE b/uncompressed/jira/LICENSE
deleted file mode 100644
index 7c394bc..0000000
--- a/uncompressed/jira/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
1MIT License
2
3Copyright (c) 2020 leobragatti
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/uncompressed/jira/README.md b/uncompressed/jira/README.md
deleted file mode 100644
index e775185..0000000
--- a/uncompressed/jira/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
1# Jira for Franz
2This is the unofficial Franz recipe for Jira
3
4### How to create your own Franz recipes:
5* [Read the documentation](https://github.com/meetfranz/plugins)
diff --git a/uncompressed/jira/icon.png b/uncompressed/jira/icon.png
deleted file mode 100644
index 7326ac5..0000000
--- a/uncompressed/jira/icon.png
+++ /dev/null
Binary files differ
diff --git a/uncompressed/jira/icon.svg b/uncompressed/jira/icon.svg
deleted file mode 100644
index 4601ddb..0000000
--- a/uncompressed/jira/icon.svg
+++ /dev/null
@@ -1,17 +0,0 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3<svg width="100%" height="100%" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
4 <g transform="matrix(21.2292,0,0,21.2292,2.74535,2)">
5 <path d="M24.001,31.838L16.163,24L24.001,16.162L24.001,0L1.617,22.384C0.73,23.271 0.73,24.729 1.617,25.616L24.001,48C24.001,48 27.429,45.714 27.429,40C27.252,36.968 26.041,34.087 24.001,31.838Z" style="fill:rgb(38,132,255);fill-rule:nonzero;"/>
6 <path d="M17.387,22.477L17.537,22.626L24.001,16.162L24.001,0L11.885,12.114C12.796,15.984 14.691,19.554 17.387,22.477Z" style="fill:rgb(29,120,242);fill-rule:nonzero;"/>
7 <path d="M19.041,20.897L19.155,21.011L24.003,16.163L24.003,0L13.868,10.133C14.503,14.149 16.302,17.892 19.041,20.897Z" style="fill:rgb(18,106,229);fill-rule:nonzero;"/>
8 <path d="M24.001,16.162L24.001,0L16.001,8C16.176,12.245 17.868,16.289 20.767,19.394L24.001,16.162Z" style="fill:rgb(11,96,218);fill-rule:nonzero;"/>
9 <path d="M18.286,8C18.286,13.424 22.18,17.567 22.383,17.778L24.001,16.162L24.001,0L18.49,5.511C18.353,6.333 18.285,7.166 18.286,8Z" style="fill:rgb(1,84,206);fill-rule:nonzero;"/>
10 <path d="M24.001,16.162L31.837,24L24.001,31.838L24.001,48L46.383,25.616C47.27,24.729 47.27,23.271 46.383,22.384L24.001,0C24.001,0 20.572,2.286 20.572,8C20.749,11.032 21.96,13.913 24.001,16.162Z" style="fill:rgb(36,130,253);fill-rule:nonzero;"/>
11 <path d="M30.613,25.523L30.463,25.374L24.001,31.838L24.001,48L36.115,35.886C35.204,32.016 33.309,28.446 30.613,25.523Z" style="fill:rgb(29,120,242);fill-rule:nonzero;"/>
12 <path d="M28.959,27.103L28.845,26.989L23.998,31.837L23.998,48L34.131,37.867C33.495,33.852 31.697,30.109 28.959,27.103Z" style="fill:rgb(18,106,229);fill-rule:nonzero;"/>
13 <path d="M24.001,31.838L24.001,48L32.001,40C31.825,35.755 30.133,31.71 27.233,28.606L24.001,31.838Z" style="fill:rgb(11,96,218);fill-rule:nonzero;"/>
14 <path d="M29.715,40C29.715,34.576 25.821,30.433 25.617,30.222L24.001,31.838L24.001,48L29.511,42.489C29.648,41.666 29.716,40.834 29.715,40Z" style="fill:rgb(1,84,206);fill-rule:nonzero;"/>
15 <path d="M24.001,31.838L16.163,24L3.429,24L3.429,27.429L24.001,48C24.001,48 27.429,45.714 27.429,40C27.252,36.968 26.041,34.087 24.001,31.838Z" style="fill:rgb(38,132,255);fill-rule:nonzero;"/>
16 </g>
17</svg>
diff --git a/uncompressed/jira/index.js b/uncompressed/jira/index.js
deleted file mode 100644
index 0431300..0000000
--- a/uncompressed/jira/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
1"use strict";
2
3module.exports = (Franz) =>
4 class Jira extends Franz {
5 overrideUserAgent() {
6 return window.navigator.userAgent.replace(
7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
8 ""
9 );
10 }
11 };
diff --git a/uncompressed/jira/package.json b/uncompressed/jira/package.json
deleted file mode 100644
index 77adaa7..0000000
--- a/uncompressed/jira/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
1{
2 "id": "jira",
3 "name": "Jira",
4 "version": "1.2.0",
5 "description": "Jira",
6 "main": "index.js",
7 "author": "Leonardo Bragatti <leonardo.bragatti@gmail.com> and The Ferdi Team <hello@getferdi.com>",
8 "license": "MIT",
9 "config": {
10 "serviceURL": "https://{teamId}.atlassian.net",
11 "urlInputSuffix": ".atlassian.net",
12 "hasTeamId": true,
13 "hasCustomUrl": true,
14 "hasNotificationSound": true
15 }
16}
diff --git a/uncompressed/jira/webview.js b/uncompressed/jira/webview.js
deleted file mode 100644
index 42d32e8..0000000
--- a/uncompressed/jira/webview.js
+++ /dev/null
@@ -1,16 +0,0 @@
1"use strict";
2
3module.exports = (Franz) => {
4 const getMessages = function getMessages() {
5 // get unread messages
6 let element = document.querySelector('#atlassian-navigation-notification-count span');
7 let count = element ? element.innerText : 0;
8 count = parseInt(count, 10);
9
10 // set Franz badge
11 Franz.setBadge(count);
12 };
13
14 // check for new messages every second and update Franz badge
15 Franz.loop(getMessages);
16}; \ No newline at end of file