Commit Graph

798 Commits

Author SHA1 Message Date
Dan Stillman
9f7eca0ebf Tagging 1.0.0b2.r2 2006-10-27 00:18:21 +00:00
Dan Stillman
ab86f3c1c0 Update update.rdf Firefox compatibility versions 2006-10-25 04:54:20 +00:00
Dan Stillman
ef8cd4a5e6 We'll start without automatically adding quotes -- might be handy, but there's the problem of double-quoting text with existing double quotes, and without a manual collation function they all end up sorted to the top
We'll see what the feedback is.
2006-10-25 04:34:34 +00:00
Dan Stillman
65ef6a6926 A very quick little addition to please the masses
Add options to browser context menu, "Add Selection to Zotero Note" and "Create Zotero Note from Selection"

"Add Note" context menu option on items
2006-10-25 04:07:40 +00:00
Dan Stillman
0b1002c8ce Closes #350, Buttons to select/deselect all items when ingesting multiple items 2006-10-25 01:02:07 +00:00
Dan Stillman
c00c2dfe81 Since this morning: New Item From Page was saving child attachments to collections rather than just the parents 2006-10-25 00:07:57 +00:00
Dan Stillman
794cbaee2c Decidedly not the time to make changes of this magnitude, but ids in the global overlay really need to be namespaced properly to avoid conflicts with other extensions
(These aren't all in the global overlay, but the ones that aren't at least share a CSS rule with elements that are.)
2006-10-24 23:40:04 +00:00
Dan Stillman
5d8924b747 Fix problems with two-field creator autocomplete and multiword last names getting moved incorrectly to the firstname field 2006-10-24 19:39:52 +00:00
Dan Stillman
62f9c0d6cc OK, I think this will give us both Z-pane height persist and a working full-screen mode 2006-10-24 19:28:39 +00:00
Dan Stillman
26b1658cca Version bump to r2 and swap IMLS & Mellon 2006-10-24 18:50:17 +00:00
Dan Stillman
40edcdee91 Error when adding a link or snapshot to the library (without a collection) 2006-10-24 18:33:58 +00:00
Dan Stillman
51664bc51a Always try to commit open transactions at shutdown 2006-10-24 18:22:56 +00:00
Dan Stillman
0809408d4b Fix for Z-pane not expanding to fill full screen 2006-10-24 17:40:51 +00:00
Dan Stillman
ca501a41c5 Fix for right column getting pushed off the side 2006-10-24 17:39:24 +00:00
Dan Stillman
4ca4c7823a Nudge radio broadcast icon over 1px 2006-10-24 09:58:16 +00:00
Dan Stillman
ebddde745b Fix two-field creator autocomplete when something interrupts the saving process (like the upcoming Hello World utility)
Automatically focus new creator rows when hitting plus sign
2006-10-24 09:27:10 +00:00
Dan Stillman
5ee045d8d4 Persist the Z-pane height, and default to 300px 2006-10-24 08:13:30 +00:00
Dan Stillman
99f7badf42 Fix for collections not refreshing on item delete (thanks Simon) and new snapshots not getting added to the active collection (since yesterday) 2006-10-24 08:04:41 +00:00
Dan Stillman
9762d768e1 For the love of all that is holy, persist the item pane width 2006-10-24 06:26:41 +00:00
Dan Stillman
953a43064a Item.getCreators() didn't call _loadCreators(), apparently... 2006-10-24 05:57:00 +00:00
Dan Stillman
43bc723876 Addresses #161, interface with CSL repository
Client-side updates

(Note that translator updates were broken anyway, since the translator table was changed and the update mechanism wasn't, so that's fixed now too, and <=1.0.0b2.r1 won't be served updates via the repository.)
2006-10-23 23:24:11 +00:00
Dan Stillman
61fab3a2dd Fixes #366, Automated backup will back up a corrupted DB
We already copy to an interim temp file on shutdown--just try to open it before overwriting old backup file

Still wish there was a way to detect corruption while Zotero was still open and pretending to write to the DB, but I don't know of one (other than making a copy of the DB and trying to open it, but as far as I can tell we can't release the file handle on it to then delete it or check again later)...will keep working on it.
2006-10-23 20:46:04 +00:00
Simon Kornblith
666831748e closes #358, APA style doesn't properly handle references with editors and no authors
closes #348, OpenURL should use only relevant parts of dates
closes #354, Error saving History Cooperative article
closes #356, Embedded Dublin Core scraper incorrectly saves web pages as item type "book"
closes #355, PubMed translator problem
closes #368, RIS/Endnote export hijack doesn't go into active collection
fixes an issue with quotation marks in bibliographies exported as RTF
fixes an issue with bibliographies and non-English locales
2006-10-23 07:34:34 +00:00
Dan Stillman
e9e13bd38f Forgot to commit localized string 2006-10-22 10:18:06 +00:00
Dan Stillman
677b047172 Addresses #367, Handle missing attachment files
- Catch errors trying to display missing files and display message to user

- Switch to persistent descriptors rather than relative paths for attachment paths -- this will fix attachments on networked drives (which, at least on Windows, were not working and apparently in some cases breaking entire Zotero installs), but since WebBrowserPersist.saveDocument() is asynchronous and file.persistentDescriptor can't be set on Macs before the file exists, Attachments.importFromDocument() no longer returns the id of the new attachment, so translate.js had to be changed accordingly

- Try to convert relative descriptors to persistent ones with migration step (and later on access, if persistent fails)

- Added Zotero.WebProgressFinishListener(onDone)


Next step would be to throw up a file dialog to let the user locate the missing file
2006-10-22 10:11:29 +00:00
Dan Stillman
6a40ced842 Use open envelope icon for letter (closed envelope currently used for e-mail, though that could be clearer)
Use speaker icon for radio broadcast, though it should really be a radio or a transmitter (that doesn't look like an RSS feed, unlike all the ones I saw on famfamfam)
2006-10-21 11:16:31 +00:00
Dan Stillman
117870b4f3 Fixes #361, Camera in snapshot icon should be in same place as chain in link icon
Doesn't read all that well, but the other wasn't all that much better, and at least it's more consistent with the link icon this way...
2006-10-21 11:10:57 +00:00
Dan Stillman
0f75f1243e Fixes #357, Presentation item type missing some fields 2006-10-21 10:46:52 +00:00
Dan Stillman
016587d983 Default to the field mode of the previous creator when adding a new row, and if first row, use the last-used mode program-wide 2006-10-21 09:25:12 +00:00
Dan Stillman
cf37ce6e82 Addresses #352, Make sure data layer doesn't allow bad data via the API
Don't allow a save() with noncontiguous creator order indexes
2006-10-21 06:04:30 +00:00
Dan Stillman
c507e02d58 Fix nested DB rollback behavior 2006-10-21 06:00:46 +00:00
Dan Stillman
038d403d46 Fix for one of the bibliography errors 2006-10-21 00:29:53 +00:00
Dan Stillman
a4cd5d69d6 Fix note spellcheck in Minefield 2006-10-20 23:04:38 +00:00
Dan Stillman
6a2f44c07e Fixes #353, enable spellcheck in notes
XUL spellcheck code is on Bugzilla but doesn't look like it'll make 2.0, so we'll copy-and-paste. (And even when it is checked in it might not work with our timed-textarea (which itself is a slightly modified version of Mozilla's timed-textarea) anyway.)

Seems to work, though Firefox did crash once while I was testing it...
2006-10-20 20:42:36 +00:00
Dan Stillman
2d98bdf4b5 Fix JS strict warnings 2006-10-19 23:42:47 +00:00
Dan Stillman
cb4b7f0642 Putting colons into localized strings in the few places where they're not, since they shouldn't be hard-coded
Changed joinMode localized strings to "prefix" and "suffix"
2006-10-19 23:33:13 +00:00
Dan Stillman
66086627a7 Closes #372, Expose reportTranslationFailure in the preferences UI 2006-10-19 22:33:22 +00:00
Dan Stillman
88d67136b5 Remove debug lines 2006-10-19 21:53:29 +00:00
Dan Stillman
23160c5c6e Changed all entities in zotero.dtd to have a "zotero." prefix -- the odds of collisions with other extensions are quite low, but we should be a responsible neighbor regardless
(Note that these aren't all used in the global overlay and wouldn't need the zotero prefix if they were in separate DTD files (for export, etc.), but I'm not going to take the time to do that.)

Element ids up next...
2006-10-19 21:53:02 +00:00
Dan Stillman
00d8fbd117 Add optional second parameters params to Zotero.getString() to use the stringbundle's formatStringFromName method -- got rid of the silly replace() calls elsewhere in the code
Also localized the "tags" string in the tags tab -- addresses #155, Localize strings
2006-10-19 21:05:21 +00:00
Dan Stillman
79efa85482 - Default to double-field mode in setCreator() if not specified
- Allow creator type to be specified as name rather than id in setCreator()

 - Use object rather than array in getCreator()
2006-10-19 20:35:28 +00:00
Dan Stillman
41722def8a Closes #302, Tooltip for cog (gear) icon
Tooltip => "Actions"

Also, Zotero keystroke is now command-option-Z (ctrl-alt-Z on Windows/Linux), because command-shift-Z is actually already taken by Redo on Mac/Unix and doesn't work in Minefield -- and ctrl-alt-Z is probably easier for Windows users anyway
2006-10-19 20:30:44 +00:00
Dan Stillman
b7a261d3da Allow item types to be passed by name in Item constructor -- don't know why I never did this before, since they're cached
Feel free to remove redundant calls to ItemTypes.getID()

(I actually see a whole bunch of calls to the constructor using type names in scrapers, but presumably those are converted to itemTypeIDs in translate.js, since they seem to have been working just fine...)
2006-10-12 06:44:07 +00:00
Dan Stillman
7271ec6e43 Always pass array of ids to notify() from Notifier.trigger() 2006-10-12 00:30:24 +00:00
Dan Stillman
c0eb1746db Turn on auto-vacuuming, which keeps file size down after deletes and prevents DB fragmentation
This can't be enabled on databases with existing tables, so for existing users we can either a) add a FAQ with instructions to recreate and let the advanced users do it and let everyone else have larger tables or b) add a migration step to dump to a new file and then replace the old with the new, which may be a risky and not all that easy proposition (given the lack of .dump) but might work...

The steps, by the way, with Firefox closed:

$ sqlite3 zotero.sqlite
sqlite> .out dump.sql
sqlite> .quit
$ sqlite3 db.sqlite
sqlite> PRAGMA auto_vacuum = 1;
sqlite> .read dump.sql
sqlite> .quit
$ mv db.sqlite zotero.sqlite
2006-10-11 09:44:20 +00:00
Dan Stillman
081b544688 Change collection notifier event to 'delete' instead of 'remove' to be consistent with item deletions (as opposed to merely removing items from collections, which uses 'remove') 2006-10-11 04:20:05 +00:00
Simon Kornblith
6b65bf06a4 closes #349, import/export failing on null sandbox URI
i have no idea why some people are getting this error when it seems like no one encountered it during beta testing (very specific platform issues?), but i'm fairly certain that this should fix it.
2006-10-11 03:52:31 +00:00
Dan Stillman
c83a4e3762 And use the correct new component name ourselves... 2006-10-10 23:14:30 +00:00
Dan Stillman
39df990d98 Renaming 1.0b2 branch to 1.0 -- all development intended for 1.0 should be on this branch, while stuff for >1.0 (remote operation, etc.) should go on trunk
Automated -dev builds will build from this branch until further notice
2006-10-10 19:07:40 +00:00
Dan Stillman
9dc5280576 More appropriate names for the component files 2006-10-10 17:02:18 +00:00