Kovid Goyal
6f3792ca4c
switch to wheel based builds of pure python packages
2023-11-13 19:21:34 +05:30
Kovid Goyal
aa6efb1927
...
2023-11-13 19:21:34 +05:30
Kovid Goyal
b989b9e0e5
Finish deps updates
2023-11-13 19:21:34 +05:30
Kovid Goyal
36bb606e27
More deps updates
2023-11-13 19:21:34 +05:30
Kovid Goyal
1d15d7e0fa
Start work on bumping dependencies for calibre 7
2023-11-13 19:21:34 +05:30
Charles Haley
20d0421723
Update book details if a note is edited/created from the tag browser context menu.
2023-11-13 19:21:34 +05:30
Kovid Goyal
b07873586a
Add an action to show the notes browser
2023-11-13 19:21:33 +05:30
Kovid Goyal
6106cab7ee
Add an edit button at the bototm of the notes display panel
2023-11-13 19:21:33 +05:30
Kovid Goyal
992dff8c01
Add edit and export items to context menu
2023-11-13 19:21:33 +05:30
Kovid Goyal
be8b411c0f
Button to easily export selected notes
2023-11-13 19:21:33 +05:30
Kovid Goyal
658feb70e5
Get returnpressed working
2023-11-13 19:21:33 +05:30
Kovid Goyal
a8942bbb7e
Implement editing of note in notes browser
2023-11-13 19:21:33 +05:30
Kovid Goyal
89251da81c
Implement display of notes in notes browser
2023-11-13 19:21:33 +05:30
Kovid Goyal
25fdaa735b
Fix display of all notes results
2023-11-13 19:21:33 +05:30
Kovid Goyal
efeb345edd
More work on notes browser
2023-11-13 19:21:33 +05:30
Kovid Goyal
7845f4036d
Show results when browsing implemented
2023-11-13 19:21:33 +05:30
Kovid Goyal
634f30156d
Work on results view for notes browser
2023-11-13 19:21:33 +05:30
Kovid Goyal
6992f86c71
Efficiently search for "all notes"
2023-11-13 19:21:33 +05:30
Kovid Goyal
b88c0551ad
Implement restrict to fields UI
2023-11-13 19:21:33 +05:30
Kovid Goyal
5d63fe7e27
Start work on notes browser
2023-11-13 19:21:33 +05:30
Charles Haley
b00ac0873a
Add more context menu items to the book details notes icon: links and copy text.
2023-11-13 19:21:33 +05:30
Kovid Goyal
b5afce1a85
Avoiding iterating over id_map for ever item lookup
2023-11-13 19:21:32 +05:30
Kovid Goyal
c56b41612b
Change the notes icon to a pencil
...
This image was already present in the server images, so easy to reuse
2023-11-13 19:21:32 +05:30
Kovid Goyal
8340c9994d
Make get_item_id() faster
2023-11-13 19:21:32 +05:30
Kovid Goyal
2a9e0209ed
Dont read the full notes table every time book details is rendered
...
Instead check if our particular items have notes only. This is a bit
more work when no notes are present but is much less work when a
significant number of notes are present.
2023-11-13 19:21:32 +05:30
Charles Haley
f099932882
Fix the icon not being updated if notes are changed from within book details.
...
While fixing this I found other places with both notes and links weren't refreshed in book details.
2023-11-13 19:21:32 +05:30
Charles Haley
071145e70c
Use an icon for notes in book details.
...
The icon comes from https://www.iconfinder.com/icons/8726310/notes_icon . Feel free to replace it. :)
2023-11-13 19:21:32 +05:30
Kovid Goyal
d74fa0e4da
Add calibre://show-note to link to notes
2023-11-13 19:21:32 +05:30
Kovid Goyal
c966582265
HTMLDisplay: Add resources to the document so they are not repeatedly loaded
2023-11-13 19:21:32 +05:30
Kovid Goyal
ae029cf06a
Cleanup previous PR
...
Return items_ids rather than note_ids as the rest of the API uses
items_ids to reference notes not note_ids. Also allow querying for only
a single field if needed.
2023-11-13 19:21:32 +05:30
un-pogaz
4e878b14cc
Add retrieve all item_id for each field assosiated to a notes
2023-11-13 19:21:32 +05:30
Kovid Goyal
5657b04d50
Add editing of notes to book details context menu
2023-11-13 19:21:32 +05:30
Kovid Goyal
a07bd5d8b5
Make link order in book details panel and show notes popup the same
2023-11-13 19:21:32 +05:30
Kovid Goyal
d78bd8971d
Show notes when clicking on category items in the book details panel
2023-11-13 19:21:32 +05:30
Kovid Goyal
b5b4162ff3
Document the DB Notes API
2023-11-13 19:21:32 +05:30
Kovid Goyal
d22845828c
Add a find books button to search the calibre library for books with the category item
2023-11-13 19:21:32 +05:30
Kovid Goyal
abe3deb186
Add an edit button to the category notes display dialog
2023-11-13 19:21:31 +05:30
Kovid Goyal
26a73d634a
Add item links to show category note dialog
2023-11-13 19:21:31 +05:30
Kovid Goyal
0620eb2230
Work on dialog to display category notes
2023-11-13 19:21:31 +05:30
Charles Haley
71cafdbc2f
Remove print statement
2023-11-13 19:21:31 +05:30
Charles Haley
671d84037f
Context menu items for import and export. Also fixed the context menu not appearing when a disabled widget is right-clicked.
2023-11-13 19:21:31 +05:30
Kovid Goyal
d1be987b01
Sanitize suggested file name for notes export
2023-11-13 19:21:31 +05:30
Kovid Goyal
c8acbec3d1
Finish implementation of import/export of notes in note edit dialog
2023-11-13 19:21:31 +05:30
Kovid Goyal
10af00f3b3
Start work on export/import in edit notes dialog
2023-11-13 19:21:31 +05:30
Kovid Goyal
33072bf70e
...
2023-11-13 19:21:31 +05:30
Kovid Goyal
0f76bf19f8
Test re-import of exported note
2023-11-13 19:21:31 +05:30
Kovid Goyal
d3ae36a965
Export notes as a single HTML file with embedded images
2023-11-13 19:21:31 +05:30
Kovid Goyal
7df0ec7bee
Handle URL quoting when importing notes
2023-11-13 19:21:31 +05:30
Kovid Goyal
2076fa282d
Add basic tests for export/import of notes
2023-11-13 19:21:31 +05:30
Kovid Goyal
721d13a809
API to export/import notes to HTML
2023-11-13 19:21:31 +05:30