Commit Graph

993 Commits (4913f06e0d58a31cc142a16fd7750f2b8abfd226)

Author SHA1 Message Date
Ozzie Isaacs 4913f06e0d Updated test status
Fix for #2614 (Send to eReader not working for guest user)
1 year ago
Ozzie Isaacs d48d6880af Update German translation 1 year ago
Ozzie Isaacs 77637d81dd Fix fro #2670 (user has no attribute eReader_mail) 1 year ago
Ozzie Isaacs a2bf6dfb7b Bugfix csp header
Bugfix for loading metadata from google with old books (publishing date only year)
1 year ago
Ozzie Isaacs 1cd05d614c Merge remote-tracking branch 'csp/patch-1' 1 year ago
Ozzie Isaacs 2be2920833 Fixed typo 1 year ago
Ozzie Isaacs 43ee85fbb5 Removed unnecessary Unicode "u" 1 year ago
Ozzie Isaacs 8022b1bb36 Merge remote-tracking branch 'english/master' 1 year ago
Petipopotam beb619c2c2
Correct CSP
no need blob: value for object-src
1 year ago
Petipopotam ed22209e6c
Content Security Policy syntax was invalid
According to https://csp-evaluator.withgoogle.com/ the CSP built here is NOT valid (and the blob: value is missing at img-src, so the image is not displayed when reading ebook in a browser)

Before this commit, in Chrome response header you can find 

Content-Security-Policy: default-src 'self'  'unsafe-inline' 'unsafe-eval'; font-src 'self' data:; img-src 'self'  data:; object-src: 'none'; blob:;style-src-elem 'self' blob: 'unsafe-inline';

After :

Content-Security-Policy: default-src 'self'  'unsafe-inline' 'unsafe-eval'; font-src 'self' data:; img-src 'self' blob: data:; object-src 'none'  blob:; style-src-elem 'self' blob: 'unsafe-inline';

and image in viewer are displayed
1 year ago
Josh O'Brien b3335f6733 English Language Updates - V3 1 year ago
Ozzie Isaacs 85a6616606 Merge remote-tracking branch 'fix_default_language/master' 1 year ago
Julien Voisin 2ddbaa2150
Add object-src to the CSP policy 1 year ago
Feige-cn e8c461b14f
Update web.py
In Admin view page, Editor UI Configuration - Default Settings for New Users - Default Language, set up the new user's default language is not effective. I changed this web.py, add a line of code in 1248 lines in register function. Creating the new user need to take the default language.
2 years ago
Ozzie Isaacs a9b20ca136 Fix for big database not showing tags 2 years ago
Ozzie Isaacs bf0375d51d Bugfix change emails 2 years ago
Ozzie Isaacs 89d226e36b Allow deletion of kindle email address and force e-mail address to be valid 2 years ago
Ozzie Isaacs a72f16fd3a Fix missing or_ import 2 years ago
Ozzie Isaacs c2545315e1 Fix Ratings with 0 stars are counted as None 2 years ago
Kian-Meng Ang c4104ddaf4 Fix typos 2 years ago
Ozzie Isaacs 91df265d40 Fix for #2437 (advanced search for read status crashes calibre-web) 2 years ago
Ozzie Isaacs fbac3e38ac Eenabled send epubs to E-Reader devices 2 years ago
Ozzie Isaacs aaa749933d Further migration to flask_babel
Bugfix sort order
Bugfix tasklist
2 years ago
Ozzie Isaacs 2e007a160e reenable startup logging
Bugfixes from refactoring and merge
2 years ago
Ozzie Isaacs e7464f2694 Refactored web.py to shrink size of file 2 years ago
Ozzie Isaacs 47414ada69 Merge branch 'master' into Develop 2 years ago
Ozzie Isaacs 5c342d4e7c use get for dicts 2 years ago
Ozzie Isaacs 3c98cd1b9a Merge branch 'master' into cover_thumbnail
# Conflicts:
#	test/Calibre-Web TestSummary_Linux.html
2 years ago
Ozzie Isaacs a8680a45ca Bugfixes from Testrun
Update teststatus
2 years ago
Ozzieisaacs 09b381101b Added "None" to list of file formats, tags, series, languages
Unified languages.html and list.html template
2 years ago
Ozzie Isaacs 3d2e7e847e Merge branch 'master' into cover_thumbnail
# Conflicts:
#	setup.cfg
#	test/Calibre-Web TestSummary_Linux.html
2 years ago
Ozzie Isaacs 42b0226f1a Fix for missing "query" entry in flask_session 2 years ago
Ozzie Isaacs 8adae6ed0c Handle permission errors for static files (Fix for #2358)
Version bump
2 years ago
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
2 years ago
Ozzie Isaacs 2f949ce1dd Enabled search for text based custom column content in simple search (fix for #2279) 2 years ago
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)
2 years ago
Ozzie Isaacs ec53570118 Merge branch 'master' into cover_thumbnail
# Conflicts:
#	cps/editbooks.py
#	test/Calibre-Web TestSummary_Linux.html
2 years ago
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
2 years ago
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
2 years ago
Ozzie Isaacs 8f3bb2e338 Bugfixes from testrun 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 296f76b5fb Fixes after testrun
Code cosmetics
2 years ago
Ozzie Isaacs 4379669cf8 Database error is more detailed
renamed debug_or_exception to error_or_exception
2 years ago
Ozzie Isaacs 2b31b6a306 Fix for #2325 (author sort order differs from authors order with readonly database) 2 years ago
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
2 years ago
Ozzie Isaacs 5b3015619d Save book read status on edit in books table 2 years ago
Ozzie Isaacs 39ac37861f Added option to enable reconnect
Added option to perform dry run of updater
Added possibility to exclude files from updater
2 years ago
mmonkey 18ce310b30 Merge branch Develop into thumbnails 2 years ago
Ozzie Isaacs 127bf98aac Merge branch 'master' into Develop
# Conflicts:
#	cps/templates/detail.html
#	test/Calibre-Web TestSummary_Linux.html
2 years ago
Ozzieisaacs c095ee3c14 Fix #2243 (whitespaces are trimmed also for normal search) 2 years ago