Commit graph

67 commits

Author SHA1 Message Date
Dan Stillman
455a1e65f1 - Fix item deletion behavior to be consistent between Windows (where it was prompting to erase child items) and OS X (where it wasn't for some reason) -- child items are now always removed, since unlinking them didn't make sense in the context of moving items to the trash and could cause problematic data states that would break syncing and trash emptying
- Show appropriate message when moving items to trash
- Unbind delete action from Backspace on Windows, where it's non-standard
- Fixed some inconsistencies in Cmd/Ctrl-Delete behavior -- Cmd-Delete will move item to trash without prompt in Library and move items to trash with a prompt in collection or search

API changes:

- Zotero.Items.erase(), Zotero.Item.erase(), and Zotero.ItemTreeView.deleteSelection() no longer takes eraseChildren parameter
2009-10-28 18:45:49 +00:00
Dan Stillman
9de0533ae8 Fix typo 2009-10-28 06:11:01 +00:00
Dan Stillman
5c1018daaa Don't give false hope 2009-10-20 17:17:27 +00:00
Dan Stillman
f4100739ce Merge new English strings 2009-09-23 08:12:10 +00:00
Simon Kornblith
49fbfb8798 commit missing strings 2009-09-18 17:12:48 +00:00
Dan Stillman
dd89fb6d47 Merge English strings 2009-09-14 06:11:13 +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
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
Simon Kornblith
17c082db20 Commit missing error strings for integration 2009-08-26 20:30:10 +00:00
Simon Kornblith
5b3c1b7bb2 - fix compatibility with older documents
- add upgrade warning
2009-08-21 08:41:07 +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
e981f03514 Merge English locale changes 2009-08-11 04:43:50 +00:00
Dan Stillman
75fd0b4448 Missed file from previous commit 2009-08-10 16:37:53 +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
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
20a14919ce Remove "Collections" header, since it's no longer accurate and takes up space 2009-07-24 06:30:27 +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
eabd87864f Merge locales for 2.0b6 2009-07-06 12:40:24 +00:00
Dan Stillman
2bfb5af205 Change "Documentation" to "Support and Documentation" and update URL 2009-07-03 07:04:13 +00:00
Simon Kornblith
7b58475df7 - closes #1512, RTF Scan: Page Numbers
- closes #1513, RTF Scan: {Bib} Placemarker Flexibility
- switches citations from parentheses to brackets, to make it easier to distingush between what was reformatted and what wasn't
- adds a list of example citations to RTF scan dialog
2009-06-23 19:49:56 +00:00
Dan Stillman
6a28e8b040 - Make note font size configurable through preferences
- Make note font configurable through extensions.zotero.note.fontFamily hidden pref (for now)
- Additional CSS rules can be added through extensions.zotero.note.css hidden pref
- Give TinyMCE note body #zotero-tinymce-note id for more specific external customization
- Remove status bar position option from visible preferences...
2009-06-01 08:23:16 +00:00
Sean Takats
388c90dfac Fixes Hungarian string according to advice in http://forums.zotero.org/discussion/310 2009-05-28 19:43:14 +00:00
Dan Stillman
1db1de2257 Merged locales 2009-05-14 16:01:17 +00:00
Sean Takats
d1945d79b4 Fixes odious problem in French translation. Nous nous excusons! 2009-05-07 12:52:30 +00:00
Dan Stillman
1532a1dd14 Addresses #635, In-content translator
Adds "Import from Clipboard" Actions menu option, based on original patch from en205

Also available via keyboard shortcut (Cmd-Shift-V/Ctrl-Alt-V)
2009-05-06 01:45:57 +00:00
Simon Kornblith
ac53f35056 Adds RTF scan feature. this could probably use some more testing. Acceptable citations are in the form
(Smith, 2006)
The database is scanned for each citation, and positioning is adjusted automatically for footnotes. Currently, this won't work with names with accents, but I'll get to that.
2009-05-01 11:46:07 +00:00
Simon Kornblith
34cd1103a0 - merge WorldCat translators and fix search (for ISBNs, at least)
- make lookup button
- podcast icon is now ipod_cast.png and radioBroadcast icon is now transmit.png, both from famfamfam
2009-04-15 09:15:58 +00:00
Simon Kornblith
dad84abe97 - adds "Lookup by Identifier..." option under add item. currently works for DOIs and PMIDs, but not ISBNs, since our Open WorldCat search translator is broken. with a working ISBN search translator, ISBNs would work, too.
- fixes NCBI PubMed translator type (should be 12, since it's a search translator as well as a web translator)
- fixes a bug passing multiple translators to translate.setTranslator()
- increases priority of CrossRef translator
- makes sync animated arrow progress indicator into a general CSS class (zotero-small-progress-indicator) so that the same progress indicator can be used for lookup. if this is confusing, we could use something else instead.
2009-04-11 04:00:31 +00:00
Simon Kornblith
9ca461c59b Proxy system overhaul
- Only one preference for recognizing proxies for transparent redirection
- Blacklists sites and http://%h/%p
- Fixes to EZProxy

This will clear all existing proxies from Zotero
2009-03-23 19:55:57 +00:00
Dan Stillman
505d3e6ac7 Add a couple localized strings 2009-03-17 08:11:22 +00:00
Dan Stillman
5920f22c52 Addresses #1408, Incorect format for legal case citations in CMS note without biblography style
Added 'docketNumber' to 'case' item type and mapped it to base field 'number'
2009-03-15 18:18:09 +00:00
Dan Stillman
0746824c0f Addresses #1146, Check for duplicate items functionality
Ben's duplicate detection code, with the integration reworked a bit

Very rough, so currently requires creation of a boolean extensions.zotero.debugShowDuplicates pref to view the Actions menu option
2009-03-06 21:44:47 +00:00
Dan Stillman
bafd02759b Add non-English strings for deleted items folder 2009-02-12 16:18:28 +00:00
Dan Stillman
eb79a0f659 Addresses #513, Deleted Items folder
- Still experimental, but committing for testing
- Sync conflicts with deleted items aren't yet supported

Unrelated: deprecated ZoteroPane.deleteSelectedItem() in favor of more accurately named deleteSelectedItems()
2009-01-28 21:25:06 +00:00
Dan Stillman
49a7537fa6 Much improved storage syncing (theoretically)
Metadata sync now always runs before storage sync, and file transfers can be stopped.

Needs testing
2008-11-29 14:13:29 +00:00
Dan Stillman
3d615f2b9c - Fix errors when auto-saving proxies with transparent setting off (due to proxy variable not being set)
- Fixed display of proxy settings validation failure window
- Tweaked validation failure window title
2008-11-14 19:15:18 +00:00
Simon Kornblith
2117745a63 - fix bookmarks mode in OOo plug-in
- disable bookmarks mode for note-based styles
- display an error when attempting to insert a bookmark into a footnote
- closes #1201, Keyboard focus stays in Word when creating or editing a citation
2008-11-03 10:11:47 +00:00
Dan Stillman
04ea113823 Change invalid style warning to allow for non-CSL styles 2008-10-28 17:53:30 +00:00
Dan Stillman
e65473d618 Missing locale line 2008-09-23 03:57:19 +00:00
Dan Stillman
cb38ee8b02 Merge locales 2008-09-23 02:34:57 +00:00
Dan Stillman
4f87dd1323 Merged r3351-3450 from 1.0 branch 2008-09-23 02:11:56 +00:00
Dan Stillman
854842c003 Localize version header pref 2008-09-17 03:13:05 +00:00
Simon Kornblith
bf8e4eae28 - implement Zotero.Styles.install, refine Zotero.Style.delete, and restore functionality to Styles prefpane
- allow deletion of multiple styles simultaneously
- split Zotero.Styles/Zotero.Style and Zotero.CSL into style.js and csl.js respectively
- add Zotero.File.getBinaryContents for binary-safe file reading
- add Zotero.MIMETypeHandler to provide a unified interface for registering observers and capturing MIME types with Zotero
2008-09-16 19:14:52 +00:00
Simon Kornblith
5fc9782860 - better interface for PDF recognizer
- slightly improved PDF recognizer performance
2008-09-03 06:20:19 +00:00
Dan Stillman
2dffa33364 Merge recent English strings to other locales on trunk 2008-09-01 06:45:03 +00:00
Dan Stillman
f37d724a9e Merged revisions 3080-3081,3084,3087-3088,3090,3092,3099-3103,3113-3114,3132,3134-3143,3145,3148-3151,3154-3159,3165,3174,3194,3234-3235,3239-3240,3244,3246-3254,3258-3262,3268,3270,3274,3279,3286-3288,3294-3295 from 1.0 branch via svnmerge 2008-09-01 01:54:00 +00:00
Dan Stillman
a8bb8dae40 Adds WebDAV file sync
- Still experimental and incomplete, with no lock support and not much error handling

Also:

- New expiry date for sync functions
- Attachment character set was being dropped during syncing
- Possibly improves sizing issues with preferences window
- Fixes problems with attachment filenames with extended characters
- Fixes some problem with tags that I don't remember
- Makes XMLHTTPRequest calls are now background requests (no auth windows or other prompts)
- Z.U.HTTP.doOptions() now takes an nsIURI instead of a URL spec
- New methods:
  - Zotero.Utilities.rand(min, max)
  - Zotero.Utilities.probability(x)
  - Zotero.Utilities.Base64.encode(str) and decode(str)
  - Zotero.getTempDirectory()
  - Zotero.Date.dateToISO(date) - convert JS Date object to ISO 8601 UTC date/time
  - Zotero.Date.isoToDate(isoDate) - convert an ISO 8601 UTC date/time to a JS Date object
2008-08-31 23:36:01 +00:00
Simon Kornblith
4cf79691ed Add feature to retrieve metadata for PDFs, currently accessible as a contextual menu item.
The feature grabs relevant fragments from the document and then searches them on Google Scholar. This will only work with OCRed PDFs, so it doesn't work with JSTOR, but it should work fairly well with everything else.
2008-08-22 05:35:44 +00:00
Simon Kornblith
c77fe5462a references #831, transparent EZProxy support
changes default behavior. transparent redirection is now enabled by default, and a caution dialog appears when proxies are first accessed. when transparent redirection is turned off, no dialog appears, and proxies get saved automatically. when the user switches transparent redirection on, there is a warning that s/he should check that there are only trusted proxies in the list. i'm not sure how well i've worded the messages, so feel free to suggest better alternatives.
also, a bit of jsdoc cleanup on proxy.js
2008-08-21 05:46:54 +00:00
Simon Kornblith
09e8249db8 closes #743, Support non-EZproxy proxies
closes #831, transparent EZProxy support
adds a proxy pane to the preferences
asks before saving proxies to the DB (to avoid the potential phishing risk #831 would otherwise pose)
2008-07-28 11:11:12 +00:00