Commit Graph
4619 Commits
Author SHA1 Message Date
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
Jørgen V 2f6322b0ee Fix #2849 2025-02-23 22:17:01 +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
cjwin2000 dbf104787c Update google.py 2025-01-10 20:31:17 -05:00
cjwin2000 bf31e675db Update config_edit.html 2025-01-10 20:28:09 -05:00
cjwin2000 7e24890991 Update admin.py 2025-01-10 20:20:08 -05:00
cjwin2000 4cf4c4dfe6 Update config_sql.py 2025-01-10 20:14:17 -05: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 e531bc0f0c Fixes from Test 2025-01-04 06:54:34 +01:00
Ozzie Isaacs f78a2367a2 Fix title sort, author sort setting for multi book table editing 2024-12-31 11:54:32 +01:00
Ozzie Isaacs 928ed10c2e Improved error handling on mass edit list 2024-12-29 20:12:27 +01:00
Ozzie Isaacs e7c2a85fd4 Fix for uploading azw files (#3263) 2024-12-22 13:11:59 +01:00
Ozzie Isaacs 32d120bd39 Fix for (#3261 handle permission error on generating new folders during rename of authors) 2024-12-21 11:36:18 +01:00
Ozzie Isaacs be5247a2ef Fix for (#3261 handle permission error on generating new folders during rename of authors) 2024-12-21 11:30:02 +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 14bb01010d Bugfix edit books list (delete value) 2024-12-15 16:09:11 +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 0afba50953 Merge branch 'master' into Develop 2024-12-14 14:54:00 +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
Ozzie Isaacs 24fdadbeb6 Update error handling book table edit 2024-12-14 14:39:17 +01:00
Ozzie Isaacs 08527ae3ce Update mass edit
Refactored delete User function
Updated testresults
2024-12-13 18:03:14 +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 89e9958222 Merge remote-tracking branch 'massedit/bulk-delete' into Develop 2024-12-07 10:32:17 +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
Ozzie Isaacs dc7a0575dd Fix typo on security settings 2024-12-01 16:19:53 +01:00
leyan a972447dbc Correct a typo on config_password_character 2024-11-30 23:21:14 +01:00
Ozzie Isaacs 87b200cc13 Connection to metadata.db is now on per request base, should solve upload issues with multiple files at once 2024-11-30 10:02:53 +01:00
Ozzie Isaacs 14e57e3714 Fix save invalid database 2024-11-30 10:01:03 +01:00
Ozzie Isaacs d45ed1c921 Fixes for parallel upload (coverfiles get individual temporary names)
Updated teststatus
2024-11-30 09:45:46 +01:00
Ozzie Isaacs 344c0c7bc3 Bugfixes after testrun 2024-11-28 14:47:52 +01:00
Ozzie Isaacs 190ee09e60 update Tests
Per request db connection
2024-11-26 06:13:18 +01:00