Commit graph

475 commits

Author SHA1 Message Date
Dan Stillman
2681a508b4 Merge pull request #664 from gracile-fr/prefs-pane
Move shortcut keys prefpane to tab of Advanced (#646)
2015-03-09 18:54:39 -04:00
gracile-fr
0a4fcc90ac Move shortcut keys prefpane to tab of Advanced
[and delete unused "#zotero-prefpane-keys checkbox" (there used to be a checkbox to "Try to override conflicting shortcuts", which has been definely removed by 5b34dce40f )]
2015-03-09 12:08:31 +01:00
gracile-fr
1ac54c4b13 Move "#styleManager-updated" under "Cite Pane" code
It was lost under "Shortcut Keys pane" code.
2015-03-09 12:06:55 +01:00
Dan Stillman
98263fb485 Fix padding of single save button in palette
(At least on OS X. This might need to be added back for Windows/Linux.)
2015-03-08 01:43:12 -07:00
Dan Stillman
a1bed8b5ad More icon tweaks
- New dedicated Zotero button, available in the Customize palette
- Remove "16px" Z SVG and just render "32px" one at the smaller size
  (there's a slight difference at the edges, but we should probably redo
  it anyway so that dark lines reach all the way to the bottom)
- Change "Open Zotero" back to just "Zotero", since 1) it's for closing
  too, 2) it can also just bring Standalone to the front, and 3) "Open
  Zotero" looks weird and inconsistent in the menu panel next to things
  like "Preferences"
- For now, show single large Z for combo buttons in customization
  palette with "Zotero (Combo)", though we can probably do something
  better.
- Fix some HiDPI bugs when moving items between areas

Still need a layout for the panel for the combo buttons
2015-02-27 03:35:18 -05:00
Dan Stillman
93e3f68be8 Center align and pad error paragraphs on center pane crash 2015-02-24 22:07:30 -05:00
Dan Stillman
7607e49ae7 Don't color gray webpage on hover 2015-02-22 06:46:07 -05:00
Dan Stillman
1069b483cc Fix toolbar buttons on Linux
Known issues:

- The dropmarker segment doesn't get a background highlight color on
  hover. And now you'll notice. Sorry.
2015-02-22 06:46:07 -05:00
Dan Stillman
9a87f15956 Toolbar button overhaul
The address bar icon now lives in a new combo buttonset containing the main Z, "Save to Zotero", and a dropmarker for the former save-icon right-click menu (which we could conceivably use more heavily going forward now that it's more accessible). There's also a separate dedicated Save to Zotero (+ dropmarker) button, not shown by default, that can be swapped in for people who don't want the Z.

The tooltip for the save icon also now shows the keyboard shortcut (though that unfortunately makes for a lot of parentheses).

Known issues:

- Untested on ESR
- Untested on Linux
- Might need refinement on Windows
- Weird 1px horizontal area at bottom of save button that highlights dropmarker (at least on OS X)
- Probably needs a third button option with just the Z icon so that the main button and the save button can be placed separately (e.g., save button in toolbar, Z in panel)
- Combo buttonset needs an inactive single-icon state for the palette and either needs a state for the panel (which might need to span all three columns?) or if possible should just move the other two icons in and put itself back in the palette
- The absurd amount of time and CSS it took to get the toolbar icons looking right on OS X, since apparently no one has put a menu-button inside a combined toolbar button before
2015-02-21 04:16:34 -05:00
Dan Stillman
88be886612 Sync error icon is too close to sync icon (at least on OS X)
Might need to restore this on Windows/Linux where the button styles are
different
2015-02-19 15:42:36 -05:00
Dan Stillman
424ee72f58 Additional icon changes
- Add high-res webpage icon
- Show webpage icon in grayscale when no translator (except on hover, for fun)
- Remove pre-Australis icons
- Switch to CustomizableUI API for toolbar icon
- Move icon generation code to separate file
- Add Zotero.hiRes flag for Retina/etc. displays (available only after a window
  has loaded)

Known issues:

- While the gray is mostly to be less distracting, the gray/color distinction
  will probably be lost on most people. A separate guidance panel for the gray
  icon might help.
- On pages with frames, the webpage icon appears first and then is replaced
  with a translator icon.
2015-02-18 17:10:19 -05:00
Dan Stillman
0eefd24d92 Fix color of Z icon on OS X for current Firefox theme
The Firefox theme changed at some point since Australis to use darker,
non-gradient icons. (Sorry ESR users.)

Not sure if this needs to change on Win/Linux too.
2015-02-18 05:39:29 -05:00
Frank Bennett
5cfe4db098 Use nav-bar as target ID for Zotero nav bar icon
The statusBarIcon pref is retained to maintain state across
starts.
2015-01-30 22:42:34 +09:00
Philipp Zumstein
d5b4c31575 Right pane (item-pane) can be collapsed
This belongs to issue #509 and was asked several times in the forum.

 * Add attribute `collapse="after"` to the splitter and add a grippy element.
 * To remember its state after restart I copied `zotero-persist="state"`.
 * Handle zotero-items-splitter the same as zotero-collections-splitter in zotero-platform/mac/overlay.css
 * Change min-width to 250px for #zotero-item-pane in zotero/overlay.css.
 * Update the function `updateToolbarPosition` in zotero/zoteroPane.js:
   * The width of the items-toolbar is corrected if the left pane is collapsed (and the icons are grouped on the left margin together).
   * If the right pane is collapsed, then the items-toolbar is made flexible while making the item-toolbar unflexible. As a result the search box and locate icon are flushed right to the other icons.
2015-01-07 10:41:18 +01:00
MTD
849803473a Address silent failure of unrecognized URIs in Attach Link to URI
Generated files for a more robust attached-link-dialog and localized strings
* AttachLink.js
* AttachLink.xul

zotero/xpcom/attachments.js
* created function cleanAttachmentURI
* in function linkFromURL, removed the regex constraints and the comment list of valid protocols
* removed outdated function declaration from beginning of script
* Improved automatic title generation mechanism
2014-12-16 11:20:55 -05:00
Dan Stillman
20dd8c89d8 Remove "CSL" column in Cite -> Styles preferences 2014-12-09 19:19:40 -05:00
Dan Stillman
aab3276276 Use old-style searchbox in Yosemite pre-Fx34
Yosemite introduces a new search textbox shape, but Firefox still uses
the old focus ring shape until 34, so we fake the old searchbox shape
for earlier versions.
2014-10-14 02:22:44 -04:00
Dan Stillman
755ead2119 Update zotero:// extensions (report, timeline, etc.) for async DB, and more
- Protocol handler extensions can now handle promises and can also make
  data available as it's ready instead of all at once (e.g., reports now
  output one entry at a time)
- zotero:// URL syntaxes are now more consistent and closer to the web
  API (old URLs should work, but some may currently be broken)

Also:

- Code to generate server API, currently available for testing via
  zotero://data URLs but eventually moving to HTTP -- zotero://data URLs match
  web API URLs, with a different prefix for the personal library (/library vs.
  /users/12345)
- Miscellaneous fixes to data objects

Under the hood:

- Extensions now return an AsyncChannel, which is an nsIChannel implementation
  that takes a promise-yielding generator that returns a string,
  nsIAsyncInputStream, or file that will be used for the channel's data
- New function Zotero.Utilities.Internal.getAsyncInputStream() takes a
  generator that yields either promises or strings and returns an async input
  stream filled with the yielded strings
- Zotero.Router parsers URLs and extract parameters
- Zotero.Item.toResponseJSON()
2014-09-09 00:36:29 -04:00
Aurimas Vinckevicius
dc5ccffe43 Use Mozilla's colors for itembox and tagbox background
This way, the colors play nicely with Windows themes (e.g. high contrast)
Re https://forums.zotero.org/discussion/38870/make-zotero-fully-recognize-windowsff-high-contrast-themes/ and https://twitter.com/stuffilike2know/status/504167872567189504
2014-08-26 03:11:24 -05:00
Dan Stillman
59f534d56f Error report improvements
- Always allow "Report Errors...", even when no errors

- Show submitted diagnostic info in report

- Use white background and unitalicized text for report

- Make window larger by default
2014-05-26 20:07:41 -04:00
Dan Stillman
9f91d240b0 Library switcher in advanced search window
When opening the advanced search window, the current library is
selected, and a different library can be selected to change the search
scope. If a library is read-only, the saved search button is disabled.
For saved searches, the appropriate library is selected and the
drop-down is disabled.

Also:

- Close the advanced search window after a search is saved
- The default name for saved searches ("Untitled 2", etc.) was based on
  collections rather than searches
- Once an initial search has been performed, the drop-downs and
  checkboxes now update the results
- More consistent spacing in advanced search window
- (dev) Zotero.DB.getNextName() now takes a libraryID as its first
  parameter instead of always using My Library; the old parameters are
  deprecated but still work
2014-05-15 21:41:22 -04:00
Dan Stillman
aaa259f77c Fix font size of "any"/"all" line in advanced search window
It was previously larger than the default and didn't obey the font size
pref.
2014-05-15 21:41:21 -04:00
Dan Stillman
dd477e15b8 Configurable secondary sorting and other improvements
- Each column in the middle pane can now have its own persistent
  secondary sort column, configurable from a new submenu in the column
  picker menu (top right of items list). The settings are stored in
  extensions.zotero.secondarySort.[primaryField]. The submenu title
  includes the current primary field (e.g., "Secondary Sort (Creator)"),
  which is pretty weird, and I'm not sure I want to keep it, but it does
  convey that the setting is specific to the selected column.

- The fallback sort fields (firstCreator, date, title, dateAdded) are
  now configurable via the extensions.zotero.fallbackSort. Setting that
  pref to an empty string avoids all fallback sorts, which
  allows reverse-order clicking to set the order, as requested by
  @aurimasv in #275.

- The previous behavior of sorting based on the exact Creator string
  (rather than the actual creators) can now be restored with the
  extensions.zotero.sortCreatorAsString pref. (It simply circumvents all
  the newer code, so it's pretty safe.) This setting should result in
  faster sorting in large libraries that have many items with the same
  Creator string.

- Some of the lesser fields in the column picker menu are now in the
  More Columns submenu (which is now alphabetical)

- The "Type" column is now the less-ambiguous "Item Type".

- This uses a different method to modify the column picker menu that is
  simultaneously less and more hacky. (It no longer has to duplicate
  Mozilla code in a custom XBL binding that wouldn't reflect future
  upstream changes, and instead it bushwhacks its way through various
  boxObject properties to get to the underlying menupopup.)
2014-05-07 05:15:07 -04:00
Dan Stillman
4179cb8ed6 Retina tree twisties for OS X
Using separate arrows from treetwisty.svg from Mozilla, since it doesn't seem
to be possible to use list-style-position in the tree

The reason we still have to do this at all is that coloring of the twisties in
the tree still gets messed up as you move around the tree. (This still happens
in Places and Thunderbird as well.)
2014-04-28 03:52:18 -04:00
Simon Kornblith
b758af7b08 Add Australis-style Z icons 2014-04-24 01:13:35 -04:00
aurimasv
57350fae1e [Retrieve Metadata] Use a single queue to query Google Scholar. Window closing tweaks.
* Close window on blur after completion on Mac (revert previous change)
* Don't close window when canceling
* Add Esc handler to cancel/close window
* Allow columns to be resized
* Fixes #445
* Fixes #444
2014-01-31 02:09:35 -06:00
Dan Stillman
331ef4ac34 Apply Fx25 tree-row fix to Windows only, and fix spacing there too
"height: auto" (from another extension's fix for this) actually caused
the bottoms of tree rows to be cut off on Windows (and at least on one
Linux installation with Chinese characters).
2013-11-07 03:23:55 -05:00
Dan Stillman
d0e4151e8e Undo tree row spacing change in Fx25 on Windows 2013-11-05 14:12:22 -05:00
Dan Stillman
230ec24251 Remove some unnecessary CSS 2013-07-16 03:22:24 -04:00
Dan Stillman
51cbf0c820 Fix spacing around Reindex Item icon on Windows 2013-07-16 03:19:44 -04:00
Simon Kornblith
c0f3e3c425 Fix box scrolling 2013-05-23 23:27:29 -04:00
aurimasv
bfb30eed59 Don't display snapshot or link from page context menus for Standalone 2013-05-18 23:01:24 -05:00
Simon Kornblith
d154d7ed7f Remove -moz-border-radius (supplanted by border-radius) 2013-04-17 01:42:11 -04:00
Aurimas Vinckevicius
33fedc306c Add icons to context menus 2013-04-13 01:53:02 -05:00
Dan Stillman
79bfca03ae Fix character encoding (including window title) of Timeline view
http://forums.zotero.org/discussion/28688/
2013-04-07 16:48:40 -04:00
Dan Stillman
4ad8320dc0 Increase width of quicksearch bar slightly 2013-04-01 01:43:59 -04:00
Dan Stillman
2c134c1c25 Shrink font size of quick copy prefpane instructions 2013-03-29 04:28:44 -04:00
Dan Stillman
239247aa81 Make the prefwindow somewhat less of a disaster on fr-FR
And probably other locales.

(Also, there must be a better way to deal with bottom elements getting
cut off than these extra <separator/> elements that result in extra
space when they're not needed.)
2013-03-29 04:28:35 -04:00
Dan Stillman
e61350a3b2 Fix positioning of sync error popup 2013-03-22 17:56:53 -04:00
Dan Stillman
e85790541b Remove per-library sync error indicators, at least for now
The hidden column caused collection names to be cut off unnecessarily,
and the extra icons were overly distracting. For now, just show the
first error that comes in in the main sync error panel, along with the
library name.
2013-03-20 22:41:15 -04:00
Dan Stillman
edfdbdec1c Keep tag selector label heights consistent
Use a transparent border so that the height is the same with or without
zotero-clicky being set
2013-03-16 16:25:58 -04:00
Dan Stillman
6dbe1d1e19 Show colored tags in tag selector in all views
Always show colored tags at the top of the tag selector, regardless of
whether they're in the current scope. If not, they're shown with reduced
opacity (as an equivalent to the gray style for out-of-scope tags in
Display All Tags mode). As a corollary, colored tags are now shown even
if they have no associated items and will remain until they're
explicitly deleted.

Also:

- Don't show outline on out-of-scope tags in "Display All Tags" mode
2013-03-16 16:25:51 -04:00
Dan Stillman
f932f312eb Overhaul tags box
- Improvements to #20, with the tags box switching to a multiline
  textbox in the style of #164 on a multiline paste or Shift-Return. In
  the multiline box, Return is a newline and Shift-Return saves
- Allow tabbing through tags via keyboard (and keep the last empty
  textbox open on tab, so you can hold down the tab key to get all the
  way to the end)
- Fix various post-update focusing issues (though the wrong textbox is
  still selected for some multiline updates via Tab/Shift-Tab)
- Make (single-line) tag entering much faster by not reloading the whole
  tags list and just placing the new tag in the correct sorted position.
  This could be made even faster with tag selector optimizations.
- Allow the Add button to focus when switching to the Tags pane (and the
  same for the Related pane, for good measure)
2013-03-09 03:05:29 -05:00
Dan Stillman
61aef48381 Add LTR/RTL toggle in notes
Initialize the note editor with the default directionality based on the current locale, and add a single button for the opposite direction that functions as a toggle. This avoids needing two buttons.

We should also add locales to TinyMCE, but we can do that separately.

Closes #157
2013-03-05 17:51:30 -05:00
Dan Stillman
4496c8d9e9 Merge remote-tracking branch 'aurimasv/multipleLookup'
Conflicts:
	chrome/locale/en-US/zotero/zotero.dtd
2013-03-05 14:46:31 -05:00
Dan Stillman
98f62c6d3f Switch notes column back to counts, and hide by default
While the attachment icon helps with on-demand download, a count is
probably more useful for notes, and between tag colors and the two
dot columns things were getting a little Dance Dance Revolution.
2013-03-03 06:23:43 -05:00
Dan Stillman
d2f028d797 Tag colors, synced settings, and (stopgap) silent DB upgrades
- New tag colors support, with the ability to assign colors to up to 6
  tags per library. Tags with colors assigned will show up at the top of
  the tag selector and can be added to (and removed from) selected items
  by pressing the 1-6 keys on the keyboard. The tags will show up as
  color swatches before an item's title in the items list.
- Synced settings, with Notifier triggers when they change and
  accessible via the API (currently restricted on the server to
  'tagColors', but available for other things upon request)
- Silent DB upgrades for backwards-compatible changes. We'll do
  something fancier with async DB queries in 4.0, but this will work for
  changes that can be made without breaking compatibility with older
  clients, like the creation of new tables. The 'userdata' value is
  capped at 76, while further increments go to 'userdata2'.

TODO:

- Try to avoid jitter when redrawing swatches
- Optimize tag color images for retina displays
- Redo attachment dots in flat style?
- Clear all colors from an item with 0 (as in Thunderbird), but I don't
  think we can do this without undo
2013-03-03 06:23:25 -05:00
Dan Stillman
e4afbbfcea Unprefix some CSS properties 2013-02-22 18:48:59 -05:00
Simon Kornblith
e63364c788 Merge branch '3.0' 2013-02-18 01:03:15 -05:00
Simon Kornblith
755f2bf6f9 Set reasonable min-width and min-height for Standalone 2013-02-17 16:44:56 -05:00
Dan Stillman
bc12d92639 Make date parts indicator match order in date itself
This may not work properly for all inputs, but it worked with everything I tried. (This need unit tests once we have a functional unit-testing framework again.)
2013-01-11 22:31:27 -05:00
aurimasv
1ca0eb3965 Restructure multiline toggling. Move multiline progress bar next to the search button. 2012-12-12 00:21:46 -06:00
aurimasv
1b9c89fd59 Add support for multiple identifier lookup to the magic wand tool. Enable shift+enter for submitting input in multiline mode. Use shift+enter in single line mode to convert to multiline 2012-12-12 00:21:46 -06:00
Dan Stillman
bb93f019dc File sync overhaul
- New promise-based architecture
- Library-specific file sync queues, allowing other libraries to
  continue if there's an error in one library
- Library-specific sync errors, with error icons next to each library
- Changed file uploading in on-demand download mode, which had been missing
- On-demand download progress indicator in middle pane
- More accurate progress indicator
- Various tweaks and bug fixes
- Various future tweaks and bug fixes
2012-12-11 15:16:40 -05:00
Dan Stillman
c2e116a49a Merge branch '3.0'
Conflicts:
	chrome/content/zotero/locale/csl
	chrome/content/zotero/xpcom/server_connector.js
	chrome/content/zotero/xpcom/storage.js
2012-09-10 17:18:08 -04:00
Simon Kornblith
f60bceffac Don't show empty close button 2012-08-14 20:07:57 -04:00
Simon Kornblith
59913cc5c0 Tweak notes/tags/related pane appearance 2012-07-30 03:08:38 -04:00
Simon Kornblith
d26bb24849 Merge branch 'attachment-progress' 2012-06-10 21:56:15 -04:00
Dan Stillman
f1f4044018 Merge branch '3.0' 2012-06-10 21:50:14 -04:00
Simon Kornblith
3a6669c66f Closes #23, "Saving item..." notification should show the name of the library where item is imported 2012-06-10 16:50:06 -04:00
Simon Kornblith
a750203f4f Hook up attachment progress notifications in Firefox UI, and simplify a lot of old code.
Closes #3
2012-06-09 14:02:21 -04:00
Dan Stillman
64dd58694c Revert new webpage icon from 34f074e5 for now
It doesn't really work with a "+" for the toolbar button.
2012-06-07 04:00:22 -04:00
Simon Kornblith
4e5d4281f1 Merge branch '3.0' 2012-05-26 18:24:52 -04:00
gracile-fr
34f074e52a Items Icons http://forums.zotero.org/discussion/8544/icon-for-presentation-icon-for-document/ 2012-05-15 19:24:36 +02:00
gracile-fr
6f659e6cc2 Add new icons to items currently using blank documents. Update icons for some items.
http://forums.zotero.org/discussion/8544/icon-for-presentation-icon-for-document/#Item_9
2012-05-02 01:52:37 +02:00
Simon Kornblith
1585ece566 Merge branches '3.0' and 'master' 2012-04-09 11:27:01 -04:00
Simon Kornblith
6fa4f8d02b Server-side translation and attachment upload, part 1 2012-04-09 00:46:50 -04:00
gracile-fr
18111dd15d Make additional fields available as columns with a submenu (fixes #84) 2012-03-24 19:39:14 +01:00
Simon Kornblith
947be813ec Merge branch '3.0' 2012-03-20 02:16:43 -04:00
Simon Kornblith
63c4096a6c Specify both -moz-border-radius and border-radius.
Closes #66, Quick Format is square on nightly
2012-03-09 20:24:28 -05:00
Simon Kornblith
07028650f0 Closes #48, Additional field in QuickFormat dialog showing the name of the library and providing a link to the item with the following modifications
- Open in current window if one is already open
- Use a button instead of a label
- Don't show button if citation item is not linked to a Zotero item

This doesn't currently work if the Zotero pane has never been opened in the given window, because ZoteroPane.selectItem() appears to fail in that circumstance. This needs to be fixed.
2012-02-19 18:37:42 -05:00
Dan Stillman
17e9c466d0 Merge branch '3.0' 2012-02-17 04:26:58 -05:00
Simon Kornblith
c62c229e6f Don't screw up toolbar styling 2012-02-16 04:17:51 -05:00
Simon Kornblith
54b2916f7e Don't let Firefox hide our toolbars 2012-02-16 04:13:47 -05:00
Simon Kornblith
c99a7d37f0 Zotero toolbar should always be visible 2012-02-16 04:05:12 -05:00
Dan Stillman
860a1617ea Decrease height of icon when no other add-on bar buttons 2012-02-10 03:32:43 -05:00
Dan Stillman
4ef7c94374 Switch to regular add-on bar button
Can be moved/removed via Customize as well as via Zotero prefs. The icon
can be in the toolbar or in the add-on bar, but not both, because
it's now the same button with different styling depending on where it is.

If the icon does not exist in the UI and the pref is set to show (as it
is by default), the icon is added to the add-on bar and the add-on bar is
persisted open. This has the effect of showing the icon/bar on
first run. If the icon is removed or the bar is hidden, they remain that
way.
2012-02-10 01:20:00 -05:00
Dan Stillman
3a4401a995 Merge branch '3.0'
Conflicts:
	chrome/content/zotero/xpcom/integration.js
	chrome/content/zotero/xpcom/storage/webdav.js
	chrome/content/zotero/xpcom/storage/zfs.js
	install.rdf
	update.rdf
2012-02-09 02:13:02 -05:00
Dan Stillman
3d58ef557d Remove snapshot/link-from-page options in Standalone 2012-02-06 14:21:56 -05:00
Simon Kornblith
c98570ca4b Fix typo 2012-02-02 02:18:56 -05:00
Simon Kornblith
d4552a8c6c Tweak toolbar UI 2012-02-01 22:23:07 -05:00
Simon Kornblith
9e50234368 Use white tag selector background 2012-02-01 20:47:01 -05:00
Simon Kornblith
29f4dce061 Tiny cosmetic change 2012-02-01 18:21:17 -05:00
Simon Kornblith
b7c1e889cd Explicitly specify width and height for urlbar icon 2012-02-01 01:42:27 -05:00
Dan Stillman
f4804b66b5 Merge branch '3.0' 2012-01-27 00:24:50 -05:00
Simon Kornblith
bf10b7192b Set pane padding to 0 on Linux 2012-01-25 19:16:29 -05:00
Dan Stillman
7c4a69b9e1 Merge branch '3.0' 2012-01-17 01:16:47 -05:00
Dan Stillman
6c6505a7ba Make "Restore to Library" button look somewhat less awful 2012-01-16 23:04:36 -05:00
Dan Stillman
4767cad19e Merge branch '3.0' 2012-01-10 19:54:09 -05:00
Dan Stillman
d70a1ed7fe Don't make prefs <description> small, since it makes it tiny on Windows
Standalone will need to be fixed to use the same preferences CSS as
Firefox.
2012-01-05 19:32:45 -05:00
Dan Stillman
bcf02d575b Make <description> elements small in prefs in Standalone 2012-01-05 03:22:15 -05:00
Dan Stillman
059460a5d2 Merge branch '3.0'
Conflicts:
	chrome/content/zotero/xpcom/storage/webdav.js
	chrome/content/zotero/zoteroPane.js
	chrome/skin/default/zotero/preferences.css
2011-12-17 16:25:58 -05:00
Dan Stillman
917d928d79 Fix spacing around text links in preferences 2011-12-17 16:14:46 -05:00
Dan Stillman
0456e5d3be About pane updates 2011-12-14 17:52:10 -05:00
Dan Stillman
2ebb9ddaf1 Merge branch '3.0' 2011-12-01 14:43:30 -05:00
Dan Stillman
9d9ab86729 Update titles/creators quicksearch mode to include year
Also:

Change "All Fields" to "All Fields & Tags" to reflect reality
Increase width of search box slightly
2011-12-01 14:33:43 -05:00
Simon Kornblith
e5859ebada Tweak UI and don't allow selection of library headers 2011-11-28 01:26:41 -05:00
Dan Stillman
758216638f On-demand download support
Can choose to download files "at sync time" or "as needed"

On-demand defaults to on, but remains off for existing users

To-do:

- Handling of local and remote file changes on on-demand download
  (currently if a file exists it isn't downloaded, which means a
  remotely modified file won't be redownloaded in on-demand mode)
- Additional control over file downloading and retention

Other changes:

- Overhauled entire file syncing architecture
- Replaced numAttachments column with Note and Attachment columns with
  dynamic icons to indicate status
- Double-clicking a parent with a missing best attachment and on-demand
  downloading off no longer loads the parent URL
- Bugs
2011-11-26 03:45:55 -05:00
Simon Kornblith
80530b9599 Tweak UI and don't allow selection of library headers 2011-11-25 12:45:06 -05:00
Dan Stillman
81b6974053 Add more reasonable "Medium" font setting, and shift M/L to L/XL
Also adjust spacing of radio buttons in General pref pane
2011-11-17 02:10:10 -05:00
Simon Kornblith
27b5505661 First run guidance for save icon 2011-10-03 04:44:40 +00:00
Simon Kornblith
ccec1243c6 Show metadata when clicking an item in quickformat dialog 2011-10-02 21:51:36 +00:00
Dan Stillman
e1cc377162 Show Zotero pane progress bar during sync processing
TODO: limit to large syncs?

This needs a lot of testing.

Also:
- Tweak pumpGenerator() wait level behavior to match Zotero.wait()
- If Zotero is closed in the top-most window, show a popup instead of the pane-covering progress meter, and take an optional icon in Zotero.showZoteroPaneProgressMeter() for use in the popup
- Restore protection against opening Zotero pane when Zotero.locked is set
- Display a nicer error if Zotero.DB.commitTransaction() is called without an active transaction
- Allow text with icons to extend to multiple lines in progressWindow popup
- Automatically use current window if one isn't specified in Zotero.repaint()
2011-09-21 23:00:20 +00:00
Dan Stillman
263439c6ab Closes #1464, Limit number of creators in metadata pane
Displays "[x] more..." label that can be clicked to show all creators. Switching away from the item resets. This might need some further tweaking.

Untruncated display of large creator lists is probably faster now as well, though definitely not enough for the ATLAS Experiment.
2011-09-06 06:13:26 +00:00
Simon Kornblith
4666ae972c - Move Zotero.Utilities.Internal and Zotero.Utilities.Translate to separate files
- IE compatibility for translation core
2011-08-31 23:25:48 +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
f1207a90eb Restore dropmarker to search bar on OS X Standalone 2011-08-23 00:42:30 +00:00
Simon Kornblith
b20c4dd622 - Add border on Linux
- Move dropmarker slightly
2011-08-03 02:09:57 +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
Simon Kornblith
6566ba1682 Don't specify a max height for the editor 2011-08-02 19:43:04 +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
0f21c3c4ea Set line-height properly 2011-07-31 21:39:14 +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
Simon Kornblith
28c64a3bd0 Commit Z icon 2011-07-29 16:04:42 +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
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
a5cdfc2cef Use arrow panel for "Add Citation by Identifier" 2011-07-24 17:41:48 +00:00
Dan Stillman
ff68789e4e Missed file from previous commit 2011-07-22 21:50:32 +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
Dan Stillman
b2dda2ec23 Replace all setTimeout(string, ms) calls with setTimeout(func, ms) for AMO 2011-06-20 20:02:14 +00:00
Dan Stillman
2b68113fd7 - Fix search bar drop-down on Linux
- Increase padding slightly next to non-menu toolbar buttons
- Tweak alignment of sync icon
2011-06-14 03:24:21 +00:00
Simon Kornblith
b874641bf9 - show correct gradients for between focused, selected, and inactive tree items in collections tree on OS X
- use -moz-linear-gradient instead of images
2011-06-07 06:26:12 +00:00
Dan Stillman
4c07ff04a1 Copy mainwindow-dropdown-arrow.png to skin directory for availability in Standalone 2011-06-07 06:00:36 +00:00
Simon Kornblith
ba4bd78c37 add bottom padding 2011-06-01 16:21:27 +00:00
Simon Kornblith
b6e4aacbac fix unnecessarily high add-on bar button on Windows 2011-06-01 08:53:35 +00:00
Simon Kornblith
6d9458ca93 remove add-on bar padding 2011-06-01 08:34:41 +00:00
Simon Kornblith
4aff8c67c0 reduce height of status bar icons where applicable 2011-06-01 08:24:10 +00:00
Dan Stillman
3e30066d89 - Don't display "+" and "-" tags as add/remove icons in the tag selector, as much as I like the idea of tags arbitrarily being turned into graphical representations
- Use add/remove icons in advanced search window
2011-05-09 08:11:18 +00:00
Dan Stillman
3856885e6d Closes #1004, Add menu to quicksearch bar to change search modes
Initial version -- needs additional refinement

Not yet tested on Windows/Linux, and won't look right in Fx3.6
2011-04-25 15:27:49 +00:00
Dan Stillman
4a170fce6f Use background color for selected items with colored tags, like Thunderbird 2011-04-21 16:11:28 +00:00
Dan Stillman
b53423e8dd Tag colors, as in http://forums.zotero.org/discussion/1787/1/simple-marking-of-items/
Should be considered proof-of-concept at this stage, with refinements needed

(Among other things, no handling of multiple tags per item)
2011-04-15 14:46:21 +00:00
Simon Kornblith
6c201bc985 use an <hbox> with -moz-appearance:toolbar instead of a <toolbar> to prevent toolbar from disappearing on pages with toolbars disabled 2011-04-05 23:46:53 +00:00
Simon Kornblith
ec44bfbcc5 tweak appearance on Linux 2011-03-08 05:44:27 +00:00
Simon Kornblith
e84ef616d4 fix appearance on Windows (still need to test on Linux) 2011-03-08 05:23:01 +00:00
Simon Kornblith
6abaf18fdc only apply overflow:auto to item box 2011-03-02 18:21:43 +00:00
Simon Kornblith
43a426119b fixes #1790, Autocomplete text box has a bit too much padding on left side 2011-02-22 19:23:33 +00:00
Simon Kornblith
aa81249e5e shrink +/- buttons by 2px 2011-02-14 07:40:04 +00:00
Dan Stillman
393a6d87fe Unless we find anything better, use stack of papers for Unfiled Items icon 2011-02-14 07:11:06 +00:00
Simon Kornblith
1908001230 - get rid of svg toolbar glow, which wasn't working before anyway
- use icons with higher contrast edges in some cases on OS X
2011-02-13 23:51:50 +00:00
Simon Kornblith
e78df93c71 restore min-height 2011-02-13 19:04:26 +00:00
Simon Kornblith
71e1b98304 spacing tweaks for attachment box 2011-02-13 19:00:37 +00:00
Dan Stillman
b7477ed6c8 - Make attachment title a little smaller
- Adjust padding a little
2011-02-13 18:48:28 +00:00
Simon Kornblith
d8966467dc - show title in separate notes window
- fix issues entering new tags into tags popup
- add back left/right tinymce borders on non-OS X
2011-02-13 08:50:24 +00:00
Simon Kornblith
c4b5730486 increase space between tags 2011-02-13 07:17:24 +00:00
Simon Kornblith
4e75852322 fix typo 2011-02-13 07:01:17 +00:00
Simon Kornblith
72240b92d9 pad bottom of note window 2011-02-13 06:25:08 +00:00
Simon Kornblith
e381b552d0 Modifications to notes and attachments box appearances:
- attachment notes box is now located at bottom, with linked items options above it
- notes no longer display the parent item title. I think this is a waste of space, but if someone wants it back, I can do that
- notes editor spans entire pane
- notes editor does not have gray borders on left or right
- metadata display in notes and attachments boxes is consistent with metadata display in item pane
2011-02-13 06:16:06 +00:00
Simon Kornblith
1a726d357a fix broken ensureElementIsVisible method
I think this should fix #1730, Metadata pane doesn't scroll down when tabbing between fields
2011-02-13 01:57:54 +00:00
Simon Kornblith
173f10a6fa format commas properly 2011-02-13 01:41:56 +00:00
Simon Kornblith
d98e99ce46 pack tags slightly closer together 2011-02-13 01:21:28 +00:00
Simon Kornblith
effdfc1adf item pane UI consistency tweaks 2011-02-12 23:47:08 +00:00
Simon Kornblith
806576aacb remove "create item from current page" from tab 2011-02-12 22:18:46 +00:00
Simon Kornblith
e30890711a - locate menu tweaks (needs more testing)
- add missing modifications for DB error when selecting tab in Fx 4
2011-02-11 08:07:20 +00:00
Simon Kornblith
1486132626 Add flexible locate menu, based on a (very heavily modified) copy of the pubget patch. Documentation is forthcoming. 2011-02-09 03:22:06 +00:00
Simon Kornblith
90b7380563 more tab code changes 2011-02-03 07:17:55 +00:00
Simon Kornblith
ecf0f3397c Zotero as a tab. This may need to be backed out for 2.1 depending on the amount of trouble it generates. 2011-01-30 09:44:01 +00:00
Simon Kornblith
1a3d616c2d - add support for Zotero as a separate tab (currently only via loading chrome://zotero/content/tab.xul)
- tweak twisty appearance on OS X (highlight-on-click is gone, but this seems preferable to the previous behavior)
- simplify chrome.manifest for standalone
2011-01-24 10:29:36 +00:00
Dan Stillman
78a92255d8 - Add the Zotero icon to the add-on bar instead of the status bar in Fx4
- Make the add-on bar visible if the Zotero icon isn't set to hidden, which is an annoying way of dealing with https://bugzilla.mozilla.org/show_bug.cgi?id=616419 not yet landing -- people who use an upper toolbar button and don't want the add-on bar to show will need to set the Zotero icon to hidden

Addresses #1726, Firefox 4 Compatibility
2011-01-07 06:36:31 +00:00
Simon Kornblith
b43c6da675 disable full screen button in standalone (for now, until preview pane is implemented) 2010-12-21 05:54:33 +00:00
Dan Stillman
1977ae1541 Tweak spacing of "Get word processor plugins..." line in prefs 2010-12-13 22:45:53 +00:00
Simon Kornblith
0f96de71ac also update timeline 2010-12-11 07:01:39 +00:00
Dan Stillman
4e677668aa Fix empty single autocomplete row (fixed originally in r5179, accidentally reverted in r5596) 2010-11-09 19:34:18 +00:00
Simon Kornblith
26edf1a3f9 hide create item from current page button in standalone (and create new file for standalone-specific CSS) 2010-10-24 05:27:39 +00:00
Dan Stillman
84f59ab451 Run TinyMCE as content rather than chrome (and now without needing any modifications)
Also upgraded to latest version

Popup windows currently show location and status bars, which needs to be fixed
2010-10-09 08:04:25 +00:00
Simon Kornblith
f79e18d3cb modified icons that work with ImageMagick (not sure why the old versions didn't) 2010-09-23 04:21:19 +00:00
Dan Stillman
0d47e224fa About pane updates 2010-09-16 07:31:32 +00:00
Dan Stillman
6ba92efdbb - Add instructions line to CR window saying to click Next/Done
- Resize CR window better for smaller screens (which will hopefully keep the button in view)
2010-09-05 07:18:06 +00:00
Dan Stillman
fe6713b358 Fix CSS parsing errors (which possibly meant the affected rules aren't necessary) 2010-08-27 19:16:29 +00:00
Dan Stillman
84cf9d8cbe Closes #1037, Remove Firefox 2.0/3.0–specific code 2010-07-09 20:10:43 +00:00
Simon Kornblith
75374af5af - add Frank's citation re-ordering patch, with a few changes
- fix error when canceling citation add after editing
2010-06-06 00:01:11 +00:00
Simon Kornblith
bd0a4a3b96 Use citeproc-js as CSL parser. There is an issue with multiple citations in numbered styles that I will probably need Frank's help to track down, but otherwise, this seems to work. Many things are completely untested, including EndNote style support. Currently requires CSL 1.0 styles. In the near future, I hope to use the XSLT stylesheet to transform CSL 0.8 to CSL 1.0.
closes #1650: suppress author does not work for multiple sources
closes #1505: Edit Biblography Button Strips Year Disambiguation
closes #1503: Editing a bibliography resets all reference numbers to 1 (new)
closes #1262: Broken pluralization with et al. + other issues
closes #1238: Localize quotation marks
closes #1191: Harmonize 'plural/pluralize' label attribute with CSL schema
closes #1154: Only one works page numbers are added to the citation are when citing multiple works by the same author
closes #1097: Disambiguation issues
closes #1083: Defect in IEEE CSL with Multiple Citations
closes #993: more sophisticated subsequent-author-substitute
closes #833: text-transform doesn't work with name
2010-05-30 11:25:25 +00:00
Dan Stillman
268f37194f Always show last sync time if available in sync button tooltip -- this should make it clearer when one sync has stopped and another has started 2010-05-01 05:46:01 +00:00
Dan Stillman
8f0bc38da3 - Use a different sync error icon for version cut-offs
- Use full sync error for icon tooltip
2010-02-04 04:45:29 +00:00
Dan Stillman
d3d88b350d Fix some spacing issues in metadata pane 2010-01-16 05:19:34 +00:00
Dan Stillman
8870d5e514 Support for NSF Reviewer item type (for NSF use only -- not installed by default)
Also:

- Beginnings of custom item type/field support, though not intended for external use yet
- Zotero.Date.strToDate() now parses 'yesterday'/'today'/'tomorrow' and localized equivalents, allowing those strings to be used in fields such as 'Accessed'
- Cleaner display of dates without times in 'Accessed' field
- Item type menus in metadata pane, New drop-down, and advanced search window now sort by localized string

New methods:

- Zotero.CreatorTypes.itemTypeHasCreators(itemTypeID)
- Saved searches on item type should now use 'itemType' condition rather than 'itemTypeID'
2010-01-15 21:55:25 +00:00
Dan Stillman
3d78c2b4d8 Closes #1543, Add db integrity check for 1.0 to 2.0 upgrades
Also added different text coming from 1.0 with a link to http://zotero.org/support/upgrade, which needs content
2009-12-29 22:21:54 +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
6539cace59 Add Zotero storage TOS link 2009-11-28 21:45:25 +00:00
Dan Stillman
f8e995409f - Support server-based sync request queuing
- Fix "Module not initialized" error
- Display sync status in sync icon tooltip
2009-11-25 06:33:10 +00:00
Simon Kornblith
2b019c4427 fix tab weirdness in FF 3.6 2009-11-17 19:15:41 +00:00
Dan Stillman
3fd5fe06a3 Remove unused eval() calls in Timeline code to avoid AMO flagging, though we should probably integrate a newer version of Timeline anyway 2009-11-13 06:13:08 +00:00
Dan Stillman
b6980b6c76 - Restore Notes tab
- "Add" button in Notes tab now uses inline notes editor by default instead of new window -- Shift toggles
- Fix overflow of tab panels in right column
- Fix error clicking on parent item title in unsaved new note window
2009-10-13 08:56:04 +00:00
Dan Stillman
83781293da - Display more helpful message for "(NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" error when a remotely modified file is in use locally on Windows
- Fix a potential NS_ERROR_TARGET_FILE_EXISTS error from a recent commit
- Fix alignment of sync error icon
2009-10-01 20:26:31 +00:00
Dan Stillman
f482f65a46 - Fix some causes of "Source item for keyed source doesn't exist"
- If a child item is in conflict, always keep parent item if one side has one regardless of which side is chosen
- On cancelling sync from CR window, don't continue with file sync
- Clarify "Background sync resulted in conflict" message
- Display the error icon rather than the warning icon on errors (though some file sync problems should be changed to warnings instead)
2009-09-28 06:39:54 +00:00
Simon Kornblith
f5c988f918 - add resizer to integration windows
- don't automatically resize integration windows if a button is pressed
- move integration js/xul to integration subdirectory
2009-09-25 08:30:07 +00:00
Dan Stillman
e09c80e5e1 Fix collections-containing-an-item highlighting on OS X 2009-09-21 19:08:34 +00:00
Dan Stillman
ad3d5faddc Fix empty single autocomplete row in item pane 2009-09-21 07:26:12 +00:00
Simon Kornblith
e828ea6fa6 fix uneven field mode toggle highlight 2009-09-14 19:20:29 +00:00
Simon Kornblith
6268887048 fix creator alignment on Linux 2009-09-14 18:47:52 +00:00
Simon Kornblith
1d799a0bbe tighten up spacing some more 2009-09-14 18:13:04 +00:00
Simon Kornblith
1afb607512 tighten up row spacing 2009-09-14 18:04:11 +00:00
Simon Kornblith
4f48210682 proper look for disabled "-" icon on new item 2009-09-14 09:24:21 +00:00
Simon Kornblith
cc93621678 fix Extra and Abstract field alignment 2009-09-14 09:21:13 +00:00
Simon Kornblith
04796cd4d2 fix more spacing issues 2009-09-14 08:51:41 +00:00
Simon Kornblith
4f2a7a5463 fix itembox alignment issues 2009-09-14 08:46:39 +00:00
Dan Stillman
b7907f4883 Fix some margin/padding in metadata pane 2009-09-14 07:33:02 +00:00
Dan Stillman
1e2a71666e - Restore item pane and tag selector font size to default
- Decrease space between metadata columns
- Increase metadata pane left padding
2009-09-14 06:58:59 +00:00
Dan Stillman
11c1277ea7 - Changed toolbar note button to context-sensitive menu for adding standalone and child notes
- Added toolbar button with context-sensitive menu for adding child attachments
2009-09-14 04:18:58 +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
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