Commit graph

1292 commits

Author SHA1 Message Date
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