aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pivotal-tracker
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-06-20 11:08:00 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-06-20 05:47:40 +0000
commit8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea (patch)
treedbbc5d0bf44f56a1024eae1d9799c47853401e0d /recipes/pivotal-tracker
parentRenamed 'glowingbear' --> 'glowing-bear' and 'ex-google-voice' --> 'google-vo... (diff)
downloadferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.tar.gz
ferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.tar.zst
ferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.zip
Added new services
- 'air-droid' - 'basecamp' - 'box' - 'buffer' - 'chatra' - 'easy-redmine' - 'feedbin' - 'iCloud' - 'jollor' - 'nomadlist' - 'paymo' - 'pivotal-tracker' - 'plan' - 'podio' - 'protonet' - 'teamleader'
Diffstat (limited to 'recipes/pivotal-tracker')
-rw-r--r--recipes/pivotal-tracker/icon.pngbin0 -> 99243 bytes
-rw-r--r--recipes/pivotal-tracker/icon.svg7
-rw-r--r--recipes/pivotal-tracker/index.js1
-rw-r--r--recipes/pivotal-tracker/package.json24
-rw-r--r--recipes/pivotal-tracker/webview.js13
5 files changed, 45 insertions, 0 deletions
diff --git a/recipes/pivotal-tracker/icon.png b/recipes/pivotal-tracker/icon.png
new file mode 100644
index 0000000..f85f3e9
--- /dev/null
+++ b/recipes/pivotal-tracker/icon.png
Binary files differ
diff --git a/recipes/pivotal-tracker/icon.svg b/recipes/pivotal-tracker/icon.svg
new file mode 100644
index 0000000..3dbf5c6
--- /dev/null
+++ b/recipes/pivotal-tracker/icon.svg
@@ -0,0 +1,7 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<svg width="256px" height="256px" viewBox="0 0 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
3 <g>
4 <path d="M94.0114747,58.8463838 L122.564525,108.298343 C127.097535,107.085576 132.046869,107.439838 136.546263,109.544727 L151.557172,83.5465051 L126.466586,40.1014949 L93.7166869,59.0144646 L93.7192727,59.0144646 L94.0114747,58.8463838 Z M50.9672727,122.817939 L108.086303,122.817939 C108.541414,121.11903 109.198222,119.443394 110.118788,117.853091 C111.670303,115.161212 113.751919,112.976162 116.141253,111.308283 L101.132929,85.3178182 L50.9517576,85.3178182 L50.9517576,123.141172 L50.9672727,123.141172 L50.9672727,122.817939 Z M145.63297,138.358949 C144.076283,141.050828 142.007596,143.228121 139.623434,144.893414 L154.642101,170.904566 L204.810343,170.904566 L204.810343,133.409616 L147.66804,133.409616 C147.207758,135.108525 146.545778,136.768646 145.63297,138.358949 Z M142.354101,113.614869 C145.819152,117.064404 147.880081,121.594828 148.293818,126.345051 L178.305293,126.345051 L203.395879,82.8974545 L170.925253,64.1448081 L142.354101,113.614869 Z M84.8316768,192.082747 L113.402828,142.592 C109.953293,139.137293 107.892364,134.619798 107.468283,129.885091 L77.4412929,129.885091 L52.3507071,173.312 L85.0928485,192.237899 L84.8316768,192.082747 Z M161.753212,197.368242 L133.205333,147.913697 C128.674909,149.136808 123.720404,148.792889 119.215838,146.675071 L104.199758,172.681051 L129.274828,216.115717 L162.027313,197.210505 L161.753212,197.368242 Z" fill="#ed7d1a"></path>
5 <path d="M127.888808,0.232727273 C57.3724444,0.232727273 0,57.5896566 0,128.095677 C0,198.622384 57.3724444,256 127.888808,256 C198.4,256 255.759515,198.622384 255.759515,128.095677 C255.759515,57.5896566 198.4,0.232727273 127.888808,0.232727273 L127.888808,0.232727273 Z M127.888808,26.1223434 C184.208808,26.1223434 229.864727,71.7730909 229.864727,128.095677 C229.864727,184.433778 184.208808,230.107798 127.888808,230.107798 C71.5610505,230.107798 25.8973737,184.433778 25.8973737,128.095677 C25.8973737,71.7730909 71.5610505,26.1223434 127.888808,26.1223434 L127.888808,26.1223434 Z" fill="#5282b0"></path>
6 </g>
7</svg> \ No newline at end of file
diff --git a/recipes/pivotal-tracker/index.js b/recipes/pivotal-tracker/index.js
new file mode 100644
index 0000000..258da41
--- /dev/null
+++ b/recipes/pivotal-tracker/index.js
@@ -0,0 +1 @@
module.exports = Franz => Franz;
diff --git a/recipes/pivotal-tracker/package.json b/recipes/pivotal-tracker/package.json
new file mode 100644
index 0000000..61da261
--- /dev/null
+++ b/recipes/pivotal-tracker/package.json
@@ -0,0 +1,24 @@
1{
2 "id": "pivotal-tracker",
3 "name": "pivotal-tracker",
4 "version": "1.0.0",
5 "description": "Pivotal Tracker",
6 "main": "index.js",
7 "author": "Laszlo Racz <hdkiller@gmail.com>",
8 "license": "MIT",
9 "config": {
10 "serviceURL": "https://www.pivotaltracker.com/signin",
11 "serviceName": "Pivotal Tracker",
12 "message": "",
13 "popup": [],
14 "hasNotificationSound": true,
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/pivotal-tracker/webview.js b/recipes/pivotal-tracker/webview.js
new file mode 100644
index 0000000..a550492
--- /dev/null
+++ b/recipes/pivotal-tracker/webview.js
@@ -0,0 +1,13 @@
1module.exports = (Franz, options) => {
2
3 function getMessages() {
4 var bell = document.querySelectorAll("#view65 > span")[0];
5
6 counter = parseInt(bell.innerText);
7
8 Franz.setBadge(counter);
9 };
10
11 Franz.loop(getMessages);
12
13}