Commit Graph

1276 Commits

Author SHA1 Message Date
Dan Stillman
4ab9ee060d Closes #756, add "parent item" info for child notes from letters and interviews
Also:

- Adds two modes to toArray() for including letter/interview titles
- Adds mode to getDisplayTitle() for including author and date
2007-10-18 18:26:59 +00:00
Dan Stillman
8af08366e8 Fix errors in locales.xml files 2007-10-18 05:14:02 +00:00
Dan Stillman
c84894420f Addresses #599, Update locales for 1.0 final
Adds new locales and adds translator names (or usernames) to About Zotero pane
2007-10-18 04:58:25 +00:00
Dan Stillman
d72390ed00 Blacklist global.dtd syntax error on Windows, since it seems to be erroneous
Add zotero-pane chromedir to overlay.js::onLoad()
2007-10-17 18:29:56 +00:00
Simon Kornblith
bf39775f56 - fix a showstopper error in restoring Word plug-in session
- fix an error when using position="substitute"
- Endnotes/Footnotes indicator should be enabled when a note style is selected
2007-10-13 00:21:10 +00:00
Dan Stillman
cdaaf1ef54 Fixes #759, RIS import creates unlinked webpage items outside of parent
Also:

- Made linkFromURL() always return the attachment itemID, performing a HEAD request asynchronously to get the MIME type if necessary
- Removed test for linkFromURL() return value in Translate::_itemDone(), which was incorrect anyway
- Removed a couple unused return assignments from linkFromURL() in _itemDone()
2007-10-12 18:22:02 +00:00
Dan Stillman
cb0e7c16d2 - Add extensions.zotero.debug time pref (default off) that displays the time delta in milliseconds from the last debug statement
- Fix JS strict warning
2007-10-12 15:38:49 +00:00
Dan Stillman
8997c86e41 Fixes #780, Quicksearch lost after dragging item to collection 2007-10-11 07:43:51 +00:00
Dan Stillman
03494d7405 Addresses #756, add "parent item" info for child notes from letters and interviews
- Displays placeholder title in square braces for letters and interviews without titles
- Ignores square braces and quotation marks when sorting fields
2007-10-11 05:32:33 +00:00
Dan Stillman
bef4ff4db9 - Update data access Notifier trigger() calls to better pass pre-change data -- data is now put into an object keyed by itemID containing sub-objects with an 'old' property containing the pre-change toArray() array
- Zotero.Item.prototype.id and Zotero.Collection.prototype.id can now be used instead of getID()
2007-10-10 21:38:14 +00:00
Dan Stillman
235144fa34 Addresses #777, Add translator rebuild button to Advanced prefs pane
Table wasn't being properly updated until restart
2007-10-09 22:25:20 +00:00
Dan Stillman
1c4e03588a Closes #777, Add translator rebuild button to Advanced prefs pane 2007-10-09 19:57:36 +00:00
Dan Stillman
bc9097944e - Use note title for popup note window title
- Only allow a note to be opened once -- opening one that's already opened just brings note to front
2007-10-05 17:59:48 +00:00
Dan Stillman
92562ab412 Fix SQL error during export (regression) 2007-10-04 01:57:48 +00:00
Dan Stillman
a94f14870a Remove SQL date part from multipart dates in translate.js -- this prevents date from appearing twice in RIS and other output formats 2007-10-02 00:50:38 +00:00
Simon Kornblith
6cffa75cd0 - closes #539, Support URL bar saving when opening supported import format directly
- Zotero.Translate error messages are now prefixed with "Translate: "
2007-09-26 21:51:31 +00:00
Simon Kornblith
0c3ea37bee closes #776, make revised Word plug-in operate under OpenOffice again
closes #703, automate Word/OOo plug-in build process

- fixes a bug in OpenOffice when an item is removed from the Zotero Database
- fixes a bug in citing items with no title
- fixes an error in the APA style
2007-09-26 11:05:23 +00:00
Dan Stillman
910518bb4a Make "[schema] version is newer than SQL file" message more visible 2007-09-25 02:27:58 +00:00
Dan Stillman
f78014ab2a Fixes #769, Pages "is less than" in Advanced Search appears to never return results
Addresses #775, Convert integers stored in DB as strings to integers

The Pages bug was actually a big broader and more complex. We were accidentally storing all values--including integer values--as strings, so the less-than operator didn't work on them (and the greater-than operator was matching most values, since "1"<"A").

Fixed by storing integers (up to 64-bits) not beginning with 0 as integers, casting numeric strings to integers for < and > comparisons, and using 'LIKE' instead of '=' for comparison of numeric search values for the "is"/"isNot" conditions. In 1.5, we'll handle #775.
2007-09-24 06:52:52 +00:00
Dan Stillman
0362c91383 Add lines to the error reporting wizard that 1) the error log may contain messages unrelated to Zotero and 2) the user should see the Known Issues page and the forums for further assistance 2007-09-21 09:03:37 +00:00
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
ca8489e717 add superscript and subscript icons 2007-09-19 07:16:27 +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
Dan Stillman
7440f09d3c Change "Automatically check for updated scrapers" to "Automatically check for updated translators" (and clear non-English strings) 2007-08-29 14:42:29 +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
485e47ed35 fix extra space on the right side of bold/italic/underline buttons 2007-08-28 19:45:33 +00:00