Dan Stillman
b4b19c4811
Add Zotero.Retractions.getRetractionsFromJSON()
...
Addresses #1703
2019-06-12 01:05:49 -04:00
Dan Stillman
5b9b39dfb7
Update eslint config to 1.0.3
2019-06-12 00:31:47 -04:00
Dan Stillman
d353439980
Add retractions.enabled hidden pref to disable retraction checking
2019-06-11 21:24:17 -04:00
Dan Stillman
e69786bd69
Fix error and show File Not Found dialog opening attachment with empty path
2019-06-11 06:46:46 -04:00
Dan Stillman
ccc4dccffd
Fix error copying attachment without path to another library
2019-06-11 06:46:09 -04:00
Dan Stillman
2dce15c35c
Update eslint config version
2019-06-11 04:44:57 -04:00
Dan Stillman
f7f55f05ad
Percent-encode " character in DOIs when opening/copying as link
...
I'm not sure a double-quote actually appears in any DOIs, but it's
technically valid and would result in an invalid URL.
Follow-up to 782c2a1d1
Addresses #295
2019-06-10 17:06:59 -04:00
Dan Stillman
5e1beed6fd
Update locales from Transifex
2019-06-10 15:52:20 -04:00
Dan Stillman
d7417af83e
Update submodules
2019-06-10 15:00:55 -04:00
Dan Stillman
782c2a1d15
Don't URL-encode most characters in DOIs when opening/copying as link
...
Only #, ?, and % are now encoded.
Addresses #295
2019-06-10 14:56:28 -04:00
Dan Stillman
98d2b69020
Update locales from Transifex and merge new English strings
2019-06-10 02:50:47 -04:00
Dan Stillman
5c03813d81
Add Retracted Items virtual collection
...
Shown automatically when retracted items are detected
2019-06-10 02:38:42 -04:00
Dan Stillman
502f5fe491
Run notifier observers in tests after all others
...
This ensures that main functionality will have already run if a test
waits on the same event.
2019-06-10 02:20:11 -04:00
Dan Stillman
e807f98e02
Retracted items: Fix "Move to Trash" button not appearing
2019-06-10 02:18:49 -04:00
Dan Stillman
cf8d383027
Add "Show Item in Library" button to retracted citation warning
2019-06-07 23:05:25 -04:00
Dan Stillman
368b057104
Use toJSON() if available when running Zotero.debug() on objects
2019-06-07 21:22:52 -04:00
Dan Stillman
b793c0c406
Hard-code short PMID to avoid sending
...
The PMID prefix length is 5 and there are no other PMIDs under 5 digits,
so a 3-digit PMID would be identifiable.
2019-06-07 10:20:33 -04:00
Dan Stillman
4939dd49a8
Update locales from Transifex and merge new English strings
2019-06-07 08:45:06 -04:00
Dan Stillman
47164edea6
Retraction improvements
...
- Fix list download logic
- Close bar when clicking "View Item"
- Don't show "Move to Trash" if item isn't editable
- Download new list if cached version differs from client
- Reduce height of notification bar
- Switch to a slightly darker red
2019-06-07 08:21:15 -04:00
Adomas Venčkauskas
75b38caf6f
Add a warning when citing a retracted item
2019-06-07 12:59:42 +03:00
Dan Stillman
30849303a4
Remove unnecessary title for retracted-item cite warning
2019-06-07 04:33:02 -04:00
Dan Stillman
d0412e1fbb
Add "Move to Trash" button in item retraction header
2019-06-07 04:20:55 -04:00
Dan Stillman
faf9e7002c
Strings for retraction warnings when citing
2019-06-07 04:00:33 -04:00
Dan Stillman
79a8917bdc
Fix test failure after 3727d0f559
2019-06-07 03:17:26 -04:00
Dan Stillman
28326cd4cd
Add license block to file
2019-06-07 02:24:23 -04:00
Dan Stillman
c46e3e75fa
Update locales from Transifex
2019-06-07 01:48:25 -04:00
Dan Stillman
066a870999
"View Retracted Item" → "View Item" in items list banner
2019-06-07 01:25:54 -04:00
Dan Stillman
7f4f2770ba
Add notification banner when retracted items are found
...
And other retraction tweaks
2019-06-07 01:15:17 -04:00
Dan Stillman
de0a65af7b
Add Breton locale
2019-06-06 20:52:37 -04:00
Dan Stillman
3727d0f559
Update locales from Transifex and merge new English strings
2019-06-06 09:17:22 -04:00
Dan Stillman
48580c49d1
Retraction Watch integration
...
- Check for retracted items using data from Retraction Watch
- Show an X next to retracted items in the items list, and show a
scary message at the top of the item pane with more info and links.
- Lookup is done in a privacy-preserving manner using k-anonymity --
the server is unable to determine the specific items that exist in
the client, so people who don't sync don't need to share any library
data (though the server doesn't log the lookups anyway).
TODO:
- Pop up an alert when new items are found
- Show a confirmation prompt when citing a retracted item
- Support items without DOIs or PMIDs
- Add a proper PMID field and expand DOI to more item types so these
values don't need to be parsed out of Extra
- Clear the banner immediately when all possible fields are cleared
instead of waiting a few seconds
2019-06-06 09:17:21 -04:00
Adomas Venčkauskas
897a042ee0
Ensure no further action is taken after the import unavailable prompt
2019-06-04 11:26:46 +03:00
Adomas Venčkauskas
b8b8cbba3a
Add a prompt for unsupported import attempts
2019-06-04 09:28:15 +03:00
Dan Stillman
41706a3a67
Fix "Cannot edit item in read-only library" during sync
2019-06-03 03:36:10 -04:00
Dan Stillman
985f10d5ed
Fix WebDAV test after 1f1b2e9b2
2019-06-03 03:35:32 -04:00
Dan Stillman
c0e2aa03d3
Fix test for delay after second library version conflict
2019-05-31 02:44:41 -04:00
Dan Stillman
1f1b2e9b27
Don't send null storage properties
...
When doing Restore to Online Library from a backup that was never
file-synced, 'mtime' and 'md5' can be null, but we don't want to clear
existing properties on the server.
2019-05-31 02:43:43 -04:00
Dan Stillman
ba9f81368b
Don't prompt to add 'http://' prefix to anchor links in notes
...
https://forums.zotero.org/discussion/77600/removing-the-pop-up-add-http-when-adding-an-anchor-link
2019-05-30 04:18:28 -04:00
Dan Stillman
e33a2d730d
Fix tag type handling when merging items
...
Most importantly, don't change all tags to manual on the merged item.
2019-05-29 05:43:33 -04:00
Adomas Venčkauskas
96a0b77192
Add the export warning to the plugin interface export command
2019-05-29 12:00:55 +03:00
Adomas Venčkauskas
07c8269433
Add an ability to throw non-error alerts from connector integration
2019-05-29 11:24:53 +03:00
Adomas Venčkauskas
fedd6f8241
Add an 'exportDocument' integration command endpoint
2019-05-28 13:51:08 +03:00
Dan Stillman
b99ee1f030
Updates locales from Transifex
2019-05-20 22:44:23 -04:00
Dan Stillman
a7747ac1f6
Clarify component-not-loaded message for word processor extensions
2019-05-20 22:44:23 -04:00
Dan Stillman
6ba6028ed0
Fix "too many SQL variables" deleting collection with >1000 items
2019-05-15 15:49:06 -04:00
Dan Stillman
2af63c0f33
Change document import/export documentation URL
2019-05-15 01:51:59 -04:00
Dan Stillman
8b778e20db
Merge new English strings
2019-05-14 23:57:01 -04:00
Dan Stillman
c29c855d28
Document import/export: Additional text tweaks
2019-05-14 23:50:47 -04:00
Dan Stillman
222bc4f25d
Fix update error cancelling document import
...
Closes #1694
2019-05-14 23:43:14 -04:00
Dan Stillman
b9671ade36
Update locales from Transifex and merge new English strings
2019-05-14 23:36:12 -04:00