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 |
|
Guilhem Fauré
|
ac797b7d19
|
sys.exit in main
|
2023-05-30 09:33:48 +02:00 |
|
Guilhem Fauré
|
cc549db945
|
cleaning, fixed indentation, styling
|
2023-05-26 17:20:30 +02:00 |
|
Guilhem Fauré
|
952595b34c
|
improved architecture, started handling <multi> blocks
|
2023-05-26 16:43:51 +02:00 |
|
Guilhem Fauré
|
32738a9269
|
separation between classes, functions & regex mappings
|
2023-05-26 14:43:39 +02:00 |
|
Guilhem Fauré
|
5e7740a414
|
architecture refactor
|
2023-05-26 12:18:07 +02:00 |
|
Guilhem Fauré
|
2bf6273212
|
remove styling module
|
2023-05-26 11:18:40 +02:00 |
|
Guilhem Fauré
|
b51ce330ee
|
use init instead of cli & temporarily disable <multi> blocks supressing
|
2023-05-26 11:16:14 +02:00 |
|
Guilhem Fauré
|
8e8fd4aaf8
|
organize module to make it executable
|
2023-05-26 11:03:32 +02:00 |
|
Guilhem Fauré
|
f9e5e15c4a
|
python project configuration with poetry + update licence
|
2023-05-26 10:21:44 +02:00 |
|
Guilhem Fauré
|
693dee00ae
|
fix double yaml encoding
|
2023-05-25 17:21:04 +02:00 |
|
Guilhem Fauré
|
6396a99e38
|
fix malformed sub paths
|
2023-05-25 17:14:04 +02:00 |
|
Guilhem Fauré
|
861379748c
|
recursive refactor
|
2023-05-25 16:52:34 +02:00 |
|
Guilhem Fauré
|
042266a1c4
|
typing fixes
|
2023-05-25 14:32:22 +02:00 |
|
Guilhem Fauré
|
6837e77dd5
|
remove most type anotation
|
2023-05-25 14:20:39 +02:00 |
|
Guilhem Fauré
|
f06d09d338
|
start refactor to make section tree exporting recursive to be able to handle the whole depth of SPIP section tree + code deduplication
|
2023-05-25 13:52:00 +02:00 |
|
Guilhem Fauré
|
7e3680d282
|
refactor with inheritance between Article & Section
|
2023-05-25 10:30:18 +02:00 |
|
Guilhem Fauré
|
f67cddd92c
|
disable h1 prepend for sections too
|
2023-05-24 16:56:17 +02:00 |
|
Guilhem Fauré
|
780a7d8b6a
|
add summary in metadata
|
2023-05-24 16:18:36 +02:00 |
|
Guilhem Fauré
|
9c2b66bfc1
|
add option to disable prepending of title as # title
|
2023-05-24 15:53:49 +02:00 |
|
Guilhem Fauré
|
e43648ecfa
|
fix internal link
|
2023-05-24 15:42:07 +02:00 |
|