diff options
author | 2020-07-19 20:47:18 +0200 | |
---|---|---|
committer | 2020-07-19 20:47:18 +0200 | |
commit | fa01b833bbe62a5b9277504994b924a49e67f805 (patch) | |
tree | f1f555fd0a5042ba8b05934d7d8cc40cd9c0ad1a | |
parent | Merge pull request #240 from andrsussa/master (diff) | |
parent | Update Riot.im to Element.io (diff) | |
download | ferdium-recipes-fa01b833bbe62a5b9277504994b924a49e67f805.tar.gz ferdium-recipes-fa01b833bbe62a5b9277504994b924a49e67f805.tar.zst ferdium-recipes-fa01b833bbe62a5b9277504994b924a49e67f805.zip |
Merge pull request #235 from omove/master
Update Riot.im to Element.io
-rw-r--r-- | all.json | 22 | ||||
-rw-r--r-- | archives/element.tar.gz | bin | 0 -> 26010 bytes | |||
-rw-r--r-- | archives/riot.tar.gz | bin | 45830 -> 0 bytes | |||
-rw-r--r-- | uncompressed/element/README.md | 2 | ||||
-rw-r--r-- | uncompressed/element/icon.png | bin | 0 -> 26967 bytes | |||
-rw-r--r-- | uncompressed/element/icon.svg | 6 | ||||
-rw-r--r-- | uncompressed/element/index.js | 3 | ||||
-rw-r--r-- | uncompressed/element/package.json | 18 | ||||
-rw-r--r-- | uncompressed/element/webview.js | 22 | ||||
-rw-r--r-- | uncompressed/riot/README.md | 11 | ||||
-rw-r--r-- | uncompressed/riot/icon.png | bin | 45664 -> 0 bytes | |||
-rw-r--r-- | uncompressed/riot/icon.svg | 16 | ||||
-rw-r--r-- | uncompressed/riot/index.js | 4 | ||||
-rw-r--r-- | uncompressed/riot/package.json | 19 | ||||
-rw-r--r-- | uncompressed/riot/webview.js | 23 |
15 files changed, 62 insertions, 84 deletions
@@ -143,6 +143,17 @@ | |||
143 | } | 143 | } |
144 | }, | 144 | }, |
145 | { | 145 | { |
146 | "author": "Omove <61330514+omove@users.noreply.github.com>", | ||
147 | "featured": false, | ||
148 | "id": "element", | ||
149 | "name": "Element", | ||
150 | "version": "1.0.0", | ||
151 | "icons": { | ||
152 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/element/icon.png", | ||
153 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/element/icon.svg" | ||
154 | } | ||
155 | }, | ||
156 | { | ||
146 | "author": "tfehren", | 157 | "author": "tfehren", |
147 | "featured": false, | 158 | "featured": false, |
148 | "id": "enterprise-owa", | 159 | "id": "enterprise-owa", |
@@ -792,17 +803,6 @@ | |||
792 | } | 803 | } |
793 | }, | 804 | }, |
794 | { | 805 | { |
795 | "author": "Sylvain Cecchetto <cecchetto.sylvain@me.com>", | ||
796 | "featured": false, | ||
797 | "id": "riot", | ||
798 | "name": "Riot", | ||
799 | "version": "1.0.3", | ||
800 | "icons": { | ||
801 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/riot/icon.png", | ||
802 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/riot/icon.svg" | ||
803 | } | ||
804 | }, | ||
805 | { | ||
806 | "author": "Dan Feder <danfeder@riseup.net>", | 806 | "author": "Dan Feder <danfeder@riseup.net>", |
807 | "featured": false, | 807 | "featured": false, |
808 | "id": "riseup", | 808 | "id": "riseup", |
diff --git a/archives/element.tar.gz b/archives/element.tar.gz new file mode 100644 index 0000000..92dbe9c --- /dev/null +++ b/archives/element.tar.gz | |||
Binary files differ | |||
diff --git a/archives/riot.tar.gz b/archives/riot.tar.gz deleted file mode 100644 index 630a873..0000000 --- a/archives/riot.tar.gz +++ /dev/null | |||
Binary files differ | |||
diff --git a/uncompressed/element/README.md b/uncompressed/element/README.md new file mode 100644 index 0000000..affdf4b --- /dev/null +++ b/uncompressed/element/README.md | |||
@@ -0,0 +1,2 @@ | |||
1 | # Element for Franz | ||
2 | This is a Franz recipe/plugin for Element | ||
diff --git a/uncompressed/element/icon.png b/uncompressed/element/icon.png new file mode 100644 index 0000000..58d2a9f --- /dev/null +++ b/uncompressed/element/icon.png | |||
Binary files differ | |||
diff --git a/uncompressed/element/icon.svg b/uncompressed/element/icon.svg new file mode 100644 index 0000000..b30aafe --- /dev/null +++ b/uncompressed/element/icon.svg | |||
@@ -0,0 +1,6 @@ | |||
1 | <svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
2 | <path fill-rule="evenodd" clip-rule="evenodd" d="M414 204C414 180.804 432.804 162 456 162C610.64 162 736 287.36 736 442C736 465.196 717.196 484 694 484C670.804 484 652 465.196 652 442C652 333.752 564.248 246 456 246C432.804 246 414 227.196 414 204Z" fill="#0DBD8B"/> | ||
3 | <path fill-rule="evenodd" clip-rule="evenodd" d="M610 820C610 843.196 591.196 862 568 862C413.36 862 288 736.64 288 582C288 558.804 306.804 540 330 540C353.196 540 372 558.804 372 582C372 690.248 459.752 778 568 778C591.196 778 610 796.804 610 820Z" fill="#0DBD8B"/> | ||
4 | <path fill-rule="evenodd" clip-rule="evenodd" d="M204 610C180.804 610 162 591.196 162 568C162 413.36 287.36 288 442 288C465.196 288 484 306.804 484 330C484 353.196 465.196 372 442 372C333.752 372 246 459.752 246 568C246 591.196 227.196 610 204 610Z" fill="#0DBD8B"/> | ||
5 | <path fill-rule="evenodd" clip-rule="evenodd" d="M820 414C843.196 414 862 432.804 862 456C862 610.64 736.64 736 582 736C558.804 736 540 717.196 540 694C540 670.804 558.804 652 582 652C690.248 652 778 564.248 778 456C778 432.804 796.804 414 820 414Z" fill="#0DBD8B"/> | ||
6 | </svg> | ||
diff --git a/uncompressed/element/index.js b/uncompressed/element/index.js new file mode 100644 index 0000000..17daa35 --- /dev/null +++ b/uncompressed/element/index.js | |||
@@ -0,0 +1,3 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; | ||
diff --git a/uncompressed/element/package.json b/uncompressed/element/package.json new file mode 100644 index 0000000..6774ce3 --- /dev/null +++ b/uncompressed/element/package.json | |||
@@ -0,0 +1,18 @@ | |||
1 | { | ||
2 | "id": "element", | ||
3 | "name": "Element", | ||
4 | "version": "1.0.0", | ||
5 | "description": "Decentralized, encrypted chat & collaboration powered by [matrix]", | ||
6 | "main": "index.js", | ||
7 | "author": "Omove <61330514+omove@users.noreply.github.com>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://app.element.io", | ||
11 | "hasTeamID": false, | ||
12 | "hasCustomUrl": true, | ||
13 | "message": "Element's default URL is https://app.element.io/", | ||
14 | "urlInputSuffix": false, | ||
15 | "hasNotificationSound": true, | ||
16 | "hasIndirectMessages": true | ||
17 | } | ||
18 | } | ||
diff --git a/uncompressed/element/webview.js b/uncompressed/element/webview.js new file mode 100644 index 0000000..6201f27 --- /dev/null +++ b/uncompressed/element/webview.js | |||
@@ -0,0 +1,22 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | function getMessages() { | ||
5 | const indirect_badge = document.getElementsByClassName('mx_RoomSubList_badge'); | ||
6 | let indirect_count = 0; | ||
7 | if (indirect_badge.length !== 0) { | ||
8 | indirect_count = indirect_badge.length; | ||
9 | } | ||
10 | |||
11 | const direct_badge = document.getElementsByClassName('mx_RoomSubList_badgeHighlight'); | ||
12 | let direct_count = 0; | ||
13 | if (direct_badge.length !== 0) { | ||
14 | direct_count = direct_badge.length; | ||
15 | } | ||
16 | // set Franz badge | ||
17 | Franz.setBadge(direct_count, indirect_count); | ||
18 | } | ||
19 | |||
20 | // check for new messages every second and update Franz badge | ||
21 | Franz.loop(getMessages); | ||
22 | }; | ||
diff --git a/uncompressed/riot/README.md b/uncompressed/riot/README.md deleted file mode 100644 index 85d0255..0000000 --- a/uncompressed/riot/README.md +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # Riot for Franz | ||
2 | This is a Franz recipe/plugin for Riot 5 | ||
3 | |||
4 | ## Installation | ||
5 | 1. Download or clone this repo on your computer | ||
6 | 2. Open the Franz Plugins folder on your machine: | ||
7 | * Mac: `~/Library/Application Support/Franz/recipes/dev/` | ||
8 | * Windows: `%appdata%/Franz/recipes/dev/` | ||
9 | 3. Copy the `recipe-riot` folder into the `dev` directory (if the directory does not exist, create it) | ||
10 | 4. Reload Franz | ||
11 | 5. Open `Settings` tab and enable Riot in the `development` tab of `Available services` | ||
diff --git a/uncompressed/riot/icon.png b/uncompressed/riot/icon.png deleted file mode 100644 index 04f8163..0000000 --- a/uncompressed/riot/icon.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/uncompressed/riot/icon.svg b/uncompressed/riot/icon.svg deleted file mode 100644 index 8de291f..0000000 --- a/uncompressed/riot/icon.svg +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <svg width="1024px" height="1024px" viewBox="0 0 235 293" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
3 | <!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch --> | ||
4 | <title>animatedLogo-0</title> | ||
5 | <desc>Created with Sketch.</desc> | ||
6 | <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
7 | <g id="animatedLogo-0" transform="translate(-71.000000, -93.000000)"> | ||
8 | <g id="Group-17" transform="translate(75.000000, 97.000000)"> | ||
9 | <path d="M83.6089795,81.3669988 L83.6089795,122.62072 L125.566883,122.57759 C126.099705,122.57759 126.585875,122.563213 127.069589,122.532064 C138.101709,121.806044 146.725079,112.775129 146.725079,101.973492 C146.725079,90.6087715 137.254595,81.3669988 125.608625,81.3669988 L83.6089795,81.3669988 Z M42.1126914,285.126882 C19.1964277,285.126882 0.616403324,266.99796 0.616403324,244.632726 L0.616403324,167.456616 C0.466623823,166.057291 0.385595568,164.634005 0.385595568,163.193947 C0.383140166,161.727531 0.461713019,160.280285 0.616403324,158.852207 L0.616403324,40.8728429 C0.616403324,18.5076092 19.1964277,0.376291002 42.1126914,0.376291002 L125.608625,0.376291002 C183.015916,0.376291002 229.720111,45.9525832 229.720111,101.973492 C229.720111,155.236486 187.089427,199.758492 132.667905,203.333479 C130.354916,203.489226 127.970721,203.568297 125.608625,203.568297 L83.6089795,203.609031 L83.6089795,244.632726 C83.6089795,266.99796 65.0314105,285.126882 42.1126914,285.126882 Z" id="Fill-1" fill="#A2DDEF"></path> | ||
10 | <path d="M83.6089795,81.3669988 L83.6089795,122.62072 L125.566883,122.57759 C126.099705,122.57759 126.585875,122.563213 127.069589,122.532064 C138.101709,121.806044 146.725079,112.775129 146.725079,101.973492 C146.725079,90.6087715 137.254595,81.3669988 125.608625,81.3669988 L83.6089795,81.3669988 Z M42.1126914,285.126882 C19.1964277,285.126882 0.616403324,266.99796 0.616403324,244.632726 L0.616403324,167.456616 C0.466623823,166.057291 0.385595568,164.634005 0.385595568,163.193947 C0.383140166,161.727531 0.461713019,160.280285 0.616403324,158.852207 L0.616403324,40.8728429 C0.616403324,18.5076092 19.1964277,0.376291002 42.1126914,0.376291002 L125.608625,0.376291002 C183.015916,0.376291002 229.720111,45.9525832 229.720111,101.973492 C229.720111,155.236486 187.089427,199.758492 132.667905,203.333479 C130.354916,203.489226 127.970721,203.568297 125.608625,203.568297 L83.6089795,203.609031 L83.6089795,244.632726 C83.6089795,266.99796 65.0314105,285.126882 42.1126914,285.126882 Z" id="Stroke-3" stroke="#368BD6" stroke-width="7.31760436"></path> | ||
11 | <path d="M42.112937,244.632007 L42.112937,40.8721241 L125.60887,40.8721241 C160.188292,40.8721241 188.221613,68.2284423 188.221613,101.972773 C188.221613,134.31778 162.466905,160.792332 129.881269,162.932053 C128.466958,163.025501 127.04528,163.073423 125.60887,163.073423 L41.8821292,163.15489" id="Stroke-5" stroke="#368BD6" stroke-width="7.31760436" stroke-linecap="round"></path> | ||
12 | <path d="M76.3063694,17.6478871 C82.6683151,26.5062832 85.1114398,37.2552053 83.1864049,47.9010949 C81.2589146,58.5541728 75.1940725,67.8342832 66.1090863,74.0377962 C47.352273,86.8449715 21.4060437,82.3858222 8.27210017,64.0963611 C1.91015446,55.237965 -0.532970194,44.4914391 1.39452011,33.8407572 C3.31955501,23.1900754 9.38439712,13.9075689 18.4718387,7.70645204 C37.228652,-5.10072328 63.1724259,-0.641573933 76.3063694,17.6478871 Z M188.563159,285.10364 C175.48569,285.10364 162.619385,279.089419 154.543569,267.844503 L95.8963005,186.170906 C82.7451692,167.855088 87.2999393,142.602549 106.066574,129.771412 C124.833209,116.930692 150.710687,121.37786 163.861819,139.693679 L222.509087,221.367276 C235.662674,239.683094 231.107904,264.935633 212.341269,277.76677 C205.092923,282.724309 196.786299,285.10364 188.563159,285.10364 Z" id="Combined-Shape" fill="#368BD6"></path> | ||
13 | </g> | ||
14 | </g> | ||
15 | </g> | ||
16 | </svg> \ No newline at end of file | ||
diff --git a/uncompressed/riot/index.js b/uncompressed/riot/index.js deleted file mode 100644 index 660614a..0000000 --- a/uncompressed/riot/index.js +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; | ||
4 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJpb3QvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJyaW90L2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejsiXX0= \ No newline at end of file | ||
diff --git a/uncompressed/riot/package.json b/uncompressed/riot/package.json deleted file mode 100644 index 818e04d..0000000 --- a/uncompressed/riot/package.json +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | { | ||
2 | "id": "riot", | ||
3 | "name": "Riot", | ||
4 | "version": "1.0.3", | ||
5 | "description": "Decentralized and encrypted discussion & collaboration, powered by [matrix]", | ||
6 | "main": "index.js", | ||
7 | "author": "Sylvain Cecchetto <cecchetto.sylvain@me.com>", | ||
8 | "license": "MIT", | ||
9 | "repository": "https://github.com/SylvainCecchetto/recipe-riot", | ||
10 | "config": { | ||
11 | "serviceURL": "https://riot.im/app", | ||
12 | "hasTeamID": false, | ||
13 | "hasCustomUrl": true, | ||
14 | "message": "Riot's default URL is http://riot.im/app/", | ||
15 | "urlInputSuffix": false, | ||
16 | "hasNotificationSound": true, | ||
17 | "hasIndirectMessages": true | ||
18 | } | ||
19 | } \ No newline at end of file | ||
diff --git a/uncompressed/riot/webview.js b/uncompressed/riot/webview.js deleted file mode 100644 index f46f46c..0000000 --- a/uncompressed/riot/webview.js +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | function getMessages() { | ||
5 | const indirect_badge = document.getElementsByClassName('mx_RoomSubList_badge'); | ||
6 | let indirect_count = 0; | ||
7 | if (indirect_badge.length !== 0) { | ||
8 | indirect_count = indirect_badge.length; | ||
9 | } | ||
10 | |||
11 | const direct_badge = document.getElementsByClassName('mx_RoomSubList_badgeHighlight'); | ||
12 | let direct_count = 0; | ||
13 | if (direct_badge.length !== 0) { | ||
14 | direct_count = direct_badge.length; | ||
15 | } | ||
16 | // set Franz badge | ||
17 | Franz.setBadge(direct_count, indirect_count); | ||
18 | } | ||
19 | |||
20 | // check for new messages every second and update Franz badge | ||
21 | Franz.loop(getMessages); | ||
22 | }; | ||
23 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJpb3Qvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImluZGlyZWN0X2JhZGdlIiwiZG9jdW1lbnQiLCJnZXRFbGVtZW50c0J5Q2xhc3NOYW1lIiwiaW5kaXJlY3RfY291bnQiLCJsZW5ndGgiLCJkaXJlY3RfYmFkZ2UiLCJkaXJlY3RfY291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