Commit Graph

283 Commits

Author SHA1 Message Date
Guilhem Fauré
91a65bb571 rename scripts 2023-06-19 09:58:03 +02:00
Guilhem Fauré
30c5cc680a update repo 2023-06-16 17:11:32 +02:00
Guilhem Fauré
fd56e86dda add option to remove markup of metadata fields 2023-06-16 16:50:05 +02:00
Guilhem Fauré
e1cd926078 feat : settings to ignore empty objects or ignore objects of which titles matches a regex 2023-06-16 16:09:46 +02:00
Guilhem Fauré
9aa81efa60 fix : set translationKey to self id if id_trad = 0 2023-06-16 15:54:18 +02:00
Guilhem Fauré
6e6d3f53ca fix : replace correctly every links of article instead of just the first 2023-06-16 15:51:18 +02:00
Guilhem Fauré
ac3d51ea36 config can be placed in standard config dirs & passed as command line argument 2023-06-16 15:08:29 +02:00
Guilhem Fauré
ce01d4d665 small fixes 2023-06-16 12:44:10 +02:00
Guilhem Fauré
548dc36875 spip specific meta optional 2023-06-16 10:42:43 +02:00
Guilhem Fauré
dc80f32df5 better install & config instructions 2023-06-15 18:12:19 +02:00
Guilhem Fauré
f82a688187 execution instructions, remove typing extensions 2023-06-15 17:00:59 +02:00
Guilhem Fauré
8925f27885 add main 2023-06-15 15:33:30 +02:00
Guilhem Fauré
7b2f0d45b8 fix licence & add note on each file 2023-06-15 15:28:37 +02:00
Guilhem Fauré
dc9d5a8e72 init testing dockerfile 2023-06-14 17:19:35 +02:00
Guilhem Fauré
34f28f8e84 classes renaming 2023-06-13 14:07:15 +02:00
Guilhem Fauré
df7e0df1cf better handling of filenames conflicts + differences between path and url, cleaning, removed interface 2023-06-13 13:45:16 +02:00
Guilhem Fauré
be4b5166d7 removed useless interfaces 2023-06-12 17:00:07 +02:00
Guilhem Fauré
aef47c77c5 minor fixes 2023-06-12 11:31:16 +02:00
Guilhem Fauré
e279365b8d fix internal link replacement + lang highlighting in term 2023-06-08 16:19:56 +02:00
Guilhem Fauré
cc3a2103d0 fix dir rewrite in case of name conflict & remove test files 2023-06-08 11:48:59 +02:00
Guilhem Fauré
39082cb994 fixed counter that was falsified by raises 2023-06-08 10:12:56 +02:00
Guilhem Fauré
631c168c8c add option to define a single language of storage, in which files & directories will be written 2023-06-07 17:40:24 +02:00
Guilhem Fauré
a8ebb2cd24 add option to ignore certain objects 2023-06-07 16:05:09 +02:00
Guilhem Fauré
3564a56870 fix output counting 2023-06-07 15:45:27 +02:00
Guilhem Fauré
76fe8cd4c8 better defaults & add storage language 2023-06-07 15:39:09 +02:00
Guilhem Fauré
643fb7f6ea fix logging & deduplicate write_children 2023-06-07 15:35:04 +02:00
Guilhem Fauré
89ab4226b9 more precise end message 2023-06-07 14:39:22 +02:00
Guilhem Fauré
3ab58288f7 begin message outputs one only string + output tree in debug log 2023-06-07 11:42:56 +02:00
Guilhem Fauré
da112ca68e cleaning 2023-06-07 10:14:25 +02:00
Guilhem Fauré
997523fe0e cleaning 2023-06-06 15:32:39 +02:00
Guilhem Fauré
763f7a42ea Unnamed update 2023-06-06 10:46:04 +02:00
Guilhem Fauré
3c2e6597fc update readme 2023-06-06 10:44:08 +02:00
Guilhem Fauré
32844f451b log certain error messages that weren’t 2023-06-05 15:54:47 +02:00
Guilhem Fauré
7fd92d7081 cleaning 2023-06-05 15:25:43 +02:00
Guilhem Fauré
a5d477036a writing is now done within a database connection context 2023-06-05 14:51:51 +02:00
Guilhem Fauré
9f2dfc546a fix files that should be in same dest dir 2023-06-05 12:24:08 +02:00
Guilhem Fauré
c350ddbc01 prevent equals dest_dirs 2023-06-05 11:43:52 +02:00
Guilhem Fauré
499f1eab61 fix draft logic and add option to not export them 2023-06-05 10:49:27 +02:00
Guilhem Fauré
a4f5837e0c translation key for traslated multi 2023-06-05 09:48:18 +02:00
Guilhem Fauré
5d25796323 add option to prepend id 2023-06-02 17:56:48 +02:00
Guilhem Fauré
cea92e59cb modified architecture to translate based on root tree lang 2023-06-02 17:51:42 +02:00
Guilhem Fauré
c10c6d81fe translation working but each translation gets inside each parent 2023-06-02 15:56:12 +02:00
Guilhem Fauré
06230584d8 <multi> translations almost ok 2023-06-02 15:26:32 +02:00
Guilhem Fauré
5cacf17ad1 fixes & debugging messages 2023-06-02 15:02:35 +02:00
Guilhem Fauré
27fca09e18 add translation to write_all 2023-06-02 13:02:45 +02:00
Guilhem Fauré
46f5f023f4 debug messages 2023-06-02 12:57:51 +02:00
Guilhem Fauré
1cb63bbe76 changed documents style to cyan 2023-06-02 11:32:43 +02:00
Guilhem Fauré
a7901c2325 new change in architecture, more modular, allow to export article’s documents 2023-06-02 11:30:54 +02:00
Guilhem Fauré
8981bbfda6 translate with 2D dict and heavy usage of setattr instead of nested objects 2023-06-01 18:22:49 +02:00
Guilhem Fauré
003b21fb3b custom debugger name, private vars in constructors for converted fields, various fixes 2023-06-01 15:11:39 +02:00