Commit graph

3757 commits

Author SHA1 Message Date
aurimasv
7e808b9997 Tweaks to WebDAV preferences 2013-01-27 01:40:02 -06: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
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
99e7235fe1 Fix source files to be UTF-8 2013-01-21 02:10:02 -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
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
aurimasv
13c3e5427e Eliminate race condition during processDocuments call with multiple URLs 2013-01-18 15:02:46 -06: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
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
Dan Stillman
7a8e06cac2 Context-menu item delete from library root didn't show a prompt 2013-01-05 16:35:33 -05:00
Dan Stillman
d42b741756 Add lowercase 'j' to randomString() (not used for keys) 2013-01-04 14:55:28 -05:00
Dan Stillman
beaaf8fc6b Accept two missing letters in object keys (but don't use them yet)
Also:

- 'T' doesn't come after 'X' (but does probably appear disproportionally
  in existing object keys)

This commit has been brought to you by the letters 'L' and 'Y'.
2013-01-04 13:00:26 -05:00
Simon Kornblith
5e6c90d873 Merge pull request #221 from aurimasv/misc
Misc changes
2013-01-01 19:05:46 -08:00
aurimasv
6c2b8e1688 Minor documentation update 2013-01-01 21:03:32 -06:00
aurimasv
ea6a1098a6 [recognizePDF] Restructure file 2012-12-22 10:51:12 -06:00
aurimasv
74c9967b95 Tweak recognizePDF to avoid false positives: only count lines with more than 3 words (since we drop first and last later) as cleaned lines, increase number of pages read and number of lines away from median length as good lines (due to more stringent selection criteria), do not attempt to query google with a short query if we run out of lines, try to pick lines for a query that are not next to each other (to avoid finding articles that quote the article we're looking for) 2012-12-21 14:56:08 -06:00
Dan Stillman
11a83e5df3 Don't count as duplicates if DOI/ISBN don't match or year is off by > 1
Fixes #214
2012-12-21 02:10:24 -05:00
Dan Stillman
a3f7f97e02 Fix broken Note/Citation option in "Create Bibiography" 2012-12-20 01:21:36 -05:00
Simon Kornblith
8b37031174 Merge pull request #215 from aurimasv/typo
Fix typo in cookie sandbox.
2012-12-19 20:11:24 -08:00
aurimasv
042e2d7fbc Fix typo in cookie sandbox. i-- moved for clarity. 2012-12-19 21:15:58 -06:00
Simon Kornblith
040fa31887 Fix issue reported at http://forums.zotero.org/discussion/26922/
Since we still use E4X, this is a hack to make sure the span tag has a separate close tag.
2012-12-19 21:01:20 -05:00
Simon Kornblith
87199f6011 Merge pull request #191 from aurimasv/preselect
Allow translators to pre-select items in the "multiple" select item dialog.
2012-12-19 16:50:37 -08:00
Simon Kornblith
75999bcc66 Merge pull request #206 from aurimasv/ads
Use the last version of the page for translation.
2012-12-19 16:48:23 -08:00
aurimasv
b1cc6e260e Load XRegExp into Zotero.XRegExp and Zotero.Utilities.XRegExp and make it accessible from translators. 2012-12-19 06:36:08 -06:00
aurimasv
4b13987c7e Add XRegExp from d06eff50f8/src 2012-12-19 06:33:13 -06:00
Simon Kornblith
55d9d4ba51 Merge pull request #210 from aurimasv/wdp-css
[WebPageDump] Don't crash when @import stylesheets are null
2012-12-11 21:30:29 -08:00
aurimasv
524af03570 Make cleanISBN less aggressive. Should yield fewer false-positives. 2012-12-11 22:55:43 -06:00
aurimasv
4b09137402 Call complete() when no translators are set. Don't fail when a translator returns without throwing an error or completing an item. 2012-12-11 22:55:43 -06:00
aurimasv
07bcccd92e [WebPageDump] Don't crash when @import stylesheets are null (caused by adblock) 2012-12-10 20:07:56 -06:00
Simon Kornblith
435b1d7bd8 Merge pull request #208 from aurimasv/PDF-doiScan
[PDF metadata retrieval] Fix broken DOI scanning
2012-12-01 17:08:38 -08:00
aurimasv
ab564ed7ca [PDF metadata retrieval] Fix broken DOI scanning 2012-12-01 18:33:35 -06:00
aurimasv
7bf31afa8c Pass url to detect function 2012-12-01 01:38:49 -06:00
aurimasv
5a4b280dad Use the last version of the page for translation. 2012-11-27 16:33:49 -06:00
Simon Kornblith
2e4a218575 Fix cross-domain wrapping under most circumstances.
Cross-domain wrapping was previously broken when a page loaded a page from a different SOP, which then loaded another page. Thanks to @aurimasv for debugging this. It's still broken if one page sets document.domain and another does not, since we should wrap in this case but we won't.

Fixes #202
2012-11-25 16:26:09 -05:00
aurimasv
63f1dd163d Make varDump more resilient to property access errors 2012-11-25 16:22:46 -05:00