initial commit

This commit is contained in:
2017-04-24 15:11:31 +02:00
commit 49b67d5368
11 changed files with 197 additions and 0 deletions

BIN
diaspora/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

70
diaspora/icon.svg Normal file
View File

@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1024"
height="1024"
viewBox="0 0 270.93333 270.93333"
version="1.1"
id="svg8"
inkscape:version="0.92.1 r"
sodipodi:docname="icon.svg"
inkscape:export-filename="/home/max/.config/Franz/Plugins/diaspora/icon.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.0875"
inkscape:cx="643.23529"
inkscape:cy="961.32048"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1014"
inkscape:window-x="0"
inkscape:window-y="21"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(414.91381,-127.17276)">
<path
style="fill:#000000;stroke-width:0.35003144"
d="m -255.29311,357.13334 c -14.48576,-20.22234 -26.50767,-36.71124 -26.71538,-36.64201 -0.2077,0.0692 -11.85209,15.86658 -25.87642,35.10524 -14.02433,19.23864 -25.67403,34.93138 -25.88824,34.87275 -0.21421,-0.0587 -11.73298,-8.09185 -25.59729,-17.8516 -13.86431,-9.75975 -25.35717,-17.84549 -25.5397,-17.9683 -0.18254,-0.12278 10.68648,-16.18925 24.15334,-35.70321 13.46686,-19.51396 25.00954,-36.25203 25.65036,-37.19572 1.04203,-1.53448 1.10546,-1.75947 0.60023,-2.1289 -0.31071,-0.22721 -18.52762,-6.37905 -40.48202,-13.67079 -21.95441,-7.29173 -39.92092,-13.42186 -39.92558,-13.6225 -0.005,-0.20066 4.27176,-13.85527 9.50317,-30.34358 l 9.51168,-29.97874 0.91025,0.29811 c 0.50064,0.16397 19.59935,6.44813 42.44159,13.96481 22.84223,7.51669 41.6846,13.6667 41.87196,13.6667 0.21756,0 0.42171,-14.63738 0.56506,-40.51615 0.12341,-22.28387 0.31811,-42.20941 0.43258,-44.27897 l 0.20817,-3.76284 h 31.28957 31.28956 l 0.0124,3.41281 c 0.0259,7.45858 2.3597,87.63341 2.55656,87.83026 0.11584,0.11585 18.52633,-6.00812 40.91232,-13.60869 22.38598,-7.60057 40.73015,-13.80237 40.76481,-13.78175 0.17717,0.10534 18.66365,60.08831 18.66365,60.55784 0,0.30291 -0.0464,0.55076 -0.10295,0.55076 -0.27723,0 -81.46983,27.62072 -81.80927,27.8305 -0.21609,0.13355 -0.31054,0.45741 -0.20989,0.7197 0.10058,0.26228 11.07008,16.41159 24.37653,35.88733 13.30645,19.47576 24.06393,35.52568 23.90553,35.66652 -0.5613,0.49901 -50.8958,37.4583 -51.01411,37.4583 -0.0661,0 -11.97221,-16.54555 -26.45797,-36.76788 z"
id="path4496"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

2
diaspora/index.js Normal file
View File

@@ -0,0 +1,2 @@
// default integration (e.g messenger.com, ...)
module.exports = Franz => Franz;

23
diaspora/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "diaspora",
"version": "1.0.0",
"description": "Diaspora",
"main": "index.js",
"author": "Max Mehl <mail@mehl.mx>",
"license": "MIT",
"config": {
"serviceURL": "https://{teamID}",
"serviceName": "Diaspora",
"message": "Provide the Diaspora pod as Team ID (e.g. diasp.eu)",
"popup": [],
"hasNotificationSound": false,
"hasIndirectMessages": true,
"hasTeamID": true,
"customURL": false,
"hostedOnly": false,
"webviewOptions": {
"disablewebsecurity": ""
},
"openDevTools": false
}
}

3
diaspora/webview.js Normal file
View File

@@ -0,0 +1,3 @@
module.exports = (Franz, options) => {
}