Commit Graph

48167 Commits

Author SHA1 Message Date
YOKOTA Hiroshi 2f751d3dab Use None for empty value 2023-11-21 22:12:17 +09:00
YOKOTA Hiroshi 4d3553a115 Listen IPv6 address if available 2023-11-21 22:12:17 +09:00
YOKOTA Hiroshi 091404eb0d Use automatic server address if listen_on value is '' 2023-11-21 22:12:17 +09:00
YOKOTA Hiroshi dc4ba2e18b Check '::' really supports both IPv6 and IPv4
socket.has_dualstack_ipv6() checks current runtime environment
really works with both IPv6 and IPv4.
2023-11-20 21:00:57 +09:00
YOKOTA Hiroshi 8a400c83b2 Refactor IPv6 handling
Move is_ipv6_addr() to calibre.utils.network module
2023-11-18 18:17:44 +09:00
YOKOTA Hiroshi 70de4cc6a2 Return None if IP address string is None
"ip_address" parameter is None when content server config value
"listen_on" is blank string.
2023-11-18 18:17:44 +09:00
YOKOTA Hiroshi b5cdb0e6ea Keep original IP address if the IP address is not in address map
dict.get() returns None if the key is not in dict.
2023-11-18 18:17:44 +09:00
YOKOTA Hiroshi 70ba016b1f Add [] for IPv6 address in log file 2023-11-18 18:17:44 +09:00
YOKOTA Hiroshi 080e61d128 IPv6 requires [] for host:port style notation
ex)
  IPv4: 127.0.0.1:8080
  IPv6: [::1]:8080
2023-11-18 18:17:44 +09:00
YOKOTA Hiroshi d4b52a0098 Use IPv6 address for content server default value 2023-11-18 18:17:44 +09:00
Kovid Goyal 7595c722ed string changes 2023-11-18 14:34:40 +05:30
Kovid Goyal bfa3f40279 typo in function name 2023-11-18 08:20:49 +05:30
Kovid Goyal 2d92d1009b Linux installer: Check that the user has libxcb-cursor.so.0 installed
If not quit early with an error message asking them to install it
2023-11-18 07:56:58 +05:30
Kovid Goyal a326b9fe0f ... 2023-11-18 07:49:57 +05:30
Kovid Goyal 5785023722 Also allow restoring notes to work with notes backed up before the restore fix 2023-11-18 07:47:33 +05:30
Kovid Goyal d94eff1f48 Fix regression that broke restore of db from backups 2023-11-18 07:33:09 +05:30
Kovid Goyal 6aff552e75 string changes 2023-11-18 06:50:43 +05:30
Kovid Goyal 8d67ae5f24 Content server: Fix newly added books on homepage not restricted to the books the logged in user is allowed to access 2023-11-18 05:59:36 +05:30
Kovid Goyal 7fc0952a6a Fix #2043849 [Incorrect text layout in Browse notes window](https://bugs.launchpad.net/calibre/+bug/2043849) 2023-11-18 05:42:10 +05:30
Kovid Goyal 26c3692496 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-17 21:08:14 +05:30
unkn0w7n 79e548df60 ... 2023-11-17 21:04:27 +05:30
Kovid Goyal 740eddf971 Merge branch 'patch-1' of https://github.com/luzpaz/calibre 2023-11-17 18:13:37 +05:30
luzpaz 3dbfde4005 README: cosmetic enhancements to repology badge
Split in to 3 columns and added a badge header
2023-11-17 07:34:36 -05:00
Kovid Goyal 8cf945252e We only run on Ventura or later apparently 2023-11-17 16:51:15 +05:30
Kovid Goyal 8c4a460997 ... 2023-11-17 16:46:50 +05:30
Kovid Goyal 9e587e1d4d ... 2023-11-17 13:02:17 +05:30
Kovid Goyal 1342e3cc86 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-17 13:01:42 +05:30
unkn0w7n ce19cc080f The World Ahead (Economist) 2023-11-17 12:34:44 +05:30
Kovid Goyal 6aeba85032 version 7.0.0 v7.0.0 2023-11-17 10:35:07 +05:30
Kovid Goyal 2fba82c683 Merge branch 'setup_min_version' of https://github.com/salty-horse/calibre 2023-11-17 08:22:24 +05:30
Kovid Goyal d3965080da Remove deprecated utcfromtimestamp in kindle driver
The use for generate_annotation_html is safe since it is just used to
get a formatted date via strftime. No idea about its use in clippings,
this is also unmaintained code, so roll the dice :)
2023-11-17 08:15:14 +05:30
Kovid Goyal 70753ed389 Remove deprecated utcfrom timestamp in epub mobi catalog builder
As best as I can determine doing so is safe. It is used only to
categorize recently added books for which using timezone aware
timestamps should be fine. This is anyway not really maintained code
anymore, so roll the dice :)
2023-11-17 08:10:02 +05:30
Kovid Goyal 1e2e2acc44 Merge branch 'remove_utcnow' of https://github.com/salty-horse/calibre 2023-11-17 08:02:13 +05:30
Ori Avtalion 6bc1831a84 Fix minimum required Python version in setup.py 2023-11-16 23:00:17 +02:00
Ori Avtalion 8c4e937dc8 Remove deprecated utcnow, utcfromtimestamp 2023-11-16 22:45:56 +02:00
Kovid Goyal 30f7813171 pep8 2023-11-16 20:11:08 +05:30
Kovid Goyal dec4f9f82e Restore garbage removal on podofo save as we now bundle a version of podofo with the fix 2023-11-16 20:08:10 +05:30
Kovid Goyal ae5ea18ccf Do not save resources in document for book details panel as I dont know what hte lifetime of saved resources is 2023-11-16 20:01:00 +05:30
Kovid Goyal 308c6d4389 string changes 2023-11-16 19:38:02 +05:30
Kovid Goyal 0a23fabd5b Skip test that breaks because of sqlite bug on the broken version of sqlite 2023-11-16 19:26:12 +05:30
Kovid Goyal 6516163afc PDF Output: Fix an error when trying to set header or footer with an input document that has invalid content after the main body. Fixes #2040074 [PDF transition fails - number of header/footer pages](https://bugs.launchpad.net/calibre/+bug/2040074) 2023-11-16 19:11:31 +05:30
Kovid Goyal 1643fc08ad Show the previously used language, if any, second in the language selection drop down. Fixes #2042804 [[Enhancement] Remeber the last used language](https://bugs.launchpad.net/calibre/+bug/2042804) 2023-11-16 17:26:31 +05:30
Kovid Goyal 50474f005c Showing chrome should close an active footnote popup first and only show chrome if the user repeats the action. Fixes #2041848 [[Enchanement] E-book viewer: Esc should close the footnote window](https://bugs.launchpad.net/calibre/+bug/2041848) 2023-11-16 16:57:54 +05:30
Kovid Goyal 6b7a0ed306 ... 2023-11-16 11:39:08 +05:30
Kovid Goyal ad69956d65 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2023-11-15 11:08:38 +05:30
unkn0w7n 2a619e448e Update financial_times.recipe 2023-11-15 10:47:46 +05:30
Kovid Goyal c67412e1cf Update the date in the Google consent cookie 2023-11-15 08:23:25 +05:30
Kovid Goyal 4c68fafd41 Fix catalog tags not being preserved 2023-11-14 21:45:26 +05:30
Kovid Goyal f9c7572b88 Metadata download: Fix downloads from Google not working in Europe. Fixes #2043415 [downloading covers from Google Images ans open library fails](https://bugs.launchpad.net/calibre/+bug/2043415) 2023-11-14 21:35:03 +05:30
Kovid Goyal 148a0792a2 Merge branch 'master' of https://github.com/cbhaley/calibre 2023-11-13 21:36:24 +05:30