Commit graph

524 commits

Author SHA1 Message Date
Dan Stillman
e305dff598 Allow possibly useless multi-character delimiters, so that ahoward stops bothering me 2009-05-29 21:38:31 +00:00
Dan Stillman
1c429dc33c Fix to prevent delimiters > 1 character 2009-05-29 21:19:01 +00:00
Dan Stillman
e86686aeaa Fix skipped first tag 2009-05-29 21:17:00 +00:00
Dan Stillman
18568d8153 Prevent buttons from going off bottom of window in long tag fixer, maybe 2009-05-29 21:02:52 +00:00
Dan Stillman
2eb5416620 - Run long tag fixer on first sync error, and then check locally for tags > 255 characters to avoid repeated sync attempts
- Don't run long tag fixer on background sync
2009-05-29 20:47:44 +00:00
Dan Stillman
93703c68d1 Fix PDF dragging to collections (from r4559) 2009-05-29 20:05:48 +00:00
Dan Stillman
481d847951 Long tag fixer tool -- runs automatically if server returns a long tag error, giving the option to split, edit, or delete the offending tag
Needs testing and refinement

- Also fixes server unlock after sync errors
2009-05-29 11:49:55 +00:00
Dan Stillman
921fa8c0fa - Make DOI label clickable in metadata pane
- Restore hand cursor when hovering over DOI/URL labels (which wasn't working in Fx3.5)
2009-05-29 08:43:52 +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
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
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
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
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
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
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
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
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
Simon Kornblith
4c09cbb7ac - fix progress window issues with lookup and scraping
- prevent multiple lookups and fix error dialog
2009-05-06 07:58:28 +00:00
Dan Stillman
0ab3f1d2d6 Proper 3.5b4 fix for Zotero.File.getCharsetFromFile() 2009-05-06 07:07:47 +00:00
Dan Stillman
1532a1dd14 Addresses #635, In-content translator
Adds "Import from Clipboard" Actions menu option, based on original patch from en205

Also available via keyboard shortcut (Cmd-Shift-V/Ctrl-Alt-V)
2009-05-06 01:45:57 +00:00
Dan Stillman
091c3227d9 Fix "TypeError: cases[l].indexOf is not a function" upgrade error 2009-05-05 05:17:04 +00:00
Dan Stillman
b99bcff855 Add ability to translate from iframes 2009-05-05 00:02:18 +00:00
Dan Stillman
77b06e695f Create Zotero.isFx35 test and alias isFx31 to it until we get around to fixing the old references 2009-05-03 09:31:14 +00:00
Simon Kornblith
ac53f35056 Adds RTF scan feature. this could probably use some more testing. Acceptable citations are in the form
(Smith, 2006)
The database is scanned for each citation, and positioning is adjusted automatically for footnotes. Currently, this won't work with names with accents, but I'll get to that.
2009-05-01 11:46:07 +00:00
Dan Stillman
e619cab8f3 Clarify expiry message 2009-05-01 02:32:23 +00:00
Dan Stillman
a606332de5 Update expiry date 2009-05-01 02:30:31 +00:00
Simon Kornblith
65cb00e26b FF3.5 fixes for attachment and file operations 2009-04-30 00:52:48 +00:00
Simon Kornblith
9b5679fa14 Make PDF recognizer compatible with FF 3.5, and tweak regexp 2009-04-30 00:34:51 +00:00
Simon Kornblith
1cf83d1760 - fixes processDocuments() under Firefox 3.5
- makes translator progress window work a little better with translators that call Zotero.done() incorrectly, and complains when item.complete() is called after Zotero.done()
2009-04-30 00:10:03 +00:00
Simon Kornblith
d2a4cf7680 Fixes a bug where transparent proxies wouldn't be transparent until Zotero is restarted 2009-04-29 20:58:26 +00:00
Dan Stillman
a2ce69aee1 Fix error when a linked file appears twice in an export (e.g., in two subcollections) 2009-04-27 01:45:15 +00:00