Commit graph

2695 commits

Author SHA1 Message Date
Dan Stillman
6ca230379d - 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
a5818604fb - 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
1f9f780073 Missed file from Quick Copy commit 2009-12-26 03:08:30 +00:00
Dan Stillman
4ad2de797f 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
f2ac59f95c Log some extra debug output for sync error 2009-12-25 00:33:34 +00:00
Dan Stillman
764b8d3618 More helpful error for moveTo() error with orphaned files during upgrade 2009-12-24 23:20:14 +00:00
Dan Stillman
6064a230cd Include response headers in debug output for some unexpected errors 2009-12-24 09:32:53 +00:00
Dan Stillman
4e2f6f7bf9 Display proper unexpected status code 2009-12-24 09:15:17 +00:00
Dan Stillman
91588ccf29 Pushed Ovid and Google Scholar 2009-12-23 17:55:50 +00:00
Dan Stillman
a3bfd8a878 Rintze's Google Scholar fix 2009-12-22 18:30:31 +00:00
Dan Stillman
a39a5ca892 Remove unnecessary line 2009-12-22 08:24:38 +00:00
Dan Stillman
4ff0a51694 Clear shortTitle when moving between book and bookSection when title/bookTitle is automatically transferred 2009-12-22 08:21:18 +00:00
Dan Stillman
532ad6b30c 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
f28cb22480 Fixes #607, Don't show annotations toolbar on MIME types it doesn't support 2009-12-20 09:30:26 +00:00
Dan Stillman
dd1eed6c9e Additional debugging 2009-12-19 00:49:02 +00:00
Dan Stillman
18c7e6728f Fixes #1619, Underline formatting isn't preserved in citation editor
Frank's patch
2009-12-18 21:49:36 +00:00
Dan Stillman
833ad915f5 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
7787f2f1cc More helpful message for HTTP 507 Insufficient Storage (WebDAV) 2009-12-18 12:10:51 +00:00
Dan Stillman
85914325aa 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
557a195b12 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
e638190ca9 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
43025f971d Pushed National Archives of Australia
Deleted NAA RecordSearch (which it replaces)
2009-12-17 09:33:04 +00:00
Dan Stillman
78a88f749f Pushed Google Books 2009-12-17 09:25:43 +00:00
Dan Stillman
9c31b10de7 Push PubMed and PubMed Central 2009-12-17 08:09:03 +00:00
Dan Stillman
f5a9dd6812 Missing file from previous commit: Zotero.Utilities.ellipsize(str, len, countChars) 2009-12-16 00:28:24 +00:00
Dan Stillman
d1d70d3df8 Automatically delete .prop files that don't contain valid timestamps 2009-12-16 00:06:53 +00:00
Dan Stillman
37e4d8962e Better debug output for a few ZFS errors 2009-12-16 00:06:01 +00:00
Dan Stillman
0d13147704 Better debugging for data.syncModTime error, maybe 2009-12-15 09:07:07 +00:00
Dan Stillman
85826ba2f1 Better debug output for downloads in WebDAV mode 2009-12-15 08:51:47 +00:00
Dan Stillman
2edda44b12 - 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
39092b7c82 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
c1054b57d6 "ecrypt" -> "eCryptfs" 2009-12-14 11:35:40 +00:00
Dan Stillman
1ff0105daf Throw (rather than log) ecrypt/filename length limit error on Linux 2009-12-14 11:32:50 +00:00
Dan Stillman
e5a8f94a9f Nicer message on S3 file upload failure 2009-12-14 10:07:55 +00:00
Dan Stillman
ef33984707 Fix deleting of saved searches in groups 2009-12-14 08:12:51 +00:00
Simon Kornblith
a68e91b0af Fix sorting bug 2009-12-13 22:00:44 +00:00
Dan Stillman
ecaa599bec - 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
af3ef422a3 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
92c6874475 Add debugging info for weird sync error 2009-12-13 03:58:36 +00:00
Dan Stillman
04aa20b18f Enable export/bib/report context menu options for read-only items 2009-12-12 23:23:36 +00:00
Dan Stillman
771b025679 Give all three merge panes a minimum width 2009-12-11 09:31:44 +00:00
Dan Stillman
2866faac5e Change 'searchcondition' element to 'zoterosearchcondition', just in case someone else binds to searchcondition 2009-12-11 08:47:00 +00:00
Dan Stillman
890e7e9573 Fix accessibility of "Accessed" field from CSL
Thanks to Lubos for the patch
2009-12-11 04:28:20 +00:00
Dan Stillman
afbf22240a Don't keep trying to auto-sync if manual sync required 2009-12-08 21:08:20 +00:00
Dan Stillman
5b84dfe6d0 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
01e9bea66e Support library-key hashes in zotero://timeline and zotero://select URLs 2009-12-05 20:16:42 +00:00
Dan Stillman
9c5c02ef50 - 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
f6c8494a6b - 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
Dan Stillman
b2589585db Find DOI anywhere in string in Add Item by Identifier 2009-12-04 23:52:28 +00:00
Dan Stillman
031f5548b5 Map numPages to CSL number-of-pages 2009-12-04 07:03:14 +00:00