Commit graph

4979 commits

Author SHA1 Message Date
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
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
Simon Kornblith
5f0f86fab9 Merge pull request #211 from aurimasv/isbn
Fixes to cleanISBN and translator code
2012-12-11 21:29:49 -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
Simon Kornblith
92e2ed45fd Merge pull request #207 from aurimasv/SA-savePage
[Standalone] Pass url to detect function from savePages
2012-12-01 08:46:12 -08: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
Simon Kornblith
5f66482537 Ensure arrays exist in ZU.itemToExportFormat() 2012-11-25 16:04:20 -05:00
Dan Stillman
3403bedc8e Update translators and repotime 2012-11-22 23:28:25 -05:00
Dan Stillman
939719866f Fixes #199, Don't lowercase snapshot filenames
@aurimasv, let me know if this looks OK to you
2012-11-22 22:51:10 -05:00
Simon Kornblith
a57dd18afa Use cookieSandbox when saving snapshots 2012-11-22 16:59:13 -05:00
Simon Kornblith
520309bfa4 Fix typo 2012-11-22 16:59:13 -05:00
Dan Stillman
36c5b57449 Update versions 2012-11-22 16:40:23 -05:00
Simon Kornblith
673962e999 Log errors thrown by calls to Zotero.Attachments 2012-11-22 16:38:03 -05:00
Simon Kornblith
11d9c1df04 Fix issue reported by Aurimas at http://forums.zotero.org/discussion/25058/?Focus=140039#Comment_140039 (broken by https://bugzilla.mozilla.org/show_bug.cgi?id=761620) 2012-11-22 16:35:18 -05:00
Simon Kornblith
09e036e6fa Fix XMLSerializer from translators 2012-11-22 14:10:53 -05:00
Dan Stillman
02aca0660a Merge pull request #194 from aurimasv/shortenFN
Shorten long file names. Closes #8
2012-11-22 10:14:24 -08:00
Dan Stillman
9665e67042 Fix reports for notes with " " displaying as HTML markup
Reports are now always served as text/html
2012-11-21 19:42:47 -05:00
Dan Stillman
a56422be2c Fix for HTML markup showing up in reports (since 21bf3000) 2012-11-21 11:56:29 -05:00
Dan Stillman
1208aea99b Fix double-click on attachments/notes when viewOnDoubleClick is false 2012-11-20 05:34:38 -05:00
Dan Stillman
a0f0d52995 Fix infinite spinning on login error in 3.0.9 (from ade715ff0) 2012-11-19 00:23:16 -05:00
Dan Stillman
4eb2fae0b3 Potential optimization for itemTags lookup 2012-11-18 23:36:22 -05:00
Dan Stillman
fbbfe93ce5 Update styles 2012-11-18 23:29:58 -05:00
Dan Stillman
4662c5054c Update submodules and repotime 2012-11-18 23:27:04 -05:00
Dan Stillman
711e180f8f Update version 2012-11-18 23:25:58 -05:00
Simon Kornblith
a67cd6afca Update to citeproc-js 1.0.409 2012-11-18 23:24:30 -05:00
Dan Stillman
21c0408800 Resend tags requested by server to fix tag issue for some libraries 2012-11-18 22:39:08 -05:00
Dan Stillman
beb74a4504 Version update 2012-11-17 06:36:33 -05:00
Dan Stillman
231bc38c43 Fix invalid local Date Modified updates in some sync situations
(This isn't new in 3.0.9.)
2012-11-17 06:29:40 -05:00
Dan Stillman
f3bfe8be7f Merge pull request #198 from aurimasv/cslMappings
Fix typo
2012-11-16 00:35:54 -08:00
aurimasv
0a6a8dee6d Fix typo 2012-11-16 02:33:09 -06:00
Dan Stillman
f746289299 Update translators and repotime 2012-11-16 02:12:50 -05:00
Dan Stillman
b77a87e4ca Update "Edit" string in zh-CN locale 2012-11-15 23:13:13 -05:00
Simon Kornblith
a0243a24d9 Fix QuickFormat sizing 2012-11-15 16:06:38 -05:00
Dan Stillman
d0feaa49cf Update bundled styles 2012-11-15 15:46:21 -05:00
Dan Stillman
31f14a6d14 Update translators and repotime 2012-11-15 15:45:22 -05:00