Commit Graph

269 Commits

Author SHA1 Message Date
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
Guilhem Fauré
123ae5945b begin translations by letting translate create translated sub-RedactionalObjects 2023-06-01 12:57:35 +02:00
Guilhem Fauré
bc74fb0bfb get only articles of the same lang than the section. commenting & cleaning 2023-06-01 10:05:55 +02:00
Guilhem Fauré
fe71b8fea3 refactor: more modular, extendad classes don’t modify constructors. started to properly translate <multi> blocks, but still bugs 2023-05-31 17:22:21 +02:00
Guilhem Fauré
35829285bf refactor 2023-05-31 12:57:33 +02:00
Guilhem Fauré
8bdb1e04e9 started translation of <multi> blocks, needs a change in architecture again 2023-05-31 10:33:09 +02:00
Guilhem Fauré
765b5e93ea add sections links regex 2023-05-30 17:51:44 +02:00
Guilhem Fauré
fbad1f9563 fix conversion of links + change unknown chars in a configurable string 2023-05-30 17:48:54 +02:00
Guilhem Fauré
dd370eb175 slight changes, huge debug output trying to find why some conversions are not applied to some fields 2023-05-30 16:35:22 +02:00
Guilhem Fauré
2ba94d03a8 more logging, some links still don’t convert 2023-05-30 15:22:39 +02:00
Guilhem Fauré
27c281db90 fix document linking 2023-05-30 14:27:08 +02:00
Guilhem Fauré
9c79433f74 fix html cleaning & reenabled body converting 2023-05-30 12:39:10 +02:00
Guilhem Fauré
d20976c59d <multi> blocks & unknown chars logging in spip2md.log 2023-05-30 12:16:58 +02:00
Guilhem Fauré
93fc0862d6 fix 2023-05-30 10:45:06 +02:00
Guilhem Fauré
7438c2b6d7 print as writing 2023-05-30 10:43:42 +02:00