47 Commits

Author SHA1 Message Date
Kovid Goyal
4defd82bed
Click to position handles implemented 2020-03-20 15:41:23 +05:30
Kovid Goyal
18a7ad73a4
Initial positioning of selection handles works 2020-03-18 09:28:19 +05:30
Kovid Goyal
2f701318d2
Viewer: Fix searching in Regex and Whole words mode not working well.
Viewer: Fix searching for multiple words in fixed layout books not
working. Fixes #1863464 [Private bug](https://bugs.launchpad.net/calibre/+bug/1863464)
2020-02-28 14:45:07 +05:30
Kovid Goyal
7cdd0c10ef
Handle search expressions with boundary conditions 2020-01-22 15:57:23 +05:30
Kovid Goyal
8c53305a4c
Server viewer: Make exit fullscreen action available in viewer controls. Fixes #1857677 [Add Exit full screen option in Content server controls](https://bugs.launchpad.net/calibre/+bug/1857677) 2019-12-27 15:21:32 +05:30
Kovid Goyal
b17b3f358d
Content server: Fix detection of iOS on iPAD with iOS 13 which defaults to desktop mode 2019-10-09 20:31:39 +05:30
Kovid Goyal
0641384bc7
Server: Use overlay buttons as next/prev on boo details page
See #1845417 ([Enhancement] Book details on calibre-server)
2019-09-26 11:55:30 +05:30
Kovid Goyal
317a2b9a14
Viewer: Allow fading the background image by blending it with the background color 2019-09-25 11:25:40 +05:30
Kovid Goyal
e58a50e7ed
Shortcut for toggling fullscreen 2019-09-13 09:12:32 +05:30
Kovid Goyal
4fc76a6919
Finish up adding books implementation
Still needs to add the new book to the existing book list, so that the
book list does not need to be refreshed to see the book.
2018-01-25 14:04:15 +05:30
Kovid Goyal
00334e9f1b
Workaround for window.innerWidth/Height being wrong inside an iframe on Safari 2017-05-27 15:59:23 +05:30
Kovid Goyal
8c07e979dd
Do not rely on translators getting the trailing spaces right when rendering the series name 2017-05-25 08:13:20 +05:30
Kovid Goyal
133a073ef7
Refuse to work at all on browsers that do not support <iframe srcdoc> 2017-05-21 13:39:43 +05:30
Kovid Goyal
d09f7605f1
Fix font in embedded iframe different from rest of interface 2017-05-21 13:39:43 +05:30
Kovid Goyal
ecb9266eca
More useful error page when reading book fails 2017-05-21 13:39:41 +05:30
Kovid Goyal
5271fa949c
Restore proper reflow for comments on the book details page 2017-05-21 13:39:38 +05:30
Kovid Goyal
f502da812a
Sandbox comments HTML 2017-05-21 13:39:37 +05:30
Kovid Goyal
a50a2c7cca
Be more explicit about setting innerHTML 2017-05-21 13:39:37 +05:30
Kovid Goyal
7a4ddafb9b
Remove u regex flag as it is not supported by dukpy 2017-05-21 13:39:37 +05:30
Kovid Goyal
c651219654
Utility function to sanitize simple inline HTML markup 2017-05-21 13:39:37 +05:30
Kovid Goyal
623651d84b
Fix caching of parsed URL queries broken
Ensure that changes to query objects dont make it into
the cache
2017-05-21 13:39:36 +05:30
Kovid Goyal
cccd5e8f1a
Add a button to enter full screen mode to the viewer controls 2017-05-21 13:39:34 +05:30
Kovid Goyal
4974f3b7c0
Utility function to request full screen 2017-05-21 13:39:34 +05:30
Kovid Goyal
1672ef4f22
Fix --url-prefix not working 2017-05-21 13:39:13 +05:30
Kovid Goyal
5db33faeb8 Encode local state using # instead of ? in URLS
Needed for appcache (appcache caches URLs with different ? query
parameters separately).

Also probably semantically more correct, since
the query data represents local state.
2017-04-06 11:47:00 +05:30
Kovid Goyal
0fe268343b DRYer 2017-02-15 08:30:46 +05:30
Kovid Goyal
ab332d0b99 Work on refactoring the books view 2017-02-15 08:30:46 +05:30
Kovid Goyal
0c815b507e More work on viewer search 2017-01-09 20:14:44 +05:30
Kovid Goyal
27499c9188 Generate correct search expressions for half stars when clicking the Tag Browser entries 2016-09-05 08:52:03 +05:30
Kovid Goyal
7852aa3eac Add history to the search bar widget 2016-08-11 10:14:18 +05:30
Kovid Goyal
3ca4670ce9 Encode the current book position in the URL
Allows direct linking to arbitrary locations in a book hosted in the
calibre server
2016-05-20 12:36:50 +05:30
Kovid Goyal
3eac3b3c53 ... 2016-04-29 09:14:54 +05:30
Kovid Goyal
3f34835bac Port the paged layout code to RapydScript 2016-04-28 15:37:47 +05:30
Kovid Goyal
60a531283c Update RapydScript 2016-04-25 16:39:04 +05:30
Kovid Goyal
98ae9e6754 Make the home icon in the breadcrumbs slightly larger
Also remove unnecessary use of prototype
2016-04-23 10:25:33 +05:30
Kovid Goyal
04929a943d Implement keyboard and wheel scrolling in flow mode 2016-04-07 15:18:27 +05:30
Kovid Goyal
a171dfc99d Implement previous and next page buttons for when scrolling reaches top/bottom in flow mode 2016-04-05 20:17:18 +05:30
Kovid Goyal
05c637cba7 Switch to using string functions as methods 2016-04-04 15:52:40 +05:30
Kovid Goyal
2012b0f6b4 Update RapydScript 2016-03-27 14:24:43 +05:30
Kovid Goyal
35d2b9fda9 Establish communication between parent and sanboxed render iframe 2016-03-24 17:35:53 +05:30
Kovid Goyal
449511cd8e Implement storing of rendered book in IndexedDB 2016-03-20 22:53:48 +05:30
Kovid Goyal
d96eb506bd Work on downloading files for a rendered book 2016-03-20 20:49:42 +05:30
Kovid Goyal
f27e2bb85e Replace == with and != with not is in all RS code 2016-03-13 22:13:07 +05:30
Kovid Goyal
6cadb702e9 CS Book Details: Show series 2016-02-17 16:15:44 +05:30
Kovid Goyal
1adebcc700 Allow specifying a search as a parameter to the top-level URL 2015-11-26 13:11:21 +05:30
Kovid Goyal
fa90586f67 Function to encode JS string as UTF-8 Uint8Arrays 2015-11-13 13:44:09 +05:30
Kovid Goyal
12d1d5c8c2 Cover grid view for the new server 2015-10-23 09:22:28 +05:30