37667 Commits

Author SHA1 Message Date
Kovid Goyal
08ab604ea8
... 2018-06-28 13:49:55 +05:30
Kovid Goyal
6ddf112fb5
More work on in-server conversion 2018-06-28 09:47:22 +05:30
Kovid Goyal
4dd9a58262
More work on in-server conversion 2018-06-27 09:39:03 +05:30
Kovid Goyal
04f82a64e0
More work on in server conversion 2018-06-26 15:31:31 +05:30
Kovid Goyal
8c060c57c2
Refactor GUI conversion widget classes
Make the conversion option groups re-sueable in the server
2018-06-26 13:52:27 +05:30
Kovid Goyal
37582afb76
calibre-smtp: Verify relay server TLS certificates by default. New option --dont-verify-server-sertificate to restore old behavior. 2018-06-26 10:14:04 +05:30
Kovid Goyal
0fd8a9aee9
More work on conversion in server 2018-06-26 08:58:55 +05:30
Kovid Goyal
6b01ddeaa3
pep8 2018-06-26 06:44:40 +05:30
Kovid Goyal
6ca643ba22
pep8 2018-06-26 06:44:23 +05:30
Kovid Goyal
fbea3b9b75
More work on a server conversion interface 2018-06-25 16:06:10 +05:30
Kovid Goyal
76335ad2c2
Move old changelog entries 2018-06-25 08:14:49 +05:30
Kovid Goyal
b3daac1ec6
More work on server conversion 2018-06-24 19:52:03 +05:30
Kovid Goyal
7d0bc9fb32
PyQt 5.11 compatibility changes
http://pyqt.sourceforge.net/Docs/PyQt5/incompatibilities.html#pyqt-v5-11
2018-06-24 08:38:00 +05:30
Kovid Goyal
e88b9556f9
Update Psychology Today 2018-06-23 09:22:49 +05:30
Kovid Goyal
efa7e9e0b1
Linux installer: Also fix the execute bits in the umask if the user runs the installer with a umask that prevents files from being world executable.
Merge branch 'master' of https://github.com/jgoguen/calibre
2018-06-23 08:45:50 +05:30
Joel Goguen
1c25ba0042 Exclude execute from umask
If the umask is set up to exlude execute, the installer will set up
calibre to be unreadable by any user other than the installing user.
When installing as `root`, a starting umask of `0o077` results in the
installer choosing a new umask of `0o033`, which means the calibre
install directory (and child directories) are installed with permissions
`0o744`, so only the installing user can actually use the resulting
calibre install.

To test, start with a system umask of `0o077` and run the installer
script as root:

```
% sudo sh ./setup/linux-installer.sh
Using python executable: /usr/bin/python3
WARNING: Your current umask disallows reading of files by some users, this can cause system breakage when running the installer because of bugs in common system utilities.
Should the installer (f)ix the umask, (i)gnore it or (a)bort [f/i/a Default is abort]: f
umask changed to: 022
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-3.26.1-x86_64.txz
Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
	Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
	Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
	Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
	Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
	Symlinking /opt/calibre/calibre to /usr/bin/calibre
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
	Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/site-functions/_calibre
Installing bash completion to: /usr/share/bash-completion/completions/calibre
Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall
Run "calibre" to start calibre
```

And the resulting directory:
```
% ls -ld /opt/calibre
drwxr-xr-x. 5 root root 4.0K Jun 22 10:53 /opt/calibre/
```

Also verify the Python version, starting with no `/opt/calibre` and a system umask of `0o077`:
```
% sudo python3 ./setup/linux-installer.py
WARNING: Your current umask disallows reading of files by some users, this can cause system breakage when running the installer because of bugs in common system utilities.
Should the installer (f)ix the umask, (i)gnore it or (a)bort [f/i/a Default is abort]: f
umask changed to: 022
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-3.26.1-x86_64.txz
Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
	Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
	Symlinking /opt/calibre/calibre to /usr/bin/calibre
	Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
	Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
	Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
	Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
	Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/site-functions/_calibre
Installing bash completion to: /usr/share/bash-completion/completions/calibre
Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall
Run "calibre" to start calibre

% ls -ld /opt/calibre
drwxr-xr-x. 5 root root 4.0K Jun 22 10:55 /opt/calibre/
```

After each, verify calibre starts as a non-root user.
2018-06-22 10:49:26 -07:00
Kovid Goyal
a3d901f74c
Sort the entries in the show column menu alphabetically. Fixes #1778155 [[enhancement] would like the "show columns" drop down to be alphabetical](https://bugs.launchpad.net/calibre/+bug/1778155) 2018-06-22 07:37:15 +05:30
Kovid Goyal
7e04aba85e
http -> https 2018-06-21 11:51:28 +05:30
Kovid Goyal
89ada80103
... 2018-06-21 11:49:53 +05:30
Kovid Goyal
3695c35229
More work on server book conversion 2018-06-21 11:47:37 +05:30
Kovid Goyal
27c79db06a
Refactor code to get conversion formats to make it re-useable 2018-06-20 10:32:55 +05:30
Kovid Goyal
91dcd80f8c
Start work on conversion for the content server 2018-06-20 07:46:24 +05:30
Kovid Goyal
38e2a5bdc1
Fix extraction of recipient email address when piping a message to calibre-smtp 2018-06-19 15:10:10 +05:30
Kovid Goyal
f03320ac76
Update The Atlantic 2018-06-19 13:20:23 +05:30
Kovid Goyal
17fc7b06f0
Change the default template for the Formats custom column to include spaces after the commas 2018-06-18 15:01:10 +05:30
Kovid Goyal
4df998fdd2
Ignore 404s on private bugs 2018-06-18 13:24:33 +05:30
Kovid Goyal
e20b1f2d0a
DOCX Input: Fix failure to convert some DOCX files that use Symbol fonts. Fixes #1777390 [Private bug](https://bugs.launchpad.net/calibre/+bug/1777390) 2018-06-18 13:18:35 +05:30
Kovid Goyal
c57a493711
Update LA Times 2018-06-17 21:58:35 +05:30
Kovid Goyal
494c5a9b29
Update Handelsblatt
Merge branch 'handelsblatt' of https://github.com/aimylios/calibre
2018-06-17 17:34:21 +05:30
Aimylios
4d1ecd0986 Update Handelsblatt 2018-06-17 11:48:31 +02:00
Kovid Goyal
472fc44c70
Update Newsweek 2018-06-17 08:51:41 +05:30
Kovid Goyal
d82d6f823c
Add a termplate 2018-06-16 13:10:05 +05:30
Kovid Goyal
27133e8327
Merge branch 'window_title' of https://github.com/mgziminsky/calibre 2018-06-16 12:54:04 +05:30
mgziminsky
c8291929dc Always include base_window_title in window title
Also include base title when controls are hidden for consistency
2018-06-15 23:59:18 -07:00
Kovid Goyal
a275acb5c0
E-book viewer: Set the column-fill property to auto
Needed for people that build calibre against newer version of
Qt WebKit.
2018-06-16 09:05:08 +05:30
Kovid Goyal
7d38911f68
version 3.26.1 v3.26.1 2018-06-15 12:25:24 +05:30
Kovid Goyal
3a6fd2bf0d
Dont show the merge books popup when dropping a book onto itself.
Fixes #1777054 [Merge books keeps popping up](https://bugs.launchpad.net/calibre/+bug/1777054)
2018-06-15 11:16:12 +05:30
Kovid Goyal
fe63b2fde8
version 3.26.0 v3.26.0 2018-06-15 06:26:53 +05:30
Kovid Goyal
470cd53e04
E-book viewer: When the controls are hidden show the progress in the window title. Fixes #1776710 [Feature Request: Show current page number in the window title](https://bugs.launchpad.net/calibre/+bug/1776710) 2018-06-14 07:53:38 +05:30
Kovid Goyal
312dae429e
Book list: Allow drag and drop of books onto other books to merge the book records. Fixes #1775123 [[Enhancement] Merge books with Drag/Drop](https://bugs.launchpad.net/calibre/+bug/1775123) 2018-06-13 17:31:26 +05:30
Kovid Goyal
ce7da098ca
... 2018-06-12 19:26:55 +05:30
Kovid Goyal
b5644ec6b0
Use only a single file for repeated data URIs 2018-06-12 18:18:43 +05:30
Kovid Goyal
e8fdd7a83c
Migrate git hooks to py3 2018-06-12 18:01:55 +05:30
Kovid Goyal
c82ee257dd
Edit book: When downloading external resources, also convert data URLs into files. Fixes #1774945 [[Enhancement] Image DataURI](https://bugs.launchpad.net/calibre/+bug/1774945) 2018-06-12 17:59:32 +05:30
Kovid Goyal
da35f86fa9
pep8 2018-06-12 09:48:42 +05:30
Kovid Goyal
5b024d3393
Fix merging books in the cover grid not respecting select order 2018-06-12 08:14:19 +05:30
Kovid Goyal
743ce97c9f
pep8 2018-06-12 08:02:57 +05:30
Kovid Goyal
f755746194
Content server: Fix a regression in 3.14 that removed the separator between books in the detailed list view mode. Fixes #1776294 [Version 3.25.0 broke separator lines in web server "detailed list mode"](https://bugs.launchpad.net/calibre/+bug/1776294) 2018-06-12 07:25:21 +05:30
Kovid Goyal
775ea77de5
Update Slate
Fixes #1774841 [Failed: Fetch news from Slate](https://bugs.launchpad.net/calibre/+bug/1774841)
2018-06-11 17:44:16 +05:30
Kovid Goyal
000c53b3b2
Update session file 2018-06-10 08:31:47 +05:30