Commit Graph

594 Commits

Author SHA1 Message Date
Dan Stillman
1c3d1438e4 Fixed regressions:
- Fixed error in attachment saving from r1715
- Fix broken item adding from r1721

Other fixes:

- Dropping a regular item and a note/attachment item onto another item would throw an error (drop onto an item is now disallowed if any regular items in the drag)
- Dragging a top-level note/attachment onto a parent item would toggle the open/close state of the target
2007-09-21 06:55:55 +00:00
Dan Stillman
f20d42728b Fix height of style drop-down in csledit.xul on Windows 2007-09-20 22:32:38 +00:00
Dan Stillman
e18cdcc4a7 Sort child notes alphabetically 2007-09-20 22:18:09 +00:00
Simon Kornblith
54c0fbdd16 closes #773, Multiple add/remove not working 2007-09-20 19:28:11 +00:00
Simon Kornblith
9f90a94731 closes #772, Bibliography items never drop out (which, as far as I can tell, was only happening in old schema CSLs) 2007-09-20 19:14:45 +00:00
Simon Kornblith
934d8ef2b1 - closes #752, JHU library catalog (Dynix) broken
- commits changes to editBibliographyDialog (forgotten in last commit)
2007-09-19 07:15:36 +00:00
Dan Stillman
6afa7fdbff Fixes #768, createHiddenBrowser() doesn't work on Windows using hiddenDOMWindow
Addresses #750, Creating a hidden browser causes a persistent wait cursor

Revert use of hidden window -- found another way to get rid of the wait cursor (by deleting the browser on a timer after importFromDocument())
2007-09-19 07:02:07 +00:00
Simon Kornblith
7fef8f9a3c - update rich text interface to support subscript, superscript, and RTF indents
- cancel button works in edit citation dialog, and has been removed from edit bibliography dialog
2007-09-19 07:01:43 +00:00
Simon Kornblith
9a40d041b3 - closes #536, Hanging indent missing in APA citations in Word
- closes #736, bring Zotero up to date with latest CSL revisions
- allows citing multiple sources in IEEE and Nature styles, collapse citation numbers, and sort citations by citation number
- fixes a bug in the add citation dialog when adding items to the "Multiple Sources" pane, then turning off multiple sources
2007-09-19 05:06:16 +00:00
Dan Stillman
fa698c1622 Fix for updated translators not taking effect until restart 2007-09-18 18:50:06 +00:00
Dan Stillman
d40d1bd075 Add "Show Data Directory" button to Advanced prefpane 2007-09-18 18:10:35 +00:00
Dan Stillman
deeab05a64 Fixes #766, Zotero saves text/html URLs with .pdf extensions as PDFs
Addresses #460, importFromURL fails when importing PDFs from servers that do not properly support HEAD requests

Now inspects supposed PDFs after download and deletes if not actually PDF format

Also:

- Fixed bug when running importFromDocument() on a PDF on Windows that would result in an incomplete or missing (since r1688) attachment item
- importFromDocument() no longer returns an itemID, since it can be partly asynchronous now
- Added rudimentary 'text/html' support for Zotero.MIME.sniffForMIMEType()
2007-09-18 10:34:34 +00:00
Dan Stillman
f749e5272c Add tooltip ("Save to Zotero") to the scrape icon, with the translator used in parentheses (e.g. "Save to Zotero (Library Catalog (Voyager))" to help with user debugging
Also added a few things to help with right-to-left languages:

- chromedir attribute on zotero-pane
- Zotero.dir property containing 'ltr' or 'rtl'
- Zotero.localeJoin(arr, separator=' ') to join an array into a string in the proper locale order
2007-09-17 20:33:23 +00:00
Dan Stillman
4a4577ff5a Use PDF icon for imported (but not linked) PDF attachments (whether file or URL)
Also:

- Item.getAttachmentMimeType() -> getAttachmentMIMEType()
- getAttachmentMIMEType() value is now cached
2007-09-17 06:11:32 +00:00
Dan Stillman
4c4d5310da Fixes #750, Creating a hidden browser causes a persistent wait cursor
- Switched to using the hidden window in createHiddenBrowser(), since that avoids the wait cursor
- Maybe improved browser object/event cleanup a bit, though maybe it was fine before
2007-09-16 22:31:17 +00:00
Dan Stillman
d0f53c52b1 Fixes #753, Adding item to last-used collection doesn't work until Zotero pane has been opened 2007-09-15 20:54:57 +00:00
Simon Kornblith
ba430ac67f - actually fix CrossRef translator (expects req_dat, not pid, for OpenURL 1.0)
- display translation failure if no items scraped during asynchronous translation, can be overridden by calling Zotero.done(true)
- always close scraping window following translation
- closes #742, Import of large RDF file fails. I've found a workaround for the export issue that causes this (actually a bug in Mozilla's RDF engine, which produces invalid XML under certain circumstances). However, old invalid RDF/XML documents still won't import.
2007-09-15 20:37:29 +00:00
Dan Stillman
2f9301e6f2 Fixes #696, dateAdded is null in toArray() before getField() is called 2007-09-15 20:20:56 +00:00
Dan Stillman
9e6d6c5376 Closes #642, Site-specific Quick Copy setting should apply to shortcut key 2007-09-15 19:38:50 +00:00
Dan Stillman
cab00114c0 Fixes #751, Intra-Zotero drag and drop fails if attachment file is missing (Windows) 2007-09-15 06:13:19 +00:00
Dan Stillman
e59a329d89 Fixes #762, Recursive saved search referencing a deleted collection cannot be deleted 2007-09-14 20:41:45 +00:00
Simon Kornblith
7dad885e86 closes #748, better handling of numbered citations 2007-09-14 00:02:19 +00:00
Simon Kornblith
c3e2e83df9 fixes #754, SVN Word plugin not working in 1687
fixes #740, possible CSL et al issues
fixes #757, CSLs without sort-algorithm option fail bibliography creation
fixes #747, fix issues with bookmarks
fixes CrossRef translator to use authentication
addresses #736, bring Zotero up to date with latest CSL revisions (new formatting attributes not yet implemented)
closes #746, edit bibliography support

new Word plug-in still needs compliation and testing on non-Mac platforms and needs to be tested for compatibility with old docs
2007-09-13 21:04:41 +00:00
Dan Stillman
97d810fc22 Closes #654, reports need to export child items independently from parent items
Two options currently only available via about:config, combineChildItems and includeAllChildItems (which really means "Include All Child Items If Only Parent Items Are Selected")

Other changes:

- Moved Zotero.Utilities.cleanString() functionality to ZU.trimInternal() and created a regular trim() too that doesn't consolidate internal whitespace.
- Removed Zotero.getAll(), replaced with Zotero.Collection.getChildItems() and a new onlyTopLevel flag to Zotero.Items.getAll(). Also removed unused Zotero.getAttachments.
- Fixed XML parsing error during report generation when a long URL contained a trailing space
2007-09-12 08:59:34 +00:00
Dan Stillman
dc73c66d96 Allow imports to contain missing attachment files, creating placeholder attachments with proper metadata 2007-09-11 08:58:59 +00:00
Dan Stillman
ad5a93ae85 Update Zotero.Fulltext.getIndexedState() to return UNAVAILABLE instead of UNINDEXED if row in fulltextItems but no page counts 2007-09-02 20:30:01 +00:00
Simon Kornblith
71934d0bf1 - use localized string for citation dialog title
- fix issues editing first citations (thanks Sean)
2007-08-28 21:40:10 +00:00
Simon Kornblith
7d11c87217 remove residual debugging code from previous patch 2007-08-28 18:57:17 +00:00
Simon Kornblith
ac7479aae6 - closes #691, Multiple item citation add/remove bug
- closes #690, Edit citation button/functionality
- closes #730, Rename style names to use "reference list" instead of bibliography
- adds an citation editor, allowing users to modify the citations that they insert
- adds user-editable prefixes and suffixes
- adds "suppress author" functionality

known issues:
- probably won't work right with bookmarks for now
- not tested on Windows or in OOo
2007-08-28 18:48:00 +00:00
Dan Stillman
5c5addceee Zotero.File.copyToUnique() (unused) 2007-08-27 21:01:48 +00:00
Dan Stillman
32cda9a696 Closes #571, keystroke to copy citation (rather than bibliography entry) 2007-08-27 20:58:39 +00:00
Dan Stillman
10cffcd00f Fix setting of firstRun pref 2007-08-27 04:53:15 +00:00
Dan Stillman
30c645536f fulltextItemWords upgrade workaround was being run on every startup (though it wouldn't have any effect subsequent times) 2007-08-27 04:39:21 +00:00
Dan Stillman
973c9d4920 Fix SQL error caused by r1661 2007-08-27 04:33:47 +00:00
Dan Stillman
d9bf81c231 The fulltext index wasn't actually being rebuilt correctly since the addition of the INSERT INTO ... SELECT FROM workaround -- fulltextItems has to be populated after the rebuild of fulltextItemWords 2007-08-27 04:23:28 +00:00
Dan Stillman
8e4625bc41 QSG tab wasn't opening after XPI install -- do it on a timer 2007-08-27 04:17:36 +00:00
Dan Stillman
e8dd1fc73f Display Zotero Quick Start Guide in new tab on first install (using combination of database initialization and firstRun pref as a test) 2007-08-27 02:24:17 +00:00
Dan Stillman
a831653074 Add missing space in Quick Start Guide message
Make Quick Start Guide use CURRENT_TIMESTAMP for date
2007-08-23 04:33:50 +00:00
Dan Stillman
74bc769a1e Addresses #726, Localize remaining hard-coded strings
Adds a couple more strings in about.dtd (zotero.alumni and zotero.about.additionalSoftware)

Adds "Alumni" and "Third-Party Software and Standards" sections

Splits up new Quick Start Guide localized string into several parts (and removes "tell your friends" line).
2007-08-23 04:27:44 +00:00
Dan Stillman
6f2e797c10 Addresses #726, Localize remaining hard-coded strings
Use existing string for "Advanced Search"
2007-08-22 23:33:44 +00:00
Dan Stillman
fe528a4ded Addresses ##726, Localize remaining hard-coded strings
More strings
2007-08-22 23:32:27 +00:00
Dan Stillman
c48807bf6e Addresses #726, Localize remaining hard-coded strings
Added all strings identified in BZ forum post
2007-08-22 16:30:43 +00:00
Dan Stillman
ee92e3603c Fixes #727, Dragging linked file out of Zotero copies entire parent directory 2007-08-22 15:25:30 +00:00
Dan Stillman
43c3618a5c Fix for Date Added and Date Modified being identical--and both being UTC--in reports 2007-08-22 08:15:05 +00:00
Dan Stillman
c25dc1e8ec Fix inability to right-click a metadata field (to access text transform options) on Windows 2007-08-22 07:56:43 +00:00
Simon Kornblith
65ff7e6c3f remove a line of debug code 2007-08-21 22:08:13 +00:00
Simon Kornblith
01c408695e integration fixes:
- fixes maximum length issue
- fixes empty field issue
- fixes issues with deleted items
2007-08-21 22:07:02 +00:00
Dan Stillman
b9793ac765 Add pref browserContentContextMenu to disable Zotero context menu items in the browser content area -- will make non-hidden after the string freeze 2007-08-21 08:50:44 +00:00
Dan Stillman
dd3acad06b Add pref launchNonNativeFiles to launch PDF and other non-native files rather than displaying in-browser 2007-08-21 08:33:17 +00:00
Dan Stillman
68d880173d Changing "EndNote" line in prefs to "RIS/Refer", per ResearchSoft's request
Removed non-English strings
2007-08-21 08:21:03 +00:00