Commit Graph

109 Commits

Author SHA1 Message Date
shirshasa
880b045de0 epub converter: add files 2021-04-14 14:29:19 +03:00
gregory-p
4eb30bd80c Merge pull request #139 from Teqniksoft/refactoring
Refactoring: converter
2021-04-14 14:19:03 +03:00
shirshasa
a353f0346f converter: just renaming file and functions 2021-04-14 14:15:34 +03:00
shirshasa
81ccbf5af3 converter: rename from book.py 2021-04-14 13:53:12 +03:00
gregory-p
3f19336a0b Merge pull request #130 from Teqniksoft/refactoring
Refactoring
2021-03-22 10:53:46 +03:00
shirshasa
f7f660c969 converter fix: pt to px 2021-03-22 10:35:19 +03:00
gregory-p
b2082248ba Merge pull request #123 from Teqniksoft/refactoring
converter fix: add text-indent if \t in the start of <p>
2020-12-02 16:50:38 +03:00
shirshasa
718f81b124 converter fix: add text-indent if \t in the start of <p> 2020-12-02 16:43:22 +03:00
gregory-p
11102838da Merge pull request #122 from gregory-p/develop
add configs for staging env
2020-11-25 17:18:59 +03:00
Gregory Pradun
f1e0531ce5 add configs for staging env 2020-11-25 17:15:32 +03:00
shirshasa
efea215c48 update tests on pages: course, profile, login, history 2020-11-02 14:11:22 +03:00
shirshasa
e929ac08ff converter fix: cleaning bad utf symbols in hrefs 2020-10-30 00:30:52 +03:00
shirshasa
fb6a9aea6c converter fix: font-size removed from footnotes 2020-10-30 00:17:29 +03:00
shirshasa
813c5962c9 converter fix: toc links processing 2020-10-29 18:18:46 +03:00
shirshasa
65cd124c9d [LAW-3716]converter fix: change indent value to fixed 2020-10-28 15:28:44 +03:00
shirshasa
bc67b8bbeb converter fix: add colors 2020-10-28 12:13:26 +03:00
shirshasa
a1d7ab0a8d converter fix 2020-10-23 12:54:54 +03:00
shirshasa
cadb5a6e56 fix colors in converter 2020-10-22 14:50:39 +03:00
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