Commit Graph

31869 Commits

Author SHA1 Message Date
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 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 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
Kovid Goyal 74897b4ec2 Icon for highlights 2020-08-22 18:48:11 +05:30
Kovid Goyal 655c9c950c Skip legacy db test when python sqlite3 module does not have FTS support 2020-08-22 18:48:11 +05:30
Kovid Goyal 1f253580b5 Wire up open annotations button and add button to select book in calibre 2020-08-22 18:48:11 +05:30
Kovid Goyal b958361a18 typo 2020-08-22 18:48:11 +05:30
Kovid Goyal 5a0da12942 Start work on annotations browser action 2020-08-22 18:48:10 +05:30
Kovid Goyal ded52279fc Fix existing notes not being prefilled when editing an annotation 2020-08-22 18:48:10 +05:30
Kovid Goyal c5c3182a59 Wire up signals to open annotation in viewer 2020-08-22 18:48:10 +05:30
Kovid Goyal 88b749c875 Details display in annots browser 2020-08-22 18:48:10 +05:30
Kovid Goyal 2c530d7c78 Implement query params for annotation browser 2020-08-22 18:48:10 +05:30
Kovid Goyal f53ecbf7ba More work n annotations browser 2020-08-22 18:48:10 +05:30
Kovid Goyal 95dcc16073 Render annots browser list 2020-08-22 18:48:10 +05:30
Kovid Goyal a283014fe4 Order FTS results by rank 2020-08-22 18:48:10 +05:30
Kovid Goyal 9b7f69e4bb More work on annotations browser 2020-08-22 18:48:10 +05:30
Kovid Goyal 7ed580cad4 Fix viewer shutdown guard 2020-08-22 18:48:09 +05:30