37089 Commits

Author SHA1 Message Date
Kovid Goyal
4bd1ea9f70
Add a build test for OpenSSL cert loading in a thread 2023-11-25 06:34:49 +05:30
Kovid Goyal
9948d17edc
Fix choosing a file without saving the dir not working on windows
Apparently the data file button in the insert link tool for the comments
editor is the only place this was noticed.
2023-11-24 18:19:08 +05:30
Kovid Goyal
3349979551
Sigh sqlite made a release without the bug fix 2023-11-24 12:56:18 +05:30
Kovid Goyal
49c1485326
version 7.1.0 2023-11-24 08:13:25 +05:30
Kovid Goyal
3e5611da73
More fixes for PIL breaking its API 2023-11-24 08:10:45 +05:30
Kovid Goyal
ed00de3b23
Fix #2044408 [Fallo al convertir a LRF desde docx en version 7](https://bugs.launchpad.net/calibre/+bug/2044408) 2023-11-24 08:04:20 +05:30
Kovid Goyal
85a0056e6d
automated fixes by pyupgrade to py 3.8 2023-11-23 09:05:12 +05:30
Kovid Goyal
e873111bdc
When starting in system tray do not flash the main window briefly
Fixes #2044118 [Issue with "--start-in-tray" switch and MS RDP](https://bugs.launchpad.net/calibre/+bug/2044118)
2023-11-21 19:04:05 +05:30
YOKOTA Hiroshi
9e1721e8bc Don't enclose [] twice when IPv6 addr 2023-11-21 22:12:17 +09:00
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
Kovid Goyal
402b2a589e
We never want QDateTime in anything but local time 2023-11-20 21:13:40 +05:30
Kovid Goyal
105d468b0f
Fix #2043998 [Default Published date on Basic metadata page is Dec 0100](https://bugs.launchpad.net/calibre/+bug/2043998) 2023-11-20 21:11:15 +05:30
Kovid Goyal
7b0852c2ad
... 2023-11-20 18:37:09 +05:30
Kovid Goyal
db33abeea9
More fixes for conversion to/from QDateTime and datetime objects
Fixes #2043943 [problems with dates not completely fixed](https://bugs.launchpad.net/calibre/+bug/2043943)
2023-11-20 18:35:53 +05:30
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
Kovid Goyal
b36475fdae
... 2023-11-20 07:44:44 +05:30
Kovid Goyal
dca1d9a3ac
Notes editor: When pasting HTML with images offer to download remote images in the pasted content 2023-11-19 21:16:31 +05:30
Kovid Goyal
c2a2185dbe
Notes editor: Fix spurious error message when saving a note that contains pasted HTML that refers to an image 2023-11-19 10:26:25 +05:30
Kovid Goyal
9c84994d32
Comments editor: Fix data file links not working 2023-11-19 10:17:35 +05:30
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
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
6aeba85032
version 7.0.0 2023-11-17 10:35:07 +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
Ori Avtalion
8c4e937dc8 Remove deprecated utcnow, utcfromtimestamp 2023-11-16 22:45:56 +02:00
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
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
Charles Haley
42e07a3b14 Small optimization of commit b43a329 2023-11-13 15:59:37 +00:00