Dan Stillman
aba37b31e4
Fix error from retractions notifier handler on group modification
2019-06-23 20:01:26 -04:00
Dan Stillman
ead93b6ccc
Stop uploading files on quota error until next manual sync or restart
2019-06-22 05:29:47 -04:00
Dan Stillman
94795095f2
Fix potential error on retracted item modification
...
If a retracted item was in the trash at startup or when detected and
there were no other retracted items in the library, an error would occur
if the item was modified.
2019-06-20 18:18:10 -04:00
Dan Stillman
c1ab361c92
Revert "Temporarily disable "Export Document…" button for 5.0.68"
...
This reverts commit f38ae94259
.
2019-06-20 16:25:41 -04:00
Dan Stillman
f38ae94259
Temporarily disable "Export Document…" button for 5.0.68
2019-06-19 17:24:34 -04:00
Dan Stillman
288ad93422
Fix startup error due to missing retractedItems table
...
This shouldn't be possible, but there've been a couple reports of people
ending up on version 103 without the table, so create it again with IF
NOT EXISTS. This is obviously a bad fix, but until we know how this
happened it's the best we can do.
2019-06-19 17:06:05 -04:00
Dan Stillman
50a4308514
Remove retraction flag from items that no longer match
2019-06-19 06:41:33 -04:00
Dan Stillman
8589aae7bc
Fix retracted items in unloaded libraries not being flagged correctly
2019-06-19 02:11:37 -04:00
Dan Stillman
7306fe910d
Fix updating of Next button in RTFScan (regression from 269e2f8bff
)
...
And fix a logged warning
2019-06-16 02:33:24 -04:00
Dan Stillman
e3e6b8ef9c
Revert "Temporarily disable "Export Document…" button for 5.0.67"
...
This reverts commit 487d675783
.
2019-06-16 02:33:24 -04:00
Dan Stillman
dc670938a4
Update submodules
2019-06-14 11:18:04 -04:00
Dan Stillman
487d675783
Temporarily disable "Export Document…" button for 5.0.67
2019-06-14 11:16:14 -04:00
Dan Stillman
75712ed42d
Remove "Move to Trash" button in item retraction banner
...
There can be situations where people legitimately want to keep the item,
so encouraging deletion is a bit presumptuous.
2019-06-13 12:22:54 -04:00
Dan Stillman
ae7a262592
Don't switch to Retracted Items for single item from banner View button
...
Only for multiple items
2019-06-13 00:09:04 -04:00
Dan Stillman
45f6492494
Adjustments to citation retraction warning ( #1704 )
...
- Fix don't-show-again checkbox for non-DB items
- Tweak warning text
- Don't show comma after year if year is missing (which it shouldn't be)
- Remove redundant try/catch
2019-06-13 00:08:49 -04:00
Adomas Venčkauskas
4337362a1b
Add a checks and prompts for retracted items within an existing doc
2019-06-13 00:57:56 +03:00
Dan Stillman
b4b19c4811
Add Zotero.Retractions.getRetractionsFromJSON()
...
Addresses #1703
2019-06-12 01:05:49 -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
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
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
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
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
d0412e1fbb
Add "Move to Trash" button in item retraction header
2019-06-07 04:20:55 -04:00
Dan Stillman
28326cd4cd
Add license block to file
2019-06-07 02:24:23 -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
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
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
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
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
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
8274c1c231
Tweaks to document import/export
...
Remove unused code and adjust text
Follow-up to 48778f28
2019-05-14 23:36:00 -04:00
Adomas Ven
48778f2847
Document export-import UI and integration code ( #1501 )
2019-05-14 21:06:18 -04:00