Commit Graph

40942 Commits

Author SHA1 Message Date
Kovid Goyal 60e8ddf968 Triple retry sleep time for tests thats flaky on github CI 2020-08-22 18:48:16 +05:30
Kovid Goyal 1b9318e01b calibre portable: Add launchers for standalone viewer and editor 2020-08-22 18:48:16 +05:30
Kovid Goyal 9d31105ad0 Slight dulling of text brigthness in dark mode 2020-08-22 18:48:16 +05:30
Kovid Goyal a54604d2e3 Retry the http_basic test once if it fails 2020-08-22 18:48:16 +05:30
Kovid Goyal abba1ef004 Fix incorrect mapping of CFI to position for CFI at the start of a tag whose contents are wrapped in an annotation span 2020-08-22 18:48:16 +05:30
Kovid Goyal 873d6080fd Use rmtree with retry when deleting after library move
Hopefully makes test failures more rare
2020-08-22 18:48:16 +05:30
Kovid Goyal b3a3eace49 Allow pressing n to start adding notes when editing a highlight
Also add information about shortcuts to the various button tooltips
2020-08-22 18:48:15 +05:30
Kovid Goyal 7853364f1a Fix opening and closing an existing highlight causes notes to be lost 2020-08-22 18:48:15 +05:30
Kovid Goyal 673bcb3b2b Improve formatting of notes in the browse details panel 2020-08-22 18:48:15 +05:30
Kovid Goyal 62da3d119e When showing all annotations in browser order newest to oldest 2020-08-22 18:48:15 +05:30
Kovid Goyal 5db444644f Highlighting should be a top level section 2020-08-22 18:48:15 +05:30
Kovid Goyal f05af50b30 Bump beta version 2020-08-22 18:48:15 +05:30
Kovid Goyal 12dded643f Dont gate annotations behind develop mode anymore 2020-08-22 18:48:15 +05:30
Kovid Goyal a0fabf3e57 Remove unneeded __future__ imports 2020-08-22 18:48:15 +05:30
Kovid Goyal 87850cbb7f Add some documentation for highlighting 2020-08-22 18:48:15 +05:30
Kovid Goyal 0067cdd775 Dont show removed annotations in the browser 2020-08-22 18:48:14 +05:30
Kovid Goyal cf7a40a960 Allow easily editing notes in the highlights panel 2020-08-22 18:48:14 +05:30
Kovid Goyal 90f664e645 Focus webview when performing highlight action 2020-08-22 18:48:14 +05:30
Kovid Goyal 3aeeca3cd8 Display timestamp in local timezone 2020-08-22 18:48:14 +05:30
Kovid Goyal 572341e632 Display full annotation text in details panel 2020-08-22 18:48:14 +05:30
Kovid Goyal 70f1540484 Fix sync not working for highlights 2020-08-22 18:48:14 +05:30
Kovid Goyal c003690502 Fix syncing for anon users 2020-08-22 18:48:14 +05:30
Kovid Goyal 18c779a1a8 Allow syninc annots from viewer to specific content server user 2020-08-22 18:48:14 +05:30
Kovid Goyal d11b9b6f29 ... 2020-08-22 18:48:14 +05:30
Kovid Goyal 9af2fea710 Allow easily reading viewer config data from the main calibre process 2020-08-22 18:48:14 +05:30
Kovid Goyal f259c9bd7e SHow timestamp and username in details of annotation 2020-08-22 18:48:13 +05:30
Kovid Goyal 21f3348ab7 Annots browser: Allow browsing upto 4096 annotations with no search query 2020-08-22 18:48:13 +05:30
Kovid Goyal 1f3b5993b7 Forgot to save last used bookmarks sort by 2020-08-22 18:48:13 +05:30
Kovid Goyal a211edd269 Sort the bookmarks by title by default 2020-08-22 18:48:13 +05:30
Kovid Goyal 3839f92327 Implement merging of removed bookmarks
Also update timestamp when they are modified
2020-08-22 18:48:13 +05:30
Kovid Goyal 6e2e3ce9fb Use the smooth scrolling speed for highlights drag scrolling 2020-08-22 18:48:13 +05:30
Kovid Goyal 1148208f45 Implement drag scrolling for highlight handles 2020-08-22 18:48:13 +05:30
Kovid Goyal 86f5976ea5 Fix merging of last-read annotations 2020-08-22 18:48:13 +05:30
Kovid Goyal b37ce63c86 ... 2020-08-22 18:48:13 +05:30
Kovid Goyal 05eb665be9 Ensure annotations span styles override all others 2020-08-22 18:48:13 +05:30
Kovid Goyal 6834028e6a Fix annotations not being saved in indexeddb after creation 2020-08-22 18:48:12 +05:30
Kovid Goyal fe7f957ab2 ... 2020-08-22 18:48:12 +05:30
Kovid Goyal 4fbc6e88d2 Forgot to bump db user_version in creation script 2020-08-22 18:48:12 +05:30
Kovid Goyal be61b2612c Dont fail when trying to read/write annotations to un-upgraded db 2020-08-22 18:48:12 +05:30
Kovid Goyal 6b48a7c353 Fix annotation merging 2020-08-22 18:48:12 +05:30
Kovid Goyal 928e31dbb6 Allow storing annotations for anonymous users 2020-08-22 18:48:12 +05:30
Kovid Goyal 14b87b8446 Add syncing of annotations along with last read position 2020-08-22 18:48:12 +05:30
Kovid Goyal 0c4010b3af Work on adding annotations support to the in-browser viewer
As part of that desktop viewer's annotations handling has been made more
robust, with merging of annotations, and sorting after merge based on
CFI
2020-08-22 18:48:12 +05:30
Kovid Goyal 631a907773 Implement merging of annotations in rapydscript 2020-08-22 18:48:12 +05:30
Kovid Goyal 5075fc2d36 Keep annotations sorted in CFI order when merging 2020-08-22 18:48:11 +05:30
Kovid Goyal b6cbf67e4c Make cfi_cmp re-useable 2020-08-22 18:48:11 +05:30
Kovid Goyal 94ee4035e2 Toolbar actions for highlighting 2020-08-22 18:48:11 +05:30
Kovid Goyal 5422fb170b DRYer 2020-08-22 18:48:11 +05:30
Kovid Goyal 067e82083f Hide annots UI behind develop mode in preparation for merge into master 2020-08-22 18:48:11 +05:30
Kovid Goyal c9fe151075 Add actions for highlighting to viewer chrome 2020-08-22 18:48:11 +05:30