Commit graph

3962 commits

Author SHA1 Message Date
Simon Kornblith
06a7b1438f Fix operations that remove field codes 2012-07-16 21:56:31 -04:00
Simon Kornblith
d550ac92b4 Q-ize integration.js
Adds a new function, Zotero.promiseGenerator, that returns a promise that is fulfilled by the last thing yielded by a generator, or rejected with an error.
2012-07-16 21:50:14 -04:00
Simon Kornblith
8bc56fdeb1 Fix typo 2012-07-16 14:44:30 -04:00
Simon Kornblith
755db116cc Fix typo 2012-07-16 14:43:33 -04:00
Juan Grigera
554f74a0d2 Improvements to ISBN recognition code in recognizePDF.js 2012-07-16 01:28:55 -03:00
Simon Kornblith
910f698ea2 Alter semantics of Zotero.Exception.Alert() so that toString() returns the cause if there is one 2012-07-15 04:14:24 -04:00
Simon Kornblith
de2d1669fe Restructure and comment cite.js 2012-07-14 22:26:29 -04:00
Simon Kornblith
0deb2573cc Kill translate.js code that was only necessary because of E4X limitations 2012-07-14 19:00:35 -04:00
Simon Kornblith
136e7879c8 Kill E4X in QuickCopy 2012-07-14 18:56:36 -04:00
Simon Kornblith
14d669c00a Kill zoteroconf remnants that used E4X 2012-07-14 18:28:12 -04:00
Simon Kornblith
ed49b867ac Merge branch '3.0'
Conflicts:
	chrome/content/zotero/locale/csl
2012-07-14 16:43:28 -04:00
Simon Kornblith
d27b0654e8 Fix Zotero.ItemFields.getFieldIDFromTypeAndBase in connector 2012-07-14 16:42:14 -04:00
Simon Kornblith
0766588241 Closes https://www.zotero.org/trac/ticket/1867, remove Zotero.Hash 2012-07-13 00:06:49 -04:00
Simon Kornblith
ec391d9346 Fix CSL checkout 2012-07-12 12:09:19 -04:00
Simon Kornblith
28c19b54fb Actually fix spacing 2012-07-12 12:09:03 -04:00
Simon Kornblith
e0995a8032 Fix spacing 2012-07-12 12:03:06 -04:00
Simon Kornblith
8c4e2f0d49 Fix data mismatch false positives 2012-07-12 10:01:59 -04:00
Simon Kornblith
b5e4334df5 Ignore whitespace differences in test results, and provide more readable output upon data mismatch 2012-07-11 21:49:46 -04:00
Simon Kornblith
dae3672318 Add RNV to about box 2012-07-10 19:48:37 -04:00
Simon Kornblith
a35461e2fc Rename q.jsm to q.js, and use a version of q that's closer to the original and allows use in script tags as well 2012-07-10 15:27:38 -04:00
Simon Kornblith
06825c4767 Validate CSL styles on installation, and restructure Zotero.Styles.install() to use Q.
Closes https://www.zotero.org/trac/ticket/1681, automatic CSL validation
2012-07-10 02:46:57 -04:00
Simon Kornblith
bf4c5c1158 Zotero.Exception.Alert when an alert title is specified 2012-07-10 02:46:24 -04:00
Simon Kornblith
de6a776e88 Modify integration.js to use Zotero.Exception.UserCancelled 2012-07-10 02:36:56 -04:00
Simon Kornblith
53bcccd9e7 Add Zotero.HTTP.promise(), a replacement for Zotero.HTTP.doGet/doPost/doHead/doOptions that returns a promise.
Zotero.HTTP.promise() can potentially reject its promise with two new exceptions. Zotero.HTTP.UnexpectedStatusException is thrown if the status code is not 2XX, and Zotero.HTTP.BrowserOfflineException is thrown if the browser is offline.
2012-07-10 02:35:00 -04:00
Simon Kornblith
ede39740c7 Add Zotero.File.getContentsAsync() and Zotero.File.putContentsAsync(), asynchronous versions of Zotero.File.getContents() and Zotero.File.putContents() that return Q promises.
Also make Zotero.File.getContents() slightly more efficient by increasing the blockSize.
2012-07-10 02:29:16 -04:00
Simon Kornblith
418a170f2b Add Zotero.Exception.Alert and Zotero.Exception.UserCancelled
Zotero.Exception.Alert is intended for situations in which an error has an associated string that should be displayed in a dialog when the error takes place.

Zotero.Exception.UserCancelled is intended for situations where the user cancelled an action, and the cancellation should propagate.
2012-07-10 02:26:55 -04:00
Juan Grigera
84930baa41 Added option to recognize ISBN numbers in PDF 2012-07-09 21:41:11 -03:00
Simon Kornblith
8ad7367cff CSL JSON improvements:
- Fix export of literal names
- Fix import of dates specified with date-parts
2012-07-08 22:01:52 -04:00
Simon Kornblith
48a8fa352b Use "Zotero-Bookmarklet" header instead of "X-Zotero-Bookmarklet" 2012-07-08 18:33:50 -04:00
Simon Kornblith
471af0c8ab Merge branch '3.0'
Conflicts:
	chrome/content/zotero/xpcom/translation/translate_firefox.js
	chrome/content/zotero/xpcom/translation/translate_item.js
2012-07-08 13:15:27 -04:00
Simon Kornblith
b13d066062 Fix "TypeError: invalid 'in' operand arg" error introduced by d02fe6d9ab (thanks @adam3smith) 2012-07-08 13:04:09 -04:00
Simon Kornblith
f07a42a7ec If document data is corrupted, just show a new Document Preferences window 2012-07-08 11:19:41 -04:00
Simon Kornblith
d2dcf2bbc7 LibreOffice does not support saving custom properties to docx, and corrupts properties read from docx, so change message 2012-07-08 11:00:11 -04:00
Simon Kornblith
325c78d1d2 Merge pull request #142 from sss/handle-malformed-uri-sequence-in-getFileNameFromURL
Use hex-encoded MD5 of fileBaseName if it is in malformed URI sequence.
2012-07-05 16:49:21 -07:00
Simon Kornblith
ef25740510 Use the same rules for creating links and snapshots, regardless of whether attachments can be saved to the current library 2012-07-05 18:12:00 -04:00
Simon Kornblith
2d475522ad Fix saving to collections 2012-07-05 17:54:38 -04:00
Simon Kornblith
723213f11f Merge branch '3.0'
Conflicts:
	chrome/content/zotero/xpcom/translation/translate_firefox.js
	chrome/content/zotero/xpcom/zotero.js
	install.rdf
	update.rdf
2012-07-04 18:24:17 -04:00
Simon Kornblith
d02fe6d9ab Include speed of Fx5DOMWrapper 2012-07-04 18:22:45 -04:00
SASAKI Suguru
37b65d70f8 Use hex-encoded MD5 of fileBaseName if it is in malformed URI sequence.
If the final component of URI can't be decoded with
decodeURIComponent(), Zotero fails to capture a web page,
because Zotero.Attachments._getFileNameFromURL() fails
with 'malformed URI sequence' error.

If we got 'malformed URI sequence' error,
try hex-encoded MD5 of URI's basename instead.

Signed-off-by: SASAKI Suguru <sss.sonik@gmail.com>
2012-07-04 19:50:48 +09:00
Simon Kornblith
695cb47106 Only allow endpoints specifically marked as permitted to be accessed by the bookmarklet to be accessed by the bookmarklet. 2012-07-03 19:50:12 -04:00
Dan Stillman
ca6184ac74 Update versions 2012-07-03 00:19:04 -04:00
Dan Stillman
e6cb523e3c Update repotime and submodules 2012-07-03 00:17:19 -04:00
Simon Kornblith
a31e5f7704 Update to citeproc-js 1.0.353 2012-07-02 21:49:10 -04:00
Simon Kornblith
73761723c0 Don't use instanceof Array check in ZU.xpath. It fails in Firefox because Array in the sandbox != Array outside of the sandbox. Instead, just check for a length property. 2012-07-02 00:22:14 -04:00
Simon Kornblith
6bed648eb2 Dump stack on translation failure in newer versions of Firefox, where it appears to have ceased to be enumerable 2012-07-02 00:12:01 -04:00
Simon Kornblith
e8ac371042 Rename Zotero.OAuth to Zotero.API, part 2 2012-07-01 16:37:28 -04:00
Simon Kornblith
d8783a93a0 Update for new wrapping code and complain on attempts to activate E4X, part 2 2012-07-01 15:54:37 -04:00
Simon Kornblith
8963dc7d97 Update for new wrapping code and complain on attempts to activate E4X 2012-07-01 15:53:55 -04:00
Simon Kornblith
d780350d24 Merge branch '3.0' 2012-07-01 15:44:06 -04:00
Simon Kornblith
f369af268d Fix xml/dom mode, part 2 2012-07-01 15:43:47 -04:00
Simon Kornblith
4b498570c0 Fix xml/dom mode 2012-07-01 15:43:08 -04:00
Simon Kornblith
cf29a030f2 Use innerText if no textContent (for IE) 2012-07-01 13:00:41 -04:00
Simon Kornblith
e682ab729c Merge branch '3.0'
Conflicts:
	chrome/locale/da-DK/zotero/zotero.dtd
	chrome/locale/ko-KR/zotero/zotero.dtd
	translators
2012-07-01 11:41:31 -04:00
Frank Bennett
6ab89ec164 Upgrade citeproc-js to version 1.0.351 2012-07-01 11:26:26 -04:00
Frank Bennett
4901c9db0b Upgrade citeproc-js to version 1.0.350 2012-07-01 11:26:26 -04:00
Frank Bennett
a882818082 Placeholder in CSL processor to accomodate multilingual cite affix configuration 2012-07-01 11:26:26 -04:00
Dan Stillman
a8a8bc6af0 Merge latest strings from Transifex 2012-06-29 16:25:17 -04:00
Dan Stillman
941999fd1a Update submodules 2012-06-29 04:59:05 -04:00
Frank Bennett
4a8831b929 Refresh citeproc-js version 1.0.349 2012-06-27 23:34:44 -04:00
Frank Bennett
7f0c8f3a4d Update citeproc-js to version 1.0.349 2012-06-27 23:34:44 -04:00
Frank Bennett
2103c955ab Upgrade citeproc-js to version 1.0.348 2012-06-27 23:34:44 -04:00
Frank Bennett
83b65c9fa9 Upgrade citeproc-js to version 1.0.347 2012-06-27 23:34:44 -04:00
Frank Bennett
3ab9c13d65 Upgrade citeproc-js to version 1.0.346 2012-06-27 23:34:44 -04:00
Frank Bennett
7f9c2bc491 Upgrade citeproc-js to version 1.0.345 2012-06-27 23:34:44 -04:00
Frank Bennett
1aabbbfb67 Upgrade citeproc-js to version 1.0.344 2012-06-27 23:34:44 -04:00
Frank Bennett
b1bacc9816 Upgrade citeproc-js to version 1.0.343 2012-06-27 23:34:44 -04:00
Dan Stillman
dda5deb153 Fix preservation of open/close states after deletions 2012-06-27 23:27:57 -04:00
Simon Kornblith
b9da94a650 Merge branch '3.0' 2012-06-27 22:39:47 -04:00
Dan Stillman
0dd35b952a Don't clear quicksearch on delete 2012-06-27 17:11:37 -04:00
Dan Stillman
64455e656e Don't reset selection to top of items list when deleting a child item 2012-06-27 16:03:35 -04:00
Simon Kornblith
96305492f7 Remove "About File Syncing" link from preferences (originally removed by 758216638f, accidentally reinstated by 4e5d4281f1) 2012-06-26 20:54:04 -04:00
Simon Kornblith
0ea89d9755 Fix importing RIS/refer 2012-06-26 19:40:33 -04:00
Simon Kornblith
f37a225a30 Fix saving snapshots 2012-06-26 11:59:03 -04:00
Simon Kornblith
ea7b955414 Fix saving snapshots from document objects 2012-06-26 11:10:19 -04:00
Simon Kornblith
4d27b803dc Fix syntax error 2012-06-25 14:05:11 -04:00
Simon Kornblith
056547f0c0 Merge branch 'kill-e4x' 2012-06-25 01:00:51 -04:00
Simon Kornblith
1622580373 Properly handle invalid XML 2012-06-25 00:59:31 -04:00
Simon Kornblith
57c3d190b4 Merge branch 'kill-e4x'
Conflicts:
	chrome/content/zotero/xpcom/integration.js
2012-06-25 00:42:32 -04:00
Simon Kornblith
58a41a1940 Remove some unnecessary htmlSpecialChars calls 2012-06-25 00:40:08 -04:00
Simon Kornblith
1f80885aeb Kill E4X in integration.js 2012-06-25 00:35:51 -04:00
Simon Kornblith
7aeae3817d Make htmlSpecialChars faster 2012-06-25 00:35:29 -04:00
Simon Kornblith
916db3fd48 Delete unused file that did nothing but show an incompatible version warning for really old versions of the Word plugin, and has been disabled by default for a couple years 2012-06-24 23:34:04 -04:00
Simon Kornblith
66815c118f Kill E4X in Zotero.Style
Also kill enstyle.js, since it no longer works
2012-06-24 23:32:08 -04:00
Simon Kornblith
089909c95e Kill E4X in Zotero.Cite.makeFormattedBibliography 2012-06-24 22:29:15 -04:00
Simon Kornblith
df2b3b11ef Merge branch '3.0' 2012-06-24 17:40:20 -04:00
Simon Kornblith
1f53fc8202 Fix serialization of anonymous nodes with no incoming arcs.
Fixes #139, sz.incoming[subject] is undefined during Dublin Core Unqualified RDF export
2012-06-21 01:09:58 -04:00
Simon Kornblith
05acc6dea9 Search for DOI before cleaning lines to first column 2012-06-18 18:01:29 -04:00
Simon Kornblith
7bcc25e986 Trim lines received from pdftotext 2012-06-18 16:50:33 -04:00
Simon Kornblith
698254adb7 Fix "value is undefined" error handling dates from embedded data 2012-06-17 10:12:40 -04:00
Simon Kornblith
69f273a60e Fix handling of item types and accesDate in ZU.itemFromCSLJSON() 2012-06-15 15:54:27 -04:00
Simon Kornblith
a48a60a230 Update to citeproc-js 1.0.342 2012-06-15 10:48:43 -04:00
Simon Kornblith
fdac7c450f Fix library sorting in QuickFormat dialog 2012-06-15 10:48:14 -04:00
Simon Kornblith
5859cfc61e Fix "citation is undefined" error 2012-06-14 23:03:25 -04:00
Dan Stillman
3e969a9c8f Rename and delete only tags in the current library 2012-06-14 14:37:45 -04:00
Simon Kornblith
8f6d38aebe Still show "Saving Item…" message if Zotero Standalone version is too old to reveal library/folder item is being saved to 2012-06-13 18:24:17 -04:00
Simon Kornblith
e0744f9fd0 Merge branch 'attachment-progress' 2012-06-13 18:22:28 -04:00
Simon Kornblith
0b09ef65f6 Fix saving when an older version of Zotero Standalone is used 2012-06-13 18:22:11 -04:00
Simon Kornblith
18f6a733d0 Merge branch 'no-new-collection-on-import' 2012-06-11 00:27:43 -04:00
Simon Kornblith
450f15cda7 Fix a typo in previous commit and guard against attempts to import from clipboard into a read-only collection (although eventually we should just disable the menu item) 2012-06-11 00:26:47 -04:00
Simon Kornblith
ab72119dd0 Merge branch 'no-new-collection-on-import' 2012-06-11 00:21:40 -04:00
Simon Kornblith
57fe0f65ee Kill extensions.zotero.import.createNewCollection.fromFile and extensions.zotero.import.createNewCollection.fromClipboard preferences.
Imports from file via cog menu now always create a new collection, as before. Imports from clipboard never create a new collection.
2012-06-11 00:20:24 -04:00
Simon Kornblith
ac19b0490a Merge branch 'no-new-collection-on-import' 2012-06-10 22:39:41 -04:00
Simon Kornblith
83aeae942c Merge branch 'attachment-progress' 2012-06-10 22:36:40 -04:00
Simon Kornblith
c6be453564 Attachment progress in connector 2012-06-10 22:36:22 -04:00
Simon Kornblith
d26bb24849 Merge branch 'attachment-progress' 2012-06-10 21:56:15 -04:00
Simon Kornblith
5c02a81e81 Fix identification of collections 2012-06-10 21:55:56 -04:00
Dan Stillman
f1f4044018 Merge branch '3.0' 2012-06-10 21:50:14 -04:00
Simon Kornblith
3a6669c66f Closes #23, "Saving item..." notification should show the name of the library where item is imported 2012-06-10 16:50:06 -04:00
Simon Kornblith
48f7dd5b6e Add endpoint for getting selected collection
Addresses #23, "Saving item..." notification should show the name of the library where item is imported
2012-06-10 15:30:23 -04:00
Simon Kornblith
68365e2297 Allow user to control whether files are imported into a new collection.
Adds three new preferences controlling whether a new collection is created upon import:
- extensions.zotero.import.createNewCollection.fromFile
	Controls whether a new collection is created by import from cog menu
- extensions.zotero.import.createNewCollection.fromClipboard
	Controls whether a new collection is created by import from clipboard
- extensions.zotero.import.createNewCollection.fromFileOpenHandler
	Controls whether a new collection is created when import is initiated by
	double-clicking a file or by dragging it over Zotero. This preference applies only to
	Zotero Standalone, and is configurable in the dialog that appears asking the user
	to confirm the import.

Closes #19, [papercuts] (26) Clipboard import into an open collection
2012-06-10 11:05:39 -04:00
Simon Kornblith
42f3875b0c Remove debug code 2012-06-09 14:58:29 -04:00
Simon Kornblith
d5fa7be95a Fix import 2012-06-09 14:12:27 -04:00
Simon Kornblith
a750203f4f Hook up attachment progress notifications in Firefox UI, and simplify a lot of old code.
Closes #3
2012-06-09 14:02:21 -04:00
Simon Kornblith
283dba7856 Merge branch '3.0' into attachment-progress 2012-06-07 20:01:03 -04:00
Dan Stillman
64dd58694c Revert new webpage icon from 34f074e5 for now
It doesn't really work with a "+" for the toolbar button.
2012-06-07 04:00:22 -04:00
Simon Kornblith
8001c1dc85 Update citeproc-js to 1.0.339 2012-06-06 23:30:35 -04:00
Simon Kornblith
51c9da322f Fix save to server in IE 2012-06-06 01:27:01 -04:00
Simon Kornblith
8a7a53a606 Set defer to wait for 30 seconds 2012-06-04 16:41:54 -04:00
Simon Kornblith
90bead86ed Don't cause problems if no callback passed to Zotero.Attachments methods 2012-06-02 17:05:23 -04:00
Simon Kornblith
221d1da340 Attachment progress notifications. These are already hooked up to the UI in the connector, but still need to be hooked up to the UI in Firefox.
Addresses #3
2012-06-02 16:58:14 -04:00
aurimasv
a538386d51 In case title is a number, convert to string, so we can do str.replace later 2012-05-31 00:41:38 -05:00
Simon Kornblith
f2d03014b0 Use textContent instead of innerText when both are available 2012-05-30 19:02:57 -04:00
Dan Stillman
f0cd6983f2 Log server response on WebDAV upload error 2012-05-30 01:47:52 -04:00
Simon Kornblith
198850576a Fix redundant error logging 2012-05-30 00:27:02 -04:00
Simon Kornblith
a549b9a407 Fix integration error reporting, broken by 26f5765c29 2012-05-30 00:23:54 -04:00
Simon Kornblith
f7f5d8b9d6 Ensure error gets shown even if connection to word processor has died 2012-05-30 00:12:33 -04:00
Dan Stillman
2c2c1c797a Missing file from 1a7631853 2012-05-29 17:00:17 -04:00
Simon Kornblith
a03c10df06 Actually use new unescape technique, and fix global variable 2012-05-28 18:52:35 -04:00
Simon Kornblith
e36c975366 Create a node in a DOM document and use it to implement the same unescape technique in Firefox as we currently use in the connectors. This may cause some data mismatches initially. 2012-05-27 13:30:06 -04:00
Simon Kornblith
d34f3b4ed7 Don't fail with error when item.note is missing 2012-05-26 19:30:49 -04:00
Simon Kornblith
2ecc50f700 Replace double spaces by a single space, to make behavior more uniform with nsIScriptableUnescapeHTML 2012-05-26 19:16:20 -04:00
Simon Kornblith
e1edcb358a Fix unescape for blank strings 2012-05-26 19:13:03 -04:00
Simon Kornblith
013b080ca5 Unescape HTML properly in IE 2012-05-26 19:09:42 -04:00
Simon Kornblith
4e5d4281f1 Merge branch '3.0' 2012-05-26 18:24:52 -04:00
Simon Kornblith
bf53fe8825 Remove deprecated retrieveSource and retrieveDocument calls 2012-05-25 20:10:29 -04:00
Dan Stillman
4be5452b55 Remove localizers from About pane, in favor of webpage 2012-05-25 15:54:17 -04:00
Dan Stillman
1a76318538 Just focus libraries pane on shortcut key
Closes #133
2012-05-25 14:24:08 -04:00
Simon Kornblith
2aa9784ccf Merge remote-tracking branch 'gracile-fr/3.0icons' into 3.0 2012-05-24 18:42:02 -04:00
gracile-fr
9974f02feb Clarify about.xul (icons) and delete TODO comment (cachedTypes.js) 2012-05-23 12:11:43 +02:00
Simon Kornblith
c6bdc0f9ae Fix file syncing link in prefs 2012-05-22 14:48:23 -04:00
Simon Kornblith
bb485181bd Fix indentation and parse error 2012-05-22 14:47:07 -04:00
Simon Kornblith
f7e4c8e3db Remove appscript from about box 2012-05-22 14:46:39 -04:00
Dan Stillman
e778c26467 Start processUpdatedXML() inline to avoid wait level errors (hopefully) 2012-05-21 01:43:35 -04:00
Simon Kornblith
3af526f112 Fix bubbling errors in connectors under certain circumstances 2012-05-16 00:18:57 -04:00
Simon Kornblith
5b00b8b98b Don't create missing attachments if files are missing on import 2012-05-15 17:23:12 -04:00
Simon Kornblith
b3a2682853 Fix indentation and IE parse error 2012-05-15 15:58:14 -04:00
Simon Kornblith
26f5765c29 Don't show exceptions multiple times 2012-05-15 15:57:04 -04:00
gracile-fr
34f074e52a Items Icons http://forums.zotero.org/discussion/8544/icon-for-presentation-icon-for-document/ 2012-05-15 19:24:36 +02:00
aurimasv
f112b0f9c2 Expose RDF.serialize() to translators to assist with debugging. 2012-05-12 05:25:41 -05:00
aurimasv
72789baef6 Minor RDF tweaks 2012-05-12 05:25:13 -05:00
aurimasv
8c6404626f Tweak SameAs handling to prevent creating entries for a non-canonical subject 2012-05-07 05:35:39 -05:00
aurimasv
945ce41036 Re-expose logging functions to RDF parser after init script rearrangement 2012-05-07 05:34:15 -05:00
Simon Kornblith
18a3c7355c Make menu bar appear in Zotero Standalone reports on Windows 2012-05-06 21:26:37 -04:00
Simon Kornblith
5894a9511d Tweak RDF loading code 2012-05-05 16:53:00 -04:00
Simon Kornblith
fb521ea4ad Get tabulator code working in connector after upgrade, part 1 2012-05-05 15:52:02 -04:00
Simon Kornblith
6e3dfc45ee Merge pull request #103 from aurimasv/tabulator
Tabulator v0.8 RDF Parser
2012-05-05 12:35:24 -07:00
grolimur
2bbfa4f967 Update chrome/content/zotero/zoteroPane.xul
(cherry picked from commit 7e18d0cf8e)
2012-05-04 15:34:06 -04:00
gracile-fr
12a45882fe Localize editorWarning
(cherry picked from commits f1be6125...f84e6b12)
2012-05-04 15:33:43 -04:00
Dan Stillman
3132a09966 Merge new English strings 2012-05-03 23:10:47 -04:00
aurimasv
bf0d1ad102 Fix typo from previous commit 2012-05-03 21:55:16 -05:00
Frank
1b41478e21 Upgrade citeproc-js to version 1.0.329 2012-05-03 22:40:41 -04:00
gracile-fr
d7b19a0543 Add attribution for Fugue Icons. 2012-05-04 00:39:50 +02:00
Dan Stillman
d456117ebe Merge branch '3.0' 2012-05-03 17:56:32 -04:00
Dan Stillman
2bbd2be4e7 Use "%S more..." instead of hard-coding space, and make general string
(cherry picked from commit 49b9c14b8d)
2012-05-03 17:46:49 -04:00
gracile-fr
4ba9b6a4c0 Localization of strings previously hardcoded. All these strings are related to duplicate detection.
(cherry picked from commit d6ae1c544d)
2012-05-03 17:45:15 -04:00
gracile-fr
12fc2eadc0 Localization of strings previously hardcoded in itembox.xml (Move up/down)
(cherry picked from commit acb7c22f75)
2012-05-03 17:42:25 -04:00
gracile-fr
0ece4145cd Fixes #111: "Search subcollections" instead of "Search subfolders" in Advanced search. 2012-05-03 17:35:49 -04:00
Dan Stillman
49b9c14b8d Use "%S more..." instead of hard-coding space, and make general string 2012-05-03 17:33:19 -04:00
gracile-fr
7b5c176f8e Fixes #111: "Search subcollections" instead of "Search subfolders" in Advanced search. 2012-05-03 23:06:27 +02:00
gracile-fr
9d4ccfae74 Localization of " more..." (which appears when there are more than 15 creators, cf.: https://www.zotero.org/trac/changeset/10412)
(added to zotero.properties in a previous commit)
2012-05-03 22:51:14 +02:00
gracile-fr
d6ae1c544d Localization of strings previously hardcoded. All these strings are related to duplicate detection. 2012-05-03 22:38:14 +02:00
gracile-fr
acb7c22f75 Localization of strings previously hardcoded in itembox.xml (Move up/down) 2012-05-03 22:16:24 +02:00
Simon Kornblith
47c4f686e8 Fix some issues with corrupted field codes 2012-05-03 15:41:46 -04:00
Dan Stillman
4bb7f7d08b Show data directory properly on Linux
Previously used a custom selectable alert when reveal() failed, but we
can just launch the directory, as we do for attachments
2012-05-01 20:00:35 -04:00
gracile-fr
6f659e6cc2 Add new icons to items currently using blank documents. Update icons for some items.
http://forums.zotero.org/discussion/8544/icon-for-presentation-icon-for-document/#Item_9
2012-05-02 01:52:37 +02:00
Simon Kornblith
64701de5f9 Don't fail if user cancels setDocPrefs window that appears because a style doesn't exist 2012-05-01 09:54:38 -04:00
Dan Stillman
03072e363d Fix preferences in Thai locale 2012-05-01 03:03:39 -04:00
Dan Stillman
37a24383a3 Update versions, submodules, and repotime 2012-05-01 00:55:15 -04:00
Frank
7a0f7f50ef Upgrade citeproc-js to version 1.0.328 (refresh once again) 2012-05-01 00:48:53 -04:00
Frank
4303df5079 Refresh citeproc-js version 1.0.328 (again) 2012-05-01 00:48:53 -04:00
Frank
bd389398a7 Refresh citeproc-js version 1.0.328 2012-05-01 00:48:53 -04:00
Frank
53b6312a7f Refresh citeproc-js version 1.0.328 2012-05-01 00:48:52 -04:00
Frank
ca02bec4df Upgrade citeproc-js to version 1.0.328 2012-05-01 00:48:52 -04:00
Frank
3869eda57c Upgrade citeproc-js to version 1.0.327 2012-05-01 00:48:52 -04:00
Frank
525b7dcfa5 Upgrade citeproc-js to version 1.0.327 2012-05-01 00:48:52 -04:00
Dan Stillman
1e87bb9d21 Update versions, maxVersion, submodules, and repotime 2012-04-30 14:43:56 -04:00
Dan Stillman
5804516600 Update version 2012-04-29 23:43:28 -04:00
Dan Stillman
ef370b96a1 Update submodules 2012-04-29 23:38:25 -04:00
aurimasv
1942fb6762 Remove compatibility hack from rdf.js. Fix Zotero code instead. Move all setup to init.js 2012-04-29 20:30:37 -05:00
Simon Kornblith
effffd621b Allow attachment.path to be one of the following:
- An absolute path
- A relative path
- A file:/// URI
- A mangled absolute path that's missing a leading /
2012-04-27 23:15:12 -04:00
Simon Kornblith
24f7b9fe48 Expose path to PDF in Zotero storage folder to export translators as attachment.localPath 2012-04-27 22:25:40 -04:00
aurimasv
805d3ed6a6 Passed through jsbeutifier 2012-04-27 01:53:00 -05:00
aurimasv
87e77593c3 Remove some left-over unnecessary code from previous commits 2012-04-27 00:55:00 -05:00
aurimasv
cecb00cb9b Remove unused code from the unused n3 parser 2012-04-27 00:52:41 -05:00
aurimasv
23fa1241ab Simon: fix invalid XML on export due to quotation marks in URI 2012-04-27 00:52:41 -05:00
aurimasv
a381062621 Simon: closes #1732, Creator sequence breaks in RDF export with > 10 creators (thanks Frank) 2012-04-27 00:52:40 -05:00
aurimasv
eaa50ca9fc Simon: patches to RDF support 2012-04-27 00:52:40 -05:00
aurimasv
b0923f64a3 Simon: use objects instead of arrays in serialize.js 2012-04-27 00:52:40 -05:00
aurimasv
3742736363 Use shorthand notation for rdf:type and some other constructs. 2012-04-26 23:56:08 -05:00
Frank
524033abc9 Upgrade citeproc-js to version 1.0.326 2012-04-27 00:02:12 -04:00
Frank
6b1396d979 Upgrade citeproc-js to version 1.0.325 2012-04-27 00:02:12 -04:00
Frank
437b1f1c80 Upgrade citeproc-js to version 1.0.324
This fixes an anomaly in the application of text escapes to
output identified by Rintze Zelle.
2012-04-27 00:02:12 -04:00
Frank
051cd3ad30 Upgrade citeproc-js to version 1.0.323 2012-04-27 00:02:12 -04:00
Frank
4df9472bd3 Upgrade citeproc-js to version 1.0.322 2012-04-27 00:02:11 -04:00
Frank
f40a97911a Upgrade citeproc-js to version 1.0.321 2012-04-27 00:02:11 -04:00
aurimasv
113a3d8ef2 Eliminate unintentional globals 2012-04-26 20:55:14 -05:00
Dan Stillman
8e5c82a718 Latest translations from Transifex and merged English strings 2012-04-26 19:48:54 -04:00
aurimasv
ea767e5647 Set up environment for RDF parser 2012-04-26 17:36:35 -05:00
aurimasv
53d336681b Tabulator v0.8 RDF parser initial commit 2012-04-25 20:14:58 -05:00
Dan Stillman
b9d7992ba8 Respect modifier keys for new tab/window when generating report 2012-04-25 20:43:58 -04:00
Dan Stillman
04b0d26b97 Fix auto-import of application/x-inst-for-scientific-info 2012-04-25 04:36:46 -04:00
Simon Kornblith
01813f57cf Allow translators to get the translatorID of their parent translator as Zotero.parentTranslator. Among other things, this permits import translators to exhibit different behavior depending on when they are called from web translators. 2012-04-24 02:11:58 -04:00
Simon Kornblith
8faf011b2d Fix removing codes by pressing "No" in reselect item dialog with Word for Mac 2012-04-20 21:58:57 -04:00
aurimasv
339413e5a6 tabulator.log fix 2012-04-19 21:48:01 -05:00
Simon Kornblith
57ebfcd55e Fix typo 2012-04-19 00:38:14 -04:00
Simon Kornblith
00f11f4f06 Fix typo 2012-04-19 00:13:55 -04:00
Simon Kornblith
18d9c6be8c Add print and save options to reports, part 1 2012-04-19 00:12:43 -04:00
Simon Kornblith
e009f56109 Don't try to validate fields whose values are false 2012-04-19 00:12:43 -04:00
Dan Stillman
ef71d544c1 Fixes #62, Show sync progress bar only for longer syncs
Shows the progress bar only if sync takes longer than 100ms
2012-04-18 23:17:28 -04:00
Dan Stillman
5275dafbc9 Clear undo history when switching notes
This prevents notes from being overwritten with each other's contents.
This used to work right, but it was broken with the switch to rich-text
notes.
2012-04-17 15:42:15 -04:00
Simon Kornblith
512ae575fa Don't try to register attachment callback listener in Firefox 2012-04-16 20:20:12 -04:00
Dan Stillman
fa3910f436 Fixes #32, Focus new notes automatically
This broke between Fx 3.6 and 11. Focusing the iframe first fixes it.
2012-04-16 05:05:31 -04:00
Dan Stillman
1c7ac1a9a0 Make "New Note" shortcut key context sensitive
- If a regular item is selected, use that as the parent.
- If a child item is selected, use its parent as the parent.
- Otherwise create a standalone note.
2012-04-16 04:22:42 -04:00
Simon Kornblith
c09cbb0e4b Fix this.overrides is undefined error 2012-04-16 01:37:19 -04:00
Simon Kornblith
2327c5cc98 Not all translators are supported 2012-04-16 01:31:22 -04:00
Simon Kornblith
1972a9522b Not all translators are supported 2012-04-16 01:29:49 -04:00
Simon Kornblith
efb7cbe9da Merge branch '3.0' 2012-04-16 01:05:38 -04:00
Simon Kornblith
cfc5bc33e8 Override runMode when running tests 2012-04-16 01:05:31 -04:00
Simon Kornblith
c178d1ab7f Don't try to use Zotero Standalone on the server 2012-04-16 01:01:19 -04:00
Simon Kornblith
9eb75e3439 Fix IE and Safari support 2012-04-16 00:49:04 -04:00
Simon Kornblith
5ca5b06ebc Don't try to double-wrap objects 2012-04-16 00:29:23 -04:00
Simon Kornblith
96bb436b20 Make it possible to override TEST_RUN_TIMEOUT 2012-04-16 00:12:58 -04:00
Frank
1d5e23a33e Upgrade citeproc-js to version 1.0.320 2012-04-14 20:41:39 -04:00
Simon Kornblith
cab868482c Merge branch '3.0' 2012-04-14 20:38:53 -04:00
Nicolas Chachereau
ffd12cb02e Fixed Integration Preferences dialog, which was giant with French locale. 2012-04-14 19:53:12 -04:00
Simon Kornblith
6d56004e35 Merge branch '3.0' 2012-04-11 10:32:40 -04:00
Simon Kornblith
62d08bdbbb Properly report upload errors and properly splice off HTML attachments 2012-04-10 20:06:53 -04:00
Simon Kornblith
3f165a4dc3 Fix stringToUTF8Array 2012-04-10 20:06:46 -04:00
Simon Kornblith
5ff3ab776f Properly report upload errors and properly splice off HTML attachments 2012-04-10 20:01:11 -04:00
Simon Kornblith
a926259d31 Fix stringToUTF8Array 2012-04-10 20:00:54 -04:00
Simon Kornblith
1c4eebff0b Deal with spaces in ISBNs 2012-04-09 16:47:12 -04:00
Simon Kornblith
14ac5a7d2d Use onreadystatechange instead of onloadend, because the latter is not supported by MobileSafari, and add debug messages 2012-04-09 12:47:02 -04:00
Simon Kornblith
1585ece566 Merge branches '3.0' and 'master' 2012-04-09 11:27:01 -04:00
Simon Kornblith
7598370af4 Update submodules 2012-04-09 11:26:54 -04:00
Simon Kornblith
129805c62b Minor tweak to avoid calling done too early 2012-04-09 11:21:52 -04:00
Simon Kornblith
53b81a5de9 Fix poor choice of variable names 2012-04-09 02:01:11 -04:00
Simon Kornblith
6d4a435838 Small tweaks for server 2012-04-09 01:59:49 -04:00
Simon Kornblith
d3bc2b4046 Merge pull request #93 from aurimasv/recognizePDF
[PDF Metadata Retrieval] Call detectWeb before trying to call doWeb for Google Scholar
2012-04-08 21:51:29 -07:00
aurimasv
17f6d4fd3a Moving setHandler "translator" next to other setHandler calls. 2012-04-08 23:48:49 -05:00
aurimasv
e412580598 this.translator may contain Zotero.Translate objects or translatorID's 2012-04-08 23:48:10 -05:00