541 Commits

Author SHA1 Message Date
shirshasa
adb9b17500 fix chapter formatting 2020-10-22 14:21:02 +03:00
shirshasa
47cb02bc54 [LAW-3262] fix footnote href 2020-10-13 19:36:04 +03:00
shirshasa
d22103239f [LAW-3626] fix 2020-10-13 18:50:11 +03:00
shirshasa
5917fe51e0 fix heading in json 3.0 2020-09-28 16:40:20 +03:00
shirshasa
e913a5f49a fix heading in json 2.0 2020-09-28 15:28:55 +03:00
shirshasa
95ceb1e089 fix heading in json 2020-09-28 12:53:24 +03:00
shirshasa
4853d2c49f fix toc removing 2020-09-28 11:36:09 +03:00
shirshasa
1daa851e59 Merge branch 'develop' into refactoring 2020-09-28 10:28:37 +03:00
shirshasa
d33a3864d2 add color processing in headings 2020-09-28 10:22:14 +03:00
shirshasa
40864d6f11 fix heading creating 2020-09-25 13:39:34 +03:00
shirshasa
dafe1d5980 fix marking paragraphs as headings 2020-09-25 13:12:34 +03:00
shirshasa
3546380cf8 add color style processing 2020-09-23 15:24:39 +03:00
shirshasa
bbfd489327 add color style processing
deleting toc in the end of whole html parsing
fix searching <a> in footnotes
2020-09-23 15:20:53 +03:00
shirshasa
f392b6930d add 5 lvl 2020-09-18 17:50:02 +03:00
shirshasa
7143442561 add new fixture for creating new user 2020-09-18 17:45:39 +03:00
shirshasa
e4f4a8a089 quick fix 2020-08-28 13:52:06 +03:00
shirshasa
b66ef6296f quick fix 2020-08-28 13:44:43 +03:00
shirshasa
f27eefb96b refactor converter
- split book class into html-preprocessor, json-converter, book(with main flow) classes.
- pick out logging, law carta setup, updating status via api into separate objects
- in html-preprocesser: add cleaning hrefs
2020-08-28 11:58:04 +03:00
gregory-p
b41e86b9b2 Merge pull request #106 from Teqniksoft/converter-fix
update converter
2020-08-20 16:49:48 +03:00
shirshasa
a103df8fe1 update logging errors 2020-08-20 16:26:43 +03:00
gregory-p
6f8f18abe9 Merge pull request #102 from Teqniksoft/converter-fix
Converter fix
2020-08-12 16:09:17 +03:00
shirshasa
b48320378d stupid fix
- footnotes
- imga href
2020-08-12 16:04:25 +03:00
shirshasa
89989b66f4 fix error on book without right TOC 2020-07-21 15:43:41 +03:00
shirshasa
2c014ae36e LAW-3262
- extra digits in footnotes from documents downloaded from livecarta
2020-07-16 15:31:02 +03:00
shirshasa
ea14ed1634 LAW-3489 2020-07-16 11:36:22 +03:00
shirshasa
2abff5f476 fix footnote creating
- only p tags were processed before
2020-07-13 17:57:37 +03:00
shirshasa
f77d90a89c Update book.py 2020-06-26 15:44:08 +03:00
shirshasa
acfb5654ea [LAW-3447] fix big intervas in paragraphs 2020-06-24 16:23:13 +03:00
shirshasa
93dd40250f [LAW-3447] fix big intervas in list 2020-06-24 13:01:16 +03:00
shirshasa
ee5226f3eb Update consumer.py
- add libra locker
- update local run func for running multiple threads
2020-06-19 13:16:58 +03:00
shirshasa
340d68ae5d Update book.py
- add libra conversion locking
- add docx/book_id/ folder
- update test conversion func
- separate file_path intp docx_path and html_path
2020-06-19 13:15:36 +03:00
shirshasa
8a32aeb58d update book conversion
- new resulted json structure
2020-06-08 13:14:08 +03:00
shirshasa
bbe690bf80 updated book conversion
- new resulted json structure
- fixed spelling
- added asserts messages
2020-06-03 12:40:08 +03:00
shirshasa
35b8e9563c fix converting block quotes
-add border checking
-quotes before tables
2020-05-27 11:54:05 +03:00
shirshasa
c335561b26 add list preprocessing 2020-05-26 14:52:36 +03:00
shirshasa
c8fbe3c520 add converting block quotes
- from 1 cell tabel (due to first step libra conversion) to blockquote tag
2020-05-25 15:49:14 +03:00
shirshasa
f543758fdd save footnotes formatting 2020-05-25 14:55:08 +03:00
shirshasa
0dd163cfb3 code simplified 2020-05-22 14:19:00 +03:00
shirshasa
db4e1d0fb1 small fix 2020-05-22 14:05:52 +03:00
shirshasa
7f59c5d381 LAW-3261 adding is_introduction field to resulted json 2020-05-22 13:42:53 +03:00
shirshasa
36a7bea9ad small fix 2020-05-20 15:24:26 +03:00
shirshasa
a9e8023804 [LAW-3158] domen defining via api
- automatically define domen for uploaded books from queue's message
2020-05-20 14:43:52 +03:00
Jeniamakarchik
98dad51a2f add table processing to converter 2020-05-13 13:04:38 +03:00
Jeniamakarchik
d833e37975 add processing 4th level for book structure 2020-05-07 15:27:10 +03:00
g
61def09973 update build file 2020-05-05 16:40:09 +03:00
Jeniamakarchik
9585665232 add fixes for footnotes 2020-04-23 18:47:36 +03:00
Jeniamakarchik
ab5ce00a6a add fixes for quotes 2020-04-16 13:26:19 +03:00
Jeniamakarchik
d8352224aa fix mistype 2020-04-10 17:25:24 +03:00
Jeniamakarchik
de4450173b fix footer processing 2020-04-10 17:05:38 +03:00
Jeniamakarchik
9dea72ca31 fix quotes processing 2020-04-10 17:05:05 +03:00