Aurimas Vinckevicius
ff28b24389
Don't use let
inside translate.js. Breaks connectors
2014-11-20 08:42:27 -06:00
Aurimas Vinckevicius
325f0618d6
Resolve protocol-relative URLs outside of document context
...
by defaulting to HTTP
2014-11-20 06:55:22 -06:00
Dan Stillman
6e43942385
Fix UI issues with Cyrillic mime types, hopefully
2014-11-17 23:20:11 -05:00
Aurimas Vinckevicius
aca15c0d2d
Fix deleting saved searches
2014-11-14 01:50:02 -06:00
Aurimas Vinckevicius
0e31e7ca01
Wait for the item pane to initialize before focusing first field
2014-11-14 01:50:02 -06:00
Dan Stillman
828bcd9a11
Merge pull request #577 from fbennett/csl-once-on-drag
...
Instantate CSL processor once on drag, changing output mode on the fly
2014-11-13 17:15:55 -05:00
Dan Stillman
7ac1ba5242
Fix file sync error with Hola extension enabled
...
With Hola enabled, uploads were failing with NS_BASE_STREAM CLOSED -- it
seems to do something that causes the stream to be read more than once.
Adding REOPEN_ON_REWIND fixes this.
2014-11-12 20:09:39 -05:00
Simon Kornblith
9017aa69db
Fix typo
2014-11-12 14:45:15 -05:00
Dan Stillman
cefab23888
Add tooltip to Zotero toolbar button
2014-11-10 18:06:17 -05:00
Frank Bennett
523724185c
Instantate CSL processor once on drag, changing output mode on the fly
2014-11-09 06:46:37 +09:00
Dan Stillman
e4451d9002
Merge pull request #575 from aurimasv/async_db-av
...
Async DB tweaks (attempt 2)
2014-10-30 01:47:49 -04:00
Dan Stillman
efa8346d37
Create user library row in libraries table when initializing DB
2014-10-30 01:22:58 -04:00
Aurimas Vinckevicius
3f85ee73b3
Don't count on 0 being the user libraryID in Zotero.Libraries
...
Some other minor tweaks
2014-10-29 23:52:21 -05:00
Aurimas Vinckevicius
bc8a340c30
Virtualize data objects
2014-10-29 23:51:43 -05:00
Aurimas Vinckevicius
5ee40f6601
Add ZU.dom2text and Zotero.Utilities.Internal.getDOMDocument
...
* getDomDocument: returns a detached DOMDocument object
* dom2text (TODO): Currently just returns Node.textContent, but is intended to return Zotero-formatted string based on text formatting in the DOM and the Zotero.Item field that the text is meant for
2014-10-29 22:16:21 -05:00
Dan Stillman
5bfc1e4199
Fix comment - force-delete on Win/Linux is Shift, not Ctrl
2014-10-28 13:45:55 -04:00
Simon Kornblith
abce94458b
Merge pull request #535 from aurimasv/lookup-doi+isbn
...
[RecognizePDF] Don't skip ISBN search if a DOI search fails
2014-10-24 16:10:08 -04:00
Aurimas Vinckevicius
3b4c502ca9
[RecognizePDF] Attempt to search by ISBN even if we found a DOI
...
(but only if DOI search failed)
2014-10-24 14:18:26 -05:00
Aurimas Vinckevicius
15722e5022
Allow calling Zotero.Translate.*.translate without setting translator first.
...
This simply means that detection code will be run first.
Attempting this with Export translators will fail, because trying to detect a translator does not make sense in this case.
2014-10-24 14:18:26 -05:00
Simon Kornblith
aa005041a8
Merge pull request #559 from aurimasv/patch-1
...
Allow dependent styles to override parent style locale
2014-10-23 20:17:42 -04:00
Dan Stillman
f635d82ea6
Merge pull request #553 from aurimasv/async_db_if_exists
...
To be safe, DROP things only IF EXISTS for database upgrade.
2014-10-23 19:38:35 -04:00
Aurimas Vinckevicius
20564dd13a
To be safe, DROP INDEX only _IF EXISTS_ for database upgrade.
...
Triggered by DROP INDEX fulltextItems_version, which apparently doesn't always exist.
2014-10-23 13:18:00 -05:00
Aurimas Vinckevicius
151e95075a
Allow dependent styles to override parent style locale
...
Re https://forums.zotero.org/discussion/36595/defaultlocale-of-dependent-doesnt-override-that-of-its-parent/
2014-10-23 13:00:36 -05:00
Dan Stillman
a737f2c2aa
Treat 260-character paths as too long on Windows
...
I understood the path limit to mean >260, but a user is seeing the error
with a 260-character path [1], so let's try this.
[1] https://forums.zotero.org/discussion/41410
2014-10-21 13:03:52 -04:00
Dan Stillman
226928f1e9
Debugging for "types[i] is undefined" error
2014-10-21 00:45:48 -04:00
Dan Stillman
6c814e2fa2
Update version
2014-10-14 22:55:07 -04:00
Simon Kornblith
4984e87ade
Reinstate __exposedProps__
...
This is ignored in Firefox 33, but seemingly still necessary in
Firefox 32
2014-10-14 22:44:04 -04:00
Dan Stillman
12619273b5
Update submodules and repotime
2014-10-14 03:26:15 -04:00
Dan Stillman
aab3276276
Use old-style searchbox in Yosemite pre-Fx34
...
Yosemite introduces a new search textbox shape, but Firefox still uses
the old focus ring shape until 34, so we fake the old searchbox shape
for earlier versions.
2014-10-14 02:22:44 -04:00
Simon Kornblith
1f41253256
Update citeproc-js to 1.0.543
2014-10-13 23:25:24 -04:00
Dan Stillman
94060e113f
Remove debugging for download overlay issue
2014-10-10 19:23:52 -04:00
Dan Stillman
39b01b80e0
Additional debugging for download overlay issue
2014-10-10 19:18:09 -04:00
Simon Kornblith
d3a69be997
Fix translation under Firefox 33
...
Our strategy: put arguments into a property of the function, and then
get them out unwrapped. This avoids security checks on arguments passed
to the function.
2014-10-10 18:31:10 -04:00
Dan Stillman
fc0f541ad8
Additional debugging for saving from download overlay
2014-10-10 18:03:13 -04:00
Dan Stillman
8359db1426
Better debugging for saving from download overlay
2014-10-10 17:36:49 -04:00
Dan Stillman
9c9b8b835d
Fix crash when dragging items to collections from advanced search window
...
(Dragging to the items list is still disabled.)
2014-10-10 16:01:09 -04:00
Dan Stillman
5c94119c70
Fixes duplicates view for async DB
...
It's way too slow, though, since the whole list is regenerated after
merging.
Fixes #519
Also:
- The arguments to Zotero.Item.prototype.clone() have changed, and it no
longer takes an existing item or copies primary data. To create an
in-memory copy of an item, use the new Zotero.Item.prototype.copy().
- Zotero.Item.prototype.getUsedFields() now gets in-memory fields rather
than the fields in the database
2014-10-10 04:49:39 -04:00
Dan Stillman
15d28014ed
Fix creator type assignment in item box
2014-10-10 04:46:10 -04:00
Dan Stillman
7fa931425a
Rename Zotero.Item.prototype.getCreatorsAPIData() to getCreatorsJSON
...
And add Zotero.Item.prototype.setCreators()
2014-10-10 04:46:09 -04:00
Dan Stillman
3c81067961
Use DB libraryID for check in Zotero.Libraries.getType()
...
Before, 'user' wouldn't be returned if the real libraryID was given for
the personal library.
2014-10-10 04:44:16 -04:00
Dan Stillman
7541106641
Update Bluebird to 2.3.5
...
Our modifications no longer include a custom yield handler to
automatically call all() on yielded arrays (which maintained Bluebird
1.x behavior). It's now necessary to call all() or similar explicitly.
Also fixed a few incorrect yields hidden by that behavior.
2014-10-09 14:21:10 -04:00
Dan Stillman
e34c0db060
Make 'https' the default in WebDAV prefs drop-down
2014-10-08 13:49:41 -04:00
Dan Stillman
eba296a45f
Closes #554 , Sync settings pane should point to new TOS
2014-10-08 13:11:30 -04:00
Dan Stillman
497939bb28
Fix "Open Account Settings" button in quota dialog in Standalone
...
(Untested, but this should work.)
2014-10-08 13:04:56 -04:00
Dan Stillman
71bd1a7f99
Fix state check errors (middle-pane restart messages) during syncing
...
The state check errors were caused by 4812ab6f
, which was a fix for
"Q.async(...)(...) is undefined" errors caused by ad8b81f4c
, which was a
fix for "too much recursion" errors related to Task.spawn() on Windows
with JIT enabled.
2014-10-05 12:03:50 -04:00
Dan Stillman
72bb8acfd1
Fix previous commit
2014-10-03 16:06:01 -04:00
Dan Stillman
0f2e24dc5c
Log state check errors (and other logError calls) to debug output
2014-10-03 16:05:14 -04:00
Dan Stillman
27804bb47c
Fix database backup on userdata upgrade
...
Also uncomment standard backup age tests
2014-09-30 23:15:34 -04:00
Dan Stillman
e2d3cc3f0d
Update zotero://select to use new URLs and wait for items list load
...
Closes #541
2014-09-23 01:13:38 -04:00
Dan Stillman
cb707a55c8
Fix breakage from 10ba5e31d
2014-09-20 16:34:36 -04:00