diff options
author | 2020-07-15 09:41:56 -0400 | |
---|---|---|
committer | 2020-07-15 09:41:56 -0400 | |
commit | 0957b3a8dbb7ece9b401808dc556520d8e5e7337 (patch) | |
tree | b92fa616fdd3bdde7a0a5b1487e4224581365fa5 /uncompressed/riot | |
parent | Update repository (diff) | |
download | ferdium-recipes-0957b3a8dbb7ece9b401808dc556520d8e5e7337.tar.gz ferdium-recipes-0957b3a8dbb7ece9b401808dc556520d8e5e7337.tar.zst ferdium-recipes-0957b3a8dbb7ece9b401808dc556520d8e5e7337.zip |
Update Riot.im to Element.io
Diffstat (limited to 'uncompressed/riot')
-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 |
6 files changed, 0 insertions, 73 deletions
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJpb3Qvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImluZGlyZWN0X2JhZGdlIiwiZG9jdW1lbnQiLCJnZXRFbGVtZW50c0J5Q2xhc3NOYW1lIiwiaW5kaXJlY3RfY291bnQiLCJsZW5ndGgiLCJkaXJlY3RfYmFkZ2UiLCJkaXJlY3RfY291bnQiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBa0JDLEtBQUQsSUFBVztBQUMxQixXQUFTQyxXQUFULEdBQXVCO0FBQ3JCLFVBQU1DLGlCQUFpQkMsU0FBU0Msc0JBQVQsQ0FBZ0Msc0JBQWhDLENBQXZCO0FBQ0EsUUFBSUMsaUJBQ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