Commit graph

1569 commits

Author SHA1 Message Date
Dan Stillman
66fbf3d008 Fix nsIFile.remove() errors during sync, I imagine 2009-10-17 05:07:17 +00:00
Dan Stillman
bdd7bd9beb - Fix UI issue with search box when text is entered (probably)
- Restore Fx3.0 quick search code
2009-10-15 00:34:59 +00:00
Dan Stillman
249e8fa857 Advanced quick search mode was searching after every keypress 2009-10-14 09:53:50 +00:00
Dan Stillman
04bab1f28f Fix stupid bug that could cause an upgrade error 2009-10-14 09:25:41 +00:00
Dan Stillman
8d38122e9b Fix restart error dragging items between libraries 2009-10-13 22:29:25 +00:00
Dan Stillman
b6980b6c76 - Restore Notes tab
- "Add" button in Notes tab now uses inline notes editor by default instead of new window -- Shift toggles
- Fix overflow of tab panels in right column
- Fix error clicking on parent item title in unsaved new note window
2009-10-13 08:56:04 +00:00
Dan Stillman
daf313ad87 Add additional repair step to 1.0->2.0 DB upgrade process 2009-10-13 07:46:08 +00:00
Dan Stillman
2c81638fc7 Output debug message on restart error 2009-10-12 22:01:49 +00:00
Dan Stillman
67831bcb79 - Address "Delete reconciliation unimplemented for collections" message
- If collection items were added/removed on both sides, items from both sides were not always added
- Fix a couple other related glitches which may or may not have shown up before the above issues were fixed
2009-10-12 08:14:11 +00:00
Dan Stillman
d8bdb6c11d Restore proper display of changed creators in CR window 2009-10-10 08:29:55 +00:00
Dan Stillman
2a4c4e4780 Remove debug output 2009-10-10 07:52:32 +00:00
Dan Stillman
efba47c0df More debug output 2009-10-10 05:48:46 +00:00
Dan Stillman
193d205ca8 Temporary debug output 2009-10-10 05:04:26 +00:00
Dan Stillman
7f3ec894d2 Upgraded libraries all defaulted to WebDAV syncing, even if WebDAV URL was blank -- default to Zotero File Storage instead if no URL 2009-10-09 07:53:54 +00:00
Dan Stillman
e168071ab2 - When shortening long filenames during syncing due to Windows path length limit, preserve file extensions
- If shortened filename already exists, make unique
2009-10-09 07:40:49 +00:00
Dan Stillman
36a876021d - Fix error when dragging item with missing child attachment to another library
- Fix another cross-library problem (which may or may not have been exposed) that showed up in testing
2009-10-08 19:28:59 +00:00
Dan Stillman
83781293da - Display more helpful message for "(NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" error when a remotely modified file is in use locally on Windows
- Fix a potential NS_ERROR_TARGET_FILE_EXISTS error from a recent commit
- Fix alignment of sync error icon
2009-10-01 20:26:31 +00:00
Simon Kornblith
4beb908dfa fix spurious "_sortCheckbox is not defined" errors 2009-09-28 22:00:48 +00:00
Simon Kornblith
c95c51907e Don't create invalid RTF when citations have brackets 2009-09-28 20:18:15 +00:00
Simon Kornblith
40b1b1da23 Fix incorrect conversion of documents with bookmarks from pre-2.0b7 format 2009-09-28 06:42:39 +00:00
Dan Stillman
4bbce8187c Missed file in previous commit 2009-09-28 06:40:38 +00:00
Dan Stillman
f482f65a46 - Fix some causes of "Source item for keyed source doesn't exist"
- If a child item is in conflict, always keep parent item if one side has one regardless of which side is chosen
- On cancelling sync from CR window, don't continue with file sync
- Clarify "Background sync resulted in conflict" message
- Display the error icon rather than the warning icon on errors (though some file sync problems should be changed to warnings instead)
2009-09-28 06:39:54 +00:00
Simon Kornblith
9665d14a18 Don't use modal dialogs in integration
Should fix http://forums.zotero.org/discussion/9078/reproducible-hang-adding-bibliographic-entry-while-openoffice-plugin-addedit-open-box-is-open/#Item_0
2009-09-27 21:44:32 +00:00
Dan Stillman
3941dd911a Fix potential cause of "Downloaded file not found in Zotero.Sync.Storage.processDownload()" 2009-09-27 07:40:39 +00:00
Dan Stillman
38459c5d0e Properly handle errors thrown by merge window, including cases of "Source item for keyed source doesn't exist in Zotero.Item.getSource()" 2009-09-27 02:00:08 +00:00
Simon Kornblith
0974d4bcf3 put "OK" button at right in editBibliographyDialog 2009-09-25 08:41:57 +00:00
Simon Kornblith
f9f59c73c6 commit missing binding 2009-09-25 08:35:04 +00:00
Simon Kornblith
f5c988f918 - add resizer to integration windows
- don't automatically resize integration windows if a button is pressed
- move integration js/xul to integration subdirectory
2009-09-25 08:30:07 +00:00
Dan Stillman
f4100739ce Merge new English strings 2009-09-23 08:12:10 +00:00
Dan Stillman
291888a498 Fix error resetting sync session 2009-09-23 07:55:49 +00:00
Dan Stillman
6d9bd979ef - Fix "Unexpected status code 404" in WebDAV downloadFile()
- Display a nicer message on a 403 upload error after verification
- Fix _deleteStorageFiles() for WebDAV
2009-09-23 07:51:01 +00:00
Dan Stillman
e239b69d76 - Restore error icon if WebDAV verification fails during sync and settings are filled in
- Display slightly more helpful message on unknown error
- Missing file from previous commit
2009-09-23 06:59:43 +00:00
Dan Stillman
b6964dc00f Display more helpful message for SSL certificate error during WebDAV server validation or sync 2009-09-23 06:22:27 +00:00
Dan Stillman
1ce795d46d Restore previous WebDAV server verification behavior when parent directory isn't a WebDAV directory 2009-09-22 21:31:06 +00:00
Dan Stillman
171d072f31 Add oscpu to error reports 2009-09-22 20:27:26 +00:00
Dan Stillman
7e6784a739 - Fix error syncing empty files
- Clarify quota message to say that metadata will continue to sync
- Fix some other problem that I don't remember
2009-09-22 09:00:09 +00:00
Dan Stillman
ce9b915de1 Debugging info for a user's problem 2009-09-21 23:46:02 +00:00
Dan Stillman
add2c629cc Clarify Windows path-too-long error message 2009-09-21 22:20:30 +00:00
Dan Stillman
e09c80e5e1 Fix collections-containing-an-item highlighting on OS X 2009-09-21 19:08:34 +00:00
Dan Stillman
4c45a25c35 Closes #1554, Add non-standard mime types to improve RIS handling 2009-09-21 08:11:42 +00:00
Dan Stillman
ad3d5faddc Fix empty single autocomplete row in item pane 2009-09-21 07:26:12 +00:00
Simon Kornblith
3b4945aa37 Missing item indices should be indexed from 1 2009-09-21 07:18:25 +00:00
Simon Kornblith
48851108ea enhanced proxy checks (should fix http://forums.zotero.org/discussion/8810/trouble-with-ezproxy-i-think) 2009-09-21 07:04:30 +00:00
Dan Stillman
9a39145a48 Clarify some WebDAV error messages 2009-09-20 03:42:55 +00:00
Simon Kornblith
4278d60710 Display bibliography placeholder when there is a bibliography in the document, but no items cited 2009-09-20 00:03:13 +00:00
Simon Kornblith
6fc6dbe4e5 Fix missing item exception on documents being upgraded from 1.0 (see http://forums.zotero.org/discussion/8859/?Focus=41140#Comment_41140) 2009-09-19 23:43:51 +00:00
Dan Stillman
7e544aecca - Fix "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.create]" error during sync due to very long filenames causing file path to go past 260 characters, which is the Windows API limit -- filenames are now automatically shortened
- Display a clearer warning when attempting to rename a missing attachment via right pane
2009-09-19 10:52:58 +00:00
Dan Stillman
ae52a05c3b Allow for XML .prop files on WebDAV in the future 2009-09-19 10:50:22 +00:00
Simon Kornblith
2e93767c81 display errors in dialog (for MacWord and maybe work for WinWord, although I have yet to test; OOo users get a separate window) 2009-09-19 04:17:40 +00:00
Simon Kornblith
49fbfb8798 commit missing strings 2009-09-18 17:12:48 +00:00
Simon Kornblith
f4de46e271 Show an error when field JSON is corrupt and allow user to re-select.
closes #1489, Show a more intelligible error for corrupted fields
2009-09-18 17:11:03 +00:00
Dan Stillman
cde028b0f2 Fix for (rare, I would think) "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.create]" file sync error 2009-09-18 05:01:42 +00:00
Dan Stillman
d864bf834e Fix forcing of certain (text) file extensions to open externally 2009-09-17 20:00:33 +00:00
Dan Stillman
706583fa4b Log but don't throw an error if a synced file is missing after extracting a ZIP file -- this can happen if a filename is changed and synced elsewhere but the renamed file wasn't synced, so the ZIP doesn't ontain a file with the known name 2009-09-16 11:29:49 +00:00
Dan Stillman
020553607d - Double-clicking an item without a URL didn't open child attachment
- Fixed various issues with adding/dragging files/links to group libraries
2009-09-16 09:23:57 +00:00
Dan Stillman
1c3a10909a Allow PDF recognition in group libraries 2009-09-16 04:35:16 +00:00
Dan Stillman
97b2aff10a Fix erroneous "You cannot add files to the currently selected library." message when trying to store a file in a group library 2009-09-16 04:12:21 +00:00
Dan Stillman
5be1b75b2b Fix for "Invalid integer value 'Not found' [QUERY: REPLACE INTO version VALUES ('storage_zfs', ?)]" 2009-09-16 03:37:14 +00:00
Dan Stillman
e4fd15c228 Fixes #1573, Tag search filter broken in 2.0b7 2009-09-15 19:08:15 +00:00
Dan Stillman
abf53e07ce - Fix sync error with empty WebDAV URL
- Fix Verify Server hang with empty WebDAV URL
2009-09-15 08:57:20 +00:00
Simon Kornblith
e828ea6fa6 fix uneven field mode toggle highlight 2009-09-14 19:20:29 +00:00
Simon Kornblith
6268887048 fix creator alignment on Linux 2009-09-14 18:47:52 +00:00
Dan Stillman
5f6952c5bc Don't update attachment item date modified when syncing 2009-09-14 18:31:49 +00:00
Simon Kornblith
1d799a0bbe tighten up spacing some more 2009-09-14 18:13:04 +00:00
Simon Kornblith
1afb607512 tighten up row spacing 2009-09-14 18:04:11 +00:00
Simon Kornblith
4f48210682 proper look for disabled "-" icon on new item 2009-09-14 09:24:21 +00:00
Simon Kornblith
cc93621678 fix Extra and Abstract field alignment 2009-09-14 09:21:13 +00:00
Simon Kornblith
04796cd4d2 fix more spacing issues 2009-09-14 08:51:41 +00:00
Simon Kornblith
4f2a7a5463 fix itembox alignment issues 2009-09-14 08:46:39 +00:00
Dan Stillman
1d1ae0768c Remove extra padding in metadata pane on Windows 2009-09-14 07:45:51 +00:00
Dan Stillman
b7907f4883 Fix some margin/padding in metadata pane 2009-09-14 07:33:02 +00:00
Dan Stillman
1e2a71666e - Restore item pane and tag selector font size to default
- Decrease space between metadata columns
- Increase metadata pane left padding
2009-09-14 06:58:59 +00:00
Dan Stillman
401f766e9a - Fix broken charset detection and full-text indexing during import on trunk
- Fix collection refresh after import
2009-09-14 06:13:04 +00:00
Dan Stillman
dd89fb6d47 Merge English strings 2009-09-14 06:11:13 +00:00
Simon Kornblith
f26f3a654d disable glow on attachment button on OS X 2009-09-14 04:28:37 +00:00
Dan Stillman
11c1277ea7 - Changed toolbar note button to context-sensitive menu for adding standalone and child notes
- Added toolbar button with context-sensitive menu for adding child attachments
2009-09-14 04:18:58 +00:00
Simon Kornblith
a60bfc1518 try to recognize PDF based on 3 pages 2009-09-14 02:58:56 +00:00
Dan Stillman
a38322ef54 Fix error dragging standalone attachment to group with filesEditable off 2009-09-14 02:15:20 +00:00
Dan Stillman
884e5474fe Zotero File Storage megacommit
- Group file sync via Zotero File Storage
- Split file syncing into separate modules for ZFS and WebDAV
- Dragging items between libraries copies child notes, snapshots/files, and links based on checkboxes for each (enabled by default) in the Zotero preferences
- Sync errors now trigger an exclamation/error icon separate from the sync icon, with a popup window displaying the error and an option to report it
- Various errors that could cause perpetual sync icon spinning now stop the sync properly
- Zotero.Utilities.md5(str) is now md5(strOrFile, base64)
- doPost(), doHead(), and retrieveSource() now takes a headers parameter instead of requestContentType
- doHead() can now accept an nsIURI (with login credentials), is a background request, and isn't cached
- When library access or file writing access is denied during sync, display a warning and then reset local group to server version
- Perform additional steps (e.g., removing local groups) when switching sync users to prevent errors
- Compare hash as well as mod time when checking for modified local files
- Don't trigger notifications when removing groups from the client
- Clear relation links to items in removed groups
- Zotero.Item.attachmentHash property to get file MD5
- importFromFile() now takes libraryID as a third parameter
- Zotero.Attachments.getNumFiles() returns the number of files in the attachment directory
- Zotero.Attachments.copyAttachmentToLibrary() copies an attachment item, including files, to another library
- Removed Zotero.File.getFileHash() in favor of updated Zotero.Utilities.md5()
- Zotero.File.copyDirectory(dir, newDir) copies all files from dir into newDir
- Preferences shuffling: OpenURL to Advanced, import/export character set options to Export, "Include URLs of paper articles in references" to Styles
- Other stuff I don't remember

Suffice it to say, this could use testing.
2009-09-13 07:23:29 +00:00
Simon Kornblith
a611706f86 fix appearance on FF3.0 for Mac 2009-09-08 22:23:37 +00:00
Simon Kornblith
24ea6dbb5c Fix buttons so that they work on FF3.0 2009-09-08 20:53:03 +00:00
Simon Kornblith
7d4432cc8a Use zotero-clicky on field mode button instead of toolbarbutton to save space and fix alignment issues on Windows 2009-09-08 20:23:49 +00:00
Dan Stillman
76b5e135b2 Function left out of previous commit 2009-09-08 19:12:23 +00:00
Dan Stillman
8864792dc1 Fix for attachment box metadata rows not showing up in second and third panes of conflict resolution windows (since r5023) 2009-09-08 00:29:44 +00:00
Dan Stillman
d3b3cf1176 Fix entire autocomplete speed problem with a single missing index... 2009-09-03 05:19:04 +00:00
Dan Stillman
5420a6de4b Add .opml to list of text file types to launch externally 2009-09-02 18:00:16 +00:00
Simon Kornblith
4f5feb98a2 UI improvements on OS X
still need to work out the appropriate opacity for the glow on each individual toolbar button, and to make some similar changes for Windows
2009-09-02 08:26:24 +00:00
Dan Stillman
46daa1db57 Fix error when duplicating child note in a collection 2009-09-01 09:07:56 +00:00
Dan Stillman
45e761449f Fix "constraint failed" error on itemCreators during sync 2009-09-01 07:54:53 +00:00
Simon Kornblith
e347b7ed91 time field loop and optimize 2009-08-31 04:50:22 +00:00
Simon Kornblith
76cab84373 - 2-3x speedup getting field codes in MacWord
- show field retrieval time in integration output
- activate Firefox before showing an error if the plug-in XPI is not installed
2009-08-26 21:24:40 +00:00
Simon Kornblith
17c082db20 Commit missing error strings for integration 2009-08-26 20:30:10 +00:00
Simon Kornblith
0741c651c0 closes #1552: Add/edit citation should not update other citations 2009-08-26 18:08:33 +00:00
Simon Kornblith
4fa9b77aae improve integration error handling 2009-08-25 07:02:24 +00:00
Simon Kornblith
bc87ddf90a Remove obsolete popup code 2009-08-25 06:24:29 +00:00
Dan Stillman
2d9ae5b87f Use real window for doc prefs window on Windows 2009-08-25 06:02:27 +00:00
Simon Kornblith
a0369ee5c2 Don't display addCitation window as a popup 2009-08-25 04:27:11 +00:00
Simon Kornblith
39ab82f9db - fix Bookmarks preference not sticking in Document Preferences
- activate document before and after showing Prefs window
2009-08-24 03:26:17 +00:00
Simon Kornblith
ffeaaa2216 addresses #1527, Better position handling with non-Zotero notes
should fix note handling in MacWord and WinWord. still need to figure out how to get the index of the note in OpenOffice without having to loop through every note
2009-08-24 02:05:18 +00:00
Simon Kornblith
76698d624d fix upgrading documents containing additional bibliography items or custom bibliography entries from 1.0 2009-08-24 01:09:47 +00:00
Dan Stillman
a1428f47ea Find DOIs without "DOI: " prefix in the PDF recognizer 2009-08-23 20:47:21 +00:00
Simon Kornblith
0684030d9b fix counter moving in the wrong direction 2009-08-22 16:52:35 +00:00
Simon Kornblith
0d53142b51 get rid of extra haveMissing calls and (hopefully) fix opening old documents in OOo 2009-08-22 01:23:25 +00:00
Simon Kornblith
5b3c1b7bb2 - fix compatibility with older documents
- add upgrade warning
2009-08-21 08:41:07 +00:00
Dan Stillman
cf5eb92799 Fix possible "Parent collection for keyed parent doesn't exist in Zotero.Collection._getParent()" sync error 2009-08-21 05:37:20 +00:00
Dan Stillman
87e2924984 I created Zotero.Item.isImportedAttachment() on opposite day 2009-08-21 05:30:51 +00:00
Dan Stillman
3db1d08bdf Fix "Invalid mode 'mergeedit' in relatedbox.xml" sync error 2009-08-20 18:12:57 +00:00
Simon Kornblith
d1fd3cde13 activate Firefox by bundle identifier 2009-08-20 08:25:01 +00:00
Simon Kornblith
136c47be5f Integration megacommit, part 2: Zotero code
Closes #884, final period missing when a citation is first added in note styles
Closes #1298, issues with footnotes and citations in OOo
Closes #1069, Use async HTTP calls for integration requests
Closes #1027, User-customizable integration port number
Closes #698, Migration away from VBA
Closes #1085, Migrate VBA plug-in to new XML-based API
Closes #792, Auto-updating of OO plugins
2009-08-20 05:02:55 +00:00
Dan Stillman
35344f5f05 Call Zotero.wait() only for import and export translators, since it causes problems with both badly asynced translators and attachment saving 2009-08-19 22:00:54 +00:00
Dan Stillman
4e48c32a0e Don't call first() twice in processAsync() 2009-08-19 21:12:57 +00:00
Dan Stillman
8455b4ce0a Reorder 2009-08-19 13:05:23 +00:00
Dan Stillman
5d78e25bbb Zotero.Item.isImportedAttachment() 2009-08-19 13:04:32 +00:00
Dan Stillman
94f53f70f9 Fix "Cannot edit [object] in library [id]" error message resulting from remote deletions being logged as local deletions 2009-08-19 07:16:19 +00:00
Dan Stillman
75ae355005 Call debug log report ids Debug IDs 2009-08-19 05:19:52 +00:00
Dan Stillman
d65da0a6b6 Incorrect local mod time in file conflict CR window fix from 2.0b6.5 2009-08-16 16:28:20 +00:00
Dan Stillman
b98eefc932 "Invalid mode 'merge' in relatedbox.xml" fix from 2.0b6.5 tag 2009-08-16 16:25:19 +00:00
Ben Parr
233b51d3e1 Fixes #1541, shows "Remove Bucket from List" option (can't actually delete a bucket in IA)
Also adds "Create Bucket", and "Sync Bucket List with IA" features, available by right clicking the "Commons" header.
2009-08-13 23:08:05 +00:00
Ben Parr
ac79b1d05f Add Zotero Commons feature (integration between Zotero and Internet Archive).
- dropping Zotero items into a bucket puts them in that IA bucket
- double clicking a bucket takes you to that IA bucket

In order to enable Zotero Commons:
1) Get an access key and secret key at http://www.archive.org/account/s3.php
2) Go to about:config
3) Search "commons" (no quotes)
4) Set "extensions.zotero.commons.enabled" to true
5) Enter your S3 access key into "extensions.zotero.commons.accessKey"
6) Enter your S3 secret key into "extensions.zotero.commons.secretKey"
7) Enter your buckets into "extensions.zotero.commons.buckets" as a comma separated list

Note: Steps 4-7 take effect in new windows
2009-08-13 10:56:47 +00:00
Dan Stillman
bb3c2ff55d Fix Related/Tags in standalone note window 2009-08-11 05:16:27 +00:00
Dan Stillman
e981f03514 Merge English locale changes 2009-08-11 04:43:50 +00:00
Dan Stillman
cdeaa2b257 Don't run detectWeb() on debug output 2009-08-11 02:26:47 +00:00
Dan Stillman
f1bda1af10 For now, at least, don't check local pre-sync user key when looking for an item from a URI -- just look for the item key in the local library 2009-08-11 01:14:07 +00:00
Simon Kornblith
dec3ed743c change item URI when a user begins synching for the first time 2009-08-11 01:11:17 +00:00
Dan Stillman
161a21b180 - Fix display of related items in reports
- Fix redundant display of case/statute/email titles in report tables
2009-08-11 00:21:33 +00:00
Dan Stillman
b336674100 - Case title displayed below creator in metadata pane
- Case titles were blank in related items pane
2009-08-10 23:21:04 +00:00
Dan Stillman
cf93417ec9 A few debug logging fixes 2009-08-10 17:37:35 +00:00
Dan Stillman
5f9e39f959 In-memory debug logging, configurable in Advanced pane of preferences, with ability to send output to zotero.org 2009-08-10 16:44:15 +00:00
Dan Stillman
75fd0b4448 Missed file from previous commit 2009-08-10 16:37:53 +00:00
Dan Stillman
872b90760c Add link to DB Repair Tool from integrity check failure message 2009-08-10 11:13:56 +00:00
Simon Kornblith
d01d66c9c6 Implement retrieveDocument() and retrieveSource(), synchronous equivalents of processDocuments() and doGet()/doPost() that do not hang the UI. These facilities should make writing translators a little easier. 2009-08-10 07:48:33 +00:00
Dan Stillman
84b87b6455 - Don't display browser content context menu submenu if empty
- Disable submenu options if in read-only mode
2009-08-10 00:58:01 +00:00
Dan Stillman
4f9d39614b Missed file in previous commit 2009-08-10 00:43:55 +00:00
Dan Stillman
19c6e59bab Add "since starting Firefox" to "The following errors have occurred" in error report window 2009-08-10 00:41:04 +00:00
Dan Stillman
c9706c9f33 - Don't show context menu or allow drag in tag selector in read-only mode
- Don't show create type context menu hover effect or dropmarker in read-only mode
2009-08-10 00:28:23 +00:00
Dan Stillman
f3f1c848cc Don't show Add and remove buttons for related items in read-only mode 2009-08-09 23:57:01 +00:00
Dan Stillman
3bd954e3da Don't show Add and remove buttons for read-only tags 2009-08-09 23:51:54 +00:00
Dan Stillman
53bd9afeac Remove option to display Zotero pane above browser content
There are times when I am right, when I demonstrate profound foresight sometimes borne out only years down the line. Then there are the other times.
2009-08-09 22:40:42 +00:00
Dan Stillman
fa23cf9036 Closes #522, Arrow on full-screen button should point the other way when in full-screen mode 2009-08-09 22:26:59 +00:00
Dan Stillman
dc2fba7b12 Item pane fixes and cleanup
- Restored save when clicking from open text field to another item
- Delay/weirdness when switching items/tabs should be gone
- Tab content updates properly when using Ctrl-arrows to navigate
- Removed some obsolete code
2009-08-09 22:15:48 +00:00
Dan Stillman
820d1cf28f Use only SQL portion of dates to sort 2009-08-09 21:02:34 +00:00
Dan Stillman
89dbc278bd New method Zotero.updateZoteroPaneProgressMeter(percentage) for updating the overlay progress meter 2009-08-09 19:39:32 +00:00
Dan Stillman
ad498143d3 Addresses #900, BCE date parsing
Don't try to save year if not 1-9999
2009-08-09 18:24:58 +00:00
Dan Stillman
8927bc9b49 Fix various issues with renaming tags 2009-08-09 15:34:52 +00:00
Dan Stillman
ebe2cb1871 - A few small tweaks to Zotero.wait()
- Main thread is now accessible from Zotero.mainThread
2009-08-09 10:51:12 +00:00
Dan Stillman
a806f09023 Don't count main browser in browser count debug output in createHiddenBrowser() 2009-08-09 08:31:21 +00:00
Dan Stillman
3f17420405 Closes #1306, Test and deploy snapshot annotation patch
Thanks to Frank for the patch
2009-08-09 07:59:33 +00:00
Dan Stillman
9feadb8f42 Remove HEAD requests to determine MIME type from Zotero.Attachments.linkFromURL(), since they triggered during imports and the UI code doesn't use that method anymore anyway 2009-08-08 18:18:49 +00:00
Dan Stillman
6650646cba - Speed up collection-item notifier triggers from r4863
- Add Zotero.wait() after every 25 collection-item inserts
2009-08-08 18:12:52 +00:00
Dan Stillman
2029d2aebd Fix items in collection not appearing immediately after an import with new system 2009-08-08 18:06:44 +00:00
Dan Stillman
a1a85911d8 Double-click on parent didn't open PDF child attachment according to hierarchy if PDF was a file attachment rather than a web attachment 2009-08-08 17:54:40 +00:00
Dan Stillman
765ee61c4c DOI field in metadata pane wasn't clickable (regression) 2009-08-08 16:06:57 +00:00
Dan Stillman
9318d2ad3e Fix some collection bugs in data layer, thanks to MozMill/Ben 2009-08-08 15:55:28 +00:00
Dan Stillman
8caecdf91a Fix some errors in the tree during add/remove operations 2009-08-08 14:30:18 +00:00
Dan Stillman
9c0ad65172 Fix "Invalid integer value 'null'" error when dragging a regular item and a top-level attachment between libraries, which shouldn't have been allowed 2009-08-08 13:21:02 +00:00
Dan Stillman
b3d5136c34 Missed file from previous commit 2009-08-08 11:33:06 +00:00
Dan Stillman
67ecb6cda9 - Fix Doc Prefs window in OpenOffice to reflect correct app
- Remove reference to Word from incompatible version message, which is also used with OpenOffice
- Add lines to Doc Prefs window to clarify the necessary file format (though enforcing this at save time would be best)
2009-08-08 11:32:16 +00:00
Dan Stillman
5c1ffd1e2f Reset storageModTime to 0 if < 0 and prevent setting < 0, though it shouldn't happen to begin with 2009-08-08 10:06:34 +00:00
Dan Stillman
3095239517 Scattering the schema upgrade process with my new favorite function, Zotero.wait()
Made 50 ms the default timeout -- this may need to be adjusted
2009-08-08 09:03:55 +00:00
Dan Stillman
96345a3aa8 Don't hang UI when importing files
- File import now uses a translucent overlay over Zotero pane with a progress meter that doesn't hang
- New method Zotero.wait(timeout) to allow synchronous code to wait for events on main thread to be processed until timeout is reached
- Wait status can be tested with Zotero.waiting property
- Zotero.showZoteroPaneProgressBar(msg, determinate) locks Zotero and creates overlay with progress meter
- Code that might trigger via timers or external UI should check Zotero.lock

Lock checks so far:

- Translator save icon and RIS/Refer import display error if triggered while locked
- Browser content context menu options are now in a Zotero submenu and are disabled when Zotero is locked
- Sync, repository, and DB backup timers check for lock and bail
- If a new window is opened, Zotero pane can't be opened and display an error message until lock is released

Probably need to check lock in word processor integration code and advanced search window

Also:

- New method Zotero.sleep(ms) (currently unused) to allow synchronous code to sleep and allow events on main thread to be processed
2009-08-08 07:38:34 +00:00
Dan Stillman
045e2b0830 Fix incessant file syncs and related file sync weirdness, I think 2009-08-07 13:32:36 +00:00
Dan Stillman
bd69d272c5 - Open alert window if sync icon is clicked with missing or incorrect sync credentials, with button to open Sync preferences pane
Alert doesn't pop up on background sync, and auto-syncs triggered by edits are now considered background syncs (like the auto-sync when opening the Zotero pane), which means they won't pop up the conflict resolution window either.
2009-08-07 13:22:26 +00:00
Dan Stillman
a19802cb9d Added file sync note and documentation link to Sync preference pane 2009-08-07 13:09:05 +00:00
Dan Stillman
49cc44c75b - Fix bug in Zotero.ID that could cause seemingly random SQLite constraint errors, particularly with large syncs and imports
- Closes #1090, Increase Zotero.ID.get() interval, which should speed up large syncs and imports
- MozMill tests
2009-08-07 13:05:56 +00:00
Dan Stillman
e1c611d1dc Fix y/m/d indicator in date fields not showing up for partial dates 2009-08-03 10:50:03 +00:00
Dan Stillman
567953e57c - Adds Zotero.Item.attachmentContent property -- works for HTML, PDF, and plaintext attachments
- For PDFs, stop deleting full-text cache file after indexing, and regenerate when getting content if necessary
- MozMill tests

Other MozMill changes:

- Added Cmd-Shift-M shortcut key to open window
- this.controller now available in Zotero.MozMill if passed in from setupModule() with Zotero.MozMill.setController(module.controller);
- Various new Zotero.MozMill methods, including for creating file attachments
2009-08-03 04:58:08 +00:00
Dan Stillman
9425a991b1 File mod time test 2009-08-03 02:02:17 +00:00
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