Commit graph

5417 commits

Author SHA1 Message Date
Dan Stillman
4b3d0054e5 Fix citeproc-js in Firefox 56
Our retrieveLocale() implementation was broken by
https://bugzilla.mozilla.org/show_bug.cgi?id=1319111
2017-09-30 04:11:50 -04:00
Dan Stillman
330054e936 Firefox 55 compatibility: move part of toolbar button change to global 2017-08-09 05:43:16 +02:00
Dan Stillman
8958809f4a Firefox 55 compatibility: fix some Mac toolbar button weirdness
At the cost of some ugliness in earlier versions, at least for now
2017-08-09 05:27:25 +02:00
Dan Stillman
8212bd3f61 Update version and submodules 2017-08-09 04:53:55 +02:00
Dan Stillman
c06aa9ed52 Firefox 55 compatibility: fix Services.locale.getAppLocale() calls
This is a backport of 55b2dc39b.
2017-08-09 04:29:13 +02:00
Dan Stillman
20f838a93a Update citeproc-js to 1.1.170 2017-06-05 18:32:28 -04:00
Dan Stillman
ceb4c5eb61 Fix getLocaleCollation() in Firefox 54 2017-05-27 05:39:09 -04:00
Dan Stillman
19b4a7c458 Update citeproc-js to 1.1.169 2017-05-26 14:27:08 -04:00
Dan Stillman
6d20803256 Firefox 54 compatibility: dateFormat.properties -> Intl.DateTimeFormat 2017-05-25 19:49:55 -04:00
Dan Stillman
7f52280a95 Firefox 54 compatiblity for locale service 2017-05-25 19:49:20 -04:00
Dan Stillman
4bdef6d24a Firefox 54 compatibility: rename "new" and "delete" XBL methods 2017-05-25 18:51:18 -04:00
Dan Stillman
65a3fab345 Update citeproc-js to 1.1.165 2017-05-09 03:21:33 -04:00
Dan Stillman
25f65c4d98 Increase pipe write timeout to 500 ms from 100 ms
Writing to the pipe from Firefox was sometimes taking 100 ms for me when
opening Standalone, which meant that Zotero for Firefox would display an
error until Firefox was restarted.
2017-05-09 02:17:03 -04:00
Dan Stillman
4d4c0f9e73 Don't display startup error when switching into connector mode
And close DB on incompatible version error

This should make things a bit smoother for people upgrading to 5.0
before Zotero for Firefox is updated to the connector.
2017-05-09 02:05:23 -04:00
Dan Stillman
2ef84125e7 Update version and submodules 2017-04-21 07:43:55 -04:00
Dan Stillman
6333e0b5ad Fix in-browser PDF viewing in Firefox 53
Use file:// URLs for viewing attachments instead of zotero://attachment,
which the new version of PDF.js in Fx53 doesn't like.
2017-04-21 07:37:54 -04:00
Dan Stillman
18d89cbdf0 Update version and submodules 2017-01-16 03:00:10 -05:00
Dan Stillman
c27eb5421d Fix more info link in update prompt 2017-01-16 02:58:05 -05:00
Dan Stillman
6e21bb4b57 Update citeproc-js to 1.1.139 2016-11-03 10:11:54 -04:00
Dan Stillman
775d39f93a Update citeproc-js to 1.1.138 2016-10-12 13:22:15 -04:00
Dan Stillman
c477d482bf Update citeproc-js to 1.1.137 2016-10-06 01:33:03 -04:00
Dan Stillman
db8d3fd4b4 Fix dragging of files to the filesystem on macOS (and maybe Linux)
Calling getTransferData('zotero/item') when handling the
application/x-moz-file-promise seems to have stopped working between Fx46 and
Fx47, though I can't get older Nightly builds to run with mozregression
(Sierra?) to find the specific change. Instead, work around this by passing an
array of item ids to the file drag data provider.
2016-09-30 02:47:51 -04:00
Dan Stillman
e0b96a873b Update citeproc-js to 1.1.136 2016-09-26 14:02:09 -04:00
Dan Stillman
30f7ef093a Remove Extra field parsing when generating CSL JSON
Now done by the processor in 1.1.133 (#1099)
2016-09-26 01:08:52 -04:00
Dan Stillman
015a13716f Update citeproc-js to 1.1.133 2016-09-22 00:19:02 -04:00
Dan Stillman
610dce7c1f Update citeproc-js to 1.1.131 2016-09-20 18:34:24 -04:00
Dan Stillman
c8dbe26abe Update citeproc-js to 1.1.130 2016-09-17 13:48:30 -04:00
Sebastian Karcher
9101cb487f Parse DOI: prefixed DOI from Extra (#1089) 2016-09-14 01:31:26 +02:00
Dan Stillman
4c64634134 Update citeproc-js to 1.1.121 2016-09-07 18:36:24 -04:00
Dan Stillman
5107d40ff5 Update citeproc-js to 1.1.119 2016-09-06 18:51:39 -04:00
Dan Stillman
3ef9b93573 Fix errors with deferred translator tests
In translation-server, the test timeout is overridden to 30 seconds, which was
also the deferred test delay, so there was a race condition that could cause
deferred tests to fail. This sets the deferred delay to 20 seconds.
2016-09-06 01:37:17 -04:00
Dan Stillman
43bd1b7082 Collect incremental results for a run within Zotero_TranslatorTesters
This requires provo and translation-server updates.
2016-09-04 01:37:28 -04:00
Dan Stillman
7f5e57f606 Fix error in translator tester when only one translator is whitelisted 2016-09-02 02:43:25 -04:00
Dan Stillman
88e12f617c Fix document property access errors in translation-server
For some reason, in the Fx48 translation-server, the processor passed to
processDocuments() calls in translators can't access document properties
even when they're on the same domain or even the same document. To get
around that, rewrap them for the sandbox, but there might be a better
fix here.

Addresses https://github.com/zotero/translation-server/issues/36
2016-09-02 02:42:17 -04:00
Dan Stillman
06472a9d3c Add array for debugging specific translators 2016-08-31 02:53:35 -04:00
Dan Stillman
1266c9f1e6 Automatically close rogue dialog boxes
A few sites (e.g., Gallica) were causing alerts to pop up in Standalone during
testing, which breaks testing, so accept them automatically. (Hopefully these
don't happen during manual translation...?)
2016-08-31 02:50:02 -04:00
Dan Stillman
6ad195521b Save test results after every translator
Goes with 0813241150
2016-08-31 02:10:23 -04:00
Dan Stillman
ad45c3e51a Fix document wrapping issues in translation-server
Fixes https://github.com/zotero/translation-server/issues/26
2016-08-28 03:29:46 -04:00
Dan Stillman
b4e6584417 Fix PDF metadata recognition in Firefox 48
Reapplies modifications to SpecialPowers code after a0843f317

This is essentially the changes within the SpecialPowers code block from this
diff, with some modifications for the new code:

git diff 1257b17e..a0571a9a17 chrome/content/zotero/xpcom/translation/translate_firefox.js
2016-08-13 19:36:15 -04:00
Dan Stillman
a0843f3171 Update to latest Mozilla SpecialPowers code for Proxy.create
This fixes the "Proxy.create is not a function" errors during PDF
metadata retrieval in Firefox 48 after the old Proxy API removal, but it
still throws "doc.location is null".

Addresses #1076
2016-08-13 02:05:50 -04:00
Dan Stillman
19a4c64903 Update citeproc-js to 1.1.113 2016-08-08 02:03:45 -04:00
Philipp Zumstein
3dfb73faba Allow ZU.doGet to have requestHeaders (#1062)
This is mainly for translators which have to work with content negotiation,
e.g. ORCID API or API calls of ISBN agencies.
2016-07-31 14:46:03 -04:00
Dan Stillman
254da12e12 Hide unsigned add-on warning in Standalone
There's no need for Zotero Standalone add-ons to be signed by Mozilla.

Currently only hides when the Extensions pane is first loaded, so if the user
switches to Appearance or Plugins and switches back, the warning reappears
2016-07-23 16:25:25 -04:00
Dan Stillman
6a7e3d0259 Add "is (less|greater) than" to num pages/volumes search conditions
https://forums.zotero.org/discussion/60897/
2016-07-16 17:15:17 -04:00
retorquere
bd6dec352c Sort items for translator
In response to https://forums.zotero.org/discussion/60375?page=1#Item_6
2016-06-27 15:54:50 +02:00
Philipp Zumstein
f6da7bb8d4 Change const to var in utilities
In order to make these mappings also available when the
script is used with `loadSubScript` from outside we
have to use `var` instead of `const`, `let`.

See https://github.com/aurimasv/z2csl/issues/6
2016-06-23 00:38:48 +02:00
Dan Stillman
954677636e Fix hang if another key is pressed after Enter in Quick Format dialog 2016-06-13 23:00:08 -04:00
Dan Stillman
0a0283483e Update submodules 2016-06-06 16:14:21 -04:00
Dan Stillman
2928e1fda1 Update locales from Transifex 2016-06-06 16:10:30 -04:00
Dan Stillman
849d206f87 Fix error running tests in translation-server 2016-05-27 04:37:48 -04:00