1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-09-05 20:37:57 +00:00
Commit Graph

4479 Commits

Author SHA1 Message Date
Ozzie Isaacs
91e36b2c7e Testrun
Use getPath more often
2025-08-09 12:11:11 +02:00
Ozzie Isaacs
4fe28028ea Merge remote-tracking branch 'arabic/add-arabic-translation' 2025-06-29 09:46:23 +02:00
Ozzie Isaacs
e2c88b3a33 Merge remote-tracking branch 'lazy/patch-1' 2025-06-29 09:29:43 +02:00
Ozzie Isaacs
f58c8eb916 Merge remote-tracking branch 'lazy/master' 2025-06-29 09:28:34 +02:00
Ozzie Isaacs
6f5af36ecf Merge remote-tracking branch 'identifiers/ebooks_identifier' 2025-06-28 14:01:41 +02:00
Ozzie Isaacs
7c1d372086 Updated translation 2025-06-28 13:59:55 +02:00
Ozzie Isaacs
37b9ee9b0d Merge remote-tracking branch 'updated_translation/patch-1' 2025-06-28 13:58:46 +02:00
Ozzie Isaacs
bcfdeacf15 Decode calibre traceback to str 2025-06-28 13:54:03 +02:00
Usama Khalil
cb588c2c82 Update messages.po
Correcting typo, separate line 9 & 10.
Poedit (v2.2) compined line 9 & 10 into one line.
2025-06-07 15:04:05 +03:00
Usama Khalil
0b777c47bb Add Arabic translation (messages.po & messages.mo) files. 100% done 2025-06-07 14:47:04 +03:00
Ozzie Isaacs
4dce8abb1d Merge remote-tracking branch '403/fix/thumnbails_route_sso' 2025-06-01 10:37:32 +02:00
Ozzie Isaacs
f27d62e22c Merge remote-tracking branch 'overdrive/master' 2025-06-01 10:33:09 +02:00
Landon Cheek
0eb8583dce Allow POST requests issued during Overdrive book returns to be proxied
Addresses janeczku/calibre-web#3398
2025-05-23 12:37:45 -06:00
Kamil Markowicz
6f969ed6a6 fix: fixes 403 when using proxy auth
Resolves a 403 response when accessing /ajax/updateThumbnails from a
session authenticated by reverse proxy.

For some reason, the decorators are swapped on this route specifically,
but not the others. This brings the ordering to be consistent with other
routes. The login check should happen before the auth check now.
2025-05-09 22:31:06 -04:00
Oskar Manhart
707c41c48a feat: lazy-load images 2025-05-04 18:22:46 +02:00
Oskar Manhart
054256067a Merge remote-tracking branch 'upstream' 2025-05-04 11:46:07 +02:00
Asher Max Schweigart
8c0891a078 Updating translation files 2025-04-29 14:33:19 -04:00
Asher Max Schweigart
cc0fbd7ce8 Adding Smashwords identifier 2025-04-29 14:31:19 -04:00
Asher Max Schweigart
50be750460 Updating translation files 2025-04-28 12:42:16 -04:00
Asher Max Schweigart
5127061775 Updating translation template 2025-04-28 12:22:28 -04:00
mapi68
0d2611c8a0 Update messages.po 2025-04-15 00:51:31 +02:00
Asher Max Schweigart
521b46e60d Adding eBooks.com identifier type 2025-04-14 14:05:26 -04:00
Missing Link
36a99b0b5c Fix traceback encoding 2025-04-12 03:59:32 +08:00
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