zotero/test
Abe Jellinek ef82becf00
Merge attachments and update notes (#2336)
We follow a different merge procedure for each attachment type:

- For PDF attachments, compare by MD5. If no match, get the top 50 words
  in the attachment's text and hash those, then check again for a match.
  Update references to item keys in notes and annotations.
- For web (snapshot / link) attachments, compare by title and URL.
  Prefer a title + URL match but accept a title-only match.
- For other attachment types, keep all attachments from all items being
  merged.

Also:

- Move most merge tests from Duplicates to Items#merge(). It just doesn't
  make sense to worry about the UI in these.
2022-03-09 17:26:26 -05:00
..
components Add -e flag to runtests.sh to stop tests after a given file 2017-06-20 05:48:38 -04:00
content Fix missing creators not being removed in item.fromJSON() 2022-03-09 02:43:22 -05:00
resource Update httpd.js to Fx60 version 2019-08-27 05:30:11 -04:00
tests Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
chrome.manifest
install.rdf Update maxVersion 2015-10-29 03:57:08 -04:00
runtests.sh Enable PDF reader by default and enable for groups 2022-01-31 06:48:05 -05:00