Commit graph

2999 commits

Author SHA1 Message Date
aurimasv
fed9fe597d Allow translators to pre-select items in the "multiple" select item dialog. 2012-11-12 03:26:11 -06:00
Simon Kornblith
42215d0441 More saveURI fixes 2012-11-12 01:10:32 -05:00
Simon Kornblith
b6fee9a357 Fix for Firefox 18+ 2012-11-12 00:45:35 -05:00
Simon Kornblith
47a5aafda3 Remap attachment URLs so that they are saved through the proxy 2012-11-12 00:42:41 -05:00
Simon Kornblith
f6c3f58bc2 Merge commit '920df48d1da4f9bf33bf1a01c60a2131e589d29c' into 3.0 2012-11-12 00:09:23 -05:00
aurimasv
48b513640d Add cleanISBN to utility functions 2012-11-11 18:15:44 -06:00
Simon Kornblith
a4f4691b04 Fix http://forums.zotero.org/discussion/23702/chrome-connector-hangs-on-some-pages-when-invoked-from-the-save-zotero-snapshot-context-menu/ 2012-11-11 17:14:19 -05:00
aurimasv
920df48d1d Make sure that absolutely all files that are being downloaded/written to are registered and their file names do not change. 2012-11-11 02:21:45 -06:00
Simon Kornblith
6d48b9224d Update to citeproc-js 1.0.407 2012-11-10 13:52:30 -05:00
aurimasv
3fc4bc2efe Pass webpagedump through JSBeutifier 2012-11-08 16:52:31 -06:00
aurimasv
f5d759b336 Fix web page dump when pages contain images/objects with same name as the web page. 2012-11-08 16:49:13 -06:00
Simon Kornblith
2353e73bf2 Save attachments that have snapshot=false when automaticSnapshots and downloadAssociatedFiles are false. This behavior might be confusing, but it's probably the best option given that links are usually important metadata. 2012-11-08 11:37:35 -05:00
Simon Kornblith
6b66dbfafa Another tweak to processDocuments 2012-11-07 23:52:30 -05:00
Simon Kornblith
7754d530da Use global counter for hidden browsers 2012-11-07 17:17:16 -05:00
Simon Kornblith
3c52b422fa Fix missing parens 2012-11-07 15:15:56 -05:00
Simon Kornblith
b3ab9a96dc Tweak to processDocuments 2012-11-07 12:55:27 -05:00
Simon Kornblith
5305f37ab4 Tweaks to processDocuments 2012-11-06 02:51:34 -05:00
Simon Kornblith
39c1024461 Copy citation list to clipboard, instead of multiple item citation 2012-11-06 01:35:36 -05:00
Dan Stillman
6220bc39f5 "Citations"/"Notes" instead of "Citation"/"Note" in right-click dialog 2012-11-06 01:16:03 -05:00
Simon Kornblith
cdd637f3ec Save citation lists instead of multiple item citations 2012-11-06 01:00:17 -05:00
Simon Kornblith
4b80a52106 Use separate hiddenBrowsers for each request in Zotero.HTTP.processDocuments 2012-11-06 00:48:26 -05:00
Simon Kornblith
32bfb0e407 Merge pull request #186 from aurimasv/attach
Fix searching for non-existing attachments with relative paths
2012-11-03 17:48:03 -07:00
Simon Kornblith
067e5ce5b4 Another attempt at fixing Firefox 17 sandboxing issues 2012-11-03 18:34:12 -04:00
Dan Stillman
dfd0a7ad83 Add option to skip tags when copying items between libraries 2012-11-02 05:45:26 -04:00
Dan Stillman
079b767974 Closes #44, Allow generating citations via right-click
Currently generates multi-source citations for multiple items for note
styles, but a list of note citations might be better.

Also, context menu option is unchanged, since it becomes very long if
you add "Citation/Bibliography".
2012-11-01 21:47:10 -04:00
Simon Kornblith
2139603ae1 Fix detection of newer versions of pdf.js 2012-11-01 15:45:20 -04:00
aurimasv
3f43e0f170 Fix searching for non-existing attachments with relative paths 2012-11-01 04:50:24 -05:00
Dan Stillman
c9beb5b45a Fix "Paste" menu item in Add Item By Identifier context menu
Fixes #58
2012-11-01 04:23:43 -04:00
Dan Stillman
9d7cc849cd Fixes #151, Allow Tab and Shift-Tab into and out of notes 2012-11-01 03:32:07 -04:00
Dan Stillman
0d0585b217 Update versions 2012-11-01 01:59:09 -04:00
Dan Stillman
cdbb4c28f6 Closes #49, Open attachments with Return/Enter
Standard Firefox modifier keys also work
2012-11-01 01:53:31 -04:00
Dan Stillman
81bfb5c327 Keep New Collection button enabled on Trash if library is editable
Fixes #28
2012-10-31 05:22:58 -04:00
Dan Stillman
21bf3000cb Better method for determining valid XHTML notes in reports
Previously looked for <p> tag. Now just check if it's valid XML.
2012-10-31 04:38:45 -04:00
Dan Stillman
aa0a3544bd Fix XPI note loading in Fx17 due to navigator.userAgent error 2012-10-30 04:46:19 -04:00
Simon Kornblith
e806925844 Fix passing all arrays to sandbox 2012-10-30 02:06:06 -04:00
Simon Kornblith
22c083fe6b Revert "Fix RDF for Firefox 17"
This reverts commit 7022379a87.
2012-10-30 02:01:45 -04:00
Simon Kornblith
7022379a87 Fix RDF for Firefox 17 2012-10-29 19:31:10 -04:00
Simon Kornblith
52f4bd8f67 Fix processDocuments for Fx 17 2012-10-29 18:02:04 -04:00
Simon Kornblith
7d2c4e6b2d Fix DOMParser for Fx 17, and set minVersion to Fx 15 2012-10-29 18:01:23 -04:00
Simon Kornblith
78dd74f391 Remove corruption check, since it's no longer necessary and likely to be wrong 2012-10-29 17:32:51 -04:00
Dan Stillman
ef7a3f0121 Update locales submodule 2012-10-29 17:15:54 -04:00
Simon Kornblith
d13e7037c3 Fix Zotero.selectItems for Firefox 17 sandboxing changes 2012-10-29 15:52:36 -04:00
Simon Kornblith
66347c2734 Another fixe for https://bugzilla.mozilla.org/show_bug.cgi?id=794602 2012-10-29 15:52:29 -04:00
Simon Kornblith
c6b812f0b1 Fix typo 2012-10-29 15:52:24 -04:00
Simon Kornblith
b41e2368a5 Update for https://bugzilla.mozilla.org/show_bug.cgi?id=794602 2012-10-29 15:52:18 -04:00
Simon Kornblith
a8efc1b874 Fix search translation for Firefox 17 sandboxing changes 2012-10-29 15:51:53 -04:00
aurimasv
e0e4699c3e Fix cleanDOI
Conflicts:
	chrome/content/zotero/xpcom/utilities.js
2012-10-29 15:51:14 -04:00
Dan Stillman
bb7ee9b436 Enable autocomplete for programmingLanguage 2012-10-25 14:40:22 -04:00
Simon Kornblith
bdeff96162 Don't skip base fields that are mapped to a field with the same name 2012-10-03 17:54:21 -04:00
Simon Kornblith
dcfdf27c0b Make item-specific fields override base fields when specified 2012-10-03 14:54:34 -04:00
Dan Stillman
bd75d95da9 Fix "(null)" in Firefox login manager corruption message
(It turns out this also displays if the user clicks Cancel on a master
password prompt, though.)
2012-09-26 21:57:40 -04:00
Simon Kornblith
c70fd9fa39 Merge pull request #166 from aurimasv/attachments
Allow relative file attachment import. Fix some bugs in _parsePath.
2012-09-21 16:51:10 -07:00
Simon Kornblith
df6426af2e Fixes #168, Properly adjust index when skipping empty creators 2012-09-21 19:49:37 -04:00
Simon Kornblith
387e9e4fc0 Merge pull request #169 from aurimasv/connector-proxy
Fix typo in proxy detection.
2012-09-21 16:43:47 -07:00
Dan Stillman
a9cb1e75f5 Switch to master branch of CSL locales 2012-09-19 15:02:47 -04:00
Dan Stillman
dee75dd417 Save translator names as ASCII during repo updates as well
Refs #459, Non-ascii translator names
2012-09-19 04:19:30 -04:00
Dan Stillman
020eaf2d47 Fix translatorID in filename in ZIP build, hopefully
Follow-up from d821778

Refs #459, Non-ascii translator names
2012-09-19 03:37:44 -04:00
Dan Stillman
d821778d24 Use ASCII for translator filenames
Remove diacritics and then use translatorID for anything that still has
extended characters.

Fixes #459, Non-ascii translator names
2012-09-19 02:37:18 -04:00
aurimasv
b700f3ef56 Fix typo in proxy detection. 2012-09-17 01:33:24 -05:00
aurimasv
cffbed31e8 Make protocol decision clearer 2012-09-14 20:09:58 -05:00
aurimasv
b94837d3da Recognize URI protocol based on RFC 3986 specification 2012-09-14 02:21:54 -05:00
aurimasv
d6bd353005 Allow relative file attachment import. Fix some bugs in _parsePath. 2012-09-13 22:51:08 -05:00
Dan Stillman
53449d47a9 Install styles served as application/vnd.citationstyles.style+xml 2012-09-13 14:42:15 -04:00
Simon Kornblith
71db21c605 Fix nonbreaking spaces in citations edited using classic add citation dialog 2012-09-12 14:26:34 -04:00
Dan Stillman
e1159b9838 Update submodules, and point CSL locales to 1.0.1 for now 2012-09-10 16:54:41 -04:00
Simon Kornblith
027ea09457 Merge pull request #161 from aurimasv/itemComplete
Fix bug in item.complete()
2012-09-09 14:44:07 -07:00
Simon Kornblith
4e1f6f63a0 Fix clearing bibliography when all citations have been removed from the document 2012-09-09 17:33:30 -04:00
aurimasv
addfaa75f7 Fix bug in item.complete() 2012-09-03 04:46:36 -05:00
Simon Kornblith
c81c9478d9 Make Zotero Standalone use the browser's user agent string when making requests on its behalf via connectors
In conjunction with a change to the translator, this fixes the issue reported at http://forums.zotero.org/discussion/22409/
2012-08-19 19:06:05 -04:00
Simon Kornblith
9ca142c4f6 Fix a situation under which Zotero could fail to embed item data in a document 2012-08-19 12:39:49 -04:00
Dan Stillman
ade715ff04 Fixes #155, Slow offline syncs
Don't reload all data for failed /login and /updated requests
2012-08-15 06:01:47 -04:00
Dan Stillman
e599a207a1 Some additional debug output for file syncing 2012-08-14 18:30:11 -04:00
Dan Stillman
7dad7bcd5a Require exact 8-character, uppercase item key for quick search 2012-08-08 03:17:14 -04:00
Dan Stillman
f6e7cf83fa Add ability to search for item by key from quick search bar
Matches beginning of key only, and only when search string is >= 2 chars
2012-08-08 01:56:25 -04:00
Simon Kornblith
2b00819253 ie_compat.js -> common_ie.js 2012-08-06 02:04:20 -04:00
Simon Kornblith
c57f512aea Don't save null tags to server 2012-08-05 19:44:34 -04:00
Dan Stillman
bacd25633b Fix error updating types menu after installation of NSF item type 2012-08-02 16:59:28 -04:00
Dan Stillman
1dca17c96b Add autocomplete for 'book' 'series' field 2012-08-02 09:01:59 -04:00
Simon Kornblith
cd6e78899b Fix "Use profile directory" option to use correct app name 2012-08-01 10:52:00 -04:00
Simon Kornblith
3a3efbc430 Drop "0-" before the URL on III proxies before attempting subdomain dropping for connectors 2012-07-30 19:20:44 -04:00
Simon Kornblith
80d98e0bcb Drop "0-" before the URL on III proxies before attempting subdomain dropping 2012-07-30 19:19:22 -04:00
Simon Kornblith
13958bfaba Revert "ZU.xpath tweak for IE"
This reverts commit cb7640a96a.
2012-07-29 19:54:38 -04:00
Simon Kornblith
cb7640a96a ZU.xpath tweak for IE 2012-07-27 18:47:35 -04:00
Simon Kornblith
b266f1414a Always set libraryCatalog for search translators, even when a parent translator is present 2012-07-27 18:27:08 -04:00
Simon Kornblith
70440ee8f9 Don't sanitize input from child web translators before passing it to parent translators 2012-07-23 23:47:58 -04:00
Simon Kornblith
c549166e25 Fix XMLSerializer on older Firefox versions 2012-07-21 21:12:59 -04:00
Simon Kornblith
16f4253c6c Handle cases where Zotero.locale is undefined 2012-07-21 18:33:38 -04:00
Simon Kornblith
b117da88a3 Don't save unsynchable tags 2012-07-21 18:28:36 -04:00
Simon Kornblith
4e015ecbe9 Another attempt at getting tests working for translation via server 2012-07-19 13:18:35 -04:00
Simon Kornblith
afef6bc5a7 Fix or strings in IE 2012-07-18 15:03:52 -04:00
Simon Kornblith
54fd18cce3 Fix for strings in IE 2012-07-18 14:56:37 -04:00
Simon Kornblith
ad4eccc54d Don't error on translation via server 2012-07-17 18:39:23 -04:00
Simon Kornblith
004e6bbd0a Restore CSL locales checkout to 1.0.1 branch (switched to master by ec391d9346) 2012-07-17 14:01:01 -04:00
Simon Kornblith
8bc56fdeb1 Fix typo 2012-07-16 14:44:30 -04:00
Simon Kornblith
d27b0654e8 Fix Zotero.ItemFields.getFieldIDFromTypeAndBase in connector 2012-07-14 16:42:14 -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
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
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
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
d02fe6d9ab Include speed of Fx5DOMWrapper 2012-07-04 18:22:45 -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
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
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
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
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
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
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
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