zotero/test
abaevbog c493a17b13
Connector server support to adding a note (#5064)
* support adding a note from connector

- pass canUserAddNote flag in ping response to tell
the connector that it should display a note field
- when the connector sends a note, create a child note item
if it does not yet exist and set its content. If the
child item for user-added notes is already created,
update it
- if the connector sends an empty note, user-added child
note item is deleted
- record child notes added by the user in _userAddedNotes
cache to distinguish between user added notes and
notes added by the connector automatically
- if the target library changes, child note items are
moved to the new library as well. _userAddedNotes
will be updated to reflect new itemIDs
- if there are multiple toplevel items being added,
the note is added to all of them

Also fix breakage when switching between collections
from different libraries. Fixes: #5331
2025-06-11 14:50:48 +03:00
..
components fx128: Remove Services.jsm imports 2024-12-14 01:16:00 -05:00
content Use the bundled mozilla httpd (#5148) 2025-04-22 09:47:58 -04:00
resource Use the bundled mozilla httpd (#5148) 2025-04-22 09:47:58 -04:00
tests Connector server support to adding a note (#5064) 2025-06-11 14:50:48 +03:00
chrome.manifest fx115: Restore test runner 2024-03-30 00:58:53 -04:00
runtests.sh Server: Expose actual bound port (#4903) 2024-12-14 01:16:03 -05:00