Commit Graph

997 Commits

Author SHA1 Message Date
Dan Stillman
e6216d95ed Get rid of quotes in REPLACE INTO "csl" in scrapers.sql for easier MySQL insertion 2007-01-08 06:43:26 +00:00
Dan Stillman
cc9ba70888 - Fix invalid minVersions ("1.0.0b3r1") and change all minVersions to 1.0.0b3.r1 -- this way the file can be dumped into the repo without worrying about breaking old r2 clients with the Utilities.debug() change 2007-01-08 06:37:18 +00:00
Dan Stillman
d257cac5be It is not, in fact, 2006. 2007-01-08 06:16:27 +00:00
Dan Stillman
c0bfd4e59c Give the collections pane a bit more room to start (so that the tag selector isn't cut off at 1024x768) 2007-01-08 05:41:10 +00:00
Dan Stillman
04f9d04454 Update version number for release 2007-01-08 05:21:20 +00:00
Dan Stillman
5a8e12af91 Fixed ABC-Clio pushed to repo for B2 clients 2007-01-08 04:04:51 +00:00
Dan Stillman
7863985fb5 ABC-Clio fix from Sean (regex truncated) 2007-01-08 03:48:36 +00:00
Dan Stillman
3a8512eb36 Fix #486, Google Books translator broken
Thanks to Sean for the fix (first group in doWeb() regex wasn't used)
2007-01-07 21:55:42 +00:00
Dan Stillman
a90acb63a1 - Added ko-KR locale
- Fixed Norwegian locale (files weren't UTF-8)
2007-01-07 21:01:29 +00:00
Dan Stillman
f8c099eaac Restore overflow: hidden on tagselector groupbox to fix toolbar icons disappearing when dragging column 1/2 splitter to the left (thanks Sean) 2007-01-07 20:39:59 +00:00
Dan Stillman
be71fd2adf Make status bar icons less ugly on Windows, which seems to ignore padding 2007-01-06 09:05:51 +00:00
Dan Stillman
5b7e6cb820 Fixes #485, Pane Resizing issues
OK, it's ugly, but I think it works (on OS X at least). Make the Zotero pane's min-height dependent on the height of the tag selector, which means that for now, at least, the tag selector has to be resized or hidden before the Z-pane can be shrunk down.
2007-01-06 00:06:55 +00:00
Dan Stillman
ed6348ee31 Fixes #481, Deleting tag with tag-selected item makes library seem to disappear
Fixed some subtle tag issues, hopefully without causing new ones:

1) If no tags visible after a delete, deselect all
2) If a selected tag is deleted, deselect it
3) If a selected tag goes out of scope in Display All mode, deselect it (otherwise a tag stays selected after removing an item with that tag from the current collection)
2007-01-05 21:08:37 +00:00
Dan Stillman
486d55a2e8 Addresses #482, Tag selector does not refresh on import/delete
This addresses the delete problem. I need to talk to Simon about the import one.
2007-01-05 21:08:01 +00:00
Dan Stillman
8e4de076d1 Fix itemTreeView.getSortField() and getSortDirection() if no column selected -- this was breaking report generation on initial installs 2007-01-05 20:50:40 +00:00
Dan Stillman
593c3c1128 Fixes #480, Add new locales to chrome.manifest
Thanks Sean
2007-01-05 18:41:10 +00:00
Dan Stillman
9efe10a9e0 Fixes #326, Icons are stretched (wider) on Linux
Also fixes some issues with the search textboxes on the toolbar and in the tag selector, including compression of the search cancel button
2007-01-05 10:27:04 +00:00
Dan Stillman
3539448e84 r1043 to tag 2007-01-05 07:56:47 +00:00
Dan Stillman
66f3b50d23 Restoring the previous behavior of not automatically selecting items on modify, since it meant that if you're editing an item and then purposely scrolled down to another item and then started to edit the note, the items pane will jump back to the note you're editing. I think that's probably more annoying than the alternative, which is an item potentially jumping off the screen when you edit it.
We could perhaps be smarter about this and, say, jump back only if the item was visible before the modification. The best solution, probably, would be a keystroke to show the active item, like Command-L in iTunes, but I don't know what keystroke is worth stealing for that purpose...
2007-01-04 22:39:00 +00:00
Dan Stillman
41b68c3a55 Fix error when renaming a tag that already exists
item-tag/modify event isn't necessary (just tag modify)
2007-01-04 15:03:16 +00:00
Dan Stillman
0ec1ed58ef Add new Notifier event types, 'collection-item' and 'item-tag', which send id pairs, e.g. adding tagID 2 to item id 1 would trigger ('add', 'item-tag', '1-2')
Similarly, removing items from collections now uses collection-item remove instead of item remove

This was done to prevent some problems that resulted from the tag selector using item modify events to update itself (which caused the items pane to refresh itself before itemTreeView.notify() got a chance to do the things it likes to do).

This should also help out utility writers.
2007-01-04 14:00:10 +00:00
Dan Stillman
7aa5662bae Reduce margin around tag selector textbox to restore 2 full lines of tags at min height (on OS X anyway) 2007-01-04 12:23:47 +00:00
Dan Stillman
68e082a2fb Tags selector fixup:
- "Display All" => "Display all tags"
- "No tags to display" message when no matching tags
- "# tags selected" in bottom left
- Dropped "Deselect Visible"
- Added vertical pipe on bottom line
- "Deselect All" => "Deselect all"
2007-01-03 21:59:43 +00:00
Dan Stillman
f23d9a4aeb Fix isAbstract() errors 2007-01-03 19:06:00 +00:00
Dan Stillman
7036f13a10 Merging changesets 1030 through 1034 to the Beta 3 tag 2007-01-03 12:25:40 +00:00
Dan Stillman
592296338f Copying pre-annotations revision to tag for Beta 3 -- not quite finished, but additional changes for release should get added here rather than on the branch 2007-01-03 05:23:16 +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
Dan Stillman
eba6d8403b Fixes #421, Editing a note that doesn't match an active search causes note to be deselected
If an edit causes a note to stop matching the quicksearch, clear the search

Also:

- Select text in quicksearch when using shortcut key instead of just focusing
- Fixed strict warning
2006-12-26 06:30:27 +00:00
Dan Stillman
268aad212b Addresses #414, it is possible to edit the "extra" field and another field simultaneously
But don't break the independent note tags view

Also fix another tags error in that view

A lot of item pane logic really needs to be put in bindings, somehow...
2006-12-25 09:06:42 +00:00
Dan Stillman
d179ad4686 Fixes #414, it is possible to edit the "extra" field and another field simultaneously
(As noted in the ticket, this bug applied to clicking between any fields (not just "extra") without changing a value -- it also kept the second textbox from focusing properly on click.)

Not entirely sure how I broke this, but here's a fix.
2006-12-25 08:58:35 +00:00
Dan Stillman
ed3e9449d2 Closes #459, add preference option for downloadAssociatedFiles
"Automatically attach associated PDFs and other files when saving items"
2006-12-25 08:23:09 +00:00
Dan Stillman
8fc9d50400 Fixes #460, importFromURL fails when importing PDFs from servers that do not properly support HEAD requests
Override MIME type to application/pdf if extension is .pdf -- not all that robust, but it should work for most sites
2006-12-25 08:18:40 +00:00
Dan Stillman
4ac85925d2 Removed "Select Visible" button in tag selector, since it doesn't really make sense (and causes problems) without an ANY search mode
Changed "Clear Visible" and "Clear All" to "Deselect*", which is a bit messier but probably clearer
2006-12-25 07:23:59 +00:00
Dan Stillman
ecab0e5785 Closes #470, Add tag add/modification/delete targets to Notifier
Closes #471, Tag selector should update when tags are added/removed

Tag Selector overhaul:

- Right-click to rename/delete tags globally
- Filter tags to only those associated with currently visible items, with a Display All checkbox to show others in gray -- scope list set via new callback mechanism in the items tree
- Drag and drop items onto tags to batch assign
- Tag Notifier events, currently unused (tag selector currently just refreshes on all item events, since doing granular tag updates is considerably more complicated)
- Performance improvements, offset by the new features that make it slower

There should probably be an option to use either an ANY or an ALL search in the tag selector... (It's ALL by default now.)


New methods:

- Zotero.hasValues(obj) -- return true if an object (/associative array) has at least one value, false if not
- Zotero.Item.addTagByID()
- Zotero.Item.hasTag()
- Zotero.Tags.getAllWithinSearch(search)
- Zotero.Tags.rename(tagID, tag)
- Zotero.Tags.remove(tagID)
- ItemTreeView.addCallback()
- ItemTreeView.setFilter('search'|'tags', data) -- replaces searchText()
- CollectionTreeView.getSearchObject() -- search object used to generate the items list
- CollectionTreeView.getChildTags()
2006-12-25 07:06:46 +00:00
Simon Kornblith
cac436a7ee closes #465, Remember bibliography and export preferences 2006-12-22 17:09:46 +00:00
Simon Kornblith
da1f4944f5 ...and another tweak 2006-12-21 23:46:27 +00:00
Simon Kornblith
4881a2bd7c tweak HighWire regex 2006-12-21 23:33:31 +00:00
Simon Kornblith
259700f3d7 closes #468, make RIS disregard headers 2006-12-21 22:27:21 +00:00
Simon Kornblith
42a3ac9cb1 fix missing comma in book section 2006-12-21 22:13:05 +00:00
Simon Kornblith
d2e4063b20 fixes #466, Miscellaneous Chicago Manual of Style formatting problems 2006-12-21 22:09:45 +00:00