Simon Kornblith
6b2bbf80e1
Fix things so that they (hopefully) don't break under latest Q
2013-02-18 16:06:31 -05:00
Dan Stillman
8f5145f555
Version bump
2013-02-18 05:02:25 -05:00
Dan Stillman
82a8d9e2ae
Fix items list freezing in some situations
2013-02-18 04:59:16 -05:00
Dan Stillman
81f67d0ef9
Fix Firefox charset warning displaying note editor
2013-02-18 03:50:24 -05:00
aurimasv
63b9c9fd36
And also don't leave behind unnecessary properties.
2013-02-18 01:47:45 -06:00
aurimasv
db8b8a9662
Do not overwrite set translators
2013-02-18 01:42:08 -06:00
Dan Stillman
ccbccef597
Update versions
2013-02-18 02:37:03 -05:00
Dan Stillman
51365924a3
Accept HTTP headers in Zotero.HTTP.promise() 'options' object
2013-02-18 02:33:13 -05:00
aurimasv
72d3b8b711
Set this.translator for "detect" calls so that parentTranslator is set correctly
2013-02-18 00:16:44 -06:00
Simon Kornblith
e63364c788
Merge branch '3.0'
2013-02-18 01:03:15 -05:00
Simon Kornblith
376db8d9f0
Ensure that we treat 403 as a failure code
2013-02-18 01:02:54 -05:00
Simon Kornblith
755f2bf6f9
Set reasonable min-width and min-height for Standalone
2013-02-17 16:44:56 -05:00
Dan Stillman
ee16d96f92
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/preferences/preferences.xul
chrome/content/zotero/xpcom/storage/webdav.js
chrome/locale/gl-ES/zotero/zotero.dtd
chrome/locale/gl-ES/zotero/zotero.properties
chrome/locale/zh-CN/zotero/zotero.dtd
chrome/locale/zh-CN/zotero/zotero.properties
install.rdf
update.rdf
2013-02-16 05:07:59 -05:00
aurimasv
c279aef6cd
Store username and url inside correct preference keys
2013-02-10 03:17:12 -06:00
Dan Stillman
331a7cef7e
Fix child item duplication (UI-only) when dragging between parents
2013-02-08 02:20:53 -05:00
Dan Stillman
f941c8b6bc
Update repotime, submodules, and versions
2013-02-08 01:49:31 -05:00
Dan Stillman
be48ce06b6
Allow Verify Server to pass if uploaded file doesn't exist
...
With any storage service backed by S3 or another eventually consistent
storage service, there will be a short delay between when files
are uploaded and when they're available, so show a more helpful message
and allow the verification to pass. (Any IIS servers configured not to
serve extensionless files will also fail, but that's probably much
rarer at this point.)
We should also just retry the request on a 404, but that will have to
happen on master.
Addresses #115
2013-02-08 00:57:20 -05:00
Dan Stillman
54af603989
Fix copying of title between book and bookTitle
2013-02-08 00:42:45 -05:00
Dan Stillman
e157d8bc57
Fix sync error downloading new item with related item
2013-02-07 17:37:04 -05:00
Dan Stillman
38cee7e625
Update repotime and submodules
2013-02-07 01:07:03 -05:00
Simon Kornblith
548a6db761
Merge pull request #237 from aurimasv/web-title
...
Consider type-specific "title" alternatives for validating web translations
2013-02-06 18:12:30 -08:00
gracile-fr
81186be076
-Display the Year for types which don't have a proper "date" field (case, patent, statute) in the item description box and in the bubble. (includeBaseMapped set to true in item.getField).
...
-Display the Title for types which don't have a proper "title" field (case, email, statute) in the bubble (use getDisplayTitle).
2013-02-07 00:10:49 +01:00
Simon Kornblith
951ea82cb6
Update to citeproc-js 1.0.425
2013-02-06 01:51:07 -05:00
Simon Kornblith
5afeb9d721
Update to citeproc-js 1.0.425
2013-02-06 01:50:38 -05:00
Dan Stillman
0061ff3ca5
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/preferences/preferences.xul
chrome/content/zotero/xpcom/data/item.js
chrome/content/zotero/xpcom/utilities_translate.js
2013-02-04 07:02:38 -05:00
Dan Stillman
e2ea7532ba
Fixes #47 , Dragging attachment to item removes search results
2013-02-04 04:08:34 -05:00
Dan Stillman
194343cb0f
Don't update item when leaving an empty field
...
It looks like this has been happening for at least all of 3.0, including
when tabbing between empty fields.
2013-02-04 03:40:57 -05:00
Dan Stillman
1b1df60725
Make X-Zotero-Version and RIS/Refer prefs Firefox-only
2013-02-04 02:05:04 -05:00
Dan Stillman
650c393507
Expose launchNonNativeFiles hidden pref in Firefox
...
"Open PDFs and other files within Firefox when possible"
2013-02-04 01:56:29 -05:00
Dan Stillman
2cd45be191
Avoid unnecessary UI updates in various situations
...
beginUpdateBatch() doesn't suppress select events, so various batch
operations were triggering lots of extra selects.
This hopefully fixes the long hang some people were seeing when making
changes with an open quick search (which I was only able to reproduce in
Standalone).
2013-02-04 00:06:27 -05:00
Dan Stillman
dfdfbf1258
Properly clear temp DB tables from items list generation
2013-02-03 06:12:23 -05:00
Dan Stillman
2a0c95d0ad
Cache list of an item's child attachments/notes
2013-02-03 06:10:58 -05:00
Dan Stillman
190fe8ba05
Don't leak a hidden browser for every single imported text/HTML file
...
It is possible we have been doing this for a very long time.
(Only local imports were affected, not snapshot saving.)
2013-02-03 02:55:30 -05:00
gracile-fr
f0ad251097
Localization of hardcoded "Quick Format Citation" dialog title
2013-02-02 15:31:41 +01:00
Dan Stillman
1a0849e489
Fix and change extraData for item change notifications
...
- Some item changes were putting data in the wrong form into extraData,
which was keeping it from being passed through in notifications.
- For item modifications, set a 'changed' object, keyed by itemID, with
just the fields that changed as keys and their old values. For
deletes, keep the 'old' object for now, since sync relies on it.
- Remove item.serialize() for all item changes except deletions, which
should speed up writes (and which will leave extraData empty for some
changes).
- Currently only item fields, creators, related items ('related'), and
'parentItem' are added to 'changed'.
Closes #220
2013-02-02 05:55:38 -05:00
Simon Kornblith
b08e52363b
Merge pull request #229 from aurimasv/args
...
Add a way for translators to pass arguments to callbacks for HTTP requests
2013-01-31 20:00:53 -08:00
Aurimas Vinckevicius
6b878ba9f1
Delete hidden browser even if processDocuments exception handler does not fail.
2013-01-31 19:53:28 -06:00
aurimasv
eed6d2f22c
Pass responseCharset to subsequent doGet calls
2013-01-31 19:42:06 -06:00
Dan Stillman
13a2bb99e1
Tweak patch from 41de387
to keep file style consistent
2013-01-31 17:45:55 -05:00
Aurimas Vinckevicius
41de3876d8
Fall back to link attachments for opening item
2013-01-31 16:17:53 -06:00
Dan Stillman
0eb4db7c33
Merge pull request #235 from aurimasv/webdav
...
Tweaks to WebDAV preferences
2013-01-30 23:37:45 -08:00
Simon Kornblith
6de5cb4ab1
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/recognizePDF.js
chrome/content/zotero/zoteroPane.js
2013-01-31 01:51:54 -05:00
Simon Kornblith
6dd420458f
Detect CAPTCHA
2013-01-29 17:45:57 -05:00
aurimasv
b919d27d1e
Allow web translators to monitor DOM nodes for changes in order to re-trigger detectWeb
2013-01-29 03:25:05 -06:00
Dan Stillman
7cd3479094
Use eraseByURI() instead of eraseByURIPrefix(), and fix params
2013-01-29 04:03:56 -05:00
Dan Stillman
56bb5b17ad
Better MIME type detection of Office files
...
For at least one Windows user, a .docx file was being interpreted as
text/plain. Instead of relying entirely on the system, hard-code some
extensions we know. (More can be added.)
Also:
- Determine MIME type when opening files instead of using stored type,
since we might have gotten smarter
2013-01-28 22:44:02 -05:00
Simon Kornblith
64a40cda69
Fix first run (broken by d64379290c
)
2013-01-28 18:41:32 -05:00
Simon Kornblith
2c04b62a9e
Increase use of _translatorInfo to avoid breaking translation-server
2013-01-28 16:24:29 -05:00
Simon Kornblith
a0f1bbf8a6
Fix code for determining whether to use defaultView as sandbox scope
2013-01-28 15:58:35 -05:00
Simon Kornblith
6520a71788
Merge pull request #236 from aurimasv/generateDiff
...
[Zotero_TranslatorTester] Move _generateDiff and _compare out of prototype
2013-01-27 22:33:50 -08:00
aurimasv
9c7d3c3c4e
Consider type-specific "title" alternatives for validating web translations
2013-01-27 05:27:36 -06:00
aurimasv
baf772741b
[Zotero_TranslatorTester] Move _generateDiff and _compare out of prototype
2013-01-27 02:34:08 -06:00
aurimasv
7e808b9997
Tweaks to WebDAV preferences
2013-01-27 01:40:02 -06:00
Simon Kornblith
0417a1910d
Detect CAPTCHA and stop trying to hit Google Scholar
2013-01-26 02:36:23 -05:00
Simon Kornblith
6f31a3d31a
Limit Google Scholar queries to one per 1.5 seconds
...
Hopefully, this will stop our users from getting locked out.
2013-01-26 02:06:00 -05:00
Simon Kornblith
f9978e8f02
Update citeproc-js to 1.0.422
2013-01-26 01:49:20 -05:00
Simon Kornblith
1c3890e837
Merge branch '3.0'
2013-01-26 00:29:08 -05:00
Simon Kornblith
22eea572e2
Merge pull request #234 from aurimasv/cleanISSN
...
[Utilities] add cleanISSN
2013-01-25 19:47:25 -08:00
Simon Kornblith
5465c885e5
Tweaks to getHiddenPref()
...
- Remove references to configOptions, displayOptions, and hiddenPrefs
from connector/translator.js. We can't rely on them to be set in
Zotero.Translator since https://repo.zotero.org/repo/metadata doesn't
provide them, but we shouldn't need them until we get the translator
code anyway.
- Don't serve configOptions, displayOptions, and hiddenPrefs from Zotero
Standalone server. There's no point in serving anything that
https://repo.zotero.org/repo/metadata doesn't.
- Alias the translator metadata loaded into the sandbox as
Zotero.Translate._translatorInfo. Use this to get configOptions and
hiddenPrefs.
- "v" browserSupport indicates that a translator can be run through
translation-server, not that translation-server is required.
This obviates the need for zotero/zotero-connectors#4 .
2013-01-25 22:40:14 -05:00
aurimasv
0c38ce03ac
Allow translators to define translator-specific hidden preferences.
2013-01-25 22:40:14 -05:00
Aurimas Vinckevicius
1f08592d0e
[Utilities] add cleanISSN
2013-01-25 21:25:04 -06:00
Simon Kornblith
bd688f333c
Merge branch '3.0'
2013-01-22 23:05:15 -05:00
Dan Stillman
5b34dce40f
Remove "Try to override conflicting shortcuts" pref
...
I probably should have removed this years ago in 292c357e
when I made
the shortcut keys only work within the Zotero pane.
2013-01-22 18:38:00 -05:00
Simon Kornblith
39e8b226cb
Revert "Don't refresh item list upon tag selector actions unless the action changes the item list."
...
This reverts commit 7f732f56df
.
2013-01-22 17:25:50 -05:00
Simon Kornblith
b3640a8ae1
Recognize multiple items properly
2013-01-21 23:31:52 -05:00
Simon Kornblith
0e79cf247c
Only set timeout to 50 if undefined
2013-01-21 13:29:26 -05:00
Simon Kornblith
502f814fc4
Use Zotero.wait() to move progress indicator
...
This may help with #230
2013-01-21 04:07:07 -05:00
Simon Kornblith
7c24c27fb3
Merge pull request #231 from aurimasv/defaultHandlers
...
Set default handlers if they are not set
2013-01-20 23:20:46 -08:00
aurimasv
ee33da22e8
Set default handlers if they are not set (even if some other handlers are set).
2013-01-21 01:11:58 -06:00
Simon Kornblith
93cdb72e61
Merge branch '3.0'
2013-01-21 02:10:39 -05:00
Simon Kornblith
99e7235fe1
Fix source files to be UTF-8
2013-01-21 02:10:02 -05:00
Simon Kornblith
dbf2bc265f
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/recognizePDF.js
chrome/content/zotero/xpcom/utilities.js
2013-01-21 02:01:08 -05:00
Simon Kornblith
94619403ca
Tweak loading process
2013-01-21 01:58:01 -05:00
Simon Kornblith
7ff11fdebb
Merge remote-tracking branch 'aurimasv/xregexp' into 3.0
2013-01-21 01:48:18 -05:00
Simon Kornblith
28d83faa64
Use 100 lines
2013-01-21 01:05:56 -05:00
Simon Kornblith
19f5aebbcb
Add missing "new"
2013-01-21 01:05:18 -05:00
Simon Kornblith
91c3374d6b
Merge branch '3.0' and modify recognizePDF.js to use promises
...
Conflicts:
chrome/content/zotero/recognizePDF.js
install.rdf
update.rdf
2013-01-21 01:04:05 -05:00
Dan Stillman
9c80e9ab93
Fix sync error (since beaaf8fc
)
2013-01-20 14:46:07 -05:00
Simon Kornblith
732c785af4
Merge pull request #227 from aurimasv/complete
...
Complete
2013-01-19 11:51:19 -08:00
aurimasv
869d0ce90a
Don't report web translator errors if there is a parent translator
2013-01-19 01:50:48 -06:00
aurimasv
1d1b825c62
Properly handle cases where no translator is specified
2013-01-19 01:50:47 -06:00
Simon Kornblith
03ed7913a6
Merge pull request #226 from aurimasv/processDocuments
...
Eliminate race condition during processDocuments call with multiple URLs
2013-01-18 16:22:41 -08:00
Simon Kornblith
a5dc9d9647
Fix III host code
2013-01-18 18:58:34 -05:00
Simon Kornblith
4ca0e6408c
Fix III host code
2013-01-18 18:58:11 -05:00
aurimasv
13c3e5427e
Eliminate race condition during processDocuments call with multiple URLs
2013-01-18 15:02:46 -06:00
Dan Stillman
7f8de9c5dd
Remove E4X from ZFS and WebDAV, though both need more testing
2013-01-17 04:06:11 -05:00
Simon Kornblith
5ecfb72308
Kill E4X in locateManager
2013-01-15 04:19:04 -05:00
Dan Stillman
0c442dc1f6
Remove E4X in tag-fixing sync code
2013-01-15 04:02:39 -05:00
Dan Stillman
596c6da3ee
Remove Commons code, which contains E4X
...
Some items pane code is still in place, since it's a decent example of
dynamic items pane loading.
2013-01-15 03:23:37 -05:00
Simon Kornblith
35b1c16858
Add type="application/javascript;version=1.8" to all JS script tags (for now)
2013-01-15 03:22:00 -05:00
Simon Kornblith
0f957d6e99
Fix code that never threw a parse error before
2013-01-15 02:53:45 -05:00
Simon Kornblith
b938ce5fdd
Load as JS 1.8, to avoid throwing on "for each" for now
2013-01-15 02:51:55 -05:00
Dan Stillman
f24091626d
Update version and maxVersion
2013-01-14 20:30:46 -05:00
Dan Stillman
2562e64e82
Strip control characters when displaying child notes as well
2013-01-14 20:27:25 -05:00
Dan Stillman
4ea05ce091
Strip control characters when inserting notes and displaying reports
2013-01-14 16:01:02 -05:00
Simon Kornblith
620b8abb2c
Merge pull request #222 from aurimasv/deepCopy
...
[Utilities] Deep copy `null` as `null`. Display object type in varDump
2013-01-13 22:42:21 -08:00
aurimasv
9d8869cd33
[Utilities] Deep copy null
as null
. Display object type in varDump
2013-01-14 00:31:00 -06:00
Dan Stillman
bc12d92639
Make date parts indicator match order in date itself
...
This may not work properly for all inputs, but it worked with everything I tried. (This need unit tests once we have a functional unit-testing framework again.)
2013-01-11 22:31:27 -05:00
Simon Kornblith
f14b1f250e
Make clear that save to server code is non-Firefox only
2013-01-08 19:28:14 -05:00
aurimasv
70c1b1a8c4
Remove unnecessary character classes. Add some useful ones.
2013-01-06 04:27:28 -06:00