From c530449369252c38b5d693f0402eba6b1ffebe3d Mon Sep 17 00:00:00 2001 From: Cyrille LOUARN Date: Sat, 30 Sep 2023 16:02:05 +0200 Subject: [PATCH] Preparing check process, head tags in article --- CHANGELOG.md | 3 + src/usr/bin/tyto | 4 +- .../program/__pycache__/check.cpython-311.pyc | Bin 1991 -> 5280 bytes .../program/__pycache__/debug.cpython-311.pyc | Bin 3247 -> 3307 bytes .../__pycache__/domain.cpython-311.pyc | Bin 23487 -> 24568 bytes .../program/__pycache__/post.cpython-311.pyc | Bin 4010 -> 4133 bytes .../program/__pycache__/tyto.cpython-311.pyc | Bin 2577 -> 1383 bytes src/var/lib/tyto/program/check.py | 74 ++++++++++- src/var/lib/tyto/program/debug.py | 1 + src/var/lib/tyto/program/domain.py | 117 +++++++++++++++++- src/var/lib/tyto/program/post.py | 21 +++- src/var/lib/tyto/program/tyto.py | 117 ------------------ .../__pycache__/logs_fr.cpython-311.pyc | Bin 2805 -> 2860 bytes src/var/lib/tyto/translations/logs_fr.py | 1 + 14 files changed, 209 insertions(+), 129 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 117ad39..3c4ba38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ Tyto - Littérateur # CURRENTLY IN DEV ! +## [1.9.12] +- preparing check process : head tags in article + ## [1.9.11] - Preparing for multi-targets with "all" - check if article is a .tyto format diff --git a/src/usr/bin/tyto b/src/usr/bin/tyto index 099edab..0888f9a 100755 --- a/src/usr/bin/tyto +++ b/src/usr/bin/tyto @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Version: 1.9.11 -# Updated: 2023-09-29 1696004712 +# Version: 1.9.12 +# Updated: 2023-09-30 1696082419 # Tyto - Littérateur # Copyright (C) 2023 Cyrille Louarn diff --git a/src/var/lib/tyto/program/__pycache__/check.cpython-311.pyc b/src/var/lib/tyto/program/__pycache__/check.cpython-311.pyc index bc9ecf4a37dc91ca2987ce2c6becab0a3db16c0e..512ec39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f2oXq*0l$g;Mhe^!Ir#R#z(Vok&wm7C3v8F-IY03nNBkJ97CGZvp<{5OG&w(I zF!BjXkTgXLIb?eEostGv5i0%K%Dp=`CXq{ delta 618 zcmZ3Wd7PhbIWI340}%ZADVBPgYa*WnW6VVL7*@t$22J*jQzkNTF#{z*`17KP8>J_E zF}HE1Fa$HKWc1VIn7oWdLx4XcH8CZ%C_XtquOv0EqeXNdZMIu1MG#QK7fK(AXh~NMboFIZ1MublO%&IBR3gm*VJ_BS-XDDF=Qc#e> zSi&^%fyiV}F5bzNERr%Pa!e&mFm((JSuB&~xy4u*f!Zf8ai)2~fC$XKKon{EJL#SD4f;FsT7WdReY;NX>P*BBOVa zN&gCy{skBUho&Y^kr>DZZVdvA y$<0qG%}KQ@QU&S+g?aJ1$)|;Dtk@YvJ}|%uDMm)F4-9aEkD1Zn0|O=jb`Jn2)t6iV diff --git a/src/var/lib/tyto/program/__pycache__/debug.cpython-311.pyc b/src/var/lib/tyto/program/__pycache__/debug.cpython-311.pyc index d42cd392e3673a15ec757141e54237c553b31338..d9f7488af6e6e7a54ef5f8567866829b7924c45d 100644 GIT binary patch delta 582 zcmZwDJxc>I7zgkiZTfQ8>(#!WeY?KbI!F<55myHlL4C!x4JOBW~ev^0}}{FD6hgoHfmKe~FWsxsm2%^z;eU8oi5^{I7dWee0` zeT(5t;~q9vl|sJEcuq(?a;e=&Ct7!v?a?E3ed2`d=h-)X3CwdD)G-=7X0*XBAJ~Jf zY}0XFV6wgMRvV^SIc#^jm3pmPd;YXHCAq@4OT2gbY|DAw%UJ1`m7Zl!i|=w2C|`n& zP}>+{U`KEWh=LPA77zgi!6m=|6~Qea0UClwfB{no-VyZh-Wd2${GucY0fZo-_VGgu z2qA<8Btb`*7LbAnLR3H+VhC{oF-Ra70#cC7l(=LFbxf|wVo6Rw8uA>51)_NHq45t{ zW4dw>T#>Mjh_DcgGTdZW%K7XX|68+&k;B06z9(iC=i5Af9ZRit{kYj!Hg{OrwV2$H LBrlNvb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mhE2+sZ`FAj7aZjEpV9LldnNd(=vImF2$X_QWO`XZ2G5;n@#40f^+-x0N%*ZIPd3~G?qi6$H16MH*(9DC(I*tYm2MxrX GIGF)*i#zN9 diff --git a/src/var/lib/tyto/program/__pycache__/post.cpython-311.pyc b/src/var/lib/tyto/program/__pycache__/post.cpython-311.pyc index 235c5b2075d2ace30b7756169a0db8b5b86fdb3f..9dedeaaaa88cc709ff99c51d8986e85e1e897765 100644 GIT binary patch delta 550 zcmY+9&ubGw6vt<>J3lwOanqKj3DTN0v_%6+g<^$Th{TI{5IwC2*)p|Sgp$qlQc(6# z@FKGw0i2j7>-)T_zT zx?k)ECA`_6TUyTTqKGQTkSW)YD`F@Vilw5Fr&yF%Jo1%@0wtq@@}f%$KR^rlFE3AA z+!(Y;7vn`Zq;K#Fbl5dG@&cYXio8IttI%hcaSJ}PDSQjQvFr6Y9oiX2wJFY(qB=O& z2*Gz=b7(B#J|FWh_@T>NSEPMk=l=V9)r+Zc!dqCvAKt(o)WkBx;vRiu{JlOLiYKge zDynCq3N`tuIREbU{`h|PpnmE$&)nt@w+W%Q1QqW_VZI$Y$D!MvV8gM)e-^YFx delta 429 zcmZ3guu7h9IWI340}yEa5=#{loX97^7&KAcOpzgxErqFtA&NbP8Ax)ZumDNU6jmU~ zmBJXzpvksz+F=$({moIVg^Y}Dlh3eCV04-s%dW$e#WA^&U6xUO@_Zm^HhC|*B%|}> z>+HtrIwis&dmtbSY$u4F!dAiu6$Da1-4EGBC--rP>9QqqgKR26NHP>F;V^?^@h=s$TL};(~_x(e{w8m09!0jOYzjnn>o`sMdrv}H g;t%0qW8ma!VErI4c{{%?9|Jq1$_EfpqzY640J*wWYXATM diff --git a/src/var/lib/tyto/program/__pycache__/tyto.cpython-311.pyc b/src/var/lib/tyto/program/__pycache__/tyto.cpython-311.pyc index 48078082c671e7e7b95b46e9b9750b48d95c3280..752c9d82f2daaedfed2262c744a91ac63dfb1530 100644 GIT binary patch delta 119 zcmbOz@|=rrIWI340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index f698d82..76078fe 100644 --- a/src/var/lib/tyto/translations/logs_fr.py +++ b/src/var/lib/tyto/translations/logs_fr.py @@ -61,6 +61,7 @@ err_post_sep = "Séparateur manquant" err_post_head = "Erreur dans l'Entête" err_post_empty = "Article vide" err_ini_file = "Configuration invalide" +err_post_data = "Article: donnée manquante" # Warnings warn_no_dom = "Domaine non configuré"