590 Commits

Author SHA1 Message Date
Kovid Goyal
bc63794138
DRYer 2017-06-18 08:14:26 +05:30
Kovid Goyal
8d63d0bade
Server interface: Fix error in the Browse all downloaded page when the book list mode is set to detailed list 2017-06-18 08:04:56 +05:30
Kovid Goyal
281898eb97
Another place to absolute_pathize 2017-06-16 22:27:19 +05:30
Kovid Goyal
22452b0616
Content server: Fix the new server interface not working with the --url-prefix option when the trailing slash is omitted on the URL used in the browser. Fixes #1698406 [calibre-server 3.0's "--url-prefix" doesn't apply to all URLs.](https://bugs.launchpad.net/calibre/+bug/1698406) 2017-06-16 22:22:50 +05:30
Kovid Goyal
9872eca235
Clean up app cache updating code path 2017-06-02 09:39:16 +05:30
Kovid Goyal
408833cfe1
Nicer error message when trying to read book on unsupported browser 2017-05-31 09:50:19 +05:30
Kovid Goyal
a362e195f9
Fix unhandled error when no IndexedDB is present at all 2017-05-31 09:42:07 +05:30
Kovid Goyal
fe45cc1075
Nicer quota exceeded error message 2017-05-30 11:51:12 +05:30
Kovid Goyal
5c6f06c212
... 2017-05-29 22:46:27 +05:30
Kovid Goyal
05221f730d
Fix bug in error handling for some IndexedDB operations 2017-05-29 22:44:56 +05:30
Kovid Goyal
b928034dcb
Couple more places needed touch_id() 2017-05-29 14:43:38 +05:30
Kovid Goyal
03b3d93bfc
Fix pinch to change font size not working on Safari 2017-05-29 13:19:38 +05:30
Kovid Goyal
6c670b22a4
Add support for adding calibre to the homescreen on Android and iOS devices 2017-05-29 11:42:09 +05:30
Kovid Goyal
1cf008ab2a
Do not use the bottom margin hack on Chrome for iOS since it is not needed 2017-05-29 10:23:51 +05:30
Kovid Goyal
622a7fcafd
Do not report errors from injected javascript
Fixes continual error popups on Chrome for iOS
2017-05-29 10:21:06 +05:30
Kovid Goyal
d0de1f377b
... 2017-05-28 11:50:16 +05:30
Kovid Goyal
c4c12001a5
Increase the tap threshold slightly to reduce incidences of taps being detected as swipes 2017-05-28 11:38:34 +05:30
Kovid Goyal
5e7c2fbde5
Get console print working from within the iframe as well 2017-05-28 11:38:34 +05:30
Kovid Goyal
bce5112268
Refactor scroll viewport handling 2017-05-28 11:38:29 +05:30
Kovid Goyal
e8cb8d45fe
Fix jump_to_cfi() on Safari 2017-05-28 00:37:59 +05:30
Kovid Goyal
757c9a5c9e
Fix scroll to element on Safari 2017-05-28 00:33:17 +05:30
Kovid Goyal
7dbdc040d9
Shorten buttons by removing repeated text 2017-05-28 00:12:22 +05:30
Kovid Goyal
9d1075e761
Workaround for document.body.scrollWidth being incorrect on Safari 2017-05-28 00:10:16 +05:30
Kovid Goyal
6f384dd00a
Start work on implementing scrollIntoView for Safari 2017-05-27 23:30:45 +05:30
Kovid Goyal
02b66f2be4
Scroll notifications for scrolling in paged mode on Safari 2017-05-27 22:09:54 +05:30
Kovid Goyal
ba1341f5d4
Get basic page turning working on safari
Since window.scrollTo does not work use a transform to translate body
instead. This means we have to handle scroll notifications and scrolling
to elements ourselves. Le sigh.
2017-05-27 21:59:28 +05:30
Kovid Goyal
eeca0a8489
Abstract out window.scrollTo 2017-05-27 21:32:43 +05:30
Kovid Goyal
d96b798d45
Remove unused code 2017-05-27 21:24:05 +05:30
Kovid Goyal
534d06eb4d
... 2017-05-27 20:58:27 +05:30
Kovid Goyal
4f04afc176
Start abstracting the scroll viewport 2017-05-27 20:50:36 +05:30
Kovid Goyal
5d1411a13d
Also scroll window to zero on content load 2017-05-27 20:18:43 +05:30
Kovid Goyal
2f61695db8
Hide the Full screen button on iOS since iOS does not support the full screen API 2017-05-27 20:13:00 +05:30
Kovid Goyal
752cec5d6b
Add a hacky workaround for the lack of fullscreen on the ipad 2017-05-27 20:09:20 +05:30
Kovid Goyal
c497402864
Update CFI after content loads to ensure a refresh will work 2017-05-27 18:13:39 +05:30
Kovid Goyal
3ef6188559
DRYer 2017-05-27 17:45:50 +05:30
Kovid Goyal
f7733bd2b4
Remove unused code 2017-05-27 17:07:17 +05:30
Kovid Goyal
ce1caace7b
Dont re-layout on resize if the window size remains unchanged 2017-05-27 16:57:56 +05:30
Kovid Goyal
aadacfdbfd
Get console_print() to work 2017-05-27 16:44:04 +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
e2da5ecd0a
Fix touch events not being recognized on Safari 2017-05-27 13:37:22 +05:30
Kovid Goyal
b40031caf0
Fix controls help screen not rendering properly on safari 2017-05-27 13:20:50 +05:30
Kovid Goyal
8c2f2cfc0e
Fix spurious idb error on startup in Safari 2017-05-27 13:00:31 +05:30
Kovid Goyal
eef2219247
Fix incorrect search expression being generated when clicking on ++ entry for hierarchical items 2017-05-25 21:24:48 +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
2240b19882
Also log db init failure event to console 2017-05-25 07:26:14 +05:30
Kovid Goyal
16b5bc89df
Nicer error message when indexedDB fails to initialize 2017-05-25 07:02:37 +05:30
Kovid Goyal
034e779b41
Add a setting to the server Book details panel to show all metadata fields instead of only the enabled ones from Preferences->Look & Feel->Book details
To access the setting click the three vertical dots in the top right
corner of the book details panel
2017-05-21 13:39:45 +05:30
Kovid Goyal
8b2a4ecf81
Add search the internet functionality to the book details page 2017-05-21 13:39:45 +05:30
Kovid Goyal
2a1c9b46ea
... 2017-05-21 13:39:45 +05:30
Kovid Goyal
08a1920876
Make the narrow screen threshold 450px instead of 400px 2017-05-21 13:39:45 +05:30