Commit Graph

1481 Commits

Author SHA1 Message Date
Dan Stillman
583f996636 Fix version number on Max Planck translator 2007-03-22 16:27:54 +00:00
Simon Kornblith
b272eb2de3 closes #570, Voyager translator not working for "unlinked" search results 2007-03-22 16:21:58 +00:00
Simon Kornblith
fbd9628df6 export translators -> b4 2007-03-22 16:08:18 +00:00
Simon Kornblith
9840084f8c <titles relation="event"> is conferenceName 2007-03-22 15:49:12 +00:00
Simon Kornblith
8125de3cfc closes #562, Add automatic/manual tag flagging to RDF export 2007-03-22 15:42:35 +00:00
Simon Kornblith
d0533d9786 closes #567, MARC scraper issues with international characters 2007-03-22 14:47:49 +00:00
Simon Kornblith
f37847e752 closes #567, MARC scraper issues with international characters 2007-03-22 14:35:20 +00:00
Simon Kornblith
4e98dc8c02 - closes #566, chicago note-with-bibliography style does not allow generation of a bibliography
- closes #547, Add ECL license header to Word plugin
2007-03-22 14:20:05 +00:00
Dan Stillman
12f1189ac6 Fixes #565, "generate report" fails 2007-03-22 04:47:57 +00:00
Simon Kornblith
e7af1d82e4 Zotero RDF requires b4 2007-03-21 23:04:03 +00:00
Dan Stillman
81dfd56f55 Make double-click in advanced search windows focus the browser window, and only allow one advanced search window 2007-03-21 23:02:56 +00:00
Simon Kornblith
0dbbe046c5 fixes issues accessing old MathSciNet content 2007-03-21 22:59:53 +00:00
Dan Stillman
06cb2b8354 Fix migration of date field to dateEnacted in report item type 2007-03-21 20:40:33 +00:00
Simon Kornblith
b0b91267f4 collapsed annotation icon should not be visible until annotation has been collapsed 2007-03-21 19:27:17 +00:00
Simon Kornblith
c831357c36 addresses #463, ibid and repeat citation support in footnotes. still need to deal with page numbers on ibid; does this need to be handled in the CSL, or is it the same for all styles?. 2007-03-21 19:04:29 +00:00
Simon Kornblith
fa78056ec6 replace CRLFs with LFs before copying to clipboard 2007-03-21 19:00:03 +00:00
Dan Stillman
cf95e4db2a Closes #548, Add export format support to Quick Copy 2007-03-21 18:54:23 +00:00
Simon Kornblith
30281f7976 fix EndNote MIME type grab 2007-03-21 18:16:03 +00:00
Simon Kornblith
aead2c6329 improved BibTeX type mappings 2007-03-21 17:52:36 +00:00
Simon Kornblith
b6e995d0fc improve EndNote/Refer/BibIX type mappings 2007-03-21 17:47:23 +00:00
Simon Kornblith
0fbeff16aa remove header from BibTeX (for quick copy) 2007-03-21 16:16:23 +00:00
Dan Stillman
03d928b40c Fix File.getContents() (including PDF cache file indexing) on Windows (I think) 2007-03-21 15:43:07 +00:00
Simon Kornblith
3a304081dd closes #525, Amazon URLs should be saved as attached links instead of URL field
setting the snapshot property on an attachment explicitly to false now forces a link, rather than a snapshot, to be generated
2007-03-21 15:32:01 +00:00
Simon Kornblith
87df94d382 closes #559, exportItemsToClipboard(itemIDs, format) function 2007-03-21 15:17:46 +00:00
Simon Kornblith
9170603b88 closes #546, errors should always be logged to the error console
currently, errors that happen during detection (as opposed to translation) are not logged, since it might not be desirable to flood the error console if a site changes its layout in a way that produces errors in the detectCode. if there are any objections, this behavior is easy to change.
2007-03-21 14:30:30 +00:00
Dan Stillman
2ea61cf379 Addresses #537, Abstract field import/export doesn't work for all formats
Pushed updated BibTeX translators to repo

(Good to post-date the UTC timestamps by 15 minutes or so so that if I'm online I can just push them right away without updating the timestamps.)
2007-03-20 18:37:27 +00:00
Simon Kornblith
e098496411 closes #537, abstract field import/export doesn't work for all formats 2007-03-20 18:31:33 +00:00
Dan Stillman
feb68d8c95 Removed erroneous character in scrapers.sql 2007-03-20 17:57:48 +00:00
Simon Kornblith
8cfe98cf26 - properly escape URLs for unAPI
- better handling of MODS webpage metadata
- support abstract in MODS
- improved URI restriction regexp
2007-03-20 17:54:55 +00:00
Sean Takats
e67158c63c Closes #552 by adding all current Zotero item types to our RIS translator 2007-03-20 17:40:44 +00:00
Simon Kornblith
ce14c017f6 - use MODS abbreviated journal title when no full title is available
- make unAPI translator work as expected when asked to translate the same page twice
2007-03-19 22:52:28 +00:00
Simon Kornblith
0e0eb3bc10 move genre mappings to a place that makes slightly more sense 2007-03-19 22:46:31 +00:00
Simon Kornblith
41876b5a82 better handling of document types in MODS files from external sources 2007-03-19 22:42:25 +00:00
Simon Kornblith
c3bd2579cc closes #457, unAPI translator. there are currently some problems with recognizing document types of foreign MODS documents, but i hope to resolve these soon. 2007-03-19 22:29:49 +00:00
Dan Stillman
172cdb4cec Fix error when deleting attachments 2007-03-19 21:40:06 +00:00
Simon Kornblith
ccfa5abba9 fix one more strict mode warning 2007-03-19 21:32:52 +00:00
Simon Kornblith
0d1d81239c - fix strict mode warnings
- fix issues reading large files with a charset specified
2007-03-19 21:31:01 +00:00
Simon Kornblith
5bb324e2eb - fix issues with errors in async detectCode 2007-03-19 19:21:32 +00:00
Dan Stillman
2de3ed40c5 Addresses #417, Preference to keep files in Zotero directory named based on the attachment title
Implemented auto-renaming of PDFs and other files based on the parent item's metadata. Format is customizable via 'attachmentRenameFormatString' pref, though options are currently rather limited. Default is '%c - %y - %t{50}', meaning "FirstCreator - 2007 - Title Truncated to 50 Characters"

Also:

- Removed |forceFileName| from Attachments.importFromDocument() -- I don't think it'll be necessary?
- Modified WebPageDump not to save HTML wrapper files around non-HTML documents
2007-03-19 15:22:11 +00:00
Dan Stillman
3dc5a21f4a Allow tab in notes 2007-03-19 12:36:13 +00:00
Dan Stillman
870a362902 Fixed bug in itemTreeView.rememberOpenState() that caused open state of first row in items list to not be remembered 2007-03-19 05:50:40 +00:00
Dan Stillman
2875c0d4ce Fixes #257, snapshots not getting the CSS from some web pages
Switched importFromURL() from native Mozilla saveDocument() to WebPageDump code (originally from Scrapbook), which fixes CSS saving problems and other issues -- viewing a WPD snapshot of the New York Times front page causes a crash in the Flash plugin in all Mac browsers, however, unless the Flash security settings are changed to whitelist the Zotero storage directory for accessing the network (but this should be done anyway, since the warning is annoying)


Also:

- Fix broken items list in Related and Advanced Search windows from r1231

- Fix several _getItemAtRow() errors from r1231

- Adjusted Zotero.Progress API: fade()->startCloseTimer(), kill()->close()

- Added forceTitle parameter to importFromURL(), currently unimplemented -- note that order of the last parameter changed

- Added progress windows for "Create New Item from Current Page", snapshot, and link actions

- Added "Miscellaneous" caption in General pane of preferences

- Clarify Mac rich-text warnings

- Switched small Export prefpane to generic icon
2007-03-19 04:38:27 +00:00
Dan Stillman
d9f2a7b466 Fix SQL error on new install 2007-03-17 18:39:57 +00:00
Simon Kornblith
1548f62a29 closes #553, new location of moved annotations not saved under certain circumstances 2007-03-16 23:36:31 +00:00
Simon Kornblith
2df7792d60 closes #538, Change Zotero XML namespace prefix used in Zotero RDF 2007-03-16 23:28:45 +00:00
Simon Kornblith
9bac943dc7 closes #530, add base field conversion to translation level
closes #534, export fails on missing attachments
2007-03-16 23:25:52 +00:00
Dan Stillman
2e2fa0dcfa *As always, but in particular this time, do not test this commit with valuable data -- but please do test.*
- Massive optimization of data layer -- with ~11,000-item test library on a Mac Pro, decreased initial Zotero pane loading from several minutes to ~10 seconds. This included some small API changes and new methods (e.g. Items.cacheFiles()) in the data layer, but most of it was changing the way loading and caching of data worked internally.

- Moved unique itemData values out to separate itemDataValues table for better normalization

- Updated itemTreeView.sort() to be able to sort a single row into the items list for performance reasons -- itemTreeView.notify() now only sorts a single row when possible (and sometimes doesn't need to sort anything). This should make general interface use dramatically less sluggish with large libraries.

- Consolidated purging on item deletes, which should speed up multi-item deletes quite a bit -- clients should use Items.erase() instead of Item.erase(), since the former calls the new Items.purge() method (which calls the various other purge() methods) automatically

- Notifier no longer throws errors in notify() callbacks and instead just logs them to the Error Console -- this way a misbehaving utility (or Zotero itself) won't keep other observers from receiving change notifications

- Better handling of database corruption -- if an SQL query throws a file corruption error, Zotero adds a marker file to the storage directory and displays a message prompting the user to restart to attempt auto-repair--and, most importantly, no longer copies the corrupt file over the last backup.

- A "Loading items list..." message appears over the items list (at least, sometimes) while data is loading -- useful for large libraries, but may need to be fine-tuned to not be annoying for smaller ones.

- Note titles are now cached in itemNoteTitles table

- orderIndex values are no longer consolidated when removing items from collections -- it just leaves gaps

- Fixed shameful bug in getRandomID() that could result in an item with itemID 0, which wouldn't display correctly and would be impossible to remove

- Fixed autocomplete and search for new location of 'title' field

- Added proper multipart date support for type-specific 'date' fields

- Made the pre-modification array passed to Notifier observers on item updates actually be pre-modification

- New method Zotero.ItemFields.isFieldOfBase(field, baseField) -- for example, isFieldOfBase('label', 'publisher') returns true, as does isFieldOfBase('publisher', 'publisher')

- Restored ability to drag child items in collections into top-level items in those collections

- Disabled unresponsive script message when opening Zotero pane (necessary for large libraries, or at least was before the optimizations)

- Collections in background windows didn't update on item changes

- Modifying an item would cause it to appear incorrectly in other collections in background windows

- Fixed an error when dragging, hovering to open, and dropping a note or attachment on another item

- Removed deprecated Notifier methods registerCollectionObserver(), registerItemObserver(), unregisterCollectionObserver(), and unregisterItemObserver()

- Loading of Zotero core object can be cancelled on error with Zotero.skipLoading

- Removed old disabled DebugLogger code

- New method Zotero.log(message, type, sourceName, sourceLine, lineNumber, columnNumber, category) to log to Error Console -- wrapper for nsIConsoleService.logMessage(nsIScriptError)

- New method Zotero.getErrors(), currently unused, to return array of error strings that have occurred since startup, excluding CSS and content JS errors -- will enable an upcoming Talkback-like feature

- Fixed some JS strict warnings in Zotero.Date.strToMultipart()
2007-03-16 16:28:50 +00:00
Dan Stillman
b88adcaaf0 Pushed ScientificCommons to repo 2007-03-16 02:50:25 +00:00
Simon Kornblith
bf44c0fe91 - fix scrape bug
- fix problem with scientificcommons search results
2007-03-16 02:43:18 +00:00
Sean Takats
7b0d3c89ee ScientificCommons translator added 2007-03-15 18:49:46 +00:00