Commit graph

2156 commits

Author SHA1 Message Date
Dan Stillman
211da93be4 Duplicate detection fixes:
- Fix saving of fields from other versions of an item
- Relations (e.g., cross-library links) were merged incorrectly
2011-08-29 19:33:52 +00:00
Dan Stillman
236901c1ad Don't include child items in "Titles & Creators" searches 2011-08-29 14:32:17 +00:00
Dan Stillman
9f72f0af4b Just rename fa-IR to fa-FA (though it should be renamed (possibly to just locales-fa.xml) on GitHub too) 2011-08-28 23:01:21 +00:00
Dan Stillman
1f300c7377 Update CSL locales from GitHub (but someone needs to verify if the 'fa-IR' locale is used when the Firefox locale is just 'fa') 2011-08-28 22:58:11 +00:00
Dan Stillman
2e5b87b9e7 Fix error when saving via browser context menu when Zotero pane/tab hasn't been opened 2011-08-28 22:15:39 +00:00
Simon Kornblith
47ab265532 Use ZoteroPane instead of ZoteroPane_Local for context menu commands, so that they get added to the appropriate collection when Zotero is open in tab mode 2011-08-28 22:06:45 +00:00
Simon Kornblith
953ec31166 Add context menu to translate icon, allowing the user to save to Zotero with alternative translators and to perform library lookup or use lookup engines without first saving the item 2011-08-28 20:12:08 +00:00
Simon Kornblith
46dc429d73 Handle host lookup failure 2011-08-28 19:58:02 +00:00
Simon Kornblith
7a0c38877c Fix caching of sourceItemID 2011-08-28 18:31:53 +00:00
Simon Kornblith
eea7bc4a75 Fix incorrect sorting of newly added items (off by one) 2011-08-28 17:56:23 +00:00
Simon Kornblith
ebd7d5a155 Don't attempt to retrieve metadata for PDF when the option is unavailable 2011-08-26 22:27:02 +00:00
Simon Kornblith
925f09232d UI tweaks 2011-08-26 21:57:48 +00:00
Simon Kornblith
f88c2b8859 - Show warning if items cannot be saved to current library, and default to my library
- Disable PDF saving with message if PDF tools are not installed
2011-08-26 21:49:47 +00:00
Dan Stillman
207af37ee7 Don't strip extended characters in duplicate detection 2011-08-26 20:45:27 +00:00
Simon Kornblith
3e97b803cd QuickFormat should update on backspace 2011-08-26 20:10:43 +00:00
Simon Kornblith
68c06c14a2 References #1887, Retrieving editor.value in Zotero_Citation_Dialog._updatePreview() fails
Perform an additional check, just in case the preview pane hasn't fully loaded before the dialog is accepted.
2011-08-25 22:55:55 +00:00
Simon Kornblith
4afc4a4d82 Closes #1887: Retrieving editor.value in Zotero_Citation_Dialog._updatePreview() fails 2011-08-25 22:50:51 +00:00
Simon Kornblith
d9c30ebc59 Fix adding formatted custom citations in OpenOffice.org 2011-08-25 21:55:26 +00:00
Simon Kornblith
84486e24ac Don't add extra menu separator in Standalone 2011-08-25 21:29:35 +00:00
Simon Kornblith
1e90528937 Don't build item type menu twice 2011-08-25 21:24:51 +00:00
Simon Kornblith
914f29b8ac - Don't sizeToContent() in Standalone window
- Fix expand/collapse item
2011-08-25 21:10:15 +00:00
Dan Stillman
b27e64f9c8 Block database access during Zotero.wait() only if a transaction is in progress 2011-08-25 21:03:24 +00:00
Dan Stillman
291b739b76 Alphabetic sorting of groups 2011-08-25 16:26:43 +00:00
Simon Kornblith
cd885c8a24 Save to the selected collection and library 2011-08-25 11:58:13 +00:00
Simon Kornblith
0108570daa Override onStateChange() not to show an error after downloading the XPI 2011-08-25 08:02:04 +00:00
Simon Kornblith
c812cfd6c0 Hide add-on search box 2011-08-25 07:38:31 +00:00
Simon Kornblith
aae77c6015 Add-on discovery support for Zotero Standalone, part 1 2011-08-25 07:35:22 +00:00
Simon Kornblith
beefefd016 Add text-link binding (almost entirely verbatim from moz-central) 2011-08-25 06:16:42 +00:00
Simon Kornblith
59d7050bba Use zotero-text-link instead of text-link, so that we can attach a custom binding that handles text links externally, which we need so that we can make links in docShells work in Standalone. 2011-08-25 06:16:15 +00:00
Simon Kornblith
0a71d9219b Don't destroy hidden browsers until translation is complete, part 1: Zotero for Firefox and Zotero Standalone 2011-08-25 04:23:39 +00:00
Dan Stillman
d4738017bf Fixes #1886, Typo: _duplicatesLibraries -> _duplicateLibraries
Thanks
2011-08-25 03:06:30 +00:00
Simon Kornblith
2a968e7696 Don't throw if collectionsView not registered, and no need to pass false to removeObserver 2011-08-24 22:08:27 +00:00
Dan Stillman
3c81d283c8 - Fix random errors in uploaded XML when using E4X's compound assignment operator (hopefully)
- Reduce calls to Zotero.libraryID when building item creator list
2011-08-24 20:36:37 +00:00
Simon Kornblith
416907a196 Fix breaking hidden browsers on Firefox 3.6 2011-08-24 20:06:31 +00:00
Simon Kornblith
d382f293ca Add link to cslPreview.xul and make sure things work in Standalone (and tab mode) 2011-08-24 06:58:42 +00:00
Simon Kornblith
6cdcb8a1fb ...but do log the error 2011-08-24 06:29:16 +00:00
Simon Kornblith
9b66aa8234 Don't let one failing shutdown listener screw everything up 2011-08-24 06:29:02 +00:00
Simon Kornblith
1a86279e5d Fix Windows startup error 2011-08-24 06:07:48 +00:00
Simon Kornblith
b3cf130821 Add "Open csledit.xul" to Standalone advanced prefs 2011-08-24 05:59:20 +00:00
Simon Kornblith
440fc95942 Move startup timing to zotero-service.js 2011-08-24 01:59:56 +00:00
Simon Kornblith
330a06434e Improve error logging 2011-08-24 01:15:21 +00:00
Simon Kornblith
abd2456d28 Revert part of last patch, since it doesn't seem to help things 2011-08-24 01:13:33 +00:00
Simon Kornblith
3e641cd7df Fix first run profile migration on Windows 2011-08-24 00:54:38 +00:00
Simon Kornblith
b5735f5189 Don't show attachments in QuickFormat 2011-08-23 21:52:15 +00:00
Dan Stillman
37dc3a6001 Fix item dragging between libraries 2011-08-23 06:44:25 +00:00
Simon Kornblith
290581a495 Fix saving authors from COinS 2011-08-23 03:59:11 +00:00
Simon Kornblith
fc8da5f8cd Don't auto-associate domains if an HTTP error code is received 2011-08-23 03:38:53 +00:00
Simon Kornblith
f1207a90eb Restore dropmarker to search bar on OS X Standalone 2011-08-23 00:42:30 +00:00
Simon Kornblith
90b0c3b8e6 Fix translator names in error message 2011-08-22 23:35:10 +00:00
Simon Kornblith
4ea43afb51 Fix exporting properties in Chrome/Safari 2011-08-22 23:27:23 +00:00
Simon Kornblith
6e85a0440d Map system to medium in CSL 2011-08-22 16:10:56 +00:00
Simon Kornblith
e32da0b5ca Remove debug line 2011-08-21 21:37:18 +00:00
Simon Kornblith
f02ae027c5 Allow page numbers > 1 character to be entered inline 2011-08-21 21:31:27 +00:00
Simon Kornblith
53a838c3d6 Properly serialize page number to document 2011-08-21 21:24:26 +00:00
Simon Kornblith
8b51c3e069 Make things snappier 2011-08-21 05:47:07 +00:00
Simon Kornblith
337ff90056 Don't open a new Firefox window when Standalone is closed if Firefox is open and Zotero for Firefox is not installed 2011-08-19 20:16:13 +00:00
Simon Kornblith
e64f5b2c83 Reverse argument orders to minimize calls to the getter 2011-08-19 07:26:44 +00:00
Simon Kornblith
701a202a5f Inline itemTypeID 2011-08-19 07:17:56 +00:00
Simon Kornblith
cc913cbeed Inline id getter 2011-08-19 07:00:22 +00:00
Simon Kornblith
8c8e5f4b40 Close Zotero tab on shutdown if not in tab mode 2011-08-17 22:35:05 +00:00
Simon Kornblith
665d59215d Allow user to pin normal tab 2011-08-17 22:17:33 +00:00
Simon Kornblith
22e9eb6ea8 Tab box margin tweak 2011-08-17 06:50:16 +00:00
Simon Kornblith
05f9d2cd6f Open reference formats and CSL files on double-click (currently only on OS X) 2011-08-17 04:51:43 +00:00
Simon Kornblith
9261f8d5fb - Hide download option when in connector mode (will consider implementing in the connector instead)
- Disable radio, so it's not possible to focus it with the keyboard
2011-08-17 04:13:42 +00:00
Simon Kornblith
91024eb87c - Prevent a deadlock when Zotero.wait() was called during initialization
- Don't spin Zotero.mainThread.processNextEvent() forever when translator could not be retrieved
2011-08-16 18:28:55 +00:00
Simon Kornblith
9ce0e47117 Support synchronous getTranslatorObject() in Firefox connecotr 2011-08-16 16:13:59 +00:00
Simon Kornblith
7756620490 - Customizable attachment export, thanks to DBrickShaw
- Fix an issue importing collections
2011-08-16 15:31:18 +00:00
Simon Kornblith
dec907569a Fix saving into collections when translation is performed in the browser 2011-08-16 14:44:24 +00:00
Simon Kornblith
59cff2ad1a Fix timeline creation, and potentially other functionality 2011-08-16 02:37:16 +00:00
Simon Kornblith
b9eb8ecb15 Don't overwrite changed citations. They will (sadly) lose their formatting in OOo at the moment. 2011-08-14 19:48:24 +00:00
Simon Kornblith
92f0fa9097 Hack for OpenOffice.org fields with codes 2011-08-14 19:42:01 +00:00
Simon Kornblith
748790bf46 Fix Create Item from Current Page context menu option in Firefox
- when the Zotero Pane has not yet been opened
	- when operating in connector mode
2011-08-13 04:51:40 +00:00
Simon Kornblith
43f26d5b89 - Pass version to repo
- Handle translator deletion without logging errors
- Tweak some flags on docShell
2011-08-12 19:20:35 +00:00
Simon Kornblith
bbbc8991f2 - Fix failure to save snapshots, caused by failure to add and remove our request from loadGroup
- Fix a few other issues in ConnectorChannel
2011-08-12 18:10:53 +00:00
Simon Kornblith
18f7bf1112 Don't save before CSS has been loaded 2011-08-12 15:36:54 +00:00
Simon Kornblith
58c8e7ccfc Windows theme changes. I'm not sure I really like how the tabs on the right look, and maybe we should reconsider the present dividers, but I think this looks a bit better. 2011-08-11 23:37:18 +00:00
Simon Kornblith
ffc02fb583 Update to citeproc-js 1.0.203 2011-08-11 12:20:07 +00:00
Dan Stillman
5e22c3fc58 Look for deleted.txt in extension root first (for XPI builds) and translators directory second (for SVN builds) 2011-08-11 07:03:33 +00:00
Simon Kornblith
b232106526 - XPCOM errors use "filename" instead of "fileName" for some ungodly reason
- Fix verison
2011-08-11 04:06:45 +00:00
Simon Kornblith
4ff9fada05 Report errors using Zotero.logError instead of Components.utils.reportError(), so that we get the file and line number 2011-08-11 03:58:02 +00:00
Dan Stillman
a9f341a141 Blacklist OpenGL errors 2011-08-10 19:58:44 +00:00
Simon Kornblith
a35c33312d Move standalone.dtd out of separate directory 2011-08-10 19:36:05 +00:00
Simon Kornblith
c1057e2587 Remove uses of "Firefox" and fix version 2011-08-10 07:07:26 +00:00
Dan Stillman
47fa374b66 Do very basic checking to make sure matching DOIs in duplicates are actually DOIs 2011-08-10 07:02:31 +00:00
Simon Kornblith
4a00bf1f74 Compactify tag selector. Unfortunately, there seems to be a bug in Fx 4+ that makes <menuitem type="checkbox"/> not work quite right on OS X. 2011-08-10 06:29:24 +00:00
Simon Kornblith
88e5d47ad8 Properly change between styles 2011-08-09 05:13:13 +00:00
Simon Kornblith
421e570ada Fix a bug in QuickFormat years and enable QuickFormat by default 2011-08-09 03:49:06 +00:00
Simon Kornblith
0031f0d319 Warn the user if they have modified a citation and ask whether to perform future updates. This makes the editor obsolete. 2011-08-09 03:37:24 +00:00
Simon Kornblith
176e2f2d05 Don't throw an error on CSL_BIBLIOGRAPHY codes 2011-08-08 22:27:50 +00:00
Simon Kornblith
125200bf83 Bring in line with https://github.com/citation-style-language/schema/blob/master/csl-citation.txt 2011-08-08 11:24:22 +00:00
Simon Kornblith
b08b54ba83 Add some documentation on the connector switching process 2011-08-07 23:37:51 +00:00
Simon Kornblith
75f4360175 Tweak connector switching to prevent a race condition 2011-08-07 23:26:53 +00:00
Simon Kornblith
0aa0966a28 Closes #1878: NS_ERROR_MALFORMED_URI when accessing EBSCO via proxy (I think) 2011-08-07 16:36:58 +00:00
Dan Stillman
78b4c3c820 Fix source list glitch 2011-08-06 05:55:50 +00:00
Dan Stillman
fffe67967b Clear all tags in tag selector if a selected tag is removed via the tags pane 2011-08-05 22:19:52 +00:00
Dan Stillman
2db050290d Clear tag selector when switching between views 2011-08-05 22:04:48 +00:00
Simon Kornblith
94e92b9f53 Fix citation editing with sorted styles 2011-08-05 21:08:29 +00:00
Simon Kornblith
fa602e4984 Closes #1086, Some way to carry metadata inside or along with Word documents 2011-08-05 18:20:08 +00:00
Dan Stillman
067df94822 Closes #1868, Dragging collections into group libraries 2011-08-05 18:17:06 +00:00
Simon Kornblith
7aa474e584 Embed group relations in Word documents 2011-08-05 03:00:24 +00:00
Simon Kornblith
45b5421941 - Show an error when a document was created with an incompatible field type.
- Move duplicate detection resolution code to Zotero.Integration.URIMap interface, so it will apply to uncited items in the bibliography as well.
2011-08-05 02:26:25 +00:00
Simon Kornblith
e49fedd900 Don't make the button huge 2011-08-04 19:32:57 +00:00
Simon Kornblith
a97d7ff26d Add button to open about:config to advanced preferences pane. We could disable this for Zotero for Firefox, but I think it's probably a better idea to keep it so that docs can be made consistent. 2011-08-04 19:32:05 +00:00
Dan Stillman
ee01b2cbc3 Allow "Create Parent Item from Selected Item" for PDFs for multiple selection 2011-08-04 06:31:14 +00:00
Dan Stillman
c1af72fcd2 Allow "Create Parent Item from Selected Item" for PDFs, at least until failed metadata retrieval does something more helpful 2011-08-04 06:00:57 +00:00
Dan Stillman
ea20a4067f Notes were copied as raw HTML if more than one empty paragraph 2011-08-04 05:49:51 +00:00
Simon Kornblith
2900dcc6db Don't allow unreasonable window positions 2011-08-04 01:24:41 +00:00
Dan Stillman
d8ca9ef438 Don't save "browserSupport":null when missing 2011-08-04 00:00:54 +00:00
Simon Kornblith
c078415c26 Update to citeproc-js 1.0.202 2011-08-03 23:54:11 +00:00
Dan Stillman
1625e412f9 Save browserSupport from repo 2011-08-03 23:45:44 +00:00
Simon Kornblith
b75b36fa77 Closes #1875, [PATCH] Add ISI to MIME type-detected imports
Thanks to ajlyon for the patch
2011-08-03 20:51:26 +00:00
Simon Kornblith
4901870c8a "Show in app tab" and "show in separate tab" are separate preferences.
Thanks to voxel for the patch
2011-08-03 20:05:33 +00:00
Simon Kornblith
841c6f5b7b - Don't set a minimum height for the preferences. I think this was a workaround for a very old bug.
- Don't let proxy tree flex. I think this fixes Linux preferences-related issues.
2011-08-03 17:17:14 +00:00
Simon Kornblith
b20c4dd622 - Add border on Linux
- Move dropmarker slightly
2011-08-03 02:09:57 +00:00
Dan Stillman
d4287e4459 Skip and log too-long filenames on Linux (since they're most likely gibberish advertising files anyway) 2011-08-02 22:41:09 +00:00
Simon Kornblith
c2db7b53b1 - Fix iframe by just specifying a massive height for it (no, height: 100% doesn't work)
- Cancel should work as expected
2011-08-02 19:52:45 +00:00
Dan Stillman
43025db6d5 - Change invalid creator type for item type to item type's primary creator automatically, since otherwise existing data would cause sync and save errors
- Fix a couple other errors
2011-08-02 18:56:00 +00:00
Simon Kornblith
0ea27b091f Update to citeproc-js 1.0.200 2011-08-02 16:19:08 +00:00
Simon Kornblith
3814c9307e Tweak spacing in Linux QuickFormat dialog 2011-08-02 15:27:36 +00:00
Dan Stillman
46fc6684c1 Fix typo 2011-08-02 06:49:33 +00:00
Dan Stillman
e9f5643ecd - Throw an error if an invalid creator type for the item type is passed to Zotero.Item.setCreator()
- Cache some Zotero.CreatorTypes calls
2011-08-02 05:59:38 +00:00
Dan Stillman
1c560eb94c Fix file editing in Search/Unfiled/Duplicates 2011-08-02 03:34:32 +00:00
Simon Kornblith
9ac7b45010 Don't use dialog window type for integration windows on Linux 2011-08-02 01:21:34 +00:00
Simon Kornblith
46e1fd0600 Tweak Windows appearance (Linux still to come) 2011-08-01 16:59:10 +00:00
Simon Kornblith
d8cd5cf7ae Fix some (but not all) sizing and focus issues 2011-08-01 04:27:47 +00:00
Simon Kornblith
f2f7bf00f7 Make command/ctrl+down open citation properties panel 2011-07-31 22:19:20 +00:00
Simon Kornblith
7464b704ce - Use popup for reference list rather than appending to bottom of window
- Disable animation, as it is no longer smooth
2011-07-31 21:01:27 +00:00
Simon Kornblith
fc5d803896 - Make "suppress author" selectable without mouse
- Move cursor to end of textbox when panel is closed
- Close carbon library after use
2011-07-31 18:06:50 +00:00
Simon Kornblith
53f4a49900 - "Keep Sources Sorted" now works
- Option to open classic dialog
2011-07-29 20:32:39 +00:00
Dan Stillman
83f84eb475 Make background of "No items selected" and attachment items white again 2011-07-29 16:02:43 +00:00
Simon Kornblith
dce1298666 Use red Z instead of search icon (this will probably become a popup menu) 2011-07-29 08:00:21 +00:00
Simon Kornblith
352a49723e Use return to exit arrow panel and move locator to top 2011-07-29 05:43:42 +00:00
Simon Kornblith
a66555e45b Orbtastic streamlined add citation dialog
Does not currently support sorting or citation editor, and has not been tested on any platform but OS X, so off by default for now. Can be enabled with the hidden pref extensions.zotero.integration.quickFormat.
2011-07-29 05:35:54 +00:00
Simon Kornblith
f46e05f9dc Convert domain to lowercase after proxy lookup 2011-07-28 19:36:14 +00:00
Simon Kornblith
d11e78de0e Save webpage snapshots from connectors when Zotero Standalone is running 2011-07-27 21:01:21 +00:00
Dan Stillman
9ac7efb3f0 Fix "Zotero.Libraries.getGroupIDFromLibraryID" in new code 2011-07-27 14:20:47 +00:00
Dan Stillman
4581923154 Fix "Zotero.Libraries.getGroupIDFromLibraryID" is not a function error 2011-07-27 14:20:04 +00:00
Dan Stillman
455eb68c20 Persist open/close state of source list (libraries, collections, etc.) 2011-07-25 21:27:32 +00:00
Dan Stillman
ca56fbbb2b Fix at least one cause of "'[num]' is not a valid field for type [num]" 2011-07-25 03:45:43 +00:00
Dan Stillman
9dad54702f Fix advanced search 2011-07-25 00:55:14 +00:00
Simon Kornblith
32399b35ed Hide "Remove Selected Item" when in My Library (previously was shown with no label, leading to a blank menu item with ~2px height) 2011-07-24 21:43:02 +00:00
Simon Kornblith
88c6eae730 Kill progress indicator and buttons in add by identifier box. We might want to replace the progress indicator with something else, but the buttons are unnecessary. 2011-07-24 21:32:55 +00:00
Simon Kornblith
f701dd724e Firefox 3.6 fixes (ugh) 2011-07-24 19:16:31 +00:00
Simon Kornblith
617646f0a2 Cancel should close lookup panel 2011-07-24 17:49:16 +00:00
Simon Kornblith
09e07df294 Delete obsolete file 2011-07-24 17:42:29 +00:00
Simon Kornblith
a5cdfc2cef Use arrow panel for "Add Citation by Identifier" 2011-07-24 17:41:48 +00:00
Simon Kornblith
7845588291 Fix handling of errors when no message is returned 2011-07-24 17:41:00 +00:00
Simon Kornblith
ff304bd7be Fix IPC pipe closing on Fx 3.6 (again) 2011-07-24 16:27:42 +00:00
Dan Stillman
ddca12ba26 Match only books by ISBN, since book sections shouldn't be merged 2011-07-22 22:41:42 +00:00
Dan Stillman
56c7afc47e Duplicate detection:
- Adds a per-library "Duplicate Items" virtual search to the source list -- shows up by default for "My Library" but can be added to and removed from all libraries
- Current matching algorithm is very basic: finds exact title matches (after normalizing case/diacritics/punctuation/spacing) and DOI/ISBN matches (untested)
- In duplicates view, sets are selected automatically; in other views, duplicate items can be selected manually and the merge interface can be brought up with "Merge Items" in the context menu
- Can select a master item and individual fields to merge from other versions
- Word processor integration code will automatically find mapped replacements and update documents with new item keys

Possible future improvements:

- Improved detection algorithms
- UI tweaks
- Currently if any items differ, all available versions will be shown as master item options, even if only one item is different; probably the earliest equivalent item should be shown for each distinct version
- Caching of results for performance
- Confidence scale
- Creator version selection (currently the creators from the chosen master item are kept)
- Merging of matching child items
- Better sorting of duplicates if not clustered together by the selected sort column
- Relation path compression when merging items that are already mapped to previously removed duplicates

Other changes in this commit:

- Don't show Trash in word processor integration windows
- Consider items in trash to be missing in word processor documents
- Selection of special views (Trash, Unfiled, Duplicates) is now restored properly in new windows
- Disabled field transform context menu when item isn't editable
- Left/right arrow now expands/collapses all selected items instead of just the last-selected row
- Relation deletions are now synced
- The same items row is now reselected after item deletion
- (dev) Zotero.Item.getNotes(), Zotero.Item.getAttachments(), and Zotero.Item.getTags() now return empty arrays rather than FALSE if no matches -- tests on those return values in third-party code will need to be changed
- (dev) New function Zotero.Utilities.removeDiacritics(str, lowercaseOnly) -- could be used to generate ASCII BibTeX keys
- (dev) New 'tempTable' search condition can take a table to join against -- useful for implementing virtual source lists
- (dev) Significant UI code cleanup
- (dev) Moved all item pane content into itemPane.xul
- Probably various other things


Needless to say, this needs testing.
2011-07-22 21:24:38 +00:00