Adomas Venčkauskas
a76256c7f7
Connector translator targetAll support changes
...
Addresses #1021
2016-10-04 09:15:23 +03:00
Dan Stillman
28601a4380
Merge branch '4.0'
2016-09-30 02:58:52 -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
Adomas Venčkauskas
d3ca13930d
Update http server endpoint
2016-09-29 16:22:21 +03:00
Adomas Venčkauskas
8208ece9df
Fix proxy dialog checkboxes disabled state on init
2016-09-29 04:46:25 -04:00
Dan Stillman
753252be77
Merge pull request #1090 from adomasven/feature/iframe-translator-rules
...
Changes for #1021 to support targetAll translator property.
2016-09-28 11:42:58 -04:00
Dan Stillman
b2152f811a
Tweak text in sync-user-change warning
2016-09-28 00:00:02 -04:00
Dan Stillman
6e74110078
10x speedup in tag selector refresh
...
Using createDocumentFragment() and event delegation
Filtering for a tag could still be sped up quite a lot. Resizing the tag
selector is also very laggy, but that might require switching to clusterize.js
or similar.
2016-09-27 23:58:46 -04:00
Adomas Venčkauskas
5d17ff3f53
Implements #1021 on Z4fx extension
2016-09-27 17:43:56 +03:00
Dan Stillman
ed46414502
Merge branch '4.0'
2016-09-27 02:12:12 -04:00
Dan Stillman
4dc6ef3045
Fix #1100 , Deleting collection also deletes items
2016-09-27 02:10:14 -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
d857a06661
Use OS.File for file reads in Zotero.File.get(Binary)ContentsAsync()
...
This is the recommended approach (since NetUtil can still do some main-thread
I/O for files) and avoids warnings in the console.
For getContentsAsync(), also sends nsIURIs and string URIs to
Zotero.HTTP.request(), which should be used instead.
This makes getBinaryContentsAsync() much slower (due to the conversion from an
array of bytes to a binary string), but it's only used in tests. For one test
that compares two large files, use MD5 instead.
2016-09-24 06:42:30 -04:00
Dan Stillman
12da3f00dc
Fix deregistration of auto-sync listener
2016-09-24 02:29:20 -04:00
Dan Stillman
1adb8d74f0
Properly save search when using "New Saved Search…" menu option
2016-09-23 21:03:00 -04:00
Dan Stillman
a3a9cb9c1e
Fix for too-wide item pane after 4.0 upgrade or prefs reset
...
Regression from stacked layout mode (6bff554976
)
2016-09-23 20:15:00 -04:00
Adomas Venčkauskas
3ca5526f29
Fix translator tester on xul extension
2016-09-23 17:37:47 +03:00
Adomas Venčkauskas
353b935c74
Add targetAll translator param for connector iframe detection
2016-09-23 17:37:47 +03:00
Dan Stillman
794b582244
Merge branch '4.0'
2016-09-22 14:33:42 -04:00
Adomas Ven
c157e01208
Closes #1097 . Fixes the feed settings being reuploaded after every refresh ( #1098 )
2016-09-22 04:05:30 -04:00
Dan Stillman
015a13716f
Update citeproc-js to 1.1.133
2016-09-22 00:19:02 -04:00
Adomas Venčkauskas
7608e127f1
Fix nested translators that rely on child translator tags
2016-09-21 11:54:56 +03:00
Dan Stillman
e34c9e04e8
Fix global variable
2016-09-21 00:49:33 -04:00
Dan Stillman
6139f7045e
Fix automatic syncing when no legacy password
2016-09-21 00:49:33 -04:00
Dan Stillman
610dce7c1f
Update citeproc-js to 1.1.131
2016-09-20 18:34:24 -04:00
Dan Stillman
dc0bb68f04
Merge pull request #1091 from adomasven/fix/connector-translation-support
...
Fixes overriden Zotero object in connector sandboxes
2016-09-20 14:18:07 -04:00
Adomas Venčkauskas
e83bbbad4e
Fix getTranslatorCode bugs
...
- /connector/getTranslatorCode used to respond with empty content
- CodeGetter froze connectors by issuing hundreds of simultanious XHR
requests
2016-09-20 15:55:58 +03:00
Adomas Venčkauskas
38df733a37
Fixes overriden Zotero object in connector sandboxes
...
Occurs when not using `with` statement, which is highly discouraged and
unsupported in strict mode.
2016-09-20 15:53:55 +03:00
Dan Stillman
745c67d42f
Remove duplicate condition
...
Fixes #1095
2016-09-19 14:01:13 -04:00
Dan Stillman
520220a69a
Fix #1094 , dataObjectUtilities.equals() misdescription
2016-09-19 01:01:01 -04:00
Dan Stillman
21d3ca298b
Merge branch '4.0'
2016-09-18 18:39:18 -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
474420620e
Add "Manage Styles…" link to Create Bib and Doc Prefs windows
...
Clicking it cancels the current window, opens the Cite pane of the
prefs, and selects the Styles tab. (This will be more useful once we
have inline style installation from that pane.)
2016-09-06 19:15:01 -04:00
Dan Stillman
0828d4d5e9
openPreferences() updates
...
- Move openPreferences() to Zotero.Utilities.Internal
- Add support for opening windows when there's no active browser window
- Allow selecting prefpane tab by id via 'tab' property
- openPreferences() now takes an object as its second argument with a
'tab', 'tabIndex', or 'action' property
2016-09-06 19:13:50 -04:00
Dan Stillman
5bcce8ba82
Merge branch '4.0'
2016-09-06 18:57:05 -04:00
Dan Stillman
5107d40ff5
Update citeproc-js to 1.1.119
2016-09-06 18:51:39 -04:00
Dan Stillman
6dfef4daed
Removed another unused undeclared variable
...
Follow-up to 42ef98bb89
2016-09-06 12:17:42 -04:00
Adomas Venčkauskas
42ef98bb89
Remove unused undeclared variable causing an error in safari
2016-09-06 15:01:05 +03:00
Dan Stillman
ca833f54fc
Fix noWait translation mode (broken by e3a9c6779b
)
2016-09-06 02:17:20 -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
e3a9c6779b
Restore connector mode functionality in Firefox
...
Non-Zotero for Firefox connector code will probably need to be updated
to handle these changes.
2016-09-05 23:08:08 -04:00
Dan Stillman
b18c580dac
Revert "Disable connector switching for 5.0 beta"
...
This reverts commit 317b1dfa0f
.
2016-09-05 19:52:13 -04:00
Adomas Ven
5859dd6956
Compatibility fixes for shared connector code ( #1082 )
...
Safari does not support generators yet. Removes coroutines
and removes the requirement for bluebird, which should
improve script injection performance.
2016-09-05 19:49:23 -04:00
Dan Stillman
f68ee60524
Follow-ups to getAPIKey() changes in 008321bb89
...
Addresses #1086
2016-09-05 04:00:55 -04:00
Dan Stillman
008321bb89
Generate API key during auto-sync after upgrade
...
Fixes #1086 , Sync settings/auto-sync glitch after Standalone upgrade
2016-09-05 03:21:49 -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