2023 Commits

Author SHA1 Message Date
Kovid Goyal
50474f005c
Showing chrome should close an active footnote popup first and only show chrome if the user repeats the action. Fixes #2041848 [[Enchanement] E-book viewer: Esc should close the footnote window](https://bugs.launchpad.net/calibre/+bug/2041848) 2023-11-16 16:57:54 +05:30
Kovid Goyal
81708d3614
Content server home page: Show the three most recently added books in the default library 2023-11-13 19:21:43 +05:30
Kovid Goyal
896df3daf9
Content server: Add button to return to books page at top level of controls 2023-11-13 19:21:43 +05:30
Kovid Goyal
512c1e34b3
Fix a regression that caused popup modals to no longer be horizontally centered 2023-11-13 19:21:43 +05:30
Kovid Goyal
63a2fa9474
Revert removal of context menu for sandboxed iframes
The context menu is needed for copying text on mobile devices.
2023-11-13 19:21:42 +05:30
Kovid Goyal
909654fa39
Content server: Book details: Open links in comments fields in the same window rather than a new window 2023-11-13 19:21:42 +05:30
Kovid Goyal
768aabceb3
Fix a regression that broke the comments editor on the server 2023-11-13 19:21:42 +05:30
Kovid Goyal
bbf85a760b
Fix CS note editing not updating the book details view after edit 2023-11-13 19:21:41 +05:30
Kovid Goyal
e1acdb6237
Implement image sizes for cs comments editor as well 2023-11-13 19:21:41 +05:30
Kovid Goyal
1b06202898
Prevent various navigation actions in the viewer when read aloud is active 2023-11-13 19:21:40 +05:30
Kovid Goyal
f25465a49d
Ignore clicks that dont correspond to SMIL elements 2023-11-13 19:21:40 +05:30
Kovid Goyal
e23664383d
... 2023-11-13 19:21:40 +05:30
Kovid Goyal
8923c8c4e8
Mouse should be pointer over progress bar as it is clickable 2023-11-13 19:21:40 +05:30
Kovid Goyal
564f2608c1
Have the SMIL bar's opacity behavior match the TTS bar's opacity behavior 2023-11-13 19:21:40 +05:30
Kovid Goyal
2503f2427c
Dont allow navigation shortcuts in read aloud overlays
They are pointless as the selection is changed causing a scroll as words
are read
2023-11-13 19:21:40 +05:30
Kovid Goyal
8aa739985a
... 2023-11-13 19:21:40 +05:30
Kovid Goyal
79062e8a8c
Fix clicks on bar being handled by container 2023-11-13 19:21:39 +05:30
Kovid Goyal
fcc8795078
Round the progress bar corners as well 2023-11-13 19:21:39 +05:30
Kovid Goyal
2fc15cf23b
Properly position bar at center and make sure it is not too long 2023-11-13 19:21:39 +05:30
Kovid Goyal
264bb9917c
Various cleanups
Use theme based background colors. Dont use ids for components. Change
the tolltip of the play/pause button dynamically
2023-11-13 19:21:39 +05:30
Kovid Goyal
8aa13dd2e7
When starting smil audio jump to the first available audio element in the spine after the current item in case the current item has no smil elements 2023-11-13 19:21:39 +05:30
Kovid Goyal
07d2ec3401
... 2023-11-13 19:21:39 +05:30
Kovid Goyal
1990076df8
Cleanup button handling code 2023-11-13 19:21:39 +05:30
Kovid Goyal
606fe08e2b
Remove overlay toggle from ebook audio overlay
Brings the behavior in line with the TTS based Read Aloud function
2023-11-13 19:21:39 +05:30
Kovid Goyal
4755458dcd
Refactor PR to use pre-parsed SMIL metadata 2023-11-13 19:21:39 +05:30
duydl
67fe848720
feat: Add support for EPUB with Media Overlays 2023-11-13 19:21:39 +05:30
Kovid Goyal
82fa0ba9ba
Implement editing of notes from edit metadata page 2023-11-13 19:21:39 +05:30
Kovid Goyal
f644b207fb
Fix sizing of edit metadata table 2023-11-13 19:21:39 +05:30
Kovid Goyal
209d8bc264
... 2023-11-13 19:21:39 +05:30
Kovid Goyal
e9065db9d5
Change color of title rather than value in edit table 2023-11-13 19:21:38 +05:30
Kovid Goyal
c81ffcc46f
Get rid of colons in edit metadata rendering as well 2023-11-13 19:21:38 +05:30
Kovid Goyal
a5abcf15ce
Content server: Allow editing notes from tag browser 2023-11-13 19:21:38 +05:30
Kovid Goyal
c379616be0
Clean up modal formatting 2023-11-13 19:21:38 +05:30
Kovid Goyal
7ed3cc1134
Allow show/edit of note with item name in addition to item id 2023-11-13 19:21:38 +05:30
Kovid Goyal
b072a49193
Add alignment control to server image insertion 2023-11-13 19:21:38 +05:30
Kovid Goyal
ed980a4c3e
Cleanup editor API 2023-11-13 19:21:38 +05:30
Kovid Goyal
ec86d24535
Server: Editing notes with image insertion basically works 2023-11-13 19:21:38 +05:30
Kovid Goyal
a941d66031
Use data URLs for images 2023-11-13 19:21:38 +05:30
Kovid Goyal
f3deb8aa1f
More work on the image select dialog 2023-11-13 19:21:38 +05:30
Kovid Goyal
ba8b17a288
misc fixes 2023-11-13 19:21:38 +05:30
Kovid Goyal
278985f353
Work on the image file select dialog 2023-11-13 19:21:38 +05:30
Kovid Goyal
a3becde4de
More work on editing notes in the content server 2023-11-13 19:21:37 +05:30
Kovid Goyal
2dafa01321
Work on editor for notes in content server 2023-11-13 19:21:36 +05:30
Kovid Goyal
79a88fa17c
Implement display of notes on server 2023-11-13 19:21:36 +05:30
Kovid Goyal
8b154c1b75
Work on show notes panel 2023-11-13 19:21:36 +05:30
Kovid Goyal
475ffbd1d2
Start work on notes UI in the content server 2023-11-13 19:21:36 +05:30
Kovid Goyal
378e21b907
E-book viewer: Read aloud: Fix clicking on empty spaces causing read aloud to restart from beginning of chapter. Fixes #2042791 [ebook-viewer read aloud click no text area return to first page](https://bugs.launchpad.net/calibre/+bug/2042791) 2023-11-06 16:50:20 +05:30
Kovid Goyal
9763120b3d
E-book viewer: Add support for HTML image maps. Fixes #2040487 [Image hotspots using map tag results in error message](https://bugs.launchpad.net/calibre/+bug/2040487) 2023-10-25 19:06:00 +05:30
Kovid Goyal
506022b5aa
Fix close button for modals not working 2023-10-20 20:45:15 +05:30
Kovid Goyal
a93f02ee29
Re-organize code to get anchor visibility 2023-10-20 18:13:22 +05:30