Commit graph

910 commits

Author SHA1 Message Date
Simon Kornblith
a9f9d15703 fix importing files 2009-07-29 22:14:35 +00:00
Dan Stillman
70ebccc827 Fix for file attachment links being broken after renaming file 2009-07-27 22:45:07 +00:00
Dan Stillman
41f3c3a261 Greatly increase import speed (by ~38% in testing) by consolidating collection inserts 2009-07-27 09:17:42 +00:00
Dan Stillman
24cd01e16f Fix "url.match is not a function" error with integers in URL field 2009-07-26 10:51:12 +00:00
Dan Stillman
9160cff264 Display more helpful message on newer DB version error 2009-07-26 09:44:18 +00:00
Dan Stillman
a3250b3992 Tweak changelog URL in upgrade wizard 2009-07-26 09:24:35 +00:00
Dan Stillman
147cd45f07 Display more helpful message on upgrade errors due to open files 2009-07-26 09:23:59 +00:00
Dan Stillman
14c1e9d15e - Don't display file sync verification alerts (e.g., "Please enter a URL.") during syncs -- just skip file sync
- Clarify file sync verification messages
2009-07-26 07:25:31 +00:00
Dan Stillman
1b0ec5d3be Collection item membership conflict resulted in removal of local items from collection 2009-07-26 05:45:22 +00:00
Dan Stillman
e033665b6b - Fix potentially missing tag selector splitter (with no way to restore)
- Decrease min-height of collections tree (since it doesn't seem to want to be resized all the way down)
2009-07-24 07:13:11 +00:00
Dan Stillman
20a14919ce Remove "Collections" header, since it's no longer accurate and takes up space 2009-07-24 06:30:27 +00:00
Dan Stillman
43e47b30a3 - Add ability to collapse left column of Zotero via grippy
- Use grippy for collapsing tag selector and remove toolbar icon
- Remove redundant Attachments and Notes tabs in metadata pane
- Add all four child attachment options to submenu of item context menu
2009-07-24 06:03:51 +00:00
Dan Stillman
110800f154 Display more helpful startup error if file access is denied 2009-07-23 10:52:28 +00:00
Dan Stillman
df5ef0096c Detect corrupted login manager database 2009-07-23 09:25:28 +00:00
Dan Stillman
51f79ad627 Fix "too many SQL variables" error syncing many item removals from a collection 2009-07-22 09:07:39 +00:00
Dan Stillman
d55f874881 Cache Zotero.CreatorTypes.getPrimaryIDForType() 2009-07-21 21:51:34 +00:00
Simon Kornblith
520a89a330 fix "this._streams is undefined" in translate.js 2009-07-17 20:29:30 +00:00
Dan Stillman
0def6c109f Update some triggers and fix inconsistent database entries that could cause sync errors 2009-07-17 07:07:27 +00:00
Dan Stillman
87969d106d - Don't show Mac clipboard warning in Create Bib window in Fx3.5, which supports HTML copy
- Remove warning from preferences window, because there's not enough room anyway
2009-07-15 21:54:29 +00:00
Dan Stillman
d106fc0313 - Add "Reset File Sync History" reset option to sync preferences
- Fix erroneous uploading of all files on storage history reset
- Fix re-verification of storage server after every opening of the preferences
2009-07-15 07:27:53 +00:00
Dan Stillman
9c8738dca0 Trailing letters in DOIs weren't linked in HTML bibliographies 2009-07-14 05:36:37 +00:00
Dan Stillman
882074e847 - Fix some collection sync issues 2009-07-14 04:04:39 +00:00
Simon Kornblith
40443c6b91 - add xml/e4x and xml/dom dataMode options
- parse XML encoding declarations in translate.js
- fix errors importing MODS from clipboard
2009-07-13 22:45:10 +00:00
Simon Kornblith
e3e8881282 Fix errors auto-detecting import formats 2009-07-13 20:16:13 +00:00
Dan Stillman
81b429420b Tweak to previous commit 2009-07-11 01:20:26 +00:00
Dan Stillman
28bbce4bf5 Trigger full reset on missing collection parent 2009-07-11 01:17:01 +00:00
Dan Stillman
0ac95bfacd - Don't send sourceItemKey if empty
- Remove stack trace on sync error, since it's mostly just annoying
2009-07-09 07:18:06 +00:00
Dan Stillman
7b998c355b Remove debug line that's breaking PubMed and other translators that return a document as an attachment 2009-07-08 20:32:08 +00:00
Dan Stillman
2408069055 Fix "cleanDOI:argument must be a string" error 2009-07-08 05:50:07 +00:00
Dan Stillman
b8c0dcebc5 Remove sync expiry 2009-07-08 05:29:52 +00:00
Dan Stillman
904a764b10 Fix erroneous username mismatch message 2009-07-08 05:18:07 +00:00
Dan Stillman
f76435a9b3 Fix metadata pane refresh issues 2009-07-08 05:10:53 +00:00
Dan Stillman
fffbd6e387 Fix horizontal orientation of attachment list in metadata pane 2009-07-08 04:42:21 +00:00
Dan Stillman
fe100d800b Item hierarchy in items pushed to server was lost 2009-07-08 04:11:43 +00:00
Dan Stillman
473e3a067a Fix for sync errors not stopping sync process (from 2.0b6 change) 2009-07-07 07:53:34 +00:00
Dan Stillman
d3b5553a73 Simultaneously fix and disable first run URL 2009-07-07 01:38:40 +00:00
Dan Stillman
c0fc3aeaaf Translator type comparison fix from Simon 2009-07-07 00:20:10 +00:00
Dan Stillman
5792b46409 Fix "Rename Attachment from Parent Metadata" on Linux 2009-07-06 21:52:27 +00:00
Dan Stillman
b619b2a010 Add "Create Parent Item from Selected Item" context menu option for attachments and notes -- creates a Document item based on the attachment/note title
This might eventually supersede "Retrieve Metadata from PDF", automatically recognizing PDFs and otherwise just creating parent items
2009-07-06 13:47:46 +00:00
Dan Stillman
5c8f1c5661 Fix relative customized sizing of table cells and headings 2009-07-06 12:30:51 +00:00
Dan Stillman
04aa0581be Date portion of SQL datetimes entered into date fields would be lost on edit 2009-07-06 11:42:03 +00:00
Dan Stillman
9e9f8db1df - Fix sync error when a file of an attachment with tags was in conflict
- Missed file from previous commit
2009-07-06 11:27:44 +00:00
Dan Stillman
7008fa41cf - Fix error in previous commit
- Log stack trace to error console on sync errors
2009-07-06 10:40:10 +00:00
Dan Stillman
3341336232 Fix "Sync delete log starts after last sync date in Zotero.Sync.Server.sync()" error 2009-07-06 10:20:04 +00:00
Dan Stillman
41437738b0 - Add triggers for full sync on various errors
- Add Zotero.Error(message, error) constructor to create a throwable error object with an error code
- Allow only one automatic client reset between manual syncs
- Fix "Source item for keyed source doesn't exist in Zotero.Item.getSource()" error
- Object produced by item.serialize() now contains .sourceItemKey instead of .sourceItemID
- Better error logging for missing XPCOM files
2009-07-06 10:13:02 +00:00
Dan Stillman
f9aa9383cb - Automatically run a full sync when triggered by server, which should allow for auto-correction of a wide range of remaining sync errors (though not all cause server to trigger full sync yet)
- Display exclamation mark on sync icon if a background sync fails due to a conflict (which requires manual intervention)
2009-07-05 10:48:19 +00:00
Dan Stillman
31bf663b03 Fix a serious but hopefully rare upgrade bug since Sync Preview 1 that could cause a handful of creators to be turned into either empty strings or other creators (the latter being much less likely)
For libraries that have already been upgraded, this renames orphaned item creators to "[Missing Name]"
2009-07-04 09:00:44 +00:00
Dan Stillman
46b3b857fa Expose all translator metadata properties (needed by Rintze for Scaffold 2.0) 2009-07-03 23:07:40 +00:00
Dan Stillman
5318b9293b Fix "Unexpected status code 300 in Zotero.Sync.Storage.getStorageModificationTime()" error (likely due to mod_speling) 2009-07-03 22:51:58 +00:00
Dan Stillman
3f911faa07 Add "Full Sync" option to Zotero prefs 2009-07-03 22:40:50 +00:00
Dan Stillman
34732fe78e Missed file in previous commit 2009-07-03 11:11:56 +00:00
Dan Stillman
4e3b79f9bb Metadata pane tab fixes
- Connect tabs to pane
- Allow switching between metadata pane tabs using standard Firefox shortcuts (Ctrl-Tab, Ctrl-Shift-Tab)
- Fixed squished look in Firefox 3.5
- Remove some unnecessary padding, providing a little bit more room in the metadata pane

Needs a little testing

Closes #711, Improve keyboard support
2009-07-03 11:11:13 +00:00
Dan Stillman
37abd1658a Fixes collection arrow persisting after subcollection delete 2009-07-03 09:59:34 +00:00
Dan Stillman
e636fe0f65 Fixes #1444, Attachment arrow/count persists after delete
This was fixed but then broken again for trashed items. Now fixed again.
2009-07-03 08:40:29 +00:00
Dan Stillman
2bfb5af205 Change "Documentation" to "Support and Documentation" and update URL 2009-07-03 07:04:13 +00:00
Dan Stillman
52dda8ae0b Don't throw error on database backup failure, which was breaking some upgrades for unknown reasons 2009-07-03 05:11:22 +00:00
Dan Stillman
2f2441bbf7 Upgrade TinyMCE to 3.2.5
- Added paste plugin to fix messy pastes from Word
- Added context menu plugin to allow copy/paste via mouse

Closes #1490, Upgrade TinyMCE to 3.2.4.1
2009-07-03 04:49:50 +00:00
Dan Stillman
48fc3fd742 Better debug and error messages for "not an error" messages (most of which should now be fixed via server) 2009-07-03 03:19:28 +00:00
Dan Stillman
e3e14a3f92 Extend expiry date 2009-07-02 07:57:38 +00:00
Simon Kornblith
7b25756416 use objects instead of arrays in serialize.js 2009-06-24 22:05:34 +00:00
Simon Kornblith
7da8c036d7 Use RDF store from Tabulator (http://www.w3.org/2005/ajar/tab) instead of Mozilla RDF support, along with a modified version of their RDF serializer. Our RDF export should now be much cleaner, but still backward compatible with 1.0. 2009-06-24 20:42:41 +00:00
Simon Kornblith
7b58475df7 - closes #1512, RTF Scan: Page Numbers
- closes #1513, RTF Scan: {Bib} Placemarker Flexibility
- switches citations from parentheses to brackets, to make it easier to distingush between what was reformatted and what wasn't
- adds a list of example citations to RTF scan dialog
2009-06-23 19:49:56 +00:00
Dan Stillman
6126ceb323 Use base-mapped title in progress window 2009-06-23 16:34:10 +00:00
Dan Stillman
ad01177eaf Clarify group attachment file syncing message 2009-06-17 21:13:09 +00:00
Dan Stillman
4ad2a4f5bf Fix broken documents after syncing for the first time with 2.0b5 2009-06-16 06:52:17 +00:00
Dan Stillman
e59bb3078f Speed up large SELECT operations a bit 2009-06-10 08:22:00 +00:00
Dan Stillman
03023e6265 Speed up initial items pane load (tested at ~20% faster with 5400 items) 2009-06-10 07:55:16 +00:00
Dan Stillman
ad965b1675 Fix possible "syncDeleteLog not empty and no timestamp in Zotero.Sync.delete()" error after upgrading 2009-06-10 07:28:30 +00:00
Dan Stillman
ebf6447351 Add Zotero.Translators.save(metadata, code) 2009-06-06 18:03:04 +00:00
Dan Stillman
cd1ac2e802 Use base-mapped date field in rename format string 2009-06-04 19:22:45 +00:00
Dan Stillman
63586518df - Add "Rename File[s] from Parent Metadata" context menu option to child file attachments, using extensions.zotero.attachmentRenameFormatString
- Only rename attachment title if it was already identical to filename

Somebody should probably test this.
2009-06-04 09:34:43 +00:00
Dan Stillman
9c28c6bb9c Fixes "this._IDMap is undefined" error from Embedded RDF translator 2009-06-04 08:32:26 +00:00
Dan Stillman
57fe6361d1 Remove valid username check from client 2009-06-04 00:58:50 +00:00
Dan Stillman
f681730e75 - Automatically check for and remove invalid characters in filenames on a sync upload error
- Add newline and characters not valid in XML (mostly control characters) to filename blacklist
- Strip invalid characters when user is renaming a file manually
2009-06-02 11:13:41 +00:00
Dan Stillman
5b7923c71d - Update file mod time when renaming so that new names sync
- Display file timestamp in conflict resolution box
2009-06-02 08:20:41 +00:00
Dan Stillman
51f6e1650d Better (and centralized) DOI parsing 2009-06-01 20:13:09 +00:00
Dan Stillman
6a28e8b040 - Make note font size configurable through preferences
- Make note font configurable through extensions.zotero.note.fontFamily hidden pref (for now)
- Additional CSS rules can be added through extensions.zotero.note.css hidden pref
- Give TinyMCE note body #zotero-tinymce-note id for more specific external customization
- Remove status bar position option from visible preferences...
2009-06-01 08:23:16 +00:00
Dan Stillman
68c6162fc8 - Don't use modifier keys to control tab/window opening behavior when double-clicking items list, because the modifier keys are already bound to behaviors
- Add viewOnDoubleClick hidden pref to disable double-click functionality
2009-06-01 02:53:03 +00:00
Dan Stillman
99ffa76e6f Better error message for a sync error (not yet fixed) 2009-05-31 20:19:49 +00:00
Dan Stillman
017713716e Fixes #1317, Sort triangle icon points in wrong direction in Firefox 3.1
Also fixes initial items pane sort, which was previously descending until a column was clicked
2009-05-31 07:15:55 +00:00
Dan Stillman
5ec339c9df Fix group collection sort 2009-05-31 05:57:43 +00:00
Dan Stillman
7ba742779e Fix "not a valid field for type" sync (conflict) errors 2009-05-31 03:26:23 +00:00
Dan Stillman
2d0a197293 - Remember last long tag delimiter
- Select delimiter field when switching to Split mode
- Escape special regexp characters
- Fix a window resize bug
2009-05-30 22:37:28 +00:00
Dan Stillman
4ea030b458 - Changed View/View Snapshot logic to following order: oldest PDF attachment matching parent URL, oldest non-PDF attachment matching parent URL, oldest PDF attachment not matching URL, old non-PDF attachment not matching URL, live URL, resolved DOI
- Double-clicking My Library takes you to online library
- Triple-clicking, rather than double-clicking, now expands/collapses parent items, which no one will notice or care about because I'm apparently the only person in the world who previously double-clicked to expand parent items. I feel so alone.

Closes #905, "ability to set primary attachment for the "view" button in the parent item" -- I think this is as close as we're gonna get.
2009-05-30 22:11:52 +00:00
Dan Stillman
a6478d7dd5 - Display snapshot first when double-clicking on an item, to make it consistent with the View button
- Check DOI field for View button
- Return false in Zotero.Item.getLocalFileURL() if file is missing rather than throwing error
2009-05-30 08:53:44 +00:00
Dan Stillman
211d5f3b62 - Double-clicking an item now takes you to its associated web page if there is a URL or DOI value
The tree expand/collapse behavior still happens concurrently, which is a little awkward.

- Double-clicking a group no longer expands/collapses the group while taking you to the group page
2009-05-30 08:13:04 +00:00
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
Dan Stillman
b0e5b1763a Don't try to delete downloaded ZIP file if it doesn't exist 2009-04-24 22:13:10 +00:00
Dan Stillman
b76fdd8e43 Set tag/creator purge flag on removals from items, and run purge on sync 2009-04-24 06:16:19 +00:00
Dan Stillman
7bddca9121 Add advertising domain to blacklist 2009-04-22 00:36:29 +00:00
Dan Stillman
c9618b8a08 Fix deletion method for old DB backups on schema update 2009-04-16 10:30:55 +00:00
Dan Stillman
5cd7b3840e - Add translator/style deleting mechanism (without repo)
- Fix style saving from repo (updated styles were saved without .csl extension, so updates were ignored)
- Don't update from repository on every load of SVN build with missing symlinked style targets
- Remove deleted "Open Worldcat (Search)" and "Worldcat.org" translators
2009-04-16 10:07:48 +00:00
Simon Kornblith
34cd1103a0 - merge WorldCat translators and fix search (for ISBNs, at least)
- make lookup button
- podcast icon is now ipod_cast.png and radioBroadcast icon is now transmit.png, both from famfamfam
2009-04-15 09:15:58 +00:00
Dan Stillman
f38f5e9c7c The previous items list nsITreeView object wasn't being destroyed when changing collections. This could cause slow expand/collapse operations (since it was trying to expand each item in each collection you'd viewed since starting Zotero the number of times you'd viewed the collection) and was also causing a potentially large memory leak. 2009-04-11 07:54:17 +00:00
Simon Kornblith
14862edb2c commit missing files 2009-04-11 04:03:23 +00:00
Simon Kornblith
dad84abe97 - adds "Lookup by Identifier..." option under add item. currently works for DOIs and PMIDs, but not ISBNs, since our Open WorldCat search translator is broken. with a working ISBN search translator, ISBNs would work, too.
- fixes NCBI PubMed translator type (should be 12, since it's a search translator as well as a web translator)
- fixes a bug passing multiple translators to translate.setTranslator()
- increases priority of CrossRef translator
- makes sync animated arrow progress indicator into a general CSS class (zotero-small-progress-indicator) so that the same progress indicator can be used for lookup. if this is confusing, we could use something else instead.
2009-04-11 04:00:31 +00:00
Dan Stillman
ebeb9976d2 getByKey() doesn't take an array 2009-04-09 20:54:28 +00:00
Simon Kornblith
b1b0bd47a0 add a platform attribute to the Zotero pane and make border fix work with Firefox 3.1 2009-04-09 07:58:29 +00:00
Simon Kornblith
e8ce1d30d2 make fake window border gray when window is inactive on OS X 2009-04-09 07:16:41 +00:00
Simon Kornblith
c351486ed2 remove debug statement 2009-04-09 05:55:27 +00:00
Simon Kornblith
7f8fe0ce78 restore toolbars properly when Zotero pane is closed 2009-04-09 05:54:05 +00:00
Simon Kornblith
f5b2f77a3a hide toolbars when Zotero is in fullscreen mode. this doesn't look quite right on OS X, but I can't figure out how to fix it. 2009-04-09 05:28:41 +00:00
Simon Kornblith
593d2958f0 actually pass nonblocking parameter as a flag 2009-04-04 23:05:45 +00:00
Dan Stillman
f9f6e5340c Add lastName search condition (API only, not in the search UI) 2009-04-04 20:52:44 +00:00
Simon Kornblith
24654a8bce shouldn't actually need bibliography-Integration at all 2009-04-04 07:10:29 +00:00
Simon Kornblith
41d8b7b341 -addresses #1213, Bibliography customization broken (change to plug-in also needed)
-uses blocking IO to send integration responses to fix problems with very large documents on slow machines
2009-04-04 07:07:55 +00:00
Dan Stillman
ff5631d9ec Addresses #1239, Add options to Locate button
When an item has a URL, turn Locate button into a menu and allow lookup via Wayback Machine

Support for additional user-configurable providers is forthcoming
2009-03-31 09:12:24 +00:00
Dan Stillman
96f836f58d Fix "attachmentSyncState can only be set for snapshots and imported files" error 2009-03-26 20:40:23 +00:00
Dan Stillman
240637e044 Fix "attachmentPath cannot be set for link attachments" CR error 2009-03-26 19:31:37 +00:00
Dan Stillman
d78c31eb2b Fix URL-linking regexp a bit 2009-03-24 03:55:56 +00:00
Simon Kornblith
1f0d24ceef - use DOIs for PDF metadata lookup when available (needs testing)
- fix accessibility of createContextObject in Zotero.Utilities
- improved CrossRef translator
2009-03-24 02:08:08 +00:00
Simon Kornblith
9ca461c59b Proxy system overhaul
- Only one preference for recognizing proxies for transparent redirection
- Blacklists sites and http://%h/%p
- Fixes to EZProxy

This will clear all existing proxies from Zotero
2009-03-23 19:55:57 +00:00
Dan Stillman
5aae6bc9ce Hack to wrap URLs and DOIs in HTML bibliography output in <a href=""> links -- regexps might need to be improved 2009-03-21 20:08:57 +00:00
Elena Razlogova
20a42741cf Addresses #842, Mappings required
Addresses #1408, Incorect format for legal case citations in CMS note without biblography style
On the trunk, maps court in case item type to authority, a new CSL variable
2009-03-20 12:40:37 +00:00
Dan Stillman
78365a095f Add Zotero.Utilities.processAsync(sets, callbacks, onDone) -- this can be used from translators to make it easier to correctly chain sets of asynchronous callbacks, since most translators that require multiple callbacks currently do it incorrectly.
This function definition will be automatically prepended to translators sent to older clients from the repo.
2009-03-19 22:25:00 +00:00
Dan Stillman
d5a092da42 Don't exec pdfinfo if pdfMaxPages is 0 2009-03-17 20:36:47 +00:00
Dan Stillman
551c8a36a7 Fix upgrade error "counts[0] is undefined" (or "counts[1]") 2009-03-17 08:23:45 +00:00
Dan Stillman
0df7f4afd4 Always show "Reindex item", even if item is indexed, and flicker the refresh icon briefly on click to show that it's doing something 2009-03-17 07:59:41 +00:00
Dan Stillman
468cd16534 Fix error: "[QUERY: DELETE FROM creatorData WHERE creatorDataID=?] [ERROR: constraint failed]" 2009-03-16 07:09:30 +00:00
Dan Stillman
4e7dfbad42 Proper locale-based sorting of saved searches 2009-03-15 22:58:44 +00:00
Dan Stillman
e2dc73c75b Don't copy item storage folder to orphaned-files every time the file changes via storage sync 2009-03-15 17:39:09 +00:00
Dan Stillman
6dbcc678c8 Fix a possible error purging orphaned storage server files if WebDAV server strips trailing slash 2009-03-15 16:07:52 +00:00
Dan Stillman
d5de9c7a4a Always show PDF recognize option when appropriate, and prompt to install PDF tools first if necessary 2009-03-15 06:00:59 +00:00
Dan Stillman
7c1cc3b3d0 Update auto-sync expiry date 2009-03-14 23:21:38 +00:00
Dan Stillman
95e3bb7a3a Better debugging for Zotero.Utilities.trim() error 2009-03-14 22:17:23 +00:00
Dan Stillman
f0def44c29 Fix repeated unlock requests, probably (and remove old request limiting code, which was never finished) 2009-03-14 22:13:20 +00:00
Dan Stillman
d904470200 Fixes #1393, "Error when adding existing tag beginning with certain extended characters to an item", but not properly
SQLite's COLLATE NOCASE doesn't work for Unicode characters, so it won't find existing tag "Äbc" if "äbc" is entered and will allow a duplicate tag to be created
2009-03-14 21:48:47 +00:00
Dan Stillman
7107be3cdd Fix error opening Zotero pane after tag deletion 2009-03-14 20:19:44 +00:00
Dan Stillman
41aad110c7 Support single-field mode in translators (with .fieldMode=1) 2009-03-10 00:34:16 +00:00
Dan Stillman
0746824c0f Addresses #1146, Check for duplicate items functionality
Ben's duplicate detection code, with the integration reworked a bit

Very rough, so currently requires creation of a boolean extensions.zotero.debugShowDuplicates pref to view the Actions menu option
2009-03-06 21:44:47 +00:00
Dan Stillman
accce9f2b4 Properly scope a couple variables in Frank's patch 2009-03-06 19:49:13 +00:00
Dan Stillman
4f6491d6ad Speed up sync XML generation by a factor of a lot 2009-03-04 06:00:22 +00:00
Dan Stillman
7edfd0aa03 Modifying an attachment with a missing file and then performing a storage sync would erase the attachment path on the sync server 2009-03-04 02:38:57 +00:00
Sean Takats
17d07b37bc Checking in Frank Bennett's single-to-multiple citation dialog fix. 2009-02-28 23:11:10 +00:00
Dan Stillman
7e3d8a8319 Fix overflow problem with long attachment filenames 2009-02-23 08:31:10 +00:00
Dan Stillman
ff24aec739 Apply r3954 to trunk 2009-02-23 08:03:16 +00:00
Dan Stillman
035cdd9e5a Closes #1371, Add "Create account" and "Lost password?" links to Sync pane 2009-02-23 05:01:35 +00:00
Dan Stillman
66a92a5f43 Hide another idle message 2009-02-23 04:54:26 +00:00
Dan Stillman
664b17190a Delete one numbered backup lower on DB upgrade 2009-02-23 04:32:08 +00:00
Dan Stillman
b39054ddda Don't show debug message every 10 seconds of idle 2009-02-23 04:27:58 +00:00
Dan Stillman
df8e1f15f8 Cap numBackups at 24 2009-02-23 02:40:17 +00:00
Dan Stillman
dd230b278b Closes #972, Keep additional backups of zotero.sqlite
Closes #984, Switch database backup to use mozIStorageConnection.backupDB()
2009-02-23 02:34:40 +00:00
Dan Stillman
744d6a5a0a Fixes #1320, Last synced tool tip should tell how long ago a sync occurred 2009-02-22 10:30:01 +00:00
Dan Stillman
fb0202fef9 Add server-based auto-sync throttling to client 2009-02-22 09:56:11 +00:00
Dan Stillman
4d1081be1a Fix FK constraint error with tags, often after the tag conflict window 2009-02-21 22:13:57 +00:00
Dan Stillman
5f60f6043c - Fix problem that was causing lots of sync errors on upload, and adjust a previous attempted fix that was making it worse
- Should also keep timestamps from going too far into the future when saving many items at once (which they were after my previous fix), though this can still be improved
2009-02-21 04:23:50 +00:00
Dan Stillman
d7d4bc01d7 Fixed "getFile() can only be called on attachment items" error whent here was a conflict set with both a regular item and an attachment 2009-02-19 20:35:04 +00:00
Dan Stillman
7572703065 Auto-sync on idle every hour and when coming back from an idle of more than 15 minutes 2009-02-19 05:26:48 +00:00
Dan Stillman
26e6125450 - More efficient purging logic -- instead of purging all objects whenever an item is deleted, flag just the object type and do the necessary purge when the Zotero pane is next opened. This also fixes a sync error edge case due to purging during synced item deletions.
- Disable unresponsive script warning during items list refresh
- Zotero.UnresponsiveScriptIndicator.disable() now returns true if it disables the indicator and false if it was already disabled
2009-02-18 03:09:39 +00:00
Dan Stillman
fd1ac3104a - Fix "creator.serialize() is not a function" sync error
- Added Zotero.Utilities.isEmpty(obj)
2009-02-12 08:00:29 +00:00
Dan Stillman
e84f7f6ef8 Fix "col.lockDateModified is not a function" error 2009-02-11 20:05:45 +00:00
Dan Stillman
4e4f6f74a1 Only mark tag cache as fully loaded if it is 2009-02-11 19:28:06 +00:00
Dan Stillman
893bbc2c89 Add dateAdded to all objects 2009-02-06 06:37:13 +00:00
Dan Stillman
76e360ae2a Fix an endless spin problem 2009-02-06 06:29:01 +00:00
Dan Stillman
f307698ae3 Fix error when upgrading from a database with an older version of a style with a different URI 2009-02-06 01:27:12 +00:00
Dan Stillman
942b732455 Update auto-sync expiry date 2009-02-05 09:58:50 +00:00
Dan Stillman
3efb6e5730 Fix brokenness in advanced search due to trash (and an error when modifying an item with the search window open) 2009-01-31 06:55:06 +00:00
Dan Stillman
e36b41f6c2 Display trash can all the time, unless showTrashWhenEmpty is set to false
- Icon isn't currently reset to empty state when all trashed items are removed
- Dragging doesn't yet work

Addresses #513
2009-01-31 06:19:14 +00:00
Dan Stillman
e5c1f5a70b Addresses #513, Deleted Items folder
Hide restore button when no items are selected
2009-01-29 23:03:13 +00:00
Dan Stillman
e200fd154c Addresses #513, Deleted Items folder
Remember selection of trash in collection pane and don't lose focus after a restore
2009-01-29 08:26:21 +00:00
Dan Stillman
5e774efc42 Addresses #513, Deleted Items folder
Adds handling for parent/child items in trash -- non-deleted context items will appear in gray, and "Restore to Library" and the delete keystrokes won't be available if any of those are selected

Like other search views, Select All will select only the deleted items
2009-01-29 01:14:46 +00:00
Dan Stillman
cb8e226ae9 Addresses #513, Deleted Items folder
Missed in previous commit
2009-01-28 21:25:55 +00:00
Dan Stillman
eb79a0f659 Addresses #513, Deleted Items folder
- Still experimental, but committing for testing
- Sync conflicts with deleted items aren't yet supported

Unrelated: deprecated ZoteroPane.deleteSelectedItem() in favor of more accurately named deleteSelectedItems()
2009-01-28 21:25:06 +00:00
Dan Stillman
0a61514349 Fix an error after resetting from server between file upload and metadata sync 2009-01-26 23:23:15 +00:00
Dan Stillman
bf39f716f6 Tweak debuggina and skip unnecessary step in Item.getFile() 2009-01-22 17:12:34 +00:00
Dan Stillman
8e07effc0d Missed change from last week -- ensures that no two successive DB transactions use the same timestamp, to avoid some sync-related problems 2009-01-21 20:20:27 +00:00
Dan Stillman
0208806a95 Better fix for invalid HEAD responses -- Wiley was returning 405 on HEAD even for GETs that succeeded, so we're not just leaving the MIME type blank if the HEAD response is rejected
Also made the 'pdf' match check a bit more flexible -- now can be the end of the last segment or the query string and not just the extension
2009-01-15 21:40:15 +00:00
Dan Stillman
bd070f7b63 - Adds file conflict resolution -- not particularly attractive at the moment, and no Apply to All button, but possibly functional
- Fixes file syncing after editing a file locally
- Fixes a few storage bugs that could result in eternal spinning, invalid percentages, and other unpleasantries
- Made the attachment display box more flexible, including a filename field that we may or may not want to keep in the main view
2009-01-15 06:58:06 +00:00
Dan Stillman
a1277ccaa9 Bail on attachment save if HEAD request returns a status code other than 200 or 204 2009-01-15 04:24:10 +00:00
Simon Kornblith
90d7f9e937 fix iframe bug introduced by r3987 2009-01-12 07:31:36 +00:00
Simon Kornblith
4f467568fb fix frame handling 2009-01-11 10:08:53 +00:00
Dan Stillman
fe1692fb16 Don't start the progress window close timer after every translated item is saved -- only call it at the end
This should fix premature closing when saving multiple items. It also means that translators must call Zotero.done() or else the window will stay open.

This change is not being made on the 1.0 branch, since we don't want to have to push dozens of fixed translators.
2009-01-08 08:38:07 +00:00
Dan Stillman
ae10d4c5d0 Closes #1044, Don't use <toolbar> for Zotero toolbar
Fixes problem described in ticket and ugliness in Fx3.1b3pre -- hopefully with no ill effects. Not tested on Windows or Linux.
2009-01-07 08:27:37 +00:00
Dan Stillman
8d51a09eda Fix empty subcollection problem 2009-01-03 06:27:40 +00:00
Dan Stillman
1bd36605d4 Fix for items with notes not showing up in collections on import 2009-01-03 00:11:03 +00:00
Dan Stillman
3c419f9f5a Addresses #1276, RDF export loses collection info 2009-01-02 18:55:44 +00:00
Dan Stillman
a161217f3b Fixes #1276, RDF export loses collection info (broken by me in r3652) 2009-01-02 18:53:06 +00:00
Dan Stillman
d98f0ab07a Fix error when attempting a Restore from Server immediately after Restore to Server 2009-01-02 17:36:49 +00:00
Dan Stillman
fa4df719e1 Fix error exporting items with child notes with tags 2009-01-02 17:32:23 +00:00
Dan Stillman
94f004002b Hide sync debugging menu behind extensions.zotero.sync.debugMenu by default, now that there are user-friendly replacements 2009-01-02 16:51:13 +00:00
Dan Stillman
b9121177e5 Display prompt on locked session 2009-01-02 06:45:40 +00:00
Dan Stillman
3b0f20c493 Add initial implementations of "Restore to Server" and "Restore from Server" to the Sync pref pane 2009-01-02 00:35:09 +00:00
Dan Stillman
d26eed03dc Update expiry date 2008-12-31 20:22:41 +00:00
Dan Stillman
a28b54bae6 Use SQL that actually works with SQLite 2008-12-29 10:33:32 +00:00
Dan Stillman
2468ad5dfc Fix a potential upgrade error due to the initial 1.5 migration step not adding a UNIQUE index to key in syncDeleteLog 2008-12-29 10:31:29 +00:00
Dan Stillman
38be4790a1 Merged r3901 from branch 2008-12-29 09:38:58 +00:00
Dan Stillman
f2cd272786 Merged r3888 from branch 2008-12-29 09:35:11 +00:00
Dan Stillman
8512ba8d39 Merge revisions from branch 2008-12-29 07:57:20 +00:00
Dan Stillman
f2d8c72ec1 Fixes #1255, Link to parent file in note title broken 2008-12-29 07:09:21 +00:00
Dan Stillman
8ad23d7eea - Abstract attachment info pane into XBL binding
- Add attachment conflict resolution
2008-12-29 06:18:41 +00:00
Dan Stillman
1d972ae92c If a tag is deleted remotely and modified locally, keep local and display warning 2008-12-27 07:24:55 +00:00
Dan Stillman
c7b2c84869 - Add automatic merging of collection and tag metadata and associated items, with warning alerts (eventually to be converted to logged notifications)
- Switch to using only keys for deleted items
- Fix various tag-related problems
- Probably other things
2008-12-27 05:42:52 +00:00
Dan Stillman
b4c0df32cc Fix one or two tag errors resulting from an uncleared cache 2008-12-26 01:10:55 +00:00
Dan Stillman
2cfcec4d8e Fix error when renaming tag to an existing tag with no associated items 2008-12-25 21:46:21 +00:00
Dan Stillman
7e5eecae6e Add 1/4-second delay to advanced search autocomplete 2008-12-24 14:57:37 +00:00
Dan Stillman
107c1bdf4b Keep focus in creator field when using two-field autocomplete 2008-12-22 09:48:25 +00:00
Simon Kornblith
f5fb1fa806 don't download snapshots when snapshot is given as a document object and automaticSnapshots preference is false 2008-12-21 18:16:31 +00:00
Dan Stillman
574e6197a2 Fixes bug in test for quoted string when value is numeric 2008-12-20 16:16:01 +00:00
Dan Stillman
9d9d4faffb Fixes #1244, duplicating changes editors into authors 2008-12-20 07:00:41 +00:00
Dan Stillman
573dea6dcd Addresses #1262, Broken pluralization with et al. + other issues
Values enclosed in double quotes now fail is-numeric test, and the double quotes are stripped on output to CSL -- if any fields actually need enclosing quotes, this could be limited to certain fields such as edition.
2008-12-20 01:18:15 +00:00
Dan Stillman
2689f92335 Fixes #1265, Year suffix disambiguation doesn't scale
Patch seems to work (tested with "2007z", "2007aa", "2007ab") -- applying to branch and trunk
2008-12-19 23:15:52 +00:00
Dan Stillman
bac79ed2ac Addresses #1262, Broken pluralization with et al. + other issues
Patch 1 from Frank -- Names using "et al." were incorrectly being considered singular
2008-12-19 22:40:09 +00:00
Dan Stillman
dbb07937f0 Fix for attachment/note tag popup not displaying in Firefox 3 if there wouldn't be enough space on screen -- now auto-adjusts, though possibly with some artifacts after closing on OS X 2008-12-17 10:14:12 +00:00
Dan Stillman
b5f3448304 Fixes #1253, Note export generates invalid RDF
In Item.toArray(), use toArray() for descendants as well
2008-12-15 05:51:35 +00:00
Dan Stillman
16f98f76e0 Disable duplication only for tagged items, not all items 2008-12-02 09:36:41 +00:00
Dan Stillman
c95ce030ba Work around createUnique() brokenness on Windows (fixed in Fx3.0.5, but that's a couple weeks off) that was causing schema upgrade errors 2008-12-02 07:50:24 +00:00
Dan Stillman
f95291af88 Fix broken doc prefs window 2008-12-01 20:51:16 +00:00
Dan Stillman
8012d08354 Not going to deal with merging locales right now 2008-12-01 08:57:46 +00:00
Dan Stillman
39fd9b55d7 Updated comments 2008-12-01 08:33:07 +00:00
Dan Stillman
727426fd4f Fix erroneous conflict after deleting an item and then deleting the collection it was in 2008-12-01 08:31:59 +00:00
Dan Stillman
faa9f2345c Update expiry date 2008-11-30 20:22:13 +00:00
Dan Stillman
337b16361a Merge [3617-3838] from branch to trunk 2008-11-30 20:18:48 +00:00
Dan Stillman
6456b6f561 Adds partial collection conflict resolution support -- items are auto-merged, and an alert is displayed. Support for collection metadata and collection hierarchy conflicts is forthcoming, and the alert will be fed to a new notifications system. 2008-11-30 19:30:15 +00:00
Dan Stillman
49a7537fa6 Much improved storage syncing (theoretically)
Metadata sync now always runs before storage sync, and file transfers can be stopped.

Needs testing
2008-11-29 14:13:29 +00:00
Dan Stillman
e161f19272 Clarify the 990 2008-11-26 08:42:45 +00:00
Dan Stillman
5d7b37a157 Account for other bound parameters in statement when setting max 2008-11-26 07:45:55 +00:00
Dan Stillman
d387f99710 Merge r3824 to trunk 2008-11-25 21:54:08 +00:00
Dan Stillman
5cd824136e Fix translator error reporting on trunk (inRepository property was missing on Zotero.Translator objects) 2008-11-25 17:13:57 +00:00
Dan Stillman
6078eb1d59 Update schema migration comments 2008-11-24 09:12:49 +00:00
Dan Stillman
ca30ea2ff8 Register difference between tags if linked items change 2008-11-21 08:32:49 +00:00
Dan Stillman
9e8d822b90 Fix another problem with Sakai's href attribute handling 2008-11-20 21:29:54 +00:00
Dan Stillman
c942afb2b0 Until it's fixed, add a proper error message when trying to duplicate an item 2008-11-18 00:06:36 +00:00
Dan Stillman
7c081170d5 Fix error replacing non-empty export directory 2008-11-16 13:36:59 +00:00
Dan Stillman
63c90f2ae7 Display error icon and message on sync attempt if browser is offline 2008-11-15 21:01:23 +00:00
Dan Stillman
e45ee36117 Fix invalid progress values due to Firefox bug (fixed in 3.1) 2008-11-15 20:26:36 +00:00
Dan Stillman
6a9b372e66 Fixes #1204, Automatic proxy code gets stuck in a loop 2008-11-15 16:35:02 +00:00
Dan Stillman
3d615f2b9c - Fix errors when auto-saving proxies with transparent setting off (due to proxy variable not being set)
- Fixed display of proxy settings validation failure window
- Tweaked validation failure window title
2008-11-14 19:15:18 +00:00
Dan Stillman
03a0cced19 New expiry date 2008-11-14 18:39:06 +00:00
Dan Stillman
cdcb7533b2 Apply the rest of r3775 to trunk 2008-11-14 17:20:21 +00:00
Dan Stillman
4438ef9ee8 Fix display error in metadata pane if Abstract or Extra was stored as integer 2008-11-14 17:19:30 +00:00
Dan Stillman
c6ae811dde Remove temp directory on shutdown 2008-11-14 13:43:01 +00:00
Dan Stillman
6f9033d206 Resolve some compatibility issues with Jungle Disk (though none that would've caused failures, as far as I can tell)
Storage username/password are no longer required, since JungleDiskMonitor doesn't require them
2008-11-14 12:55:47 +00:00
Dan Stillman
ecfc779b2d Fix breakage in post-3.0.4 Firefox builds due to SQLite 3.6.4 upgrade (due to 'indexed' keyword from new INDEXED BY syntax) 2008-11-14 11:40:15 +00:00
Dan Stillman
a76eaef5bf Fixes #1214, different translator behavior on the branch and the trunk
Fix error when creator name field is left blank in two-field mode
2008-11-13 15:30:03 +00:00
Dan Stillman
79a89184d2 Upload objects earlier than earliest object mod time on server -- with any luck, this will fix the majority of "Invalid response" sync errors 2008-11-12 09:58:20 +00:00
Dan Stillman
11f2810586 Fix "New Zotero.Item objects shouldn't be accessed after save" warning during sync 2008-11-10 09:42:57 +00:00
Dan Stillman
fdcc02d953 Add mod time mismatch debugging 2008-11-10 06:34:47 +00:00
Dan Stillman
0cece91741 Better sync/storage error handling 2008-11-08 09:55:57 +00:00
Dan Stillman
12fdfe7dc4 Fix problem changing item types 2008-11-08 08:34:08 +00:00
Dan Stillman
81622ea56f Fix devious id-assignment bug 2008-11-08 08:24:21 +00:00
Dan Stillman
4f2583f1df Fix a few bugs in csl.js 2008-11-06 08:59:30 +00:00
Dan Stillman
79cedb822c Allow periods in sync usernames 2008-11-05 17:28:28 +00:00
Simon Kornblith
2117745a63 - fix bookmarks mode in OOo plug-in
- disable bookmarks mode for note-based styles
- display an error when attempting to insert a bookmark into a footnote
- closes #1201, Keyboard focus stays in Word when creating or editing a citation
2008-11-03 10:11:47 +00:00
Dan Stillman
5bb3529c0e Closes #1200, Keyboard focus should go to note 2008-11-01 13:24:58 +00:00
Dan Stillman
c06dd16ffa Fix web-based installation of non-small styles 2008-10-31 19:46:10 +00:00
Dan Stillman
4d7bca4f43 Fix for some numeric directories being left behind during upgrade process, except this time maybe for real 2008-10-31 00:29:04 +00:00
Dan Stillman
b8b75dd115 Don't report any "Unrecognized command line flag" errors 2008-10-30 20:53:47 +00:00
Dan Stillman
a24200b30c Imported snapshot path wasn't being set properly 2008-10-30 19:57:51 +00:00
Dan Stillman
d951bab1be Remove extraneous debugging 2008-10-30 07:15:16 +00:00
Dan Stillman
6f4414ed4d More accurate error message on server error (instead of "Empty response from server") 2008-10-29 19:01:32 +00:00
Simon Kornblith
92ea15948f closes #1186, ask before upgrading field codes
adds field code warning to Word plug-in and updates API version
2008-10-29 06:57:34 +00:00
Dan Stillman
9c02d05c33 Update About panel 2008-10-29 04:26:49 +00:00
Dan Stillman
051581cbb0 Make storage sync a bit more open-minded about 20x response codes for PUTs 2008-10-28 21:57:22 +00:00
Dan Stillman
cf644465e3 Fix a couple more potential upgrade errors with space trimming 2008-10-28 06:18:11 +00:00
Dan Stillman
fa2a8bb30e Fix note import 2008-10-28 05:33:54 +00:00
Dan Stillman
e52ea34e2b Fix obj.isAttachment() sync error (which really should be a "Reconciliation unimplemented" error) 2008-10-28 05:18:55 +00:00
Dan Stillman
094fe1c6a2 Fix export error (broken by r3603) 2008-10-28 05:14:06 +00:00
Dan Stillman
b9430a5fb1 Fix potential upgrade error 2008-10-27 22:45:07 +00:00
Dan Stillman
6b82ca8aa6 Fix creator glue 2008-10-27 19:08:04 +00:00
Dan Stillman
2197efc2df Add creator XML as glue if not already included in sync session 2008-10-27 18:48:41 +00:00
Dan Stillman
41a3756102 Restore EndNote® import 2008-10-27 18:16:45 +00:00
Dan Stillman
95024e50d5 Update sync expiry 2008-10-27 18:04:54 +00:00
Dan Stillman
8070a22d08 Load TinyMCE as chrome to avoid NoScript blockage 2008-10-27 16:39:18 +00:00
Dan Stillman
11b05a5a41 Fix upgrade error with empty data values and tags 2008-10-26 22:58:44 +00:00
Dan Stillman
8660095c54 Fixes #1182, Translator priority is ignored 2008-10-25 20:55:02 +00:00
Dan Stillman
5688acbdc9 Fix truncated default terms when using custom <terms> element (http://forums.zotero.org/discussion/4384/) 2008-10-25 10:51:01 +00:00
Dan Stillman
d2118dc5fc Apparently we still use this (in csledit.xul and cslpreview.xul) 2008-10-25 10:47:01 +00:00
Dan Stillman
310e233480 Merged r3581-3616 from 1.0 branch, plus some report tweaks 2008-10-25 08:01:43 +00:00
Dan Stillman
01edde493f Fix error toggling RIS/Refer intercept pref 2008-10-25 07:39:32 +00:00
Dan Stillman
93bbed579e Missed file from r3450-3580 merge from 1.0 branch 2008-10-25 07:38:50 +00:00
Dan Stillman
0f0c531247 Merged r3450-3580 from 1.0 branch 2008-10-25 07:37:47 +00:00
Dan Stillman
f50a5fe603 Run storage server verification automatically when clicking sync button
If there's a storage error, it either needs to be resolved or file sync needs to be disabled for regular sync to proceed.
2008-10-25 04:01:36 +00:00
Dan Stillman
99f9bcb79d More tag/space handling 2008-10-25 03:10:50 +00:00
Dan Stillman
6a20d690e0 Fix errors adding tags with leading or trailing spaces to items (since yesterday) 2008-10-25 02:47:47 +00:00
Dan Stillman
7a6656ae5c Fix error from previous commit 2008-10-25 02:09:59 +00:00
Dan Stillman
4f2bcb15d5 Fix error when purging tags that have already been erased 2008-10-24 23:03:53 +00:00
Dan Stillman
56eb416e3e Fix error in doc prefs window if lastStyle is set to an invalid style 2008-10-24 21:08:44 +00:00
Dan Stillman
7a2d7594d4 Fixes #1194, RDF Export fails to export files in 1.5 2008-10-24 20:11:34 +00:00
Dan Stillman
a7f73f0d82 Fix sync regression from previous commit 2008-10-24 11:29:08 +00:00
Dan Stillman
85087c4859 Fix upgrade error from previous commit 2008-10-24 11:14:16 +00:00
Dan Stillman
108fd304ab Fixed lots of sync bugs
- All string values are now trimmed going into the DB (with a migration step for existing values) -- this fixes erroneous conflicts due to leading/trailing whitespace in sync XML being ignored
- Case disambiguation fixed on server
- Added basic diff ability to collections and tags so that identical objects won't trigger conflicts
- Fixed various other bugs that could cause erroneous conflicts
- Moved string fields in serialize() objects into a 'fields' object for consistency with Zotero.Item

Upshot of most of the above is that identical pre-upgrade libraries should now merge cleanly

Also reorganized/simplified/modularized parts of the sync code
2008-10-24 11:10:05 +00:00
Dan Stillman
3fdb212dd6 Fix for some attachment directories not being properly migrated to keys
Also migrates remaining files for past upgrades on the trunk (assuming their ids haven't been changed by syncing--if the item that has a given id already has a directory or if there is no attachment item with that id, the directory will be moved to orphaned-files)
2008-10-22 07:45:27 +00:00
Dan Stillman
25f8b8350c Fix broken note window when opened without an associated item 2008-10-21 19:19:18 +00:00
Dan Stillman
405c5114b8 Debugging for TinyMCE page load 2008-10-20 22:11:33 +00:00
Dan Stillman
7c0bc7035b Some debug lines for key upgrade process testing 2008-10-17 21:49:43 +00:00
Dan Stillman
0c01dc2d6e - Fix note saving on Windows
- Remove some extra stuff from read-only note page
2008-10-17 20:39:39 +00:00
Elena Razlogova
cda9ced2a5 Adds "sub verbo" locator to the trunk 2008-10-17 18:18:27 +00:00
Dan Stillman
df8d13df84 Revert unnecessary change from r3562 2008-10-17 17:37:33 +00:00
Dan Stillman
9373e19aa8 Fix error saving automatic tags 2008-10-17 17:31:34 +00:00
Dan Stillman
d5215618aa Additional debugging for setStorageModificationTime() error 2008-10-17 00:33:22 +00:00
Dan Stillman
994de2e65c Fix TinyMCE in XPI builds 2008-10-16 22:29:26 +00:00
Dan Stillman
4de529c03f Fixed a couple tag-related errors (from caching change) 2008-10-16 17:12:33 +00:00
Dan Stillman
1fad45da63 Fix erroneous caching of attachment path after relinking 2008-10-15 06:27:52 +00:00
Dan Stillman
5b3a3a1ad2 Fix missing space after formatted words in custom citations 2008-10-15 06:14:12 +00:00
Dan Stillman
ad5ac7ba64 - Fix error saving attachments
- Increase default separate note window height
2008-10-15 05:30:59 +00:00
Dan Stillman
1d6dea45ec Remove our plaintext timed textarea 2008-10-15 05:26:16 +00:00
Dan Stillman
2bbf3d7c80 - Restored read-only mode for notes (using a separate HTML file, for lack of a better way)
- HTML file is now loaded on-demand the first time it's required
2008-10-15 05:24:38 +00:00
Dan Stillman
5e1ca7172a - Reduced TinyMCE to two rows
- Removed font-family, font-size, full justify
- Restored outdent and indent
- Some style improvements, including quotation marks around blockquotes
2008-10-14 03:02:26 +00:00
Dan Stillman
31ef0eab13 Moved 'tiny_mce' directory to 'tinymce' 2008-10-13 23:31:53 +00:00
Dan Stillman
ea5d51b93d - Remove indent/outdent buttons
- Remove extraneous debugging
2008-10-13 23:27:57 +00:00
Dan Stillman
9dfca12594 Fix creator breakage from object caching changes 2008-10-13 22:33:28 +00:00