Commit graph

3742 commits

Author SHA1 Message Date
Simon Kornblith
ffd671ce7b - Remove references to Zotero.JSON
- Add deprecation warning in case any external code makes use of Zotero.JSON
- Fix some strict mode warnings in zotero.js
2011-07-11 22:37:37 +00:00
Simon Kornblith
4783051f4e - Properly handle multiple item selection in context/locate menu
- Don't show context menu options when >20 items selected
2011-07-11 22:19:10 +00:00
Dan Stillman
7a50fcafe0 Replace "..." with proper ellipsis 2011-07-11 20:26:53 +00:00
Simon Kornblith
c1ae9f3460 Fix PDF recognition 2011-07-11 17:41:33 +00:00
Simon Kornblith
ba12583b22 - Fix download overlay
- Fix RIS/Refer intercept progress
2011-07-11 17:38:25 +00:00
Simon Kornblith
b1cec43982 Closes #1620, Replace lowercase Transform Text option with sentence case 2011-07-11 17:25:31 +00:00
Simon Kornblith
5e8c9669ea Closes #1863, Add transform -> sentence case option 2011-07-11 17:14:51 +00:00
Simon Kornblith
498f06c49b Missed locale file in r9820 2011-07-11 14:57:13 +00:00
Simon Kornblith
5197f1e78b - Closes #1793, Add update button to standalone
A "Check for Updates" menu item is now available (under the Zotero menu on OS X, or the Help menu on other platforms). This will currently give a 404 unless you build Zotero Standalone as from the "beta" channel.

- Don't add About menu option to help menu on OS X (only to Zotero menu)
2011-07-11 14:54:51 +00:00
Simon Kornblith
745e4de7ca Fx 6 compatibility for all but WinWord plugin, which is blocked by Mozilla bug 661910 2011-07-11 05:01:47 +00:00
Simon Kornblith
5f536abaeb Missed file from r9815 2011-07-11 05:00:04 +00:00
Simon Kornblith
a4e9775abc update to citeproc-js 1.0.190 2011-07-11 03:36:33 +00:00
Simon Kornblith
07ae9839a6 Fix connector switching on Linux, and decrease the probability of a hang on shutdown 2011-07-11 01:51:02 +00:00
Simon Kornblith
0e820b8eb3 Update to citeproc-js 1.0.189 2011-07-11 00:15:53 +00:00
Simon Kornblith
e58a682107 Fix Zotero Commons bucket creation 2011-07-10 23:28:12 +00:00
Simon Kornblith
f9b074496f Better error for unsupported translator 2011-07-10 22:55:27 +00:00
Simon Kornblith
d47381512e Fix relative URL resolution in Chrome/Safari/Node 2011-07-10 22:51:22 +00:00
Simon Kornblith
bf698c65c6 Register event listener for ZoteroItemUpdated 2011-07-10 22:21:13 +00:00
Simon Kornblith
0b36cc47b9 Fix handling of relative URIs 2011-07-10 21:59:19 +00:00
Simon Kornblith
dde68a51fe Closes #1859, Author misordering in COinS when rft.au and rft.aulast combine
Thanks to Avram for the patch
2011-07-10 21:40:08 +00:00
Simon Kornblith
2900f9dcbe - Don't attempt to use connector when it is not available
- Remove some old debug messages that are no longer necessary
2011-07-10 20:25:16 +00:00
Simon Kornblith
69b53b1583 Closes #1860, Scaffold can't safely test collection creation
Zotero.Translate#translate(false) should no longer create collections. There was already a collectionDone event; it now gets the unprocessed collection object when false is passed to Zotero.Translate#translate.
2011-07-10 18:02:09 +00:00
Simon Kornblith
5aa3189dd1 - Only log translator parse error once
- Fix export (broken by last commit)
- Use init() instead of reset() in Zotero.Translate.IO.Write
- Don't use toSource() in date.js
2011-07-08 07:20:04 +00:00
Simon Kornblith
5cf6a1cff3 - Only call Zotero.wait() in translate.js if it is defined
- Don't try to use Zotero.getString() in strToDate if it is not defined
- Add getBaseIDFromTypeAndField to connector/cachedTypes.js and fix getItemTypeFields
2011-07-08 04:20:05 +00:00
Simon Kornblith
ed3bc7d1f7 Don't send 500 response without logging error 2011-07-08 03:54:29 +00:00
Simon Kornblith
e2993b94a4 - Use jsdom in node.js for unescaping HTML
- Add itemToExportFormat and itemToServerJSON utility functions
- Support asynchronous translator loading (this will only be used in node.js)
- Fix cases where Safari/Chrome code was incorrectly applied in node.js
- Add Zotero.ItemFields.getItemTypeFields() to connector cachedTypes.js
2011-07-08 03:42:26 +00:00
Dan Stillman
167806a5bd Move deleted.txt to translators directory 2011-07-07 18:43:34 +00:00
Dan Stillman
439bca9b3b It shouldn't make a difference, but use the correct post-gzip content type for debug output uploads 2011-07-07 16:20:30 +00:00
Simon Kornblith
599f50455e - Fixes #1855, TypeError: Converting circular structure to JSON in handler 0 for itemSaving
- Rename translate_webkit.js to translate_generic.js, since it's also going to get used for server side translation
2011-07-06 16:34:41 +00:00
Simon Kornblith
8640bbf37b make handling of failure in _loadTranslator consistent 2011-07-06 13:37:18 +00:00
Simon Kornblith
75b354a67e Closes #1854, XML mode import issues 2011-07-06 13:29:06 +00:00
Simon Kornblith
0add2d07e6 Move Zotero.varDump to Zotero.Utilities 2011-07-06 07:39:49 +00:00
Simon Kornblith
c8d5e0b8c6 Complete with error if translator fails to load 2011-07-04 17:29:35 +00:00
Simon Kornblith
81693ca665 Handle single field mode properly (should fix Sean's JSTOR issue) 2011-07-04 17:29:09 +00:00
Simon Kornblith
631dff69b7 Also set capitalizeTitles = false on test creation 2011-07-04 17:07:55 +00:00
Simon Kornblith
fb87bded88 Closes #1852: Test success may depend on capitalizeTitles preference 2011-07-04 17:05:42 +00:00
Simon Kornblith
763d46a565 Don't wrap HTML documents with Zotero.Translate.SandboxManager.Fx5DOMWrapper when performing XPath operations. If we encounter a problem with XML documents at some point, I'll try to figure out how to replace this with a proxy.
Fixes #1851: Voyager translator fails on Newberry catalog in Fx5, Zotero trunk
2011-07-04 16:50:56 +00:00
Simon Kornblith
1774962de9 - Refactor Zotero.Translate save process. There are now itemSaving and itemDone handlers. The itemSaving handler is called as soon as the translator returns an item, but before it's saved to the database. The itemDone handler is called when the item is saved. This allows us to show a grayed-out item icon in the connector while the item is saving to server, and then un-gray it when it is saved to the server.
- Move Zotero.randomString() to Zotero.Utilities
- Fix import of collections (broken by recent commits)
2011-07-04 09:08:49 +00:00
Simon Kornblith
ea5a94e860 - Support RDF in connector
- getTranslatorObject() now exports the "Export" object if one exists. In Firefox, it continues to export other objects otherwise. In Chrome/Safari, it will only export do* and detect*.
2011-07-04 05:03:06 +00:00
Simon Kornblith
178eda0c9d Fix getTranslatorObject() 2011-07-03 20:37:53 +00:00
Simon Kornblith
4f4be436f6 ...but don't try to trim null strings 2011-07-03 19:39:24 +00:00
Simon Kornblith
e671496260 Trim all strings before adding to the DB 2011-07-03 19:38:14 +00:00
Avram Lyon
b876e8bf27 Trans: Fix EEBO, closes ticket #1518. 2011-07-03 19:35:09 +00:00
Simon Kornblith
cf2f8c828b Fix typo 2011-07-03 18:59:26 +00:00
Simon Kornblith
e1433bb4bf Make Amazon.com Chrome/Safari-compatible 2011-07-03 08:55:44 +00:00
Simon Kornblith
db8237f619 Mark Slate Chrome/Safari-compatible 2011-07-03 08:31:46 +00:00
Simon Kornblith
f5af708995 - Eliminate some error messages in translate.js
- Zotero.ItemFields.isValidForType() should not throw on error
2011-07-03 08:28:30 +00:00
Simon Kornblith
ca8c7ba584 Min version is 2.1, not that it matters 2011-07-03 08:19:15 +00:00
Simon Kornblith
1aa4d4c642 Make Nature Chrome/Safari-compatible and fix search results 2011-07-03 08:18:44 +00:00
Simon Kornblith
589178ee6e Fix missing line in HighWire 2011-07-03 07:58:06 +00:00