Commit Graph

925 Commits

Author SHA1 Message Date
Dan Stillman
9eb58db5a3 Fix tabbing in tags pane (broken by last commit) and make ensureItemIsVisible() work for tags 2006-12-17 23:28:21 +00:00
Simon Kornblith
4ff95b1715 - support testing in frames in Scaffold
- fixed a frame bug in ingester
2006-12-17 23:27:13 +00:00
Dan Stillman
3e399fa5de Fixes #137, When you scroll down in item info, and click another item, the scroll is still down.
Also:

- Ensures that buttons and fields in metadata pane are visible when you tab to them (e.g. off the bottom)
- Returns focus to items pane after updating field (without using tab)
2006-12-17 22:13:36 +00:00
Dan Stillman
fa23389d2c Fixes #422, Scroll to note in items pane when adding note via selection
Fixes this for other item types too (e.g. if title changes)
2006-12-17 21:01:06 +00:00
Dan Stillman
7aef526696 Somewhat better icon for the tag selector 2006-12-17 17:55:48 +00:00
Simon Kornblith
801a6c5dd2 - don't try to scrape JSTOR article information pages
- get rid of some console errors
2006-12-17 12:35:17 +00:00
Simon Kornblith
46607d0f90 support table of contents in JSTOR 2006-12-17 12:25:37 +00:00
Simon Kornblith
f65a62e0da added ACM 2006-12-17 11:53:29 +00:00
Simon Kornblith
b482e75bea fixed InnoPAC translator on University of Washington catalog 2006-12-17 09:54:37 +00:00
Simon Kornblith
db5ba3f2f0 - added Cambridge Scientific Abstracts
- fixed date generation in Scaffold
2006-12-17 09:44:59 +00:00
Simon Kornblith
448faedab5 - added a "copy" feature to Scaffold, which copies a translator to the clipboard
- implemented ability to test regex and run detectCode from within Scaffold. it is now possible to generate an entire translator from within the environment.
- added Factiva translator, which should work, although Factiva just went down for maintenance a few minutes ago
2006-12-17 01:27:42 +00:00
Simon Kornblith
cd557c2537 add IEEE Xplore translator 2006-12-16 21:32:47 +00:00
Simon Kornblith
e1489dfb06 add nature translator 2006-12-16 09:16:48 +00:00
Simon Kornblith
9aa5e53928 when a URL is accessed through an EZProxy, access any associated files through the EZProxy as well (if possible) 2006-12-16 06:12:45 +00:00
Simon Kornblith
df91887d52 oops 2006-12-16 06:08:08 +00:00
Simon Kornblith
cf7e7e3ca6 - adds support for SpringerLink
- fixes a bug in line reading interface when called from another scraper
2006-12-16 06:05:51 +00:00
Simon Kornblith
a5ff752509 -add blackwell synergy translator
-add DOI support to RIS translator
2006-12-16 04:41:08 +00:00
Simon Kornblith
62255639ee - added Ovid translator
- fixed bug with scraping multiple items from within scaffold
2006-12-16 03:29:55 +00:00
Simon Kornblith
17d7b9fe88 - support browse mode in ScienceDirect 2006-12-15 23:52:33 +00:00
Dan Stillman
3988bce5ac Closes #446, either add icons for new item types or implement a function to get the image src for a given item type
Adds Item.getImageSrc() and ItemTypes.getImageSrc(string itemType)
2006-12-15 23:06:36 +00:00
Simon Kornblith
baa21e1a6f - added ScienceDirect translator
- fixed a bug in scaffold involving debug logging
2006-12-15 22:46:27 +00:00
Dan Stillman
c58b8f245d Fix bug introduced in r958 with creating a new saved search 2006-12-15 22:26:37 +00:00
Dan Stillman
edfe4b73be Closes #331, Allow phrase searching from quicksearch
Closes #318, Use word index if available to narrow search scope of fulltext scanner
Closes #420, Delete local version of remote scrapers with priority 0 on update

- Changed ZoteroPane.buildItemContextMenu() to make updates easier
- Changed inTransaction repository update delay to 10 minutes
- Fix fulltext search of text files with MIME types that don't begin with 'text/'
- ZoteroPane.setItemsPaneMessage(msg) and ZoteroPane.clearItemsPaneMessage()
- New textbox binding conditional-timed-textbox to run a test (e.g. on the value) before triggering command
- Fulltext content search now supports ANY/ALL instead of just AND (I think)
2006-12-15 21:29:40 +00:00
Simon Kornblith
875ceea852 closes #449, use library domain in repository field 2006-12-15 20:25:25 +00:00
Simon Kornblith
9192478dd8 addresses #427, add abstract support to translators
adds abstract support to JSTOR and ProQuest translators
adds abstract support to RIS translator
uses dcterms "abstract" property in Zotero RDF for abstract export
2006-12-15 19:47:21 +00:00
Simon Kornblith
1fe4cbac92 adds scaffold, an extension to assist in translator development. scaffold is currently functional, but far from finished. to use, first install (the ID is scaffold@zotero.org), then write a translator in the "Code" tab and press the execute button. scaffold will execute the code in the last selected browser window, reporting any debug output or new items in the pane below. if an error occurs, the line at which the error took place is selected. besides that, the only other functionality implemented is the GUID generator. 2006-12-15 11:32:29 +00:00
Simon Kornblith
3982e1aabf - changed Zotero.Utilities.debug() to Zotero.debug(), for consistency and for the upcoming in-browser translator development tool
- various other preparations
2006-12-15 08:54:31 +00:00
Simon Kornblith
91492910ad addresses #427, Add abstract support to translators.
-translators may now attach abstracts simply by assigning a value to item.abstractNote
-added abstract support to PubMed translator
2006-12-14 22:58:00 +00:00
Simon Kornblith
148ddfaa45 -closes #301, COinS bugs/enhancements. adds support for patents in COinS. we still can't make much use of this, since no patent icon will show up in the URL bar until we resolve #446.
-adds strToISO, to convert a natural language date to an ISO-style date
2006-12-14 22:06:48 +00:00
Simon Kornblith
5127801160 - closes #434, remove SOAP dependency on Windows
- fixes a bug that could result in truncation of the bibliography by two characters
2006-12-14 20:57:50 +00:00
Simon Kornblith
e705bc21e5 closes #389, Date.strToDate() should return available parts even if no year 2006-12-13 07:13:35 +00:00
Simon Kornblith
31535b6d1d oops, need to commit this too. 2006-12-13 05:57:02 +00:00
Simon Kornblith
0bdbfb12ee closes #432, Add hidden pref to enable clipboard export on Mac. The pref is extensions.zotero.enableMacClipboard
closes #312, Optional subdomains should be optional in scraper regular expressions.
2006-12-13 05:56:16 +00:00
Simon Kornblith
c6d4cdd57b - closes #391, Second export to same location with attached files fails
- removes extraneous debug code from Zotero RDF export
2006-12-13 05:23:39 +00:00
Simon Kornblith
857f0a907c closes #369, scrapers should store Repository field. the label is automatically used as the repository field, unless a translator explicitly sets the item's repository property to a value. if a translator sets the item's repository property to "false," no value is stored. 2006-12-13 05:05:03 +00:00
Simon Kornblith
6c2c33fc6d - closes #391, second export to same location with attached files fails (I think)
- improves RDF error handling
2006-12-13 03:37:58 +00:00
Simon Kornblith
986fea0b03 -closes #365, update import/export/bibliography to handle new item types. any fields I couldn't find in an existing RDF ontology use the Zotero namespace. we still have to decide if primary creators should be mapped to "author" in the RDF, and translated back out later (currently they aren't).
-adds Zotero.Utilities.getCreatorsForType to Zotero utilities
-makes CiteBase search translator error more gracefully
2006-12-13 03:18:57 +00:00
Simon Kornblith
2e05aacd8e use the correct names for imported URLs 2006-12-12 20:38:03 +00:00
Dan Stillman
2dc7a29af0 Closes #436, ability to force title when using Zotero.Attachments.importFromURL() 2006-12-12 20:06:13 +00:00
Simon Kornblith
bedd302bb3 addresses #365, update import/export/bibliography to handle new item types
Dan S's recommendations for handling the bibliography are now implemented. "article" is the default type mapping, and we use Zotero.CreatorTypes.getPrimaryIDForType to determine which type to treat as the author.
2006-12-12 19:53:26 +00:00
Simon Kornblith
6e84f20de3 closes #428, line endings missing in imported RIS notes 2006-12-12 17:05:29 +00:00
Simon Kornblith
c5ec016ed9 - closes #327, scrapers should either take snapshots or use URL field
- closes #351, scrapers with PDF downloads should use downloadAssociatedFiles instead of automaticSnapshots

there are some problems with snapshot titles. see bug #436.
2006-12-12 00:28:49 +00:00
Simon Kornblith
0c2ee5d449 closes #406, Incorrect "et al" handling for APA style 2006-12-11 20:59:40 +00:00
Simon Kornblith
6c80c879da - closes #407, error in EBSCOhost translator
- closes #430, Amazon translator causing utilities.js to throw exception
- officially deprecated Zotero.Utilities.getNodeString() (use doc.evaluate and nodeValue or textContent instead, or access attributes directly; these options take the nearly the same amount of code, should be faster, and don't unnecessarily bloat our utilities)
- updated word integration to the latest version
2006-12-11 20:54:22 +00:00
Simon Kornblith
654f9c205d attempt to be better about preserving EZProxy URL. unfortunately, this won't fix everything, since if the domain of the saved URL is different from the domain of the accessed URL, there is no way to map the proxy. as far as I know, this only happens with JSTOR (where the stable URL domain is links.jstor.org instead of jstor.org). 2006-12-11 16:12:12 +00:00
Dan Stillman
a9cb13710c Fix error changing item type when fields don't exist in new type 2006-12-11 01:49:49 +00:00
Dan Stillman
58466ef656 BibTeX patch from Patrick Wagstrom on dev list
His note:

1. adds the conference paper item type (currently only exported to BibTeX as inproceedings)
2. Fixes bug with editor names in BibTeX export
3. Provides more intelligent naming for entities in BibTeX exports.  Previously items would be named something like Wagstrom2006, Wagstrom2006-1, etc.  However, I noticed that this ordering could get changed around pretty easily in the export process, resulting in bad references in articles.  We can't really be having that now can we?  The keys are now take the first word of the title, stripping out a few common words.  For example, If I had a paper called "Zoteros impact on time to author scholarly papers", it would have a key of "wagstrom_zotero_2006", which is much more constant. 


There was still an editor field bug after Patrick's patch that I corrected, and author and editor fields seem to be handled properly now.


Also addresses #384, option to prevent escaping of curly brackets in BibTeX output

I believe this patch actually now prevents escaping of curly braces by default, however (according to Simon) it should still be based on a pref or option of some kind
2006-12-09 23:09:14 +00:00
Dan Stillman
77b631f04e Closes #299, Method for viewing a child item that shows up in a search in its hierarchical context
Right-click option "Show in Library" for items in collections and saved searches

Other changes:

- Fixed error when focusing a collection with no items
- selectItem() now takes an inLibrary option to always use the Library even if the item is in the current collection
- Reworked buildCollectionContextMenu() to be much easier to change (will do the same for buildItemContextMenu() eventually) -- this required moving some DTD strings to properties, which I only did for en-US now, but I'll do it for the other locales we have as well
2006-12-09 22:33:45 +00:00
Dan Stillman
5ad86d2f50 Add conference paper item type 2006-12-09 17:29:00 +00:00
Dan Stillman
fe92dd2cf0 Addresses #401, Add keyboard shortcuts
Improves tabbing between UI panes, including into metadata fields

Still some quirks and things that don't work but should (e.g. ctrl-tab to cycle through tabs in metadata pane and ability to add new creators via the keyboard), but better
2006-12-09 02:46:25 +00:00