1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-18 07:44:54 +00:00
Commit Graph

3090 Commits

Author SHA1 Message Date
leexia
3b7cd38d5e Fix grammar mistake 2022-05-16 13:59:35 +08:00
Ozzie Isaacs
8a6a8dcbe8 Transfer gevent errors to log file
Transfer warnings from warnings module to logfile (#2394)
2022-05-09 19:47:43 +02:00
Ozzie Isaacs
fbac3e38ac Eenabled send epubs to E-Reader devices 2022-05-08 12:55:54 +02:00
Ozzie Isaacs
c1f1952b04 Updated jsonschema requirement
Testupdate
Fixed file mode of main.js
2022-05-06 17:49:12 +02:00
Ozzie Isaacs
5e4cf839bc Replace "ast" by "json.loads" to handle enums with default values/colors (fix for #2398) 2022-05-05 18:04:34 +02:00
Ozzie Isaacs
056ecf0d90 Fix for #2394 2022-05-04 19:23:08 +02:00
Ozzie Isaacs
1bcb714fac Remove mature tags config option 2022-05-03 18:43:07 +02:00
Ozzie Isaacs
8cb3fe32a5 Try to prevent error from #2390 2022-05-02 17:42:26 +02:00
Ozzieisaacs
ae5053e072 Added missing translation strings
Update German Translation
2022-05-01 13:24:11 +02:00
Ozzie Isaacs
cde51e743a Removed duplicate Werkzeug entry in about page
Code cosmetics
2022-05-01 12:36:35 +02:00
Ozzie Isaacs
49655e9f2d More bugfixes for time and datetime.time 2022-05-01 10:38:31 +02:00
Ozzie Isaacs
7b45324149 Bugfix time and datetime.time 2022-05-01 10:35:00 +02:00
Ozzie Isaacs
12f3a13d1d Fix typo
Fix missing maim.py file in update pypi package
Bugfix after last testrun
2022-05-01 10:25:38 +02:00
Ozzie Isaacs
e8e4d87d39 Bugfix session commit
Bugfix get_locale
Bugfix reconnect database schedule
Bugfix no permission error message logging
Bugfix updater
2022-04-30 10:17:41 +02:00
Ozzie Isaacs
5d5a94c9e5 Bugfix start as program 2022-04-29 18:26:09 +02:00
Ozzie Isaacs
258b4a6767 Bugfix OAuth Login 2022-04-28 21:43:26 +02:00
Ozzie Isaacs
ef4b5e2881 Bugfix audio player
Bugfix Debugfile export
2022-04-28 21:40:48 +02:00
Ozzie Isaacs
a968ddaef2 Bugfixes after testrun 2022-04-28 21:09:03 +02:00
Ozzie Isaacs
aaa749933d Further migration to flask_babel
Bugfix sort order
Bugfix tasklist
2022-04-26 20:24:40 +02:00
Ozzie Isaacs
2e007a160e reenable startup logging
Bugfixes from refactoring and merge
2022-04-26 14:45:06 +02:00
Ozzie Isaacs
e7464f2694 Refactored web.py to shrink size of file 2022-04-26 11:49:06 +02:00
Ozzie Isaacs
47414ada69 Merge branch 'master' into Develop 2022-04-26 11:11:00 +02:00
Ozzie Isaacs
9410b47144 Refactored startup for compatibility with pyinstaller 5.0 2022-04-26 11:10:44 +02:00
Ozzie Isaacs
2b03cae017 Bugfix scheduler end task 2022-04-26 10:55:11 +02:00
Ozzie Isaacs
21ebdc0130 Bugfixes from testrun 2022-04-26 10:49:06 +02:00
Ozzie Isaacs
6e8445fed5 Changed schedule start- and end-time to schedule start and duration
Localized display of schedule start-time and duration
Removed displaying scheduling settings if "APScheduler" is missing
Input check for start-time and duration
2022-04-25 17:00:07 +02:00
Ozzie Isaacs
d83c731030 Reconnect only if reconnect is enabled 2022-04-25 08:28:29 +02:00
Ozzie Isaacs
ae9a970782 Add button to update cover cache (for usecase sideloaded changed cover)
Bugfix logig start background schedue
2022-04-25 08:24:14 +02:00
Ozzie Isaacs
1e723dff3a Make texts in Background thread translatable 2022-04-24 18:40:50 +02:00
Ozzie Isaacs
8421a17a82 Always catch sqlite create_function error 2022-04-24 13:15:41 +02:00
Ozzie Isaacs
bc96ff9a39 Enable scheduled side deleting of thumbnails of deleted books 2022-04-24 11:14:39 +02:00
Ozzie Isaacs
bf049d8240 Make series cover cache invisible 2022-04-24 11:05:22 +02:00
Ozzie Isaacs
6e783cd7ee Make Task Stop Action green (marked as clickable) 2022-04-23 20:08:26 +02:00
Ozzie Isaacs
069dc2766f Update optional-requirements
Bugfix with serializing tasks
Bugfix order of tasks (id was used instead of task_id)
Code cosmetics
2022-04-23 20:03:59 +02:00
Ozzie Isaacs
2f5b9e41ac Reduce number visible System tasks in Tasks list 2022-04-22 20:31:03 +02:00
Ozzie Isaacs
9a8093db31 Thumbnail is generated directly after a book is added 2022-04-22 16:13:51 +02:00
Ozzie Isaacs
5c342d4e7c use get for dicts 2022-04-22 09:06:37 +02:00
Ozzie Isaacs
3c98cd1b9a Merge branch 'master' into cover_thumbnail
# Conflicts:
#	test/Calibre-Web TestSummary_Linux.html
2022-04-20 07:25:37 +02:00
Ozzie Isaacs
a8680a45ca Bugfixes from Testrun
Update teststatus
2022-04-19 20:37:27 +02:00
Ozzie Isaacs
d75d95f401 Merge remote-tracking branch 'epub_meta/master' 2022-04-18 20:07:01 +02:00
Ozzie Isaacs
fbb6de7195 Merge remote-tracking branch 'translation/translation/Simplified_Chinese' 2022-04-18 20:02:09 +02:00
xlivevil
3cbbf6fa86
Update Simplifield Chinese translation 2022-04-18 14:52:31 +08:00
Ozzieisaacs
c92d65aad3 Catch more errors on import metadata provider 2022-04-17 19:05:56 +02:00
Ozzieisaacs
c61e5d6ac0 Fix amazon metadata-provider 2022-04-17 11:54:46 +02:00
Ozzieisaacs
130af069aa Merge remote-tracking branch 'douban/metadata_provider/douban'
# Conflicts:
#	cps/metadata_provider/amazon.py
#	cps/metadata_provider/lubimyczytac.py
2022-04-17 10:33:52 +02:00
Ozzieisaacs
09b381101b Added "None" to list of file formats, tags, series, languages
Unified languages.html and list.html template
2022-04-16 17:01:41 +02:00
Ozzie Isaacs
2f3e5eadeb Bug fix after merge (renamed variable) 2022-04-13 19:34:14 +02:00
Ozzie Isaacs
fe5d684d2c Merge branch 'master' into cover_thumbnail 2022-04-13 18:37:44 +02:00
Ozzie Isaacs
df53a5d8c9 Prevent none comment while upload pdf documents 2022-04-13 18:37:23 +02:00
Ozzie Isaacs
83b99fcb1a Fix cover upload url with spaces at the end
Support image/jpg as upload format mimetype, remove redundant check of mimetype
2022-04-12 19:33:00 +02:00
Ozzie Isaacs
028e6855a7 Pagination button disapears in standard theme once infinite scroll is triggered 2022-04-12 18:45:06 +02:00
Wulf Rajek
adf6728f14 Gracefully deal with incorrect dates 2022-04-12 00:22:05 +01:00
Ozzie Isaacs
1136383b9a Bugfix for cli folder names as -p or -g parameters 2022-04-11 19:15:50 +02:00
Ozzie Isaacs
d770e5392e Further fix for #2363 2022-04-06 11:12:57 +02:00
Ozzie Isaacs
3d2e7e847e Merge branch 'master' into cover_thumbnail
# Conflicts:
#	setup.cfg
#	test/Calibre-Web TestSummary_Linux.html
2022-04-05 19:11:11 +02:00
Ozzie Isaacs
a63af5882e Fix for #2363 (Handle empty response from lubimyczytac metadata provider) 2022-04-05 19:04:42 +02:00
Wulf Rajek
2d0af0ab49 Add pubdate, publisher and identifiers metadata #2163 2022-04-05 01:26:35 +01:00
Ozzie Isaacs
42b0226f1a Fix for missing "query" entry in flask_session 2022-04-04 13:58:47 +02:00
Ozzie Isaacs
8adae6ed0c Handle permission errors for static files (Fix for #2358)
Version bump
2022-04-03 20:26:43 +02:00
Ozzie Isaacs
fee76741a0 Update Testresult 2022-04-03 20:17:34 +02:00
Ozzie Isaacs
f36d3a76be Return false if custom columns generate an error during connect database
Replaced existing with valid in readme to make it more clear what database is needed
2022-04-02 17:29:30 +02:00
Ozzie Isaacs
afaf496fbe Merge branch 'master' into cover_thumbnail
# Conflicts:
#	cps/db.py
#	cps/templates/author.html
#	cps/templates/discover.html
#	cps/templates/index.html
#	cps/templates/search.html
#	cps/templates/shelf.html
#	cps/web.py
#	requirements.txt
#	test/Calibre-Web TestSummary_Linux.html
2022-04-02 11:57:18 +02:00
Ozzie Isaacs
c06754975e Added bookeen to the reader for "simple theming" (#1861) 2022-04-02 11:37:02 +02:00
Ozzie Isaacs
834edadc28 Possible fix for #2350 and #2351 (databse locked)
Fix for #2309 (long unicode filenames could get to long)
2022-03-29 18:30:05 +02:00
Ozzie Isaacs
73d359af05 Bugfix logging with gdrive
Update optional-requirements.txt
2022-03-28 19:02:12 +02:00
Ozzie Isaacs
baffe1f537 Plus ("+" vs. "%2B") encoded search strings for opds search feeds are now working in request string (fix for #2175) 2022-03-28 14:09:28 +02:00
Ozzie Isaacs
2f949ce1dd Enabled search for text based custom column content in simple search (fix for #2279) 2022-03-28 14:09:28 +02:00
Ozzie Isaacs
32a3c45ee0 Refactored load read status for web access and opds access
Refactored and removed discover html page
Bugfix show author
Bugfix open dialog in author page
Fix for #2341 (advanced search with linked read column and read column having a higher number than number of available custom columns)
2022-03-27 12:21:19 +02:00
Ozzie Isaacs
14a6e7c42c Deactivated several functions for kindle tolino and kobo. Opening books now working for ebook readers 2022-03-25 18:30:12 +01:00
Ozzie Isaacs
2a5e9a97bb Fix #2349 (import error on python <3.7 dataclasses solved) 2022-03-24 18:19:41 +01:00
Ozzie Isaacs
a6a8f7eb43 Series Link in series view no longer clickable 2022-03-21 19:33:57 +01:00
Ozzie Isaacs
5070cc4c23 Merge branch 'master' into cover_thumbnail 2022-03-21 19:02:14 +01:00
Ozzie Isaacs
0d49b56883 Update gmail.json location 2022-03-21 18:50:02 +01:00
Ozzie Isaacs
f5b79930ad Bugfix remember sort order of series and authors if entered from link below book cover (#2340) 2022-03-20 20:02:57 +01:00
Ozzie Isaacs
c0d0660986 Added names for jobs to make log more readable
Bugfix logging delete thumbnail
2022-03-20 19:55:46 +01:00
Ozzie Isaacs
ec53570118 Merge branch 'master' into cover_thumbnail
# Conflicts:
#	cps/editbooks.py
#	test/Calibre-Web TestSummary_Linux.html
2022-03-20 17:15:40 +01:00
Ozzie Isaacs
8cb5989c97 Catch additional error on not existing custom column linked to read column (#2341)
Prevent metadata changes are lost on edit books with errors (#2326)
Better log output
Renamed log message on database delete
2022-03-20 11:55:12 +01:00
Ozzie Isaacs
f34fc002da Implement missing cache delete Task identifier 2022-03-16 20:33:11 +01:00
Ozzie Isaacs
06e8845641 Implement delete thumbnail entry
Implement delete cache_dir on database change
2022-03-16 20:31:25 +01:00
Ozzie Isaacs
034ab73ccc Added environment variables for reconnect 2022-03-16 16:57:18 +01:00
Ozzie Isaacs
57cd8160a0 Removed accidently added line regarding "InstrumentedAttribute" 2022-03-16 16:28:58 +01:00
Ozzie Isaacs
399ddc5d6f Update testresults 2022-03-15 18:45:14 +01:00
Ozzie Isaacs
d9a83e0638 Merge branch 'master' into cover_thumbnail
# Conflicts:
#	cps/editbooks.py
#	cps/helper.py
#	cps/web.py
#	test/Calibre-Web TestSummary_Linux.html
2022-03-14 19:41:47 +01:00
Ozzie Isaacs
8f3bb2e338 Bugfixes from testrun 2022-03-14 17:12:35 +01:00
Ozzie Isaacs
4545f4a20d Better epub cover parsing with multiple cover-image items
Code cosmetics
renamed variables
refactored xml page generation
refactored prepare author
2022-03-13 19:00:37 +01:00
Ozzie Isaacs
296f76b5fb Fixes after testrun
Code cosmetics
2022-03-13 10:23:13 +01:00
Ozzie Isaacs
3b5e5f9b90 Undo check of read checkbox in case of error
Display error message in details modal dialog
Bugfix set archive bit in booktable
Translate error message readstatus change
2022-03-12 22:16:33 +01:00
Ozzie Isaacs
8e2536c53b Improved cover extraction for epub files 2022-03-12 18:01:11 +01:00
Ozzie Isaacs
4379669cf8 Database error is more detailed
renamed debug_or_exception to error_or_exception
2022-03-12 17:14:54 +01:00
Ozzie Isaacs
2b31b6a306 Fix for #2325 (author sort order differs from authors order with readonly database) 2022-03-12 16:51:50 +01:00
Ozzie Isaacs
3a0dacc6a6 log message on not found author 2022-03-12 14:27:41 +01:00
Ozzie Isaacs
547ea93dc9 First fix for #2325 (edit book table with readonly database) 2022-03-12 10:19:21 +01:00
Ozzie Isaacs
d80297e1a8 Bugfix sorting user table 2022-03-12 10:00:38 +01:00
Ozzie Isaacs
49692b4a45 Update catch errors for load metadata from amazon (#2333) 2022-03-12 08:27:42 +01:00
xlivevil
b54a170a00
Add clean_date method in douban metadata_provider 2022-03-12 13:54:37 +08:00
Ozzie Isaacs
34478079d8 Prevent local variable 'from_book' referenced before assignment during merge of books
Merge books source book: Each book in own row
Merge books, sources are deleted before dialog shows up again
2022-03-09 14:45:51 +01:00
Ozzie Isaacs
753319c8b6 Version bump 2022-03-06 16:30:50 +01:00
Ozzie Isaacs
c53817859a Version update
Updated testresult
2022-03-06 16:10:41 +01:00
Bharat KNV
9efd644360 Change dark theme from black to dark gray and add a black theme 2022-03-06 15:56:54 +05:30
Ozzie Isaacs
598618e428 Fix rename_files_on_change return handling
Updated test result
2022-03-01 16:36:46 +01:00
Ozzie Isaacs
965352c8d9 Don't allow redirects on cover uploads, catch more addresses which resolve to localhost 2022-02-26 08:05:35 +01:00
xlivevil
97cf20764b
Add exception handling and logger in metadata provider 2022-02-25 12:18:07 +08:00
xlivevil
695ce83681
Fix Uncaught RangeError 2022-02-25 01:12:22 +08:00
xlivevil
86b779f39b
Add douban metadate provider 2022-02-25 01:01:12 +08:00
Ozzie Isaacs
8007e450b3 Bugfix for cbr support without comicapi 2022-02-19 10:04:21 +01:00
Ozzie Isaacs
0aac961cde Update readme
Bugfix debug logging during update
unrar-free is now also recognized for displaying unrar version in about section, removed unused not configured string
2022-02-19 09:54:09 +01:00
Ozzie Isaacs
ef7c6731bc Possible fix for #2301 (sending emails from custom domain name server) 2022-02-14 17:35:20 +01:00
Ozzie Isaacs
e9b674f46e Fix a problem with sending emails from custom domain name server (#2301) 2022-02-13 16:17:04 +01:00
Ozzie Isaacs
7bb3cac7fb Avoid problems with percent encoded utf-8 abstracts on certain chinese papers 2022-02-12 12:41:29 +01:00
Ozzie Isaacs
9c5970bbfc Bugfix for empty search results from google 2022-02-12 12:34:54 +01:00
Ozzie Isaacs
ba23ada1fe Reenable showing of academic cover in case no cover was found from scholary 2022-02-12 12:32:35 +01:00
Ozzie Isaacs
5f70406b30 Improved dependency check for executables 2022-02-12 12:14:02 +01:00
Ozzie Isaacs
6b026513cb refactored about 2022-02-12 12:12:30 +01:00
Ozzie Isaacs
0436f0f9b2 Improved dependency check for executables 2022-02-12 12:00:12 +01:00
Ozzie Isaacs
295888c654 Find imports in executables 2022-02-12 11:20:09 +01:00
Ozzie Isaacs
0981337cdf Update optional_requirements 2022-02-09 20:57:39 +01:00
Ozzie Isaacs
461dd05e2f Readd cache directory to the excluded files during update 2022-02-08 20:18:32 +01:00
Ozzie Isaacs
764389ea2a small change 2022-02-08 20:15:01 +01:00
Ozzie Isaacs
4a0dde0371 Merge remote-tracking branch 'cover_images/thumbnails' into cover_thumbnail
# Conflicts:
#	cps/admin.py
#	cps/config_sql.py
#	cps/helper.py
#	cps/tasks/upload.py
#	cps/updater.py
#	cps/web.py
2022-02-08 19:55:20 +01:00
Ozzie Isaacs
e22b3da601 Merge branch 'master' into Develop
# Conflicts:
#	cps/tasks/convert.py
#	test/Calibre-Web TestSummary_Linux.html
2022-02-07 13:57:50 +01:00
Ozzie Isaacs
7c623941de Bugfixes after testrun
Enabled re-encode of bookformats
2022-02-07 13:55:18 +01:00
Ozzie Isaacs
3bb41aca6d Bugfix for already present mobi file during convert (fixes #1900) 2022-02-06 18:57:58 +01:00
Ozzie Isaacs
0c3c0c0664 Improved logging of book title on upload 2022-02-06 16:33:12 +01:00
Ozzie Isaacs
411c13977f Fix for #2294 (cover files in epubs with property as property in manifest are now found) 2022-02-06 16:22:28 +01:00
Ozzie Isaacs
41f89af959 Log error in case gdrive.db folder can't be found 2022-02-06 14:23:35 +01:00
Ozzie Isaacs
895f68033f Improved detection of changed database 2022-02-06 14:22:55 +01:00
Ozzie Isaacs
89877835b3 Detect missing database file also in gdrive mode 2022-02-05 19:05:26 +01:00
Ozzie Isaacs
5b3015619d Save book read status on edit in books table 2022-02-05 15:36:18 +01:00
Ozzie Isaacs
6ca08a7cc1 Prevent delete of everything if database wasn't really changed 2022-02-05 15:12:23 +01:00
Ozzie Isaacs
7254ce6c81 Prevent delete of everything if database wasn't really changed 2022-02-05 15:11:50 +01:00
Ozzie Isaacs
cfa6b405da Upload files to gdrive with author rename working 2022-02-05 13:21:06 +01:00
Ozzie Isaacs
26a8ac1425 Mass rename author before last stage 2022-02-05 09:06:14 +01:00
Ozzie Isaacs
a03c95329c Merge branch 'master' into Develop 2022-02-01 20:31:03 +01:00
Ozzie Isaacs
e0bf829def Bugfix parsing /Keywords' in doc_info of pdf file with type bytes (fixes #2302) 2022-02-01 20:19:14 +01:00
Ozzie Isaacs
0bc15636f2 Bugfixes for renaming authors on gdrive 2022-02-01 20:08:42 +01:00
Ozzie Isaacs
61bfeae936 Merge branch 'master' into Develop 2022-01-31 19:20:02 +01:00
Ozzie Isaacs
95e0255aa1 Code cosmetics, removed scholarly from about section 2022-01-31 19:19:25 +01:00
Ozzie Isaacs
23e47ba4e6 Fix for #2299 (scholarly requires Internet connection at startup) 2022-01-31 18:09:23 +01:00
Ozzie Isaacs
111ab121b1 Bugfix upload file with existing author 2022-01-30 21:27:06 +01:00
Ozzie Isaacs
1e04b51148 Renaming of co-authors which are authors in another book 2022-01-30 15:16:42 +01:00
Ozzie Isaacs
3ae1b97d72 Fix renaming title and author in the same request 2022-01-30 13:44:53 +01:00
Ozzie Isaacs
3123a914a4 Updated test results
Fix updater
Added comment regarding code taken from calibre source
2022-01-30 11:15:14 +01:00
Ozzie Isaacs
f6b46bb170 Code cosmetics 2022-01-29 21:22:39 +01:00
Ozzie Isaacs
bb7f4cf74e Added optional requirements for metadata amazon
Better logging of errors in metadata source files
2022-01-29 21:03:06 +01:00
Ozzie Isaacs
39ac37861f Added option to enable reconnect
Added option to perform dry run of updater
Added possibility to exclude files from updater
2022-01-29 14:47:45 +01:00
mmonkey
62ff6f7e8a Fixed tasks not running if scheduled time starts and ends on different days. 2022-01-28 23:48:44 -06:00
mmonkey
032fced9c7 Merge branch 'develop' into thumbnails 2022-01-28 23:15:50 -06:00
Ozzie Isaacs
ae9c5da777 Merge branch 'master' into Develop:
Access to shelfs
2022-01-28 20:04:04 +01:00
Ozzie Isaacs
42f8209a4a Fixed access to shelfs 2022-01-28 20:01:33 +01:00
Ozzie Isaacs
e757be6953 Merge remote-tracking branch 'amazon/master' into Develop 2022-01-27 19:13:59 +01:00