Commit Graph

1048 Commits (master)

Author SHA1 Message Date
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
Ozzieisaacs 6598c4d259 Add rate limit for opds 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 ae3e3559b8 Rate limit prepared for feedback on login route 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
Ozzie Isaacs 7344ef353c Rate limited login 2 years ago
Kian-Meng Ang c4104ddaf4 Fix typos 2 years ago
Ozzie Isaacs 29fd4ae4a2 Bugfixes create users
Update Teststatus
2 years ago
Ozzieisaacs 4ef8c35fb7 Bugfies password validation from testrun 2 years ago
Ozzieisaacs 04326af2da password validation working 2 years ago
Ozzieisaacs d6a31e5db8 config verify password working 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
Ozzieisaacs 785726deee Migrated some routes to POST
- delete shelf, import ldap users
- delete_kobo token, kobo force full sync
- shutdown, reconnect, shutdown
2 years ago
Ozzie Isaacs 6e15280fac Start renaming author names on gdrive 3 years ago
Ozzie Isaacs f78d2245aa Fixes from testrun 3 years ago
Ozzie Isaacs fd5ab0ef53 Bugfix handle archive bit 3 years ago
Ozzie Isaacs d217676350 Upated testresult
Bugfix book table
3 years ago
Ozzie Isaacs cd5711e651 Merge branch 'master' into Develop
# Conflicts:
#	cps/web.py
3 years ago
Ozzie Isaacs bd01e840ca Delete books in shelfs, downloaded books, kobo sync status, etc on database change (fixes #620) 3 years ago
Ozzie Isaacs 5ed3b1cf53 On master: Order of language count in /language (fixes #2200) 3 years ago
Ozzie Isaacs 7640ac1b3b Books are removed from synced books upon archiving (from kobo or calibre-web side)
unicode texts (title, author) are showing up right on kobo reader
Added some missing kobo routes (prevents 404 response)
Added a lot of debug output on kobo sync requests
3 years ago
Ozzie Isaacs cbb9edac19 Bugfix search in books list
Fix renaming upper to lowercase letters
Update test results
3 years ago
Ozzieisaacs 1e9d88fa98 Merge branch 'master' into Develop 3 years ago
Ozzieisaacs 6cb713d62c Added filtering of languages
Bugfix show all allowed languages in user settings in case restrictions currently apply
3 years ago
Ozzieisaacs 6deb527769 Merge branch 'master' into Develop 3 years ago
Ozzie Isaacs d624b67e93 Fix #2174 (default sorting order now is timestamp again) 3 years ago
Ozzieisaacs 8e5bb02a28 Merge author rename 3 years ago
Ozzieisaacs 4fd4cf4355 Merge branch 'master' into Develop
# Conflicts:
#	cps/static/css/style.css
#	cps/web.py
3 years ago
Ozzieisaacs add502d236 Fix opds search and opds list of read books 3 years ago
Ozzieisaacs c1f4ca36b6 Current sorting order visible in all sidebar selectors, and search results
Sorting "hot" books only ascending and descending according to download numbers
Downloaded books sorting according to authors name working
3 years ago
Ozzieisaacs 58379159fb Fix shown cover in series grid view (#979) 3 years ago
Ozzieisaacs b414d91964 Fix for #2162 (Epub viewer isn't displaying images) 3 years ago
Ozzieisaacs a5415e00d5 Fix grid to list in series view
Fix sort asc, desc in author and series list
3 years ago
Ozzie Isaacs bbb65ec804 Merge remote-tracking branch 'trustedhost/master' 3 years ago
Ozzie Isaacs 1294672809 Bugfix search with excluded shelfs 3 years ago
Ozzie Isaacs f6a2b8a9ef Read and archive bit visible in book table 3 years ago
Ozzie Isaacs 4c7b5999f7 Archived Flag available in book list array 3 years ago
Ozzie Isaacs bb20979c71 Merge branch 'master' into Develop 3 years ago
Ozzie Isaacs 917909cfdb Refactored books detail page 3 years ago
Ozzie Isaacs bd0071354c Remove include subdomwains from hsts protection (#2114) 3 years ago
cbartondock c6bf62a6eb The recent changes to content security policy broke custom theming. I fixed it by adding a trusted hosts field to Server Configuration 3 years ago
Ozzie Isaacs bd6b5ac873 Fix load covers in metadata load screen 3 years ago
Ozzie Isaacs 4517f5b0cb Fix #2138 (Icons not showing in caliblur theme) 3 years ago
Ozzie Isaacs 9d5e9b28ae Enabled editing of "number" custom_columns in books list 3 years ago
Ozzie Isaacs 6f1e78b9a3 Bugfix book list with language restriction or archived books 3 years ago
Ozzie Isaacs 56a9c62421 Merge remote-tracking branch 'cn/chinese/master'
# Conflicts:
#	cps/templates/search_form.html
3 years ago
Ozzie Isaacs 50d703e2d8 Chunked reading status on kobo sync
Bugfix loading text on shelf delete
Bugfix sort books list according to selection without selection
3 years ago
Ozzie Isaacs ac54899415 Bugfixes kobo sync 3 years ago
Ozzie Isaacs 25f608d109 Bugfixes from testrun (load images from gdrive)
Fix locale for new users
3 years ago
Ozzie Isaacs ed26d34961 Code cleaning (remove python2) 3 years ago
Ozzie Isaacs 50919d4721 Added handling for missing flask-wtf dependency
Added CSRF protection (via flask-wtf)
Moved upload function to js file
Fixed error page in case of csrf failure
3 years ago
Ozzie Isaacs b699796236 Improved CSRF protection 3 years ago
Ozzie Isaacs 3f6a466ca7 Further language support fixes (displaying "non locale" languages translated) 3 years ago
mmonkey 46205a1f83 Made long running tasks cancellable. Added cancel button to cancellable tasks in the task list. Added APP_MODE env variable for determining if the app is running in development, test, or production. 3 years ago
Ozzie Isaacs 861277460d Merge remote-tracking branch 'origin/master' 3 years ago
Ozzieisaacs 58735caff3 Enhancements for displaying languages on non english locale 3 years ago
xlivevil fed9eff7b8
Fix the publishstart option in advsearch 3 years ago