Commit Graph

1260 Commits

Author SHA1 Message Date
Dan Stillman
2f94234a36 Fix error adding items from library to collection (introduced since b3) 2007-01-22 21:37:16 +00:00
Dan Stillman
ef53fb9b67 Don't show "Remove selected item" for child items in collections
Only show basic options in (disabled) no-selection item drop-drown
2007-01-22 02:05:41 +00:00
Dan Stillman
b8fba0335d - Make "Save Link As Zotero Snapshot" save attachment to selected collection
- Fix hourglass cursor on importFromURL (happened with "Save Link As Z Snapshot")
2007-01-21 22:56:46 +00:00
Dan Stillman
61dba96bf8 RIS update from Sean (pushed to repo) (ignore some extra whitespace differences) 2007-01-20 00:21:58 +00:00
Dan Stillman
1112fcf1ff Google Scholar fix from Sean (posted to repo) 2007-01-18 22:58:36 +00:00
Dan Stillman
f7df89ad07 Update credits pane 2007-01-18 07:50:09 +00:00
Dan Stillman
0203bae163 Fixes #506, Right-click to create new collection not functioning 2007-01-17 21:54:10 +00:00
Dan Stillman
ebe4ec7446 Fixes #475, Quicksearch doesn't find child items in collections or saved searches
It ain't pretty, but (I think) it works.

Also:

- Fulltext content search should handle ANY/ALL modes better, but that needs some more testing.
- Tag selector now properly takes fulltext content search conditions into account when filtering to scope.
- Added Zotero.Search.hasPostSearchFilter(), since getSQL() isn't sufficient with post-search filters.
2007-01-17 11:51:11 +00:00
Dan Stillman
6e646b0455 Toggling the tag selector with the keyboard shortcut throws an error 2007-01-13 00:31:34 +00:00
Dan Stillman
2c1c8636e2 Fix two problems that occur when the tag selector is closed:
- Items removed from collections remain in the center pane
- Adding an item while a collection is selected causes the Library to become selected
2007-01-13 00:21:51 +00:00
Dan Stillman
cfb297dfeb Updated arXiv.org translator pushed to repo 2007-01-12 20:01:34 +00:00
Sean Takats
403d7602e7 New arXiv.org translator retrieves metadata from OAI-PMH service 2007-01-12 19:17:15 +00:00
Dan Stillman
a443348a63 Fixes #490, Presentation item type is missing the date field 2007-01-12 09:05:06 +00:00
Dan Stillman
7a0a6f75a2 Fixes #496, Snapshot doesn't complete on some web pages
I'm not entirely sure this won't break attachment saving in other cases, so people should keep an eye out for failed snapshots.
2007-01-12 08:40:09 +00:00
Dan Stillman
28a6b5f7cb Closes #494, Remember "Rename associated file" setting
Also:

- Clicking OK on rename dialog with "Rename associated file" checked but without changing the filename would delete the original file.
- Add "Show File" button for snapshots
2007-01-12 07:18:53 +00:00
Dan Stillman
9c666cef3a Typo in searchInProgress string 2007-01-12 02:56:52 +00:00
Dan Stillman
a1b351ed20 Pushed fixed RIS translator to repo
Refs #495
2007-01-12 00:34:06 +00:00
Simon Kornblith
6f6cec3300 closes #495, RIS export failing (feel free to push this out to the repository)
removes unnecessary debug code from browser.js
2007-01-12 00:19:22 +00:00
Dan Stillman
417397c59f Fix for error when dragging an attachment that's the last item in a folder into another item 2007-01-11 20:41:35 +00:00
Dan Stillman
3bc1a28ce4 Fixes #489, Missing separator between child notes in reports 2007-01-10 23:55:50 +00:00
Dan Stillman
ee9cf59e26 Improve attachment saving with regard to filenames
- Added a wrapper around nsIMIMEService.getPrimaryExtension() that works a bit more sanely (doesn't throw an error on failure, enforce a couple hard-coded extensions (PDF and HTML) even on Linux (where the MIME service one isn't implemented))
- Use the extension we got back from our improved getPrimaryExtension(), even if the filename already had one
- If no filename, use last part of path before restorting to hostname
2007-01-10 21:42:30 +00:00
Dan Stillman
6fbebfae28 Fix error if file has no MIME type in indexFile() (fixes startup error reported in forums) 2007-01-10 11:03:00 +00:00
Dan Stillman
dd4ab35dc4 Pushed fixed ISI Web of Knowledge translator to repo 2007-01-10 05:03:14 +00:00
Simon Kornblith
c37aea8165 oops; update timestamps 2007-01-10 00:19:07 +00:00
Simon Kornblith
9d39f73947 - fixes issues with the ISI Web of Knowledge translator. in the process of testing, I realized that, when searching the Web of Knowledge for common words (e.g., "quark"), the Web of Knowledge does not return a meaningful set of results. neither the "Web of Science" links, nor the export feature (through Zotero or the web interface) work at all. perhaps this is something to contact ISI about?
- fixes miscellaneous issues with frames (not relevant to b3)
2007-01-10 00:17:52 +00:00
Dan Stillman
c33cc7d0c9 Not sure how this bug made it this far, but don't return empty values in Items.get() when passed an array including nonexistent itemIDs 2007-01-09 05:49:31 +00:00
Simon Kornblith
97665e4060 closes #492, i think
unfortunately, EBSCO exports still aren't working for me, but it doesn't seem to be Zotero's fault; i'm just not getting any RIS output to begin with. i'll give this another glance later today.
2007-01-08 17:38:02 +00:00
Dan Stillman
fceb21f629 Get rid of my local test.js changes (committed by accident) 2007-01-08 09:36:17 +00:00
Dan Stillman
62f273e034 Merge r1047 through r1063 back to branch 2007-01-08 09:33:36 +00:00
Dan Stillman
1bfa4425bd Merge r1036, r1037, r1039, r1040, r1041, r1042 back to the branch 2007-01-05 08:17:01 +00:00
Dan Stillman
80354effc6 Don't break Zotero upgrades completely 2007-01-05 07:45:42 +00:00
Dan Stillman
87e6d3ab0b Localizations from Babelzilla, merged with new English strings for Beta 3 2007-01-05 07:37:09 +00:00
Dan Stillman
e5bb27311d Fix tag selector display after localstore.rdf has been cleared 2007-01-03 11:33:52 +00:00
Dan Stillman
cf603a4b6c Fix default sort order 2007-01-03 11:24:10 +00:00
Dan Stillman
55244b5cf7 Closes #418, Context menu option to rename attached files
New methods, Item.renameAttachmentFile(newName, force) -- _force_ forces overwrite of an existing file

For the moment, implemented in the UI via a checkbox in the attachment title rename dialog (accessible by clicking on the title in the right pane) to rename the associated file as well -- this might be replaced by the upcoming keep-filenames-in-sync-with-attachment-titles feature, but it's probably fine for Beta 3.

Also new:

- Zotero.Attachments.getPath(file, linkMode) to get a relative or persistent path as appropriate given the link mode
2007-01-03 11:16:36 +00:00
Dan Stillman
b9f036e5f1 Fix various things I broke (empty collections, auto-selection of new items, editing of inline attachment notes) 2007-01-03 07:45:32 +00:00
Dan Stillman
1b675ecc7e Fixes #447, Disable tags and related on abstracts
New methods:

Item.removeAllRelated()
Item.removeAllTags()

Also:

- Tag selector didn't initialize properly if it was closed when Firefox was started
- Items pane would lose open state of items and current scroll position when an item was edited while the tag selector was open -- added save/rememberOpenState() and save/rememberFirstRow() to fix this, and these could also fairly easily be used to remember the open state while switching between collections
2007-01-03 06:54:41 +00:00
Simon Kornblith
be2abdf397 provide DB infrastructure for resizing annotations; this will delete any existing annotations 2007-01-03 04:48:18 +00:00
Simon Kornblith
70d06e02f2 closes #440, In-page highlighting of snapshots
closes #441, In-page annotations of snapshots

testers: please check pages containing both annotations and highlights to make sure everything works correctly
2007-01-03 02:21:26 +00:00
Dan Stillman
09920275ac Closes #424, "Create Zotero Note from Selection" should create a webpage item automatically
Also make "Add Selection to Zotero Note" note not add two newlines before the text if the note is empty
2007-01-03 01:41:28 +00:00
Dan Stillman
0db91db680 Closes #398, add option to have a smaller Zotero logo or just a "Z" in the status bar
And removed some old images
2007-01-03 01:14:30 +00:00
Dan Stillman
8218ef7ec4 Don't throw an error (accessing the document domain propety) when loading a Zotero report 2007-01-02 22:15:41 +00:00
Dan Stillman
8710875fdb Fix itemTreeView.rememberSelection() to find children of unopened parents as well as top-level items
This makes the quicksearch considerably more useful, as you can search for a child item in the library, select it, and then clear the search to view the item in context. (Works for multiple items as well, even of different parents.)
2007-01-02 13:15:31 +00:00
Dan Stillman
0abda111a6 Addresses #394, Add generic item types
Add Document item type.  Just the type -- no magical properties for now.

Fields: title, publisher, date, and the globals (callNumber, archiveLocation, repository, rights, url, accessDate, extra). 
Creator types: author, contributor, editor, translator, reviewedAuthor (should these all be here?)
2007-01-02 12:19:00 +00:00
Dan Stillman
0f818079bd Closes #437, ability to get sorted contents of selected collection/saved search
ZoteroPane.getSortedItems() -- return array of item ids of visible items in current sort order
2007-01-02 11:46:17 +00:00
Dan Stillman
aec015c039 Dramatically speed up items pane sorting (~65% reduction in sort time on a test library of 195 items)
(Moved redundant string manipulation out of the sort() callback. I put it there by mistake in r831 when namespacing all the XUL ids right before b2.r2.)
2007-01-02 11:28:04 +00:00
Dan Stillman
b8321f13ea Fix ZoteroPane.selectItem() to rely on itemsView.selectItem() to find the item in the current view if it's there, regardless of mode -- this simplifies ZP.selectItem() and fixes problems adding items while viewing a saved search. If the new item(/attachment/note) matches the saved search, it'll now appear and become selected. Otherwise, Z will switch to the Library and the new item will be selected in there.
There might be some regressions from this, but it seems to work fine.

Also:

- Fixed JS strict warnings in popup note window
- Use Zotero.Notes.add() when using toolbar button instead of a two-stage save with ZP.newItem('note')
2007-01-02 10:50:38 +00:00
Dan Stillman
26c62fba4b Addresses #400, Report generation
CSS updates from Jeremy with some streamlining by me (consistency of print style, removal of unnecessary lines, and some other fixes)

Changed doctype to XHTML 1.0 Strict from 1.1

Adding /html/report.html to end of URL to provide a filename hint for Firefox (instead of the file being called 12345-34567-84573-42632.xhtml)
2006-12-31 14:32:13 +00:00
Dan Stillman
c2858475a8 Fixes #347, Dragging a URL over the Zotero pane (even without releasing) throws an SQL error
x-moz-url was listed as a supported flavour in both panes but not actually supported

Also fixed a typo (= instead of ==) in collectionTreeView's canDrop()
2006-12-26 07:27:34 +00:00
Dan Stillman
36d6ff58b8 Fixed inadvertent switch() fall-through causing all collections to be recursive (which some people want, but it shouldn't be the case by accident) 2006-12-26 07:04:39 +00:00