~jadedctrl/jam-xwx-moe

Showing details for patch 152f74ae8d5072d4e2027d9d9f10f60ca5d75a99.
2024-04-11 (Thu), 4:56 AM - - 152f74ae8d5072d4e2027d9d9f10f60ca5d75a99

Kreas novan roboton, »#Esperanto-Fluo«

Ĉi tiu roboto simple citafiŝas ĉiun afiŝon kun
esperantorilata etikedo.
Summary of changes
6 files added
  • robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.svg
  • robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.txt
  • robotoj/esperanto fluo/profilbildo/profilbildo.png
  • robotoj/esperanto fluo/profilbildo/profilbildo.svg
  • robotoj/esperanto fluo/push.sh
  • robotoj/esperanto fluo/ruli.sh
diff -rN -u "old-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.svg" "new-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.svg"
--- "old-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.svg"	1970-01-01 00:00:00.000000000 +0000
+++ "new-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.svg"	2024-11-24 02:16:06.675368133 +0000
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="128" height="128">
+<g>
+<path d="m 73.896753,17.558596 52.737907,-9.264769 1e-5,40.039468 -52.916085,-8.325451 0.178168,-22.449248 z" style="fill:#ffe700;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+<path d="M 54.178551,17.470598 1.4406441,8.2058292 1.4406341,48.245297 54.356719,39.919846 54.178551,17.470598 z"
+ style="fill:#ffe700;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+<rect width="109.35433" height="7.3352766"
+ x="9.322834" y="117.38914" style="fill:#000000;fill-opacity:1;stroke:none" />
+<path d="m 41.952756,118.74751 10.834646,-79.057968 22.173228,0 11.086614,78.786298 -44.094488,0.27167 z"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+<rect width="22.173141" height="22.413343" x="52.913429"
+ y="17.276196" style="fill:#ffe700;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+<path d="M 45.102362,17.140359 82.897638,17.276198 64.125985,3.6923526 45.102362,17.140359 z"
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.03837264px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+<path d="m 71.267455,33.214283 a 6.948577,6.4140712 0 1 1 -13.897154,0 6.948577,6.4140712 0 1 1 13.897154,0 z"
+ transform="matrix(1,0,0,1.0782177,-0.3188782,-7.5822387)"
+ style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1" />
+<path d="m 44.846872,97.738889 38.306257,0 3.207035,21.515711 -44.720328,-0.19211 3.207036,-21.323601 z"
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+<path d="m 50.256826,57.088293 26.982413,0 3.141468,21.379871 -32.761414,-0.05627 2.637533,-21.323603 z" style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+<rect width="40.087944" height="3.2657747"
+ x="43.956028" y="38.762783"
+ style="fill:#000000;fill-opacity:1;stroke:none" />
+ </g>
+</svg>
diff -rN -u "old-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.txt" "new-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.txt"
--- "old-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.txt"	1970-01-01 00:00:00.000000000 +0000
+++ "new-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/fontoj/Legenda_latarnia.txt"	2024-11-24 02:16:06.675368133 +0000
@@ -0,0 +1,2 @@
+https://commons.wikimedia.org/wiki/File:Legenda_latarnia.svg
+El Staszek Szybki Jest, sub la CC0 (senkopirajta).
Binary files old-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/profilbildo.png and new-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/profilbildo.png differ
diff -rN -u "old-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/profilbildo.svg" "new-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/profilbildo.svg"
--- "old-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/profilbildo.svg"	1970-01-01 00:00:00.000000000 +0000
+++ "new-jam-xwx-moe/robotoj/esperanto fluo/profilbildo/profilbildo.svg"	2024-11-24 02:16:06.675368133 +0000
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="125.19404"
+   height="124.07023"
+   id="svg2"
+   version="1.1"
+   inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
+   sodipodi:docname="s.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
+  <metadata
+     id="metadata30">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs28">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 4.0702286 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="128 : 4.0702286 : 1"
+       inkscape:persp3d-origin="64 : -35.929771 : 1"
+       id="perspective32" />
+  </defs>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1872"
+     inkscape:window-height="1051"
+     id="namedview26"
+     showgrid="false"
+     inkscape:zoom="2.8284271"
+     inkscape:cx="81.31728"
+     inkscape:cy="106.06602"
+     inkscape:window-x="48"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="g4"
+     inkscape:showpageshadow="2"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1" />
+  <g
+     id="g4"
+     transform="translate(-1.4406341,-0.65418238)">
+    <path
+       d="m 73.896753,17.558596 52.737907,-9.264769 1e-5,40.039468 -52.916085,-8.325451 z"
+       style="fill:#ffe700;fill-opacity:1;fill-rule:evenodd;stroke:none"
+       id="path6" />
+    <path
+       d="M 54.178551,17.470598 1.4406441,8.2058292 l -1e-5,40.0394678 52.9160849,-8.325451 z"
+       style="fill:#ffe700;fill-opacity:1;fill-rule:evenodd;stroke:none"
+       id="path8" />
+    <rect
+       width="109.35433"
+       height="7.3352766"
+       x="9.322834"
+       y="117.38914"
+       style="fill:#000000;fill-opacity:1;stroke:none"
+       id="rect10" />
+    <path
+       d="M 41.952756,118.74751 52.787402,39.689542 H 74.96063 l 11.086614,78.786298 z"
+       style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="path12" />
+    <path
+       d="M 44.846872,97.738889 H 83.153129 L 86.360164,119.2546 41.639836,119.06249 Z"
+       style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
+       id="path20" />
+    <path
+       d="m 50.256826,57.088293 h 26.982413 l 3.141468,21.379871 -32.761414,-0.05627 2.637533,-21.323603 z"
+       style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
+       id="path22" />
+    <rect
+       width="40.087944"
+       height="3.2657747"
+       x="43.956028"
+       y="38.762783"
+       style="fill:#000000;fill-opacity:1;stroke:none"
+       id="rect24" />
+    <path
+       sodipodi:type="star"
+       style="fill:#008000"
+       id="path1"
+       inkscape:flatsided="false"
+       sodipodi:sides="5"
+       sodipodi:cx="154.42863"
+       sodipodi:cy="72.568893"
+       sodipodi:r1="24.516727"
+       sodipodi:r2="11.323466"
+       sodipodi:arg1="-0.31837045"
+       sodipodi:arg2="0.30994808"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m 177.71332,64.894684 -12.50079,11.127971 3.71007,16.319826 -14.44628,-8.450222 -14.3746,8.571593 3.57249,-16.350495 -12.59407,-11.022291 16.65421,-1.654939 6.59104,-15.383744 6.72037,15.327686 z"
+       transform="translate(-90.009124,-47.398201)"
+       inkscape:transform-center-x="0.031904217"
+       inkscape:transform-center-y="-2.3107758" />
+  </g>
+</svg>
diff -rN -u "old-jam-xwx-moe/robotoj/esperanto fluo/push.sh" "new-jam-xwx-moe/robotoj/esperanto fluo/push.sh"
--- "old-jam-xwx-moe/robotoj/esperanto fluo/push.sh"	1970-01-01 00:00:00.000000000 +0000
+++ "new-jam-xwx-moe/robotoj/esperanto fluo/push.sh"	2024-11-24 02:16:06.675368133 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+RSYNC_DRYRUN="--dry-run"
+if test "$1" = "--real"; then
+	RSYNC_DRYRUN=""
+fi
+
+rsync $RSYNC_DRYRUN --verbose ruli.sh $(whoami)@xwx.moe:/opt/fedbots/manicito/esperanto_fluo/ruli.sh
+
+if test "$RSYNC_DRYRUN" = "--dry-run"; then
+	echo "=================================================="
+	echo "Ran in --dry-run mode!"
+	echo "Try '$(basename "$0") --real' if the output seems OK."
+	echo "=================================================="
+fi
diff -rN -u "old-jam-xwx-moe/robotoj/esperanto fluo/ruli.sh" "new-jam-xwx-moe/robotoj/esperanto fluo/ruli.sh"
--- "old-jam-xwx-moe/robotoj/esperanto fluo/ruli.sh"	1970-01-01 00:00:00.000000000 +0000
+++ "new-jam-xwx-moe/robotoj/esperanto fluo/ruli.sh"	2024-11-24 02:16:06.675368133 +0000
@@ -0,0 +1,23 @@
+#!/bin/sh
+set -o errexit
+
+. ./env.sh
+
+export ALL_PROXY="http://localhost:3128"
+export MANICITO_TEMPLATE='<i>$USER</i> afiŝis:<br>$POST_URL'
+
+TEMP="$(mktemp)"
+cat history history.lang_eo > "$TEMP"
+manicito -H "$TEMP" lang_eo https://jam.xwx.moe
+if test -n "$(tail -1 "$TEMP")"; then
+	tail -1 "$TEMP" > history.lang_eo
+fi
+
+mv "$TEMP" history
+cat history history.esperanto > "$TEMP"
+manicito -H "$TEMP" esperanto https://jam.xwx.moe
+if test -n "$(tail -1 "$TEMP")"; then
+	tail -1 "$TEMP" > history.esperanto
+fi
+
+mv "$TEMP" history