Dan Stillman
223f582aa7
Fix search error on nonexistent collection in recursive mode
...
And don't return results for a nonexistent parent search
2018-11-28 15:31:57 -07:00
Dan Stillman
6137aeddb8
Follow meta redirects for Find Available PDF
...
This fixes direct and VPN-based retrieval of PDFs for Elsevier (e.g.,
ScienceDirect) items that have a DOI but no URL, since Elsevier resolves
DOIs through an intermediate page.
2018-11-26 00:57:48 -07:00
Dan Stillman
7d9b94c79e
Fix autocomplete for tags beginning with _ or %
...
Addresses #1598
2018-11-25 00:36:04 -07:00
Adomas Venčkauskas
b1e3195b5a
Adds translatorTester nodejs compatibility code that doesn't break Scaffold
2018-11-13 13:25:01 +02:00
Dan Stillman
b80c405da4
Revert "Changes for translator tester compatibility with translation server"
...
This reverts commit e526a8fa89
.
This is a repeat of a0ca67d879
. The reverted changes break Scaffold.
This will need to be fixed in a way that allows Scaffold to continue to
work.
2018-11-12 00:40:30 -05:00
Adomas Venčkauskas
51d7959ccd
Revert "Ensure the doc prefs window is smaller than screen height"
...
This reverts commit 0fd28959bf
.
The change causes citation style listbox to fail displaying bottom
entries, a flexed listbox xul bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=413336
2018-11-05 15:14:38 +02:00
Adomas Venčkauskas
0bdebbd64c
Revert "Remove old style conversion code"
...
We got multiple requests from users that use custom 0.8 styles
so we'll have to keep this code for now
This reverts commit a59ce2c343
.
2018-10-31 14:01:11 +02:00
Adomas Venčkauskas
e526a8fa89
Changes for translator tester compatibility with translation server
2018-10-31 11:32:33 +02:00
Philipp Zumstein
8fdccb828f
Fix comment in ItemProgress.prototype.setIcon ( #1591 )
2018-10-27 03:26:16 -04:00
Adomas Venčkauskas
8d61e30a93
Update translatorTester for use in translation server
2018-10-26 16:30:08 +03:00
Dan Stillman
91bac0e052
Add 2x icons for attachment-snapshot and conferencePaper
2018-10-26 00:54:40 -04:00
Dan Stillman
6abfd3b5b0
Fix 'req is undefined' error after consecutive S3 failures
2018-10-22 05:30:20 -04:00
Dan Stillman
053599993b
Add successCodes argument to translator doGet/doPost
...
In 2652fac24
we started failing the translator if doGet/doPost returned
a >=400 status code, but at least one translator (Primo) relied on doGet
continuing after a 404. This allows translators to specify the status
codes that are allowed, similar to the same argument in
Zotero.HTTP.request().
(We'll clean up the signature at some point or just get rid of these
functions, but this is a quick fix for Primo.)
2018-10-21 06:01:06 -04:00
Dan Stillman
a0ca67d879
Revert part of 5b3b1f0f1
to fix Scaffold breakage
...
I didn't look into the details, but `this` isn't defined when this file
is loaded within Scaffold, so this line caused an error and the
translator tester was broken.
2018-10-21 05:37:03 -04:00
Dan Stillman
28e1d7dfb6
Update submodules
2018-10-21 02:17:57 -04:00
Dan Stillman
c7915e5bc2
Don't add four spaces when tabbing to indent list in note
...
Fixes #1236
2018-10-20 03:39:26 -04:00
Adomas Venčkauskas
206b4d7005
Catch translation select callback errors
2018-10-19 14:59:16 +03:00
Adomas Venčkauskas
5b3b1f0f1b
Update translatorTester for translation server support
2018-10-19 13:47:44 +03:00
Adomas Venčkauskas
9d98f765b2
Point doc help to general word processor help page. Closes #1585
2018-10-18 13:34:26 +03:00
Dan Stillman
fc1f737986
Throw proper error for "key must be an 8-character string" error
2018-10-18 04:35:18 -04:00
Dan Stillman
4aaec5f091
Fix note being read-only after viewing note in trash
2018-10-14 23:35:05 -04:00
Adomas Venčkauskas
f7e9067660
Fix imports with missing attachments not closing progress window. Closes #1583
2018-10-12 13:48:20 +03:00
Dan Stillman
1e3608e82e
Add zotero://select support for collections
...
zotero://select/(library|groups/:groupID)/collections/:collectionKey
2018-10-10 21:38:10 -04:00
Dan Stillman
2d38a0102c
Show "Find Available PDFs" even if non-regular items are selected
2018-10-10 21:38:10 -04:00
Dan Stillman
33a7cc57ea
Fix popup when no items are eligible for "Find Available PDFs"
2018-10-10 21:38:10 -04:00
Adomas Venčkauskas
1beab1d3a7
Don't attempt to fetch daySuffixes in Connector/Bookmarklet
2018-10-10 14:25:24 +03:00
Dan Stillman
bd5fca3c23
Skip empty tags from connector
2018-10-10 06:03:41 -04:00
Adomas Venčkauskas
c65ca34afe
Permit /connector/delaySync for the bookmarklet
2018-10-10 12:41:16 +03:00
Dan Stillman
ab27dd154e
Fix status indicator for successful PDF retrieval in progress window
2018-10-09 18:24:53 -04:00
Dan Stillman
f6448c5de4
Update locales from Transifex
2018-10-09 17:51:05 -04:00
Dan Stillman
be8db4fc50
Don't show progress window for PDF recognition if only one file
2018-10-08 02:46:13 -04:00
Dan Stillman
1b9811c31d
Fix test failures after 18f79f9796
2018-10-06 01:38:32 -04:00
Dan Stillman
18f79f9796
Use progress dialog for PDF retrieval
2018-10-06 00:22:57 -04:00
Dan Stillman
a2f13c9043
Allow setting custom status line and hiding Minimize in progress dialog
2018-10-06 00:16:15 -04:00
Dan Stillman
4a6501c198
Update comments for PDF retrieval functions
2018-10-05 01:57:13 -04:00
Martynas Bagdonas
ae7ef109b7
Add universal progress queues ( #1573 )
2018-10-05 01:56:46 -04:00
Adomas Ven
b6065a7af6
Changes for bookmarklet update to current codebase ( #1579 )
2018-10-04 04:16:31 -04:00
Martynas Bagdonas
ec5424d5ae
Follow meta redirects and use the final URL when processing documents ( #1568 )
2018-10-03 22:24:39 -04:00
Adomas Venčkauskas
a59ce2c343
Remove old style conversion code
2018-10-03 15:48:27 +03:00
Dan Stillman
e57e297156
Update submodules
2018-09-26 19:00:05 -04:00
Dan Stillman
3a8fd4d942
Fix additional translatorCache problems at startup
2018-09-25 06:24:17 -04:00
Dan Stillman
d899134e7c
Automatically delay between PDF retrieval requests to the same domain
...
Delay requests to the same domain by 1 second, respect a Retry-After
header if present for 429 and 503, and delay for 10 seconds on 429 or
5xx otherwise.
2018-09-22 04:03:25 -04:00
Dan Stillman
536c07e9f4
Pass URL to Zotero.HTTP.UnexpectedStatusException
...
This allows the URL to be retrieved at .url in the thrown error.
2018-09-22 04:03:25 -04:00
Dan Stillman
b25d2d9c56
Update Zotero.HTTP.request() documentation
2018-09-22 04:03:25 -04:00
Dan Stillman
b782120840
Add followRedirects: false option to Zotero.HTTP.request()
...
Currently only .status and .getResponseHeader() (for getting 'Location')
are available in the returned object, but we could make the body
available if necessary.
2018-09-22 04:03:25 -04:00
Dan Stillman
b8db83af08
Split out a couple helper functions for PDF retrieval
2018-09-21 21:12:15 -04:00
Dan Stillman
c6a2af7ab5
Use 'load' instead of 'pageshow' in Zotero.HTTP.loadDocuments()
...
This seems to fix snapshots in Twitter, which need to wait for a
JS-based self-redirect [1].
[1] https://blog.twitter.com/engineering/en_us/topics/insights/2018/twitter_silhouette.html
2018-09-21 21:12:15 -04:00
Philipp Zumstein
2957db2aa1
Delete two duplicate switch cases ( #1569 )
2018-09-14 17:01:47 -04:00
Dan Stillman
f4ac511b50
Copy items across libraries in batches of 100
...
This will hopefully fix failures when copying huge numbers of items.
2018-09-14 04:14:08 -04:00
Adomas Venčkauskas
0cb683ab18
Ensure we don't maintain document sessions across different doc processors
2018-09-10 08:40:48 +03:00