Adomas Venčkauskas
5b7c0a98f7
Move Translators.init() DB cache loop into a transaction
2018-08-24 11:33:27 +03:00
Adomas Venčkauskas
28fa8dd03c
Make Zotero.Schema more shimmable in Electron
2018-08-23 15:59:43 +03:00
Adomas Venčkauskas
3d493014ca
Log Notifier registrations
2018-08-23 15:59:24 +03:00
Adomas Venčkauskas
d447403f86
Add a deprecation message to File.getContentsFromURL
2018-08-23 15:59:08 +03:00
Adomas Venčkauskas
377f8d0aa8
Make Connector Server tests compatible with electron
...
Refactor /detect and /savePage endpoints
2018-08-23 15:57:59 +03:00
Adomas Venčkauskas
57fd05c7e3
Change the Server tests to be compatible with electron server
2018-08-20 15:15:59 +03:00
Dan Stillman
8d5338db2d
Additional debug output for setting base directory
2018-08-19 22:49:09 -04:00
Dan Stillman
4f98ad9567
Vacuum database automatically after clearing full-text index
2018-08-19 04:06:04 -04:00
Dan Stillman
926e2f7317
Reduce memory consumption of full-text index clear
2018-08-19 04:05:38 -04:00
Dan Stillman
18021d1aeb
Disable rebuild/clear buttons in Search prefs while in progress
2018-08-19 03:51:00 -04:00
Dan Stillman
c9e80319bb
Support "Show File" on evicted iCloud Drive files
2018-08-19 02:41:45 -04:00
Dan Stillman
ec76575645
Trigger downloading and opening of evicted iCloud Drive files
2018-08-19 01:44:49 -04:00
Dan Stillman
e48a1a2abb
Remove lots of old Zotero for Firefox code
...
We still run tests in Firefox, so not everything can be removed.
2018-08-17 03:17:08 -04:00
Dan Stillman
c2ca70055c
Merge branch 'electron'
2018-08-16 19:16:46 -04:00
Dan Stillman
6d898e4774
Add extra debug logging for file merging
2018-08-16 17:09:14 -04:00
Martynas Bagdonas
7a3dc61892
Add an utility to fix author name capitalization ( #1550 )
2018-08-16 05:22:39 -04:00
Dan Stillman
1ffc34a8ac
Don't try to retrieve PDFs when importing from a file
2018-08-16 05:21:00 -04:00
Dan Stillman
6d5abb55f0
Fix regression from 9fec063f4e
2018-08-16 05:20:03 -04:00
Adomas Venčkauskas
50a4bae945
Remove unused ZP.addItemFromPage()
2018-08-16 11:48:48 +03:00
Adomas Venčkauskas
044b08c9af
Fix broken DataDirectory.removeSubdirectory() (regression 7f2d83a6
)
2018-08-16 11:48:48 +03:00
Adomas Venčkauskas
2cf940763f
Remove usage of HTTP.loadDocuments() in electron shared code
2018-08-16 11:48:48 +03:00
Dan Stillman
8d105a7b18
Update locales from Transifex and merge new English strings
2018-08-16 04:12:30 -04:00
Dan Stillman
9fec063f4e
Tweak display of attachment status lines in connector for PDF retrieval
...
Generally speaking, don't show a status line unless we have reason to
believe we'll be saving something.
2018-08-16 04:04:20 -04:00
Dan Stillman
ce5be0bc75
Automatically download open-access PDFs when saving via the connector
...
If there's no translated PDF or the translated PDF fails and the item
has a DOI, check Zotero's Unpaywall mirror for possible sources and try
to download one of those.
Unlike with "Add Item by Identifier" and "Find Available PDF" in the
item context menu, this does not try the DOI/URL page, since it would
result in more data leakage and most of the time you'd be saving from
the DOI page already. We could consider offering it as an option, but
for it to be useful, you'd have to have an institutional subscription,
be on-campus or connected via VPN (for now), and be saving from
somewhere other than the main page.
A new connector endpoint, sessionProgress, takes the place of
attachmentProgress. Unlike attachmentProgress, sessionProgress can show
new attachments that have been added to the save, and with a little more
work should also be able to show when a parent item has been recognized
for a directly saved PDF.
This also adds support for custom PDF resolvers, available to all PDF
retrieval methods. I'll document those separately.
Closes #1542
2018-08-16 00:57:22 -04:00
Dan Stillman
7a646a292b
Pass response data to Zotero.WebProgressFinishListener callback
...
Pass an object with 'status' and 'contentType' if available
2018-08-16 00:57:22 -04:00
Dan Stillman
bcf94942f9
Don't include "Zotero" in User-Agent sent to non-Zotero sites
2018-08-16 00:57:22 -04:00
Dan Stillman
65bdef42a1
Fix double PDF when adding arXiv paper with Add Item by Identifier
2018-08-16 00:57:22 -04:00
Dan Stillman
f5beb5be7d
Update locales from Transifex
2018-08-15 21:32:12 -04:00
Dan Stillman
e38725cf65
Localize new PDF retrieval strings
...
Closes #1541
2018-08-15 21:32:12 -04:00
Adomas Venčkauskas
850d2d2977
Expose private Attachments functions for electron
2018-08-15 17:11:30 +03:00
Adomas Venčkauskas
01f3159b2f
Ensure all failing integration tests are fixed ( 8d8410ff
). Closes #1546
2018-08-14 11:40:19 +03:00
Dan Stillman
11f8bd20d6
Fix title display when installing style via connector (broken in 0f1687f1c7
)
2018-08-13 18:17:35 -04:00
Martynas Bagdonas
51996b537d
Force description when submitting a recognizer report ( #1547 )
2018-08-13 11:14:18 -04:00
Dan Stillman
5ad2a83b61
Fix possible restart error with invalid Quick Copy setting
...
If you had Quick Copy set to a missing translator, had a site-specific
Quick Copy setting, and loaded a page in the browser, the next click on
an item would result in a restart error.
2018-08-12 19:06:28 -04:00
Dan Stillman
6112002003
Fix breakage from ea8b15a44a
2018-08-12 04:09:26 -04:00
Dan Stillman
6d299f85f8
Merge new English strings
2018-08-12 02:45:55 -04:00
Dan Stillman
ff8df06c75
Improve error messages on certificate and connection errors
...
- Show a clearer message on a certificate error that includes the
underlying error, which should make debugging much simpler. (No more
checking in a browser and hoping it's the same connection.)
- Mention proxy server in message on startup proxy-check failure
- Include link to connection-error KB page on sync connection failure
Closes #1191
Closes #1513
2018-08-12 02:38:44 -04:00
Philipp Zumstein
ea8b15a44a
Replace getTargets with getStatementsMatching ( #768 )
...
As suggested in the same file `getTargets` is deprecated since 2.1
2018-08-11 14:36:43 -04:00
Dan Stillman
a97abed533
Extra logging for restart error
2018-08-11 06:29:09 -04:00
Dan Stillman
d278437a81
Only try 6 URLs from Unpaywall for a given DOI
...
Hard to imagine needing more than that many tries, and some DOIs appear
to have a huge number of URLs by mistake.
2018-08-11 06:17:28 -04:00
Dan Stillman
7cf6634764
Fix progress window hang if Find Available PDF fails
2018-08-10 17:36:04 -04:00
Adomas Venčkauskas
0f1687f1c7
Fix invalid document citation style recovery. Closes #1543
2018-08-10 11:00:07 +03:00
Dan Stillman
1274d5a4fe
Updates locales from Transifex and merge new English strings
2018-08-09 15:56:15 -04:00
Dan Stillman
c5890a2479
Remove unused WebDAV methods
2018-08-09 15:45:15 -04:00
Dan Stillman
276bb99fc9
Don't percent-encode periods in usernames in WebDAV requests
...
For some reason nsIURL encodes periods in usernames, even though RFC3986
says not to [1]. (It also says servers should normalize them, and most
seem to, but apparently not all [2].)
[1] https://tools.ietf.org/html/rfc3986#section-2.3
[2] https://forums.zotero.org/discussion/73127/zotero-will-convert-the-into-2e-in-the-name-of-the-webdav
2018-08-09 15:45:15 -04:00
Dan Stillman
168bc78f1a
Show error icon at startup if proxy check fails
...
If a proxy is required and we can't connect to S3, show the (sync) error
icon. For SSL certificate errors, which are the most common cause of
this, the panel includes a link to the SSL cert troubleshooting page.
2018-08-09 15:45:15 -04:00
Dan Stillman
0f19872a8d
Show 'https://' in SSL certificate error message
2018-08-09 06:10:55 -04:00
Dan Stillman
2b6d24bc75
Only show "Find Available PDF" in dev builds
2018-08-09 04:39:28 -04:00
Dan Stillman
c7076ab935
Add Zotero.isDevBuild
2018-08-09 04:36:36 -04:00
Dan Stillman
bb46d72fd1
Add DB integrity check repair step for TEXT userID
...
Follow-up to 26056c87f1
2018-08-09 04:18:30 -04:00