Commit Graph

55 Commits (f0f8011d241f08e5da52b0864f0328244c3afb63)

Author SHA1 Message Date
Ozzie Isaacs 34c6010ad0 Catch additional error during kobo detect layout 11 months ago
Ozzie Isaacs 2f12b2e315 Handle invalid or missing container.xml during kobo sync (Fix for #2840) 11 months ago
Ozzie Isaacs 7ff4747f63 Bugfix after merge 1 year ago
Ozzie Isaacs a414db0243 Merge remote-tracking branch 'fixed_layout/kobo-sync-detect-fixed-layout'
# Conflicts:
#	cps/kobo.py
1 year ago
Ozzie Isaacs 162ac73bee Bugfixes from testrun 1 year ago
Ozzie Isaacs 856dce8add Merge remote-tracking branch 'refactor_epub/refactor_epub'
# Conflicts:
#	cps/epub.py
1 year ago
Ozzie Isaacs 8dd4d0be1b Merge handle epub iodentifier 1 year ago
Ozzie Isaacs 43ee85fbb5 Removed unnecessary Unicode "u" 1 year ago
Benedikt McMullin fba95956de epub: Skip invalid dc:identifier 2 years ago
jvoisin 631496775e Minor code refactorisation of epub.py
- Reduce the amount of nested indentation
- Use proper functions instead of fragile manual parsing
2 years ago
Ozzie Isaacs 59a5ccd05c Bugfixes after testrun 2 years ago
Evan Peterson 7ae9f89bbf
Merge branch 'Develop' into kobo-sync-detect-fixed-layout 2 years ago
Wulf Rajek 2d0af0ab49 Add pubdate, publisher and identifiers metadata #2163 2 years ago
Ozzie Isaacs 4545f4a20d Better epub cover parsing with multiple cover-image items
Code cosmetics
renamed variables
refactored xml page generation
refactored prepare author
2 years ago
Ozzie Isaacs 8e2536c53b Improved cover extraction for epub files 2 years ago
Ozzie Isaacs 411c13977f Fix for #2294 (cover files in epubs with property as property in manifest are now found) 2 years ago
Evan Peterson 4eaa9413f9
Kobo metadata return correct layout format for fixed layout 3 years ago
Ozzie Isaacs ed26d34961 Code cleaning (remove python2) 3 years ago
Ozzie Isaacs 2b17bf4114 Update tests
Fixes upload book
3 years ago
Ozzie Isaacs 59ebc1af8a Code refactoring 3 years ago
Ozzie Isaacs fcf9e7a1ef Upload pdf fixes:
Handle no title
Handle no author
Fix import of more than one language
Add missing pdf upload publisher handling
3 years ago
jvoisin 700b0609df Don't recompute metadata for epubs 4 years ago
Ozzieisaacs 4cf71dd336 Fix "is not a valid language" on upload 4 years ago
OzzieIsaacs 45ff9394f2 Fix comma separated author names during for upload 4 years ago
Ozzieisaacs 329a7a03a5 Fix for errors editing/uploading books with duplicate tags/authors/language names
Additional parsing of epubs for cover files
Fix for change of database with linked read_column and read column isn't present any more
4 years ago
Ozzieisaacs 2ea45b1fdc Removed shebang on non executable scripts 4 years ago
Ozzieisaacs eede894e72 Merge remote-tracking branch 'merge-metadata' 5 years ago
Ozzieisaacs a371e40c66 Merge remote-tracking branch 'github_3/hotfix/epub-import'
Improved cover extraction from epub files
5 years ago
Jan Guzej c7d7a7597c remove language from array metadata 5 years ago
Jan Guzej fbb7663a2f epub metadata import fix 5 years ago
Ozzieisaacs 4708347c16 Merge branch 'Develop'
# Conflicts:
#	MANIFEST.in
#	README.md
#	cps/helper.py
#	cps/static/js/archive/archive.js
#	cps/translations/nl/LC_MESSAGES/messages.mo
#	cps/translations/nl/LC_MESSAGES/messages.po
#	cps/ub.py
#	cps/updater.py
#	cps/web.py
#	cps/worker.py
#	optional-requirements.txt
5 years ago
Daniel Pavel f7e640fd98 support pycountry if iso-639 is not available 5 years ago
Ozzieisaacs 836c6fd245 Updated translations
Added license texts in flies
6 years ago
OzzieIsaacs f1fac28203 Improved error handling for renaming authors and titles (changes related to filesystem and not only to database) 7 years ago
kyos 51bc0e82a4 Added series and series_index metadata handler 7 years ago
kyos 4bba3558b7 Added tags metadata handler for epubs 7 years ago
Matt Hazinski 6f7a240ce2 Ensure file paths in uploads are non-empty, fix #183 (#184)
* Ensure file paths in uploads are non-empty, fix #183

* Fix AttributeError in process(), handle strings of spaces
7 years ago
OzzieIsaacs 00462237fe Merge remote-tracking branch 'chinese_translation/master' 7 years ago
OzzieIsaacs 986f40b80a Code cosmetics 7 years ago
林檎 a850e64bfb Refactor cover detection
obsolate hardcode %cover_id%= ‘cover’ in <pkg:item name=%cover_id% href=%coverfile%>
now  %cover_id% retrieve from <meta name=“cover” content=%cover_id%>
7 years ago
林檎 29f21480ab Reuse original code logic.
iteration loop dc:*  add dc:language

removal of bookmeta[‘comments’] , reusing bootmeta[‘description’]
7 years ago
OzzieIsaacs 8c7ba2ccdf Merge remote-tracking branch 'gitignore/bookmeta-patch-20170302'
# Conflicts:
#	cps/epub.py
7 years ago
林檎 1a10859a57 When upload pub, add description to comment accord opf file 7 years ago
Kennyl 19f939a46c Update epub.py
initialize covefile to None first
7 years ago
林檎 d5e525305d Lower case text, some epub have uppercased which is beyond iso639 standard. 7 years ago
林檎 13b4ae4c24 more error adaptive 7 years ago
林檎 879510da82 Upload support detection of language 7 years ago
林檎 4afb486986 add languages field for BookMeta 7 years ago
林檎 9a2877ebd5 situation when opf file content is
<meta name="cover" content="cover.jpg"/>
7 years ago
林檎 7972b987d4 Read img tag of cover file if cover is (x)html
for example
‘<item id="cover" href="Text/cover.xhtml" media-type="application/xhtml+xml”/>’
7 years ago