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
45e28cf769
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/recognizePDF.js
chrome/content/zotero/xpcom/cite.js
2012-12-19 23:16:56 -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
69ce6b7d1a
Fix issue reported at http://forums.zotero.org/discussion/26922/
...
In HTML, <span/> counts as <span>, not as <span></span>. We now use the HTML parser and
serializer rather than the XML serializer to create empty span tags.
Separate fix coming for 3.0 branch
2012-12-19 20:54:09 -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
Dan Stillman
4c58f248d1
Fix getTotalFileSize() error for file sync downloads
...
Also fix 'undefined' in error panel for some errors
2012-12-11 16:46:54 -05:00
Dan Stillman
bb93f019dc
File sync overhaul
...
- New promise-based architecture
- Library-specific file sync queues, allowing other libraries to
continue if there's an error in one library
- Library-specific sync errors, with error icons next to each library
- Changed file uploading in on-demand download mode, which had been missing
- On-demand download progress indicator in middle pane
- More accurate progress indicator
- Various tweaks and bug fixes
- Various future tweaks and bug fixes
2012-12-11 15:16:40 -05:00
Dan Stillman
4c8431ca7d
Generalize Zotero.HTTP.promise() for other methods
...
Also make success codes configurable with an options parameter
2012-12-11 03:35:08 -05:00
Dan Stillman
2e81f087b9
Fix WebDAV URL error message
2012-12-11 03:30:48 -05:00
Dan Stillman
1a0735b381
Disable debug output on drag over tag
2012-12-11 03:30:48 -05:00
Dan Stillman
0e3d68bdd9
Fix debug output password hiding for HTTP.promise(), and add 'debug' option
...
'debug' option shows response text
The status code is also now displayed for 20x even without 'debug'.
2012-12-10 22:07:06 -05: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
711b75ee66
Fix exceptions in integration.js
2012-12-06 21:23:13 -05:00
Simon Kornblith
b63886d37d
Only use mappings if mapping target exists
2012-12-06 21:22:56 -05:00
Dan Stillman
73dd60f2c1
Automatic style updating for all installed styles
2012-12-06 21:05:50 -05: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
Simon Kornblith
428ddbab36
Fix handling of overrides and remove debug code
...
Addresses #202
2012-11-25 16:19:11 -05:00
Simon Kornblith
b1a70bff3d
Merge branch '3.0'
2012-11-25 16:04:39 -05:00
Simon Kornblith
5f66482537
Ensure arrays exist in ZU.itemToExportFormat()
2012-11-25 16:04:20 -05:00
Dan Stillman
4caae896cf
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/attachments.js
chrome/content/zotero/xpcom/translation/translate_item.js
install.rdf
update.rdf
2012-11-23 01:49:32 -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
ac195d2a5e
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/integration/quickFormat.js
chrome/content/zotero/xpcom/attachments.js
chrome/content/zotero/xpcom/utilities.js
install.rdf
styles
update.rdf
2012-11-20 03:22:49 -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
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
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
aurimasv
0a6a8dee6d
Fix typo
2012-11-16 02:33:09 -06: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
adam3smith
f6e4e5f938
add field mappings corresponding to CSL 1.0.1 release
2012-11-15 15:13:25 -05:00
Simon Kornblith
12ff659e9f
Workaround for minimum Firefox window height of 60 px
2012-11-14 02:17:41 -05:00
aurimasv
fe04d60981
Shorten long file names. Closes #8
2012-11-13 23:09:17 -06:00
Dan Stillman
e6b4dde472
Debugging for non-PDF PDF download
2012-11-13 05:09:09 -05:00
Dan Stillman
ae39584c68
Notes deleted via "-" button didn't go to trash
2012-11-12 20:25:46 -05:00
Dan Stillman
5586b409e9
Merge pull request #196 from aurimasv/fixRelLink
...
Remove 'about:blank?' from all links
2012-11-12 15:03:56 -08:00
aurimasv
98688c24e5
Remove 'about:blank?' from all links
2012-11-12 16:47:18 -06:00
Simon Kornblith
585e5981f6
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/storage/webdav.js
chrome/content/zotero/xpcom/storage/zfs.js
2012-11-12 16:04:39 -05:00
Simon Kornblith
c7e811198f
Include disabled extensions, but note that they are disabled and sort them to the end
2012-11-12 15:39:40 -05:00
Simon Kornblith
89361851c0
Don't list disabled extensions in error reports
2012-11-12 15:26:38 -05:00
aurimasv
b9cc4496b9
Fix translator tester
2012-11-12 11:43:51 -06:00
aurimasv
9c92f50fab
Avoid potential exceptions
2012-11-12 11:12:39 -06:00
Simon Kornblith
49cbb23034
Merge pull request #190 from aurimasv/isbn-util
...
Add cleanISBN to utility functions
2012-11-12 05:52:18 -08:00
Simon Kornblith
829edbdffc
Import Services.jsm
...
Fixes #192 , DOI lookup is broken on 3.0 branch
2012-11-12 08:48:26 -05:00
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
d64379290c
Improve handling of corrupt translator data, and add support for III proxies
2012-11-11 17:59:41 -05:00
Simon Kornblith
bd367dcd85
Merge branch '3.0'
2012-11-11 17:15:30 -05: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
Dan Stillman
61c36b0523
Add ZoteroPaneOpen command line argument to open Zotero automatically
2012-11-10 19:38:22 -05: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
73f775950d
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/cite.js
2012-11-08 09:40:18 -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
Dan Stillman
698e70fb79
Fix Edit menu label in fr-FR locale
2012-11-06 13:09:37 -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
b3237ae5e5
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/http.js
chrome/content/zotero/xpcom/translation/translate_firefox.js
2012-11-06 00:50:11 -05:00
Simon Kornblith
4b80a52106
Use separate hiddenBrowsers for each request in Zotero.HTTP.processDocuments
2012-11-06 00:48:26 -05:00
Dan Stillman
00e30dea71
Merge non-English locales from Transifex
2012-11-05 22:21:13 -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
3a9483070e
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/tinymce/plugins/paste/editor_plugin.js
chrome/content/zotero/xpcom/translation/translate_firefox.js
chrome/content/zotero/zoteroPane.js
install.rdf
update.rdf
2012-11-01 22:14:08 -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
Dan Stillman
2fc4ca59bd
Fix XPI note loading in Fx17 due to navigator.userAgent error
2012-10-30 04:40:12 -04:00
Dan Stillman
d7ce389201
Compatibility updates for TinyMCE 3.5.7
...
3.5.7 seems to init before the DOMContentLoaded we were relying on
previously to add the init function gets called, so instead call a
fixed init function from the HTML that we insert before the load
from chrome.
2012-10-30 04:40:12 -04:00
Dan Stillman
87d90e59d9
Update TinyMCE to 3.5.7
2012-10-30 04:40:12 -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
1bc98edba4
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/translation/translate_firefox.js
install.rdf
update.rdf
2012-10-29 18:04:42 -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
ce355357ae
Remove callback line from merge
2012-10-29 15:55:27 -04:00
Simon Kornblith
1ed47f4823
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/attachments.js
chrome/content/zotero/xpcom/utilities.js
2012-10-29 15:54:44 -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
adam3smith
18be5d396a
add field mappings corresponding to CSL 1.0.1 release
2012-10-21 19:55:23 -06:00
Simon Kornblith
9ea12d5561
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/translation/translate_item.js
2012-10-10 17:25:21 -04:00
Simon Kornblith
d18b6ffcf0
Fix Zotero.selectItems for Firefox 17 sandboxing changes
2012-10-10 15:34:35 -04:00
Simon Kornblith
1dd67fe837
Another fixe for https://bugzilla.mozilla.org/show_bug.cgi?id=794602
2012-10-10 15:33:40 -04:00
Simon Kornblith
f339e08894
Fix typo
2012-10-10 15:31:48 -04:00
Simon Kornblith
4535bb5315
Update for https://bugzilla.mozilla.org/show_bug.cgi?id=794602
2012-10-09 18:29:21 -04:00
Simon Kornblith
1ad5b9fd63
Revert sandboxing changes
2012-10-09 18:29:06 -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
aurimasv
c5061de782
Fix cleanDOI
2012-09-22 18:43:13 -05:00
Dan Stillman
cff1bac7b9
Update CSL locales checkout
2012-09-22 13:45:26 -04:00