Commit Graph

654 Commits

Author SHA1 Message Date
Kovid Goyal c173072c6a Finish up header/footer template implementation
Also fix highlighted toc nodes not including parent nodes
2018-01-04 09:09:14 +05:30
Kovid Goyal f4272115bf Browser viewer: Allow customizing what information is displayed in the header and footer areas. Access Preferences from the viewer controls to change. 2018-01-03 20:15:43 +05:30
Kovid Goyal da032270d1 UI for configuring header footers int he browser viewer 2018-01-03 11:18:14 +05:30
Kovid Goyal 589214ce67 Browser viewer: Fix got next/previos section actions not working when the sections are in different individual HTML files. Fixes #1740333 [[Browser Viewer] problem with swipe](https://bugs.launchpad.net/calibre/+bug/1740333) 2018-01-02 09:51:29 +05:30
Kovid Goyal ca24b8a55c Content server: Allow opening entries in the book list in a new tab via middle click/right click 2017-12-29 11:33:32 +05:30
Kovid Goyal 37966b0916 Content server: Allow viewing the book metadata while reading a book. In the viewer controls, tap Goto and then Metadata to see the metadata. Fixes #1736312 [Feature request: A way to view book details while reading in Browser Viewer](https://bugs.launchpad.net/calibre/+bug/1736312) 2017-12-13 19:57:05 +05:30
Kovid Goyal 721d491d54 Content server: Open links in the comments section from the book details page in new windows. Fixes #1737644 [links in comments served by calibre-server should have target="_blank"](https://bugs.launchpad.net/calibre/+bug/1737644) 2017-12-12 06:56:50 +05:30
Kovid Goyal c38c3ec3aa Content server: Improve rendering of tags/categories with long words on small screens.
Fixes #1734119 [[Content Server CSS] Language tag not displayed properly in tag browser when language name is long (in narrow screens)](https://bugs.launchpad.net/calibre/+bug/1734119)
2017-11-30 08:58:06 +05:30
Kovid Goyal 07f5d2ecf2 Content server: Fix random book button on book details page multiplying. Fixes #1732493 [Multibpe "A random book" butons in the internet browser](https://bugs.launchpad.net/calibre/+bug/1732493) 2017-11-15 23:57:00 +05:30
Kovid Goyal 35d4f21b98 Use the font family from the theme instead of hard coding it to sans-serif 2017-11-04 05:20:12 +05:30
Kovid Goyal 2f08ebb35a ... 2017-11-04 05:13:29 +05:30
Kovid Goyal d49fab5ace Browser viewer: Restore the default font as sans-serif
But it can now be easily overriden by either user-stylesheet
or book style sheet
2017-11-04 05:11:49 +05:30
Kovid Goyal 44b1f8fe93 Browser viewer: Fix body font being forced to sans-serif 2017-11-03 16:49:18 +05:30
Kovid Goyal 50785c72c8 Book details panel: Fix metadata field titles not being top aligned 2017-10-31 12:01:21 +05:30
Kovid Goyal 07e11b2201 Browser viewer: Allow the user to specify a CSS style sheet to control the look and feel of the text 2017-10-23 14:28:11 +05:30
Kovid Goyal f9a0bfc6e0 Infrastructure for user stylesheets in the browser viewer 2017-10-23 10:53:22 +05:30
Kovid Goyal cfb5185dde Browser viewer: Fix font size and color scheme settings not being respected in the footnote popup 2017-10-23 10:15:44 +05:30
Kovid Goyal f26ce3c724 Content server: Add an option to control the timeout for making AJAX queries to the server. Fixes #1722016 [Private bug](https://bugs.launchpad.net/calibre/+bug/1722016) 2017-10-18 10:48:56 +05:30
Kovid Goyal a7c4335c2c Server: Fix adding expressions to the search always using AND instead of respecting the setting to use OR or AND. Fixes #1724405 [request in remote client server](https://bugs.launchpad.net/calibre/+bug/1724405) 2017-10-18 10:03:30 +05:30
Kovid Goyal c690588ed0 Browser viewer: Show footnotes in a popup window
Works similar to the desktop calibre viewer, except that the popup
window is over the text instead of at the bottom.
2017-10-16 15:06:29 +05:30
Kovid Goyal 9ed99e752f Wire up the footnote popup 2017-10-16 11:58:31 +05:30
Kovid Goyal cad17a5785 Refactor iframe communications client side code into a separate class 2017-10-16 09:35:24 +05:30
Kovid Goyal 67f6cd6ce0 Refactor iframe control logic into its own class
Allows it to be re-used for the popup iframe
2017-10-15 17:07:17 +05:30
Kovid Goyal 1abf0f35f4 DRYer 2017-10-15 12:46:58 +05:30
Kovid Goyal 26f3761ea3 Browser viewer: Fix a regression that caused loading more than one book in the same session or using the back/forward browser buttons to require refreshing the browser. 2017-10-15 12:40:24 +05:30
Kovid Goyal f4a6f0117d Implement header bar for footnote popup 2017-10-15 11:27:40 +05:30
Kovid Goyal 41bc26645a Start work on popup footnote support in the browser viewer 2017-10-13 10:39:32 +05:30
Kovid Goyal 2b92691c68 Server: Add an option to control the number of books displayed per page in the browser (Preferences->Sharing over the net->Advanced). Fixes #1715283 [[Enhancement] Control # of Books Output to Browser](https://bugs.launchpad.net/calibre/+bug/1715283) 2017-09-19 10:17:30 +05:30
Kovid Goyal cca87e7ad2 Browser viewer: Do not fail if the book contains javascript that has errors. Fixes #1715781 [Private bug](https://bugs.launchpad.net/calibre/+bug/1715781) 2017-09-10 06:39:41 +05:30
Kovid Goyal c90a726acc Server: Nicer error reporting when an invalid search expression is used as a restriction 2017-08-20 14:24:50 +05:30
Kovid Goyal c234d70647 Dont store a reference to the js source 2017-08-19 13:30:19 +05:30
Kovid Goyal 8fcaf05e98 Server: Fix downloading files via the list of formats not working when launching the calibre app from the homescreen on iOS 2017-08-16 17:01:57 +05:30
Kovid Goyal cf824e5670 Browser viewer: Fix controls help overlay not being displayed the first time the viewer is used 2017-08-14 09:36:31 +05:30
Kovid Goyal a054ad6541 Server: Show file sizes in the tooltips for the download buttons. Fixes #1708762 [Feature request: display file sizes in content server details screen](https://bugs.launchpad.net/calibre/+bug/1708762) 2017-08-05 16:43:31 +05:30
Kovid Goyal 3482f15c15 Server: Fix tooltip not working in the cover grid view.
Fixes #1708760 [Feature request:  add book title as hover to web grid ui](https://bugs.launchpad.net/calibre/+bug/1708760)
2017-08-05 08:08:09 +05:30
Kovid Goyal 92c5529fab Server: Reduce the minimum thumbnail size a little from 150px to 105px 2017-08-04 11:29:49 +05:30
Kovid Goyal f4d003761a A slightly better warning when column layout is broken 2017-08-03 18:31:04 +05:30
Kovid Goyal 9e4c21f892 Fix home icon on browse all downloaded not going home 2017-08-01 10:44:59 +05:30
Kovid Goyal d1f3d040f9 Server: Allow deleting a downloaded book from the "Browse all downloaded books" screen 2017-08-01 10:43:27 +05:30
Kovid Goyal 52fcbf906c Browser viewer: Also mention that you can right click for controls on the intro page 2017-07-29 11:05:55 +05:30
Kovid Goyal e7af7af508 GUI for creating custom list templates 2017-07-20 20:23:50 +05:30
Kovid Goyal e62ade9d20 Pass in the custom list template via interface_data 2017-07-18 17:30:34 +05:30
Kovid Goyal 3234e2fb0c Implement thumbnails for the custom list 2017-07-18 12:54:51 +05:30
Kovid Goyal 0f18fdefa5 Same for sandboxed html on the book details page 2017-07-18 11:50:01 +05:30
Kovid Goyal 26f61556d1 Make foreground color of sandboxed html in the book list the same as the theme color 2017-07-18 11:48:21 +05:30
Kovid Goyal 8bc842ddb2 Allow blanks lines in the template 2017-07-18 11:43:45 +05:30
Kovid Goyal b1129d8037 Add publisher to the default template 2017-07-18 11:25:24 +05:30
Kovid Goyal c50ed74f83 Allow using HTML in book list template 2017-07-18 11:03:48 +05:30
Kovid Goyal 08da31ba3c More work on the custom list mode 2017-07-18 10:29:49 +05:30
Kovid Goyal c1eb0438ab Server: Fix an error on browsers that do not support blob storage in IndexedDB. Fixes #1704912 [TypeError:undefined is not an object](https://bugs.launchpad.net/calibre/+bug/1704912) 2017-07-18 08:52:24 +05:30