Commit graph

596 commits

Author SHA1 Message Date
Simon Kornblith
e0f6f023d8 various fixes to citation formatting (mostly Chicago Manual of Style) 2006-09-05 01:09:04 +00:00
Simon Kornblith
dd0c537ce1 closes #267, MODS export option uses an rdf extension (should be xml)
thanks to Dan for the idea
2006-09-04 22:57:23 +00:00
Simon Kornblith
7d93903e2d closes #239, fix embedded RDF translator 2006-09-04 21:43:23 +00:00
Simon Kornblith
370fe48388 - remove extraneous debug code
- update scrapers.sql version (do not put into the repository)
2006-09-04 20:21:38 +00:00
Simon Kornblith
aa6e2cfab1 closes #264, UMich lib catalog doesn't work on Windows; other issues related to Mirlyn
positions "saving item" window in a slightly better place on Windows

the UMich bug was actually bigger than I though. as it turns out, the HiddenDOMWindow in Windows is not a chrome window, so i had to modify createHiddenBrowser() to attach the hidden browser object to an existing browser window. i don't believe this should have any adverse effects for snapshots, etc., but Dan, correct me if i'm wrong. it would be nice to be able to create a real chrome instance instead of a XUL element, but all of my attempts at doing so have failed.
2006-09-04 20:19:38 +00:00
Simon Kornblith
2b0bebe7a4 closes #258, MARC translator should capitalize titles 2006-09-04 18:16:50 +00:00
Simon Kornblith
e5404f4938 closes #269, For some COinS pages "could not save item" error 2006-09-04 17:37:07 +00:00
Simon Kornblith
0ab9e8b36c references #268, occasional problems with ingest of pages with multiple references
i've fixed the Amazon.com bug (i think) and made the translator show a "Could Not Save Item" prompt rather than show an empty list, but if you see any other pages where this happens, let me know
2006-09-04 17:09:44 +00:00
Simon Kornblith
ed6650c4e7 closes #218, Windows support for Word integration. this solution seems to work with both Word 2003 and Word 2007. i have not tested with earlier versions. Zotero.dot is the Windows verison; Zotero.dot.dmg is the Mac version. the only difference is the function call used to perform SOAP requests.
to get this to work right, you'll need the SOAP toolkit from http://www.microsoft.com/downloads/details.aspx?FamilyID=ba611554-5943-444c-b53c-c0a450b7013c&DisplayLang=en
I may replace the SOAP object with a simple XMLHTTP object, since that page says that the SOAP toolkit is deprecated.
2006-09-04 08:06:04 +00:00
Simon Kornblith
10f4b28c63 closes #214, add footnote support to word integration
closes #215, allow user to select desired citation style and change citation styles on the fly
2006-09-04 04:13:12 +00:00
Dan Stillman
0515e4cb9e New attachment menu wording 2006-09-01 18:59:54 +00:00
Dan Stillman
28e27ffcb3 Fixes #255, down arrows next to icons spaced too far to the right in FF2.0b2
Fixes #256, shadow around the full screen toggle icon too big
2006-09-01 18:13:28 +00:00
Dan Stillman
23b7489c24 Forcing a trunk version bump for upgrade testing (sorry, it's easier than the alternatives) 2006-09-01 16:17:46 +00:00
Dan Stillman
c7eb9d1359 Use the moved repository 2006-08-31 22:52:27 +00:00
Dan Stillman
b5d379d1ed Don't allow new attachments through New Item menu 2006-08-31 22:45:14 +00:00
Dan Stillman
58a1fe2bf2 Goodbye to my senior year Sociology research paper bibliography
Hello to the Zotero Quick Start Guide

After this, schema.sql will no longer apply to existing users
2006-08-31 22:21:30 +00:00
Dan Stillman
41ba29180d Don't disable "View Attachment" button for links, and change the text to "View File" or "View Link" depending on what's selected 2006-08-31 22:14:13 +00:00
Dan Stillman
f0badddaf1 Added support for deleting with forward-delete key, which may have worked before the treeviews were moved into XPCOM but didn't anymore 2006-08-31 21:18:41 +00:00
Dan Stillman
511eda7b86 Closes #126, Editing oddities
blur() isn't called automatically when clicking directly off a field to another item in the middle pane, so we force it
2006-08-31 08:23:24 +00:00
Simon Kornblith
2f364432ef oops. actually commit the string changes, and change comments in translate.js 2006-08-31 07:52:28 +00:00
Simon Kornblith
438ff82955 - replace storage streams with plain old strings for translate IO. there's not much of a reason to use storage streams now, and it was screwing up non-ASCII characters.
- make EBSCO scraper work better through a proxy
- shorten Accession Number -> Accession No, Journal Abbreviation -> Journal Abbr, Publication Title -> Publication. it does look a bit stranger, but it also makes the interface more functional (especially for those of us without giant widescreen LCDs ;-)
2006-08-31 07:45:03 +00:00
Dan Stillman
146b92585d Fixes #249, User should not be able to try to delete "My Library" 2006-08-31 06:27:02 +00:00
Dan Stillman
433121ec50 Removed 'thesisType' field, replacing with regular 'type' 2006-08-31 06:02:30 +00:00
Dan Stillman
1693fa85d4 Don't coerce text values in itemData to numbers (like, say, stripping zeroes from ISBN's--thanks Simon)
(Apparently 'columnName NONE' in SQLite is functionally equivalent to 'columnName ILUVTIDDLYWINKS' in setting column affinity--as in, they both use the default of NUMERIC--which frankly I feel the docs could've been slightly more clear on, since they scatter the word NONE in capital letters all about the page with the other affinity keywords...)
2006-08-31 05:58:32 +00:00
Dan Stillman
b0b82a6369 Fixes #248, UI not refreshing after saving new item in build 593
Thanks Sean
2006-08-31 05:20:25 +00:00
Simon Kornblith
e315259b32 fix problems formatting integer years 2006-08-31 01:49:46 +00:00
Simon Kornblith
7a93034e32 closes #245, strToDate() should handle "st," "nd" and "rd" suffixes on days
closes #246, strToTime() does not handle AD/BC dates with fewer than 4 digits
2006-08-31 00:12:53 +00:00
Simon Kornblith
1c8e3fcb02 closes #239, fix embedded RDF translator
modifies scrapers to use dates in the format that comes out of the page, rather than converting to SQL
adds Scholar.Date.formatDate() to provide a pretty representation of dates
2006-08-31 00:04:11 +00:00
Simon Kornblith
7fbd6c48a7 move Scholar.strToDate to Scholar.Date.strToDate (thanks Dan) 2006-08-30 23:21:49 +00:00
Simon Kornblith
0cd3021cf3 closes #241, improved date handling
- Scholar.strToDate() accepts a string date and returns an object containing year, month, day, and part
- capture access date whenever URL is captured
- updated Zotero.dot to use new namespaces
2006-08-30 21:56:52 +00:00
Dan Stillman
c925c6bf01 Fixes #229, Deleting multiple items shows "selected item" warning 2006-08-30 21:34:51 +00:00
Dan Stillman
0cabc88378 Fixes #200, get rid of fluting on windows 2006-08-30 21:19:59 +00:00
Simon Kornblith
27617ee152 closes #236, Export windows should offer a default filename with extension
closes #238, present dialog if no import translator is available for a file
closes #240, change XML namespaces
2006-08-30 19:57:23 +00:00
Dan Stillman
50a50a67ac Stuff navigator.platform into Scholar.platform 2006-08-30 19:18:43 +00:00
Dan Stillman
6ad69b3a13 Closes #201, new collection (formerly project) naming
Dialog on new collection and cleaner dialog for rename
2006-08-30 19:07:51 +00:00
Dan Stillman
fe29c538e9 Closes #59, logos
A little drop-shadow or something on the 32px Z might be nice if you have time, Dan, but no big deal
2006-08-30 18:56:10 +00:00
Dan Stillman
b97cdd2ef5 Closes #149, scholar pane overflow
Closes #208, tags overflow pane

This is kind of cheating, but it works, and as long as we can live with a 170px min-height, I'm not going to take the time to figure out how (and whether) this can be fixed.
2006-08-30 17:30:58 +00:00
Dan Stillman
77b594f447 Closes #244, Export Collection... and Create Bibliography from Collection... contextual menu options should be disabled for empty collections 2006-08-30 17:16:33 +00:00
Dan Stillman
4f5ac31891 With the three different versions of Zotero, for comparison purposes (a gross misuse of SVN, I know) 2006-08-30 17:00:17 +00:00
Dan Stillman
3d20b8846f Changed activation keystroke to Z 2006-08-30 16:48:59 +00:00
Dan Stillman
998ee0c013 Transparent and larger Zotero status bar logo; fixed white side margins 2006-08-30 16:37:43 +00:00
Dan Stillman
200ca86989 Closes #237, add accessDate field to all item types with URL field 2006-08-30 16:02:21 +00:00
Dan Stillman
90036a0ea7 Addresses #243, ability to get name of saved search without accessing private properties 2006-08-30 15:58:08 +00:00
Dan Stillman
5017c15fb5 Clean up the test pages 2006-08-30 08:26:06 +00:00
Dan Stillman
19763cc78a - Updated outward-facing "Scholar" references to "Zotero", along with a few of the internal ones that could be problematic to change later (DB, directory, GUID) -- let me know if I missed any
- About panel now gets version number automatically

- Change version from 1.0a1 to 1.0b1


* Important: If you're on an SVN install, you need to rename the scholar@chnm.gmu.edu text file in your profile extension directory to zotero@chnm.gmu.edu *

XPI installs will (I think) update automatically, since I kept an entry in updates.rdf with the old GUID
2006-08-30 07:05:57 +00:00
Simon Kornblith
a75c5df70c - add MLA style
- put text-only version of bibliography on the clipboard, in addition to HTML version (Windows-only).
2006-08-30 06:12:26 +00:00
Dan Stillman
f7aafec402 Addresses #63, Add ECL license info to source code
Stripped GPL text and removed ECL license for now -- leaving in copyright notice where it exists
2006-08-30 06:00:44 +00:00
Dan Stillman
8289dac155 Replaced "Scholar is loaded" line with Zotero logo
This needs to be replaced with a 24-bit PNG with a transparent (rather than white) background -- Dan, you can either send that to me or go ahead and replace it yourself (I'd do it but I don't know the kerning, etc.)

Using a -1px bottom margin to get infinite height (a la Fitts's Law) when maximized, though I haven't tested on Windows or Linux -- let me know if clicking the screen edge doesn't work for you
2006-08-30 05:34:12 +00:00
Dan Stillman
30e2920c27 Closes #230, Update collection pane context menu for saved searches
Proper labels for saved searches, hiding rather than disabling irrelevant menu options, added "New Saved Search..." to menu, made file and bibliography export work with saved searches, added "Export Library..." option to Library drop-down
2006-08-30 04:09:34 +00:00
Simon Kornblith
498073bc4d MOTH FORMS -> MONTH FORMS (not that it matters) 2006-08-30 04:01:33 +00:00
Simon Kornblith
1c21bddbfc - modifications to citation engine's handling of localized strings
- added the missing integrationDocPrefs.xul file
2006-08-30 04:00:19 +00:00
Simon Kornblith
68c480b7b5 - closes #232, University of Michigan library site does not work
- improved handling of scraper errors (hopefully, the hanging should be gone)
2006-08-30 01:41:51 +00:00
Dan Stillman
51e7c8fbef Forgot the localized string 2006-08-30 01:20:56 +00:00
Dan Stillman
4ac7e5787c Add "Preferences..." to cog menu 2006-08-30 01:20:30 +00:00
Simon Kornblith
406d1d6950 references #232, library UI does not refresh after saving new item
now that the notifier issue is fixed, i'm switching this bug to deal with the University of Michigan issue
2006-08-30 00:43:09 +00:00
Dan Stillman
77f8a4ad30 Closes #235, title of left column 2006-08-30 00:37:42 +00:00
Dan Stillman
a7c89d4dbc Fixes #234, # column not working 2006-08-30 00:32:05 +00:00
Dan Stillman
a37e699ba7 XPCOM calls can't be made in top-level code, as the XPCOM components may not be available yet -- breakage can (and did, on my system) ensue via a race condition
Moved integration init()'s to Scholar.init()
2006-08-30 00:16:07 +00:00
Simon Kornblith
73b5634f62 addresses #215, allow user to select citation style and change citation styles on the fly
addresses #214, add footnote support to word integration

- the third icon on the Zotero Word toolbar is now reserved for "Document Options," which, for now, means on the selection of styles
- the Document Options window will, for now, appear the first time you create a citation. the default style probably belongs in the Scholar preferences window.
- you can now generate citations in both footnote and in-text citation formats. you can't yet switch between them on the fly, but that should be coming soon...
- Ibid is not yet implemented. again, coming soon.
2006-08-29 23:15:13 +00:00
Simon Kornblith
d8171f775c closes #223, citing the same item multiple times should produce only one bibliography entry 2006-08-29 17:29:35 +00:00
Dan Stillman
bdebc8dffa Saved search improvements:
- select() new collections and saved searches on creation

- Show all collections in search dialog Collection condition drop-down, not just top-level ones -- eventually there should probably be some sort of level indication to show hierarchy

- Don't allow a search to define itself as a savedSearchID condition. Right.

- Fixed a couple bugs in Collection condition creation that would've made such searches often not work

- Added saved search 'add' support to collectionTreeView notify(), and send the right trigger from Scholar.Search
2006-08-29 11:16:31 +00:00
Dan Stillman
cd432a1e2a Add 'recursive' flag to Scholar.getCollections() to retrieve all collections in a flat ordered array 2006-08-29 11:06:54 +00:00
Dan Stillman
97c3f13112 Closes #222, Quick search should use current view as the context 2006-08-29 07:18:41 +00:00
Simon Kornblith
0c24beee3f closes #213, add in-text citation support to citation engine
fixes date and et al. handling bugs in citation engine
permits citation of multiple items in Word integration
2006-08-29 04:24:11 +00:00
Dan Stillman
97b2abf2f9 Fix error when trying to delete all items in Library (thanks Dan C.) 2006-08-29 01:00:43 +00:00
Dan Stillman
46368e98dd Closes #176, Customize search operators for itemData fields
Implemented isBefore and isAfter operators and added to date conditions -- currently have to type dates in SQL format, but we'll have a chooser or something by Beta 2 (this should probably be a known issue)

Added isLessThan and isGreaterThan to 'pages', 'section', 'accessionNumber', 'seriesNumber', and 'issue' fields, though somebody should probably check me on that list

Removed JS strict warning on empty search results
2006-08-28 20:49:24 +00:00
Dan Stillman
cdd24fe3b7 Addresses #126, Editing oddities
- Added support for tabbing between fields, which unfortunately we don't get for free from tabindex because of what we're doing with labels and textboxes. (The textbox being tabbed away from is deleted before the blur() completes, so it doesn't know where it's supposed to go next.) Basically replicated the built-in functionality for all the text fields -- can add on special tricks for creator adding/removing later.

- Increased spacing between rows slightly and adjusted margins to get rid of shifting when switching between label and textbox -- this also fixes the annoying clicking-off-a-textbox-to-the-lower-portion-of-a-label-below-it-doesn't-select-the-label problem.
2006-08-28 08:43:18 +00:00
Simon Kornblith
c2c82e3c54 add basic Word integration. to see it in action, copy Zotero.dot to Microsoft Office 2004/Office/Startup/Word. if the gods are with you, you should see a new toolbar the next time you open Word.
not yet implemented:
- formatted in-text citations, rather than placeholders
- footnotes
- selection of citation style (for now, only APA is available)
- support for non-ASCII characters
- exclusion of notes from select items window
- Windows support (although it shouldn't be difficult)
- probably much more...
2006-08-28 05:38:37 +00:00
Dan Stillman
a976d4cd0e Fixes #212, Fails to load on Linux
Wrong permissions set on new Scholar directory
2006-08-27 21:17:49 +00:00
Dan Stillman
6fce0ef2a6 Add numChildren as known primary field to isPrimaryField() so item data isn't loaded for all items unnecessarily 2006-08-27 08:05:56 +00:00
Simon Kornblith
d3fc9866b9 - add ABC-CLIO (America: History and Life) translator
- fix a potential issue with COinS support
2006-08-26 21:36:49 +00:00
Dan Stillman
4fefaf1edf Added method to generate SQL in Item Type Manager for easier export 2006-08-26 12:05:16 +00:00
Dan Stillman
bec5e78417 Changed itemTypeFields schema to support default show/hide setting for fields in particular item types
Updated item type manager to support changing default show/hide
2006-08-26 10:35:47 +00:00
Dan Stillman
1ac0c8e9a3 Debug message fix in DB.rollbackTransaction() 2006-08-26 08:54:31 +00:00
Dan Stillman
3d6aa4b6ab Updated the item type manager to support adding and removing item types and fields
Actually getting the modified tables out of the DB still requires ".dump tablename" in the client
2006-08-26 08:08:15 +00:00
Dan Stillman
1410433e73 Scholar.DB.getNextID(table, column) -- get the lowest unused integer >0 in a DB column 2006-08-26 08:02:17 +00:00
Dan Stillman
4b48ff0414 Stop JS strict warnings from Hash.get() misses 2006-08-26 05:33:44 +00:00
Simon Kornblith
f07cb5a5bc adds an InfoTrac OneFile translator
fixes a bug in ingester progress window handling
2006-08-26 03:50:15 +00:00
Simon Kornblith
62ffea9542 closes #209, Scholar does not refresh the item pane when a new collection is clicked
it's possible that this fix will introduce some bugs, but it appears to work fine
2006-08-25 19:15:03 +00:00
Dan Stillman
624faaf110 Closes #202, attachments categorized as notes
"Notes" column changed to "#" and combined with the attachment count. "#" isn't exactly immediately self-explanatory, but "Notes/attachments" would be way too long, and once you realize what it's for (i.e. the first time you create a child item), you really don't want the column taking up any more room than that... If people have a better suggestion, do share.
2006-08-25 08:37:16 +00:00
Dan Stillman
59c00ba6c2 Localized strings for the search dialog box, but not used yet (I'm not sure if XUL in bindings can use DTD strings or need to use properties...) 2006-08-25 08:12:28 +00:00
Dan Stillman
9df93a8e27 Fixes #206, notes/attachment count incorrect after deletion
The notes/attachment count wasn't going down on an attachment deletion because it's not actually a notes/attachment count at all--it's a notes count, and new attachments were incorrectly incrementing it.

This technically either fixes or invalidates #202 ("attachments categorized as notes"), depending on how you look at it, but I'll change that to reflect the desired goal of having a combined notes/attachments count.

Refs #202
2006-08-25 08:01:55 +00:00
Dan Stillman
ebb9122e0a Forgot to remove removed field from attachment item type 2006-08-25 07:38:16 +00:00
Dan Stillman
9a897e15e8 Closes #205, eliminate "source" field, and add "url" field on all item types 2006-08-24 20:33:29 +00:00
Dan Stillman
1bed666f21 Closes #198, smart collection icon is a couple of pixels too high 2006-08-24 19:44:35 +00:00
Dan Stillman
7d6bd8d0af "project"=>"collection" (already "collection" in most places internally) 2006-08-24 19:43:48 +00:00
Simon Kornblith
0e63958f96 - make proquest work better behind proxies
- improved frame support
2006-08-24 18:00:48 +00:00
Simon Kornblith
c5ec34d6ae closes #197 (my fault, not david's) 2006-08-23 03:55:41 +00:00
Dan Stillman
03d8097527 Disable creator add button on previous row when adding a new row (since bad things can happen if we don't) and undo on reverse 2006-08-22 19:52:15 +00:00
Dan Stillman
57f4e43507 OK, I think this should fix both #179 ("adding a new creator then clicking an existing creator makes the creator field disappear") and #190 ("tag issues") -- I caused #190 with my fix to the former, and David rebroke #179 with his revert to fix the latter.
The problem was twofold: 1) onselect="ScholarItemPane.loadPane(this.selectedIndex)" is (for some reason) triggered when clicking off of the "+" creator add button onto the rest of the deck pane (and not just when switching tabs) and 2) the selectedIndex passed into loadPane() from the deck during the non-tab triggers is (for some reason) an empty string rather than the index of the selected tab, which is why the creator problem only used to happen the first time you clicked away from a "+" (before the empty string was stored as a key in the _loaded array). (In short, onselect for decks is pretty broken.)

Now only calling loadPane if (this.selectedIndex!=='') -- can't just test for typeof=='number' because this.selectedIndex on the deck is always a string


refs #179 and #190
2006-08-22 07:01:21 +00:00
Dan Stillman
c4e9e76795 Search (data layer):
- Added 'fulltext' condition as shortcut to add an operator/value against all string-based conditions -- can be used for quicksearch within a view if collectionID/savedSearchID is added as a required condition along with it

Note that the 'fulltext' condition isn't stored internally and addCondition() doesn't return a searchConditionID for it, so it's not really meant to be used for saved searches.

Example:

var search = new Scholar.Search();
search.addCondition('collectionID', 'is', 6856, true);
search.addCondition('fulltext', 'contains', 'wellman');
Scholar.debug(search.search());


- Fixed isNot/doesNotContain for items table fields and collectionID
2006-08-22 04:23:01 +00:00
Dan Stillman
61c18639fe Operator selection bug in search interface (need to keep track of selected operator now that onConditionSelected() is called after loading in a condition) 2006-08-22 04:15:36 +00:00
David Norton
d38e94dd27 Fixes #190, tag issues.
- This was a problem with more than just tags. I reverted a change from r483 that shouldn't affect anything else.
2006-08-22 03:15:42 +00:00
David Norton
ee943c0d2c Closes #169, add OpenURL interface hooks
- Added menu, uses OCLC database. (someone should test from GMU or another institution)
2006-08-21 21:10:40 +00:00
Dan Stillman
3ac311e85a Search improvements:
Conditions can now offer drop-down menus rather than freeform text fields -- implemented for collections/saved searches and item types

Special handling to combine collections and saved searches into a single "Collection" menu (can we get away with calling them "Smart Collections"?) -- internally, values are stored as C1234 or S5678 in the interface and converted to/from regular collectionID and savedSearchID conditions for search.js

Use localized strings for conditions (tries searchConditions.* first, then itemFields.*)

Alphabetize condition list

Operator menu now fixed length for all conditions
2006-08-21 05:08:11 +00:00
Dan Stillman
b79937d134 Show proper operators for new and loaded conditions (before clicking on the menu) in search window 2006-08-20 08:22:07 +00:00
Dan Stillman
d193afe740 Items without rows in the applicable table didn't show up for searches with isNot or doesNotContain conditions 2006-08-20 07:34:37 +00:00
Simon Kornblith
04d05548b2 closes #103, figure out how to store captured pages in native export format
fixes ampersands in citation COinS
fixes tags and seeAlso in import/export (should now work for all items)
2006-08-20 04:35:04 +00:00
Dan Stillman
217636ad14 - Proper handling of saved search renaming and erasing (via Notifier)
- Support for multiple id collection/search remove/modify notifications

- New method Scholar.Searches.get(id) to get 'id' and 'name' for a particular savedSearchID
2006-08-20 03:27:25 +00:00
Dan Stillman
d6214b3f86 Fix some JS strict warnings in data methods 2006-08-20 02:03:57 +00:00