Commit graph

2347 commits

Author SHA1 Message Date
Dan Stillman
e45ec87c6a Display implicit title for related items when they're letters or interviews 2009-12-27 11:42:49 +00:00
Dan Stillman
9346a4e746 Reverse Zotero.Utilities.prototype.arrayDiff operator order to be consistent with PHP's array_diff 2009-12-27 02:11:32 +00:00
Dan Stillman
13cda2eb73 - Include a line between notes when copying multiple notes
- Don't display "JavaScript Application" in alert when pressing Quick Copy shortcut key with no regular items selected
2009-12-26 10:38:45 +00:00
Dan Stillman
69d8c2e2fb - When creating or adding to note from web page context menu, put text in <blockquote> with 'cite' attribute
- Zotero.Utilities.text2html(str, singleNewlineIsParagraph) -- conversion of 1.0 notes on upgrade to 2.0 uses the second parameter to treat a single newline as a paragraph, which may or may not be the desired behavior but is what was done previously
- Shortcut key for New Item wasn't properly selecting item type menu and wasn't preventing Firefox's Recently Closed Window shortcut
2009-12-26 03:40:30 +00:00
Dan Stillman
8b7bce01ef Missed file from Quick Copy commit 2009-12-26 03:08:30 +00:00
Dan Stillman
bcc1c8543d Restores proper copying support for notes, with separate output for text, rich text, and HTML-code-as-text (via Copy HTML pref)
New hidden prefs:

- export.quickCopy.compatibility.indentBlockquotes (default: true)

Word and TextEdit don't indent blockquotes on their own and need this, but OO gets it right, so this results in an extra indent

- export.quickCopy.compatibility.word (default: false)

Adds Word Normal style to paragraphs and adds double-spacing, but OO inserts the conditional style code as a document comment

- quickCopy.quoteBlockquotes.plainText (default: true)
- quickCopy.quoteBlockquotes.richText (default: true)

Adds quotes around blockquote paragraphs, since loss of attribution is serious (and who knows whether all apps that accept rich text even support indenting)

Not enabled for HTML code copying, since CSS can be used to render blockquotes as desired


Fixes #1397, toggle HTML tags on and off for quick copy of notes
2009-12-25 23:39:54 +00:00
Dan Stillman
3705720913 Log some extra debug output for sync error 2009-12-25 00:33:34 +00:00
Dan Stillman
e4ef3f4c93 More helpful error for moveTo() error with orphaned files during upgrade 2009-12-24 23:20:14 +00:00
Dan Stillman
eae950d1f6 Include response headers in debug output for some unexpected errors 2009-12-24 09:32:53 +00:00
Dan Stillman
e4551d5a88 Display proper unexpected status code 2009-12-24 09:15:17 +00:00
Dan Stillman
88718209cd Pushed Ovid and Google Scholar 2009-12-23 17:55:50 +00:00
Dan Stillman
b98e3924cf Rintze's Google Scholar fix 2009-12-22 18:30:31 +00:00
Dan Stillman
21858dc661 Remove unnecessary line 2009-12-22 08:24:38 +00:00
Dan Stillman
c79b4c0a81 Clear shortTitle when moving between book and bookSection when title/bookTitle is automatically transferred 2009-12-22 08:21:18 +00:00
Dan Stillman
ea1615c79b Move title to bookTitle when changing item type from book to bookSection, and move bookTitle to title when going from bookSection to book if there's not also a title
http://forums.zotero.org/discussion/78/books-and-book-sections-avoiding-input-of-duplicate-info/#Item_21
2009-12-22 07:49:33 +00:00
Dan Stillman
40655e52af Fixes #607, Don't show annotations toolbar on MIME types it doesn't support 2009-12-20 09:30:26 +00:00
Dan Stillman
0fab6f1d91 Additional debugging 2009-12-19 00:49:02 +00:00
Dan Stillman
b06df435c7 Fixes #1619, Underline formatting isn't preserved in citation editor
Frank's patch
2009-12-18 21:49:36 +00:00
Dan Stillman
5f6c2b9ca7 Don't fill up error console with errors when onProgress() comes after request has finished, which seems to happen 2009-12-18 12:23:34 +00:00
Dan Stillman
893503788b More helpful message for HTTP 507 Insufficient Storage (WebDAV) 2009-12-18 12:10:51 +00:00
Dan Stillman
5951a466c7 Make URL in attachment pane draggable, as suggested here: http://forums.zotero.org/discussion/8369/suggestion-grab-pdfother-image-from-saved-link/#Item_3
Should probably still make it possible to copy-and-paste it with the mouse at some point
2009-12-18 12:00:59 +00:00
Dan Stillman
11f5775d74 Closes #582, Ability to reorder creators
I am nothing if not a man of the people.

Uses an old suggestion from Andrew Moylan from the forums (http://forums.zotero.org/discussion/514/change-order-of-authors/): "Move Up" and "Move Down" options in the creator type menu. Dragging would be preferable but considerably more difficult, so this will have to do for now.
2009-12-18 11:29:03 +00:00
Dan Stillman
26ff27e189 Fixes #771, small caps and editor
Patch from Frank (with a few stylistic tweaks) to preserve small caps in citation editor -- since we now use TinyMCE rather than Midas, we could actually include a button for small caps, but this is probably sufficient
2009-12-18 10:21:19 +00:00
Dan Stillman
0202935ea3 Pushed National Archives of Australia
Deleted NAA RecordSearch (which it replaces)
2009-12-17 09:33:04 +00:00
Dan Stillman
ccc1628c56 Pushed Google Books 2009-12-17 09:25:43 +00:00
Dan Stillman
ecb23fb4da Push PubMed and PubMed Central 2009-12-17 08:09:03 +00:00
Dan Stillman
e472fb3b28 Missing file from previous commit: Zotero.Utilities.ellipsize(str, len, countChars) 2009-12-16 00:28:24 +00:00
Dan Stillman
1fe6c687a4 Automatically delete .prop files that don't contain valid timestamps 2009-12-16 00:06:53 +00:00
Dan Stillman
f5b3e892a6 Better debug output for a few ZFS errors 2009-12-16 00:06:01 +00:00
Dan Stillman
c9be3bbd72 Better debugging for data.syncModTime error, maybe 2009-12-15 09:07:07 +00:00
Dan Stillman
4d316e122d Better debug output for downloads in WebDAV mode 2009-12-15 08:51:47 +00:00
Dan Stillman
093b398fdc - Better handle invalid characters in filenames when syncing
- Automatically rename downloaded file to match known filename if different
2009-12-15 08:49:18 +00:00
Dan Stillman
e186551ddc Display "Open Sync Preferences..." button instead of "Report Errors..." on WebDAV verification failure during sync 2009-12-14 20:15:47 +00:00
Dan Stillman
89a4f98d8d "ecrypt" -> "eCryptfs" 2009-12-14 11:35:40 +00:00
Dan Stillman
7fca471db5 Throw (rather than log) ecrypt/filename length limit error on Linux 2009-12-14 11:32:50 +00:00
Dan Stillman
6015826eec Nicer message on S3 file upload failure 2009-12-14 10:07:55 +00:00
Dan Stillman
59481a3a19 Fix deleting of saved searches in groups 2009-12-14 08:12:51 +00:00
Simon Kornblith
6c3d155d6b Fix sorting bug 2009-12-13 22:00:44 +00:00
Dan Stillman
4bcf973e3e - Renaming an attachment file with certain extended characters could cause it to be deleted
- When relinking a file, automatically rename file with cross-platform invalid characters (e.g., "/") filtered out
2009-12-13 04:14:31 +00:00
Dan Stillman
85f18b8bfb Use 'iskey' rather than 'key' for query string parameter to avoid conflict with API key 2009-12-13 03:59:15 +00:00
Dan Stillman
e36b4397c8 Add debugging info for weird sync error 2009-12-13 03:58:36 +00:00
Dan Stillman
7c1b6fba2b Enable export/bib/report context menu options for read-only items 2009-12-12 23:23:36 +00:00
Dan Stillman
2359dbd1fb Give all three merge panes a minimum width 2009-12-11 09:31:44 +00:00
Dan Stillman
6d25022408 Change 'searchcondition' element to 'zoterosearchcondition', just in case someone else binds to searchcondition 2009-12-11 08:47:00 +00:00
Dan Stillman
c725aa4c4c Fix accessibility of "Accessed" field from CSL
Thanks to Lubos for the patch
2009-12-11 04:28:20 +00:00
Dan Stillman
99264e22cd Don't keep trying to auto-sync if manual sync required 2009-12-08 21:08:20 +00:00
Dan Stillman
fa8495c633 Closes #1550, add "smart folders" to groups
Create via right-click on group

- "New Subcollection" context-menu option was active in read-only groups
- Zotero.Searches.getAll() now takes an optional libraryID parameter (and defaults to personal library)
2009-12-08 00:02:28 +00:00
Dan Stillman
032ea421e5 Support library-key hashes in zotero://timeline and zotero://select URLs 2009-12-05 20:16:42 +00:00
Dan Stillman
433a4e1f15 - In saved searches, use librayID_key hashes rather than ids for collections and saved searches (fixes inconsistent references across machines going forward, though it can't fix references that are already incorrect)
- Make "Saved Search" a separate search condition from 'Collection' in drop-down menu
- Better handle invalid search conditions
- (Dev) Saved search conditions are now 'collection' and 'savedSearch' rather than 'collectionID' and 'savedSearchID', though the latter can be used as shortcuts when adding

This could use some testing.
2009-12-05 10:26:47 +00:00
Dan Stillman
0496d365fe - Use keys rather than ids for report URLs
- Collection report sorting was backwards (since Fx3.5, probably)
- Return full Zotero.Search objects from Zotero.Searches.getAll()
2009-12-05 04:26:22 +00:00