Commit graph

72 commits

Author SHA1 Message Date
Simon Kornblith
a611706f86 fix appearance on FF3.0 for Mac 2009-09-08 22:23:37 +00:00
Simon Kornblith
24ea6dbb5c Fix buttons so that they work on FF3.0 2009-09-08 20:53:03 +00:00
Simon Kornblith
7d4432cc8a Use zotero-clicky on field mode button instead of toolbarbutton to save space and fix alignment issues on Windows 2009-09-08 20:23:49 +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
Ben Parr
ac79b1d05f Add Zotero Commons feature (integration between Zotero and Internet Archive).
- dropping Zotero items into a bucket puts them in that IA bucket
- double clicking a bucket takes you to that IA bucket

In order to enable Zotero Commons:
1) Get an access key and secret key at http://www.archive.org/account/s3.php
2) Go to about:config
3) Search "commons" (no quotes)
4) Set "extensions.zotero.commons.enabled" to true
5) Enter your S3 access key into "extensions.zotero.commons.accessKey"
6) Enter your S3 secret key into "extensions.zotero.commons.secretKey"
7) Enter your buckets into "extensions.zotero.commons.buckets" as a comma separated list

Note: Steps 4-7 take effect in new windows
2009-08-13 10:56:47 +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
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
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
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
Dan Stillman
43e47b30a3 - Add ability to collapse left column of Zotero via grippy
- Use grippy for collapsing tag selector and remove toolbar icon
- Remove redundant Attachments and Notes tabs in metadata pane
- Add all four child attachment options to submenu of item context menu
2009-07-24 06:03:51 +00:00
Dan Stillman
d106fc0313 - Add "Reset File Sync History" reset option to sync preferences
- Fix erroneous uploading of all files on storage history reset
- Fix re-verification of storage server after every opening of the preferences
2009-07-15 07:27:53 +00:00
Dan Stillman
4e3b79f9bb Metadata pane tab fixes
- Connect tabs to pane
- Allow switching between metadata pane tabs using standard Firefox shortcuts (Ctrl-Tab, Ctrl-Shift-Tab)
- Fixed squished look in Firefox 3.5
- Remove some unnecessary padding, providing a little bit more room in the metadata pane

Needs a little testing

Closes #711, Improve keyboard support
2009-07-03 11:11:13 +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
Dan Stillman
481d847951 Long tag fixer tool -- runs automatically if server returns a long tag error, giving the option to split, edit, or delete the offending tag
Needs testing and refinement

- Also fixes server unlock after sync errors
2009-05-29 11:49:55 +00:00
Dan Stillman
921fa8c0fa - Make DOI label clickable in metadata pane
- Restore hand cursor when hovering over DOI/URL labels (which wasn't working in Fx3.5)
2009-05-29 08:43:52 +00:00
Dan Stillman
91459f95f7 2.0b3 megacommit
- Support for group libraries
- General support for multiple libraries of different types
- Streamlined sync support
  - Using solely libraryID and key rather than itemID, and removed all itemID-changing code
  - Combined two requests for increased performance and decreased server load
  - Added warning on user account change
  - Provide explicit error message on SSL failure
- Removed snapshot and link toolbar buttons and changed browser context menu options and drags to create parent items + snapshots
- Closes #786, Add numPages field
- Fixes #1063, Duplicate item with tags broken in Sync Preview
- Added better purging of deleted tags
- Added local user key before first sync
- Add clientDateModified to all objects for more flexibility in syncing
- Added new triples-based Relation object type, currently used to store links between items copied between local and group libraries
- Updated zotero.org translator for groups
- Additional trigger-based consistency checks
- Fixed broken URL drag in Firefox 3.5
- Disabled zeroconf menu option (no longer functional)

Developer-specific changes:

- Overhauled data layer
  - Data object constructors no longer take arguments (return to 1.0-like API)
  - Existing objects can be retrieved by setting id or library/key properties
  - id/library/key must be set for new objects before other fields
- New methods:
  - ZoteroPane.getSelectedLibraryID()
  - ZoteroPane.getSelectedGroup(asID)
  - ZoteroPane.addItemFromDocument(doc, itemType, saveSnapshot)
  - ZoteroPane.addItemFromURL(url, itemType)
  - ZoteroPane.canEdit()
  - Zotero.CollectionTreeView.selectLibrary(libraryID)
  - New Zotero.URI methods
- Changed methods
  - Many data object methods now take a libraryID
  - ZoteroPane.addAttachmentFromPage(link, itemID)
- Removed saveItem and saveAttachments parameters from Zotero.Translate constructor
- translate() now takes a libraryID, null for local library, or false to not save items (previously on constructor)
- saveAttachments is now a translate() parameter
- Zotero.flattenArguments() better handles passed objects
- Zotero.File.getFileHash() (not currently used)
2009-05-14 18:23:40 +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
Matt Burton
cec3b1d31e fixed the newitem from page icon (it was too bright) and created a new lookup icon...it is a magic wand. 2009-04-29 22:56:46 +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
b1b0bd47a0 add a platform attribute to the Zotero pane and make border fix work with Firefox 3.1 2009-04-09 07:58:29 +00:00
Simon Kornblith
e8ce1d30d2 make fake window border gray when window is inactive on OS X 2009-04-09 07:16:41 +00:00
Dan Stillman
ff5631d9ec Addresses #1239, Add options to Locate button
When an item has a URL, turn Locate button into a menu and allow lookup via Wayback Machine

Support for additional user-configurable providers is forthcoming
2009-03-31 09:12:24 +00:00
Dan Stillman
5108e61ea8 Missed file 2009-02-23 05:13:14 +00:00
Dan Stillman
8233e54ea1 Fixes #1295, Info pane text spills out of column 2009-02-12 17:40:22 +00:00
Dan Stillman
e36b41f6c2 Display trash can all the time, unless showTrashWhenEmpty is set to false
- Icon isn't currently reset to empty state when all trashed items are removed
- Dragging doesn't yet work

Addresses #513
2009-01-31 06:19:14 +00:00
Dan Stillman
61e1131fc1 Temporarily removing trash icon (to avoid SVN issue with renaming) 2009-01-31 06:12:35 +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
bd070f7b63 - Adds file conflict resolution -- not particularly attractive at the moment, and no Apply to All button, but possibly functional
- Fixes file syncing after editing a file locally
- Fixes a few storage bugs that could result in eternal spinning, invalid percentages, and other unpleasantries
- Made the attachment display box more flexible, including a filename field that we may or may not want to keep in the main view
2009-01-15 06:58:06 +00:00
Dan Stillman
ae10d4c5d0 Closes #1044, Don't use <toolbar> for Zotero toolbar
Fixes problem described in ticket and ugliness in Fx3.1b3pre -- hopefully with no ill effects. Not tested on Windows or Linux.
2009-01-07 08:27:37 +00:00
Dan Stillman
3b0f20c493 Add initial implementations of "Restore to Server" and "Restore from Server" to the Sync pref pane 2009-01-02 00:35:09 +00:00
Dan Stillman
3122339d8a Adding as new file 2008-12-29 21:03:52 +00:00
Dan Stillman
93474c1e80 This is annoying. 2008-12-29 21:02:06 +00:00
Dan Stillman
3e9437dcbd Re-copying arrow-down.gif from branch 2008-12-29 20:58:43 +00:00
Dan Stillman
72670ad446 Trying to fix another annoying SVN auth issue/bug 2008-12-29 20:57:46 +00:00
Dan Stillman
f2cd272786 Merged r3888 from branch 2008-12-29 09:35:11 +00:00
Dan Stillman
8ad23d7eea - Abstract attachment info pane into XBL binding
- Add attachment conflict resolution
2008-12-29 06:18:41 +00:00
Dan Stillman
2a1caa7227 Missing icon from previous commit 2008-11-29 14:14:53 +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
310e233480 Merged r3581-3616 from 1.0 branch, plus some report tweaks 2008-10-25 08:01:43 +00:00
Dan Stillman
2bbf3d7c80 - Restored read-only mode for notes (using a separate HTML file, for lack of a better way)
- HTML file is now loaded on-demand the first time it's required
2008-10-15 05:24:38 +00:00
Dan Stillman
5e1ca7172a - Reduced TinyMCE to two rows
- Removed font-family, font-size, full justify
- Restored outdent and indent
- Some style improvements, including quotation marks around blockquotes
2008-10-14 03:02:26 +00:00
Dan Stillman
651bcf2380 Adds rich text support to notes
- Still a few issues
- Converts plaintext notes to HTML on upgrade
2008-10-13 19:51:53 +00:00
Simon Kornblith
ac551b3a2f use TinyMCE for styled-textbox.xml 2008-09-24 23:44:34 +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
Dan Stillman
ecfc44ee57 Closes #1166, Add http access to WebDAV 2008-09-09 15:19:22 +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
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