1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-04-04 17:57:00 +00:00

4448 Commits

Author SHA1 Message Date
Ozzie Isaacs
4e67a56ed2 Merge remote-tracking branch 'ger/fix/de-translation' 2025-03-30 15:55:57 +02:00
Ozzie Isaacs
2b2ccb1710 Refactored epub-reader progress
Progress in epubs now visible also in dark mode(s)
2025-03-30 12:23:13 +02:00
Ozzie Isaacs
4583fc8023 Python 3.13 compatibility
Code cosmetics
2025-03-30 12:03:12 +02:00
Ozzie Isaacs
2c9d4d2487 Merge remote-tracking branch 'djvu_mimetype/new_djvu_mimetyp' 2025-03-30 09:17:59 +02:00
Ozzie Isaacs
af09b50153 Merge remote-tracking branch 'modal/master' 2025-03-30 09:05:24 +02:00
Ozzie Isaacs
b8c3674be9 Merge remote-tracking branch 'storygraph/storygraph-id' 2025-03-30 09:00:01 +02:00
Ozzie Isaacs
65a29ed4c9 Log exception for unhandled errors in background tasks 2025-03-30 08:58:56 +02:00
Ozzie Isaacs
854a7d020d Better error output for "empty" Author sort not working
Update bleach requirement
2025-03-28 17:23:45 +01:00
Ozzie Isaacs
a215b73e39 Lower requirement of cryptography 2025-03-28 16:52:10 +01:00
Ozzie Isaacs
6bfe022de0 Update Teststatus 2025-03-26 06:56:53 +01:00
Ozzie Isaacs
c6cde961b6 Revert Change to reenable change database function 2025-03-25 06:08:08 +01:00
Ozzie Isaacs
86e6161b89 Remove testing code 2025-03-23 15:29:03 +01:00
Ozzie Isaacs
646937272a Updates dependencies
Update logger ->filename is logged instead of responsible logger
2025-03-23 15:12:06 +01:00
Ozzie Isaacs
6dd7a023f3 Improved error handling for invalid recipient address 2025-03-23 14:13:02 +01:00
Ozzie Isaacs
f0077e73a8 Merge remote-tracking branch 'mail_id/patch-1' 2025-03-23 09:22:14 +01:00
Ozzie Isaacs
e485f10e9e List locale alphabetically 2025-03-23 09:18:48 +01:00
Ozzie Isaacs
81a0b15a3d Merge remote-tracking branch 'button/fix-setup-form' 2025-03-23 08:49:29 +01:00
Ozzie Isaacs
89577914ba Merge remote-tracking branch 'fix-js-content-type/fix-js-content-type' 2025-03-23 08:46:27 +01:00
Ozzie Isaacs
c289cb5d4b Fix sync fails with error when "Synchronize Notebooks" enabled 2025-03-23 08:44:55 +01:00
Ozzie Isaacs
80bcfb12de Add UniDecodeError to catched errors during kobo sync check layout 2025-03-23 08:41:18 +01:00
Ozzie Isaacs
46f111cd6e Better error handling during proxying kobo requests (fix for #3334) 2025-03-23 07:56:14 +01:00
antar37
3d9594cfaa
Update mail.py
using make_msgid to create a well-formed  message-ID. The lack of brackets causes gmail to reject the message-ID
2025-03-20 12:43:56 -06:00
Jayson Rhynas
bc0e218e73 Added support for storgraph: identifiers 2025-03-18 11:51:43 -04:00
Theo Psallidas
f9267ba391 Fix modal for smaller devices [smartphone] 2025-03-17 19:13:25 +02:00
Louis
eb02c9e5d4 Fix to use common djvu mimetype 2025-02-25 12:49:31 +01:00
Ross Williams
22a93a28e2 Refactor epub reader progress calculation
The code in epub-progress.js was causing the epub file to be loaded
twice over the network, because it created a second instance of the
epub.js library. I moved all the progress percentage display code into
epub.js. Only the locationchange polyfill code was left in the separate
file, renamed to locationchange-polyfill.js.

I rewrote the percentage progress code to use epub.js events,
giving more succinct and readable code. Also, I added localStorage
caching of the epub location calculations, required for displaying
percentage progress, which can take up to 60-90 seconds to calculate on
longer ebooks. This localStorage caching approach is recommended by
epub.js in the `locations.html` example in their repo.

Signed-off-by: Ross Williams <ross@ross-williams.net>
2025-02-21 04:15:37 +00:00
Juan Orti Alcaine
1ee49791f4 Remove duplicated 'charset' in Content-Type header for Javascript files
Javascript files are served over HTTP with an incorrect Content-Type
header because the 'charset' option is duplicated:

    $ curl -I http://127.0.0.1:8083/static/js/table.js
    HTTP/1.1 200 OK
    Content-Disposition: inline; filename=table.js
    Content-Type: text/javascript; charset=UTF-8; charset=utf-8
    Content-Length: 35967
    Last-Modified: Sat, 16 Nov 2024 06:21:28 GMT
    Cache-Control: no-cache
    ETag: "1731738088.0-35967-471731799"
    Date: Sat, 08 Feb 2025 16:30:42 GMT
    Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval'; font-src 'self' data:; img-src 'self' data:; object-src 'none';
    X-Content-Type-Options: nosniff
    X-Frame-Options: SAMEORIGIN
    X-XSS-Protection: 1; mode=block
    Strict-Transport-Security: max-age=31536000

This header is not RFC 1521 compliant and it's breaking some reverse
proxy setups that perform compression. See this bug for reference:

https://github.com/crocodilestick/Calibre-Web-Automated/issues/217
2025-02-08 17:29:02 +01:00
Robbinsch
90bccb86ef
fix: right html in config_db 2025-01-25 17:52:01 +01:00
Tobias Bayer
ff6b341c36 Fix more German translation strings 2025-01-13 10:21:33 +01:00
Tobias Bayer
9d3b2b007b Fix German translation 2025-01-12 14:23:23 +01:00
Ozzie Isaacs
efc7ce31d2 Fix kindle download handling 2025-01-06 17:38:25 +01:00
Ozzie Isaacs
4ccc2c0aec Handle kindle browser download filename can only contain ASCII characters (#3266) 2025-01-06 17:36:17 +01:00
Ozzie Isaacs
4512ab4524 Renamed pdf reader javascript files (#3277) 2025-01-06 14:54:09 +01:00
Ozzie Isaacs
0ef9e46133 Merge remote-tracking branch 'colorspace/fix-colorspace-transformation' 2025-01-06 07:03:23 +01:00
Ozzie Isaacs
88a06deb8c Merge remote-tracking branch 'caliblur/fix-upload-styling' 2025-01-06 07:01:50 +01:00
Wouter Koch
e4f1ce9c5a Transform color space to srgb instead of rgb to prevent dark images 2025-01-05 01:49:46 +01:00
James McNee
f5048ee1a8 Fix UI bug when book conversion enabled on mobile
On mobile, when book conversion is enabled and using the cabliBlur theme, the upload menu appears behind the description text area making it difficult (though not impossible with some careful guesswork around where the buttons should be).

This commit fixes the styling of this section so that it no longer appears behind the description text area.
2025-01-04 11:51:35 +00:00
Ozzie Isaacs
e7c2a85fd4 Fix for uploading azw files (#3263) 2024-12-22 13:11:59 +01:00
Ozzie Isaacs
ee7f393e67 enable mobi and rtf files for upload (fix for #3258) 2024-12-15 19:58:29 +01:00
Ozzie Isaacs
71686e4490 Merge remote-tracking branch 'it/patch-1' 2024-12-15 07:20:37 +01:00
mapi68
ea1ba54a9d
Update messages.po 2024-12-15 06:40:46 +01:00
Ozzie Isaacs
659535f5de update Galician translation 2024-12-14 14:52:06 +01:00
Ozzie Isaacs
d977d1b81b Add title tag to opds feed
Enable Kepub format for epub Reader
2024-12-14 14:49:28 +01:00
Aleksei Besogonov
01215aaa68
Allow the web reader to use KEPUB files and print file sizes
This commit allows the web reader to read the KEPUB (Kobo EPUB) files,
and also shows the file sizes. This is especially useful if you have
giant EPUB files with built-in audiobooks and media overlays.
2024-12-08 23:30:05 -08:00
Aleksei Besogonov
ed600a9aeb
Add a title to OPDS links
This allows the OPDS consumers to distinguish `epub` and `kepub` files
as they have the same MIME-type.
2024-12-08 17:29:03 -08:00
pollitor
e542151652 Update Galician translation 2024-12-08 17:02:27 +01:00
Ozzie Isaacs
e49402649d Order of elements on the book editing page changed 2024-12-07 19:13:28 +01:00
Ozzie Isaacs
21989c3ccf Added logging of ip address (#3237)
Refactored Response(json.dumps -> make_response(jsonify..)
Update mimetypes - Allow different mimetypes for download and file upload check (#3245, #3243)
Bugfixes from tests
Updated optional-requirements
2024-12-07 07:27:57 +01:00
Ozzie Isaacs
42924d9508 Added logging of ip address (#3237)
Refactored Response(json.dumps -> make_response(jsonify..)
Update mimetypes - Allow different mimetypes for download and file upload check (#3245, #3243)
Bugfixes from tests
Updated optional-requirements
2024-12-07 07:27:00 +01:00
Ozzie Isaacs
f9390ceea5 reenable hide console window on windows 2024-12-01 16:22:08 +01:00