Commit graph

2022 commits

Author SHA1 Message Date
Sean Takats
73b2e03763 Fixes https regex problems. 2009-05-28 15:52:34 +00:00
Dan Stillman
017342a85e Fix Open/Save dialog and use of hidden browser when saving file types not handled natively using "Save Link as Zotero Snapshot" or drag-and-drop to create a standalone item
This need testing.
2009-05-28 09:52:52 +00:00
Dan Stillman
8712f49426 Fix "childItems.concat is not a function" sync error 2009-05-27 09:51:38 +00:00
Dan Stillman
47be01a6ae Handle missing rel attribute on matching <link> in DC prefix search 2009-05-27 08:12:20 +00:00
Dan Stillman
3f9e9d0cf4 Look for explicit Dublin Core prefix, in the unlikely event that any pages don't use "DC." 2009-05-27 08:07:16 +00:00
Dan Stillman
d21494ad2d Pushed updated RDF and Embedded RDF 2009-05-27 05:27:36 +00:00
Dan Stillman
3fa10bc0fc Embedded RDF improvements
- Don't skip save if title and type not set via META tags (just use doc title)
- Include access date
- Save abstract from DC.Description.Abstract
- Save date from DC.Date.Issued
- Save dcterms.issued to date field in all item types (and not just in patents)
2009-05-27 05:01:24 +00:00
Dan Stillman
53d798c345 - Remove unused code from Zotero.Groups
- Adjust Zotero.Items.getAll(onlyTopLevel) to take a libraryID in the second parameter and only search local library otherwise -- this has the side effect of no longer exporting group items when using Export Library, which may or may not be what we want
2009-05-27 04:18:37 +00:00
Dan Stillman
e0f1ef7646 Automatically correct missing item server errors by flagging missing items for update on next sync 2009-05-27 04:13:25 +00:00
Dan Stillman
6de3c02301 Fix problems with imported files in 2.0b4 due to incorrect NULL handling 2009-05-27 03:52:18 +00:00
Dan Stillman
8317a0c439 Delete PNAS and Royal Society Publishing (replaced by HighWire 2.0) in existing clients 2009-05-26 19:14:27 +00:00
Matt Burton
c4f59b07a6 Fixes #1452, generic translator for Highwire 2.0 sites. 2009-05-26 19:06:48 +00:00
Dan Stillman
dbf124ef90 maxVersion bump to 3.5pre 2009-05-26 18:11:30 +00:00
Matt Burton
8113589fcc Adding Rintze's patch 2009-05-26 14:08:24 +00:00
Simon Kornblith
7a3a7d86bf - use URIs in word processing documents. needs testing to make sure migration of custom bibliography entries and uncited items included in bibliographies from 1.0 works.
- remove old key-based functionality from csl.js
2009-05-24 04:38:57 +00:00
Dan Stillman
305d5e18a7 Fix error clearing full-text cache files and update deprecated calls 2009-05-22 04:48:12 +00:00
Dan Stillman
4228132af2 Shift key toggles snapshot pref when clicking "Create New Item from Current Page" 2009-05-22 02:28:07 +00:00
Dan Stillman
f93f7384a6 Fix incorrectly entered MIME types and the DB bug in 2.0b4 that caused it 2009-05-22 02:07:22 +00:00
Matt Burton
85876c36a6 Added logic to check if DOI exists before adding to JSTOR item. 2009-05-21 18:33:07 +00:00
Dan Stillman
ad14b44335 Additional safeguard in Zotero.Attachments.getStorageDirectory() 2009-05-21 15:23:50 +00:00
Dan Stillman
b8599d0414 Add a safeguard into Zotero.Attachments.getStorageDirectory(itemID) to make sure it returns an actual item directory 2009-05-21 14:27:36 +00:00
Dan Stillman
a150c134bc Pushed updated zotero.org (temporarily hide icon on private groups) 2009-05-20 21:08:07 +00:00
Matt Burton
859b1df6c9 Fixes #1451, fixed bug where detect web triggered on private groups 2009-05-20 21:04:39 +00:00
Dan Stillman
afb950ba3a Version bump on trunk 2009-05-20 05:36:48 +00:00
Dan Stillman
6f09d392bd Fix sync error "Creator id null does not match item creator in Zotero.Sync.Server.Data.xmlToItem()" 2009-05-20 05:33:48 +00:00
Dan Stillman
1ae61a7ac4 Fix sync error after editing group item and leaving/deleting group 2009-05-20 00:58:34 +00:00
Dan Stillman
168ab9ca98 Speed up initial opening of Zotero pane with many collections -- this can be much faster, but not for Beta 4 2009-05-19 21:31:47 +00:00
Dan Stillman
975aafa9c1 Fix long delays in Firefox 3.0.10 due to unoptimized SQLite query processing (fixed in SQLite 3.6.8, which is between what's used in Fx3 and Fx3.5) 2009-05-19 21:12:18 +00:00
Dan Stillman
b3f9386164 Pushed EBSCOhost 2009-05-19 16:01:20 +00:00
Matt Burton
d0675e7a5e comment debug, fixed lastUpdated and temp stop gap on item.attachments, RIS tries to grab the UR and attaches a login page 2009-05-19 02:54:43 +00:00
Matt Burton
0f2ad9bed9 Adding Rintze's changes. Fixes #1299, #818, #963 2009-05-19 01:49:58 +00:00
Matt Burton
6006b597b1 quick fix for EBSCOhost, no PDF support and there are async issues...but it works 2009-05-19 01:49:48 +00:00
Dan Stillman
f73e2ceb58 Closes #955, Don't generate bibliography when dragging many items
Default limit set to 50, configurable in the Export pane
2009-05-18 19:51:36 +00:00
Ben Parr
8437a55e3e Fixes #1470 and makes sure the requested XML url is clean. 2009-05-18 15:48:45 +00:00
Dan Stillman
3ca64f746a - Remove empty creators from the database -- they shouldn't exist and were causing sync errors for some people
- Better logging for errors in metadata pane
2009-05-18 10:15:19 +00:00
Dan Stillman
f018e7d433 - Fix an error with translate.translate(true)
- Add Zotero.Libraries.isEditable(libraryID) (currently unused)
- Addresses #1444, Attachment arrow/count persists after delete, for items (problem probably remains for collections)
- Dragging PDF favicon or link or clicking Create New Item from Current Page when viewing a PDF creates a top-level PDF -- this is a temporary solution that allows "Retrieve PDF Metadata" to be used until it can be run automatically
- Allow PDF child snapshots to be dragged out of parents
- Dragging a link to a collection now creates parent item and child snapshot
- ZoteroPane.newItem(), addItemFromDocument(), addItemFromPage(), addItemFromURL(), and canEdit() now all take an optional row parameter
2009-05-18 09:05:11 +00:00
Dan Stillman
fa348d346c Fix saved searches and trash not display on collapse/expand of My Library 2009-05-17 08:29:46 +00:00
Dan Stillman
7ab0a62e38 Fix dragging of items with old creators with NULL values into group libraries, and store (currently unused) shortName and birthYear fields as '' and NULL, respectively 2009-05-17 07:54:42 +00:00
Dan Stillman
643376769a Automatically hard-code NULL bound parameters (e.g., convert "WHERE foo=?" to "WHERE foo IS NULL" and "SET foo=?" to "SET foo=NULL") 2009-05-17 07:52:05 +00:00
Dan Stillman
2d619ff561 Fix broken snapshot pref 2009-05-17 02:55:44 +00:00
Dan Stillman
83facaeb44 Fix typo 2009-05-16 05:32:02 +00:00
Dan Stillman
add589a744 Remove missing "Enable file syncing" checkbox... 2009-05-15 20:23:05 +00:00
Dan Stillman
c867994095 Fix blank progress window when save via translator to root of library 2009-05-15 07:01:42 +00:00
Dan Stillman
c04ddc8389 Fix broken PDF metadata recognition in 2.0b3 2009-05-15 06:19:23 +00:00
Dan Stillman
a12a6bc875 Fix zotero.org translator URL and update timestamp 2009-05-14 20:53:27 +00:00
Matt Burton
120f850045 #zotero.org.js
adding 2.0 site changes to translator.
2009-05-14 20:23:49 +00:00
Dan Stillman
3e7995fee5 Workaround for "mimeType is undefined" import error 2009-05-14 18:39:35 +00:00
Dan Stillman
91459f95f7 2.0b3 megacommit
- Support for group libraries
- General support for multiple libraries of different types
- Streamlined sync support
  - Using solely libraryID and key rather than itemID, and removed all itemID-changing code
  - Combined two requests for increased performance and decreased server load
  - Added warning on user account change
  - Provide explicit error message on SSL failure
- Removed snapshot and link toolbar buttons and changed browser context menu options and drags to create parent items + snapshots
- Closes #786, Add numPages field
- Fixes #1063, Duplicate item with tags broken in Sync Preview
- Added better purging of deleted tags
- Added local user key before first sync
- Add clientDateModified to all objects for more flexibility in syncing
- Added new triples-based Relation object type, currently used to store links between items copied between local and group libraries
- Updated zotero.org translator for groups
- Additional trigger-based consistency checks
- Fixed broken URL drag in Firefox 3.5
- Disabled zeroconf menu option (no longer functional)

Developer-specific changes:

- Overhauled data layer
  - Data object constructors no longer take arguments (return to 1.0-like API)
  - Existing objects can be retrieved by setting id or library/key properties
  - id/library/key must be set for new objects before other fields
- New methods:
  - ZoteroPane.getSelectedLibraryID()
  - ZoteroPane.getSelectedGroup(asID)
  - ZoteroPane.addItemFromDocument(doc, itemType, saveSnapshot)
  - ZoteroPane.addItemFromURL(url, itemType)
  - ZoteroPane.canEdit()
  - Zotero.CollectionTreeView.selectLibrary(libraryID)
  - New Zotero.URI methods
- Changed methods
  - Many data object methods now take a libraryID
  - ZoteroPane.addAttachmentFromPage(link, itemID)
- Removed saveItem and saveAttachments parameters from Zotero.Translate constructor
- translate() now takes a libraryID, null for local library, or false to not save items (previously on constructor)
- saveAttachments is now a translate() parameter
- Zotero.flattenArguments() better handles passed objects
- Zotero.File.getFileHash() (not currently used)
2009-05-14 18:23:40 +00:00
Dan Stillman
1db1de2257 Merged locales 2009-05-14 16:01:17 +00:00
Dan Stillman
490bd19f0d Skip WebDAV file downloads if server hasn't been updated since last local sync -- this should greatly reduce WebDAV load for people with lots of missing attachment files 2009-05-13 07:59:41 +00:00