Commit graph

6159 commits

Author SHA1 Message Date
Frank Bennett
c31a3c263b Preselect default Export style in csledit.xul 2014-05-15 12:43:50 +09:00
Dan Stillman
6cf597a08f Merge pull request #478 from fbennett/fix-csl-export-creators
Fix dropping of creators in CSL JSON export
2014-05-10 02:59:56 -04:00
Frank Bennett
6605486354 Use ID rather than name on getPrimaryIDForType()
Use creator name for comparison (creatorTypeID does not exist on array-form creators)
2014-05-09 22:29:45 +09:00
Dan Stillman
fd9452adbc Fix error when sorting by Item Type column (since dd477e15b8) 2014-05-07 13:45:20 -04:00
Dan Stillman
ebb112890d 'throw' -> 'throw new Error' in a couple places 2014-05-07 05:16:25 -04:00
Dan Stillman
faad761491 Merge new English strings 2014-05-07 05:16:24 -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
d65ee27592 Switch to array uniquing function that keeps the first instance
The previous version would keep only the last instance.

This version requires the array to contain only primitives of a single
data type, but I think that's OK for all of our uses. (This version
should also be faster.)
2014-05-07 03:10:39 -04:00
Dan Stillman
42c02526ef Fix parsing of January dates in Zotero.Date.strToISO()
https://forums.zotero.org/discussion/36550/#Item_6
2014-05-06 14:50:13 -04:00
Simon Kornblith
6a58d3b2ff Revert "Use var in place of let"
This reverts commit 9b67d60197.

(I totally bungled this commit)
2014-05-04 19:07:19 -04:00
Simon Kornblith
b6c04a1653 Use var instead of let
This code gets included into the bookmarklet, so uglifyjs has to like it
2014-05-04 19:05:41 -04:00
Simon Kornblith
3bfe5949d7 Merge branch '4.0' of github.com:zotero/zotero into 4.0 2014-05-04 19:05:24 -04:00
Simon Kornblith
9b67d60197 Use var in place of let
This makes uglifyjs happier
2014-05-04 19:04:48 -04:00
Dan Stillman
bda9c4aa3c Updates locales from Transifex 2014-05-03 13:42:16 -04:00
Dan Stillman
156f4eb160 Allow items to be moved (not copied) between collections w/modifier key
Cmd on OS X, Shift on Windows/Linux

How do I not get to close a ticket for this?

Unfortunately on Windows it doesn't seem possible to set the cursor
effect to arbitrary states (see note in libraryTreeView.js::
_setDropEffect() for the gory details), so this just uses the default
cursor there. On OS X and Linux the cursor reflects the requested
action.
2014-05-03 11:52:38 -04:00
Simon Kornblith
971fa7cf65 Merge pull request #477 from aurimasv/RDF-serialize-XML
[RDF] Encode > in content when serializing to XML
2014-05-01 16:59:29 -04:00
aurimasv
c9346d4caa [RDF] Encode > in content when serializing to XML
This avoids the invalid combination "]]>" from appearing in the output
2014-05-01 15:44:07 -05:00
Dan Stillman
c1c0b42a12 Fix gray bar when resizing Zotero pane down
Caused by new toolbar icon guidance panel
2014-04-30 18:01:11 -04:00
Dan Stillman
61af5e987d Update versions 2014-04-30 15:08:58 -04:00
Dan Stillman
c73a0753d7 Handle lowercase shortcut key pref values
Honor lowercase pref values for shortcut keys, and also always display
and set shortcut keys as uppercase in the preferences
2014-04-30 15:08:12 -04:00
Dan Stillman
3d9853acaa Redo instead of toggling Z pane in text fields (except search bar) on OS X
Previously Cmd-Shift-Z worked for redo in text areas (Abstract, Extra)
but would toggle the Zotero pane in regular text fields. This change
allows Redo to work as expected.

The search bar gets focus when you first open the Zotero pane, though,
so we don't redo there, since it would be annoying if you couldn't close
the pane immediately with the same shortcut.
2014-04-30 14:29:59 -04:00
Dan Stillman
5913e6780e Fix Redo via Cmd-Shift-Z in notes on OS X 2014-04-30 14:09:18 -04:00
Simon Kornblith
8d807b73c6 Fix display of missing data directory startup error in Standalone 2014-04-30 14:02:11 -04:00
Dan Stillman
74ed0879f6 Update versions 2014-04-29 04:21:32 -04:00
Dan Stillman
50eeed9e32 Restore panel auto-hide and increase show delay to 2 seconds
I think requiring everyone with Zotero installed to manually close the panel is
just too annoying. (Not allowing the auto-hide for a couple seconds after
opening to prevent accidental closes would be nice, but preventDefault() in the
panel's onpopuphiding() doesn't seem to work, nor does changing noautohide
after opening.)

Increase the delay to 2 seconds to try to show on top of the Firefox 28->29
upgrade panel on slower computers.
2014-04-29 03:48:57 -04:00
Dan Stillman
1524fff30f Revert "Separate toolbar guidance strings for easier localization"
This reverts commit 5da9b4bbb6 and uses
slightly different wording between the two messages ("Click here…" vs.
"Click the icon…").
2014-04-29 03:03:42 -04:00
Simon Kornblith
7841bb4327 Don't dismiss icon first run guidance until clicked 2014-04-29 01:43:35 -04:00
Dan Stillman
ce9a77e688 Update submodules and repotime 2014-04-28 23:59:45 -04:00
Simon Kornblith
2ce31d7565 Add delay before showing icon guidance 2014-04-28 23:41:40 -04:00
Dan Stillman
cefe301c74 s/firstRunGuidance.toolbarButton.new/firstRunGuidance.toolbarButton.upgrade/ 2014-04-28 22:56:41 -04:00
Dan Stillman
d4087c5b58 Merge new English strings 2014-04-28 22:51:51 -04:00
Dan Stillman
5da9b4bbb6 Separate toolbar guidance strings for easier localization 2014-04-28 22:49:51 -04:00
Simon Kornblith
4afb29e59f Tweak toolbar icon guidance 2014-04-28 20:49:45 -04:00
Simon Kornblith
5814bdcd84 Don't try to icon guidance on initialization failure 2014-04-28 20:42:43 -04:00
Simon Kornblith
6c74d670d1 Missing strings from last commit 2014-04-28 20:40:14 -04:00
Simon Kornblith
255b0318ad Add guidance for Zotero toolbar button, moved in Australis 2014-04-28 20:37:31 -04:00
Simon Kornblith
35dd1bc204 Only enable Add Item by Identifier resizing logic on Mac
This seems to be unnecessary and screw things up on other platforms.
2014-04-28 19:51:11 -04:00
Dan Stillman
a8f9b704e3 Don't show "Status bar icon:" pref for Firefox 29+ 2014-04-28 19:26:53 -04:00
Dan Stillman
b47c80912c Update translators and repotime 2014-04-28 18:30:18 -04:00
Dan Stillman
f49c15d29c Use new Z icon in Add-ons window 2014-04-28 18:26:33 -04:00
Dan Stillman
22fec4b7ab Merge pull request #476 from aurimasv/RIS-notes
Disable RIS note attachments by default
2014-04-28 15:27:08 -04:00
aurimasv
298d4b6c0e Disable RIS note attachments by default 2014-04-28 14:16:37 -05: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
6bed65941a Create README.md 2014-04-27 21:36:25 -04:00
Simon Kornblith
26ea06524e Merge pull request #328 from aurimasv/pdfdrop
Add callback to importFromURL for drag-dropped PDFs instead of setTimeout
2014-04-27 21:32:27 -04:00
Simon Kornblith
35fe6490fe Fix lookup box sizing on subsequent opens 2014-04-27 21:06:45 -04:00
Simon Kornblith
6cf613c4fa Merge pull request #472 from adam3smith/coins
add COinS export support for all item types via DC
2014-04-27 20:04:04 -04:00
Simon Kornblith
decf887fc8 Merge pull request #456 from aurimasv/import-charset
Fix some bugs with charset encoding on import
2014-04-27 18:27:09 -04:00
Simon Kornblith
87dc1cc27a Merge pull request #461 from aurimasv/rdf-qname
[RDF] QNAME fixes
2014-04-27 18:08:49 -04:00
Simon Kornblith
1a76e32806 Merge pull request #470 from aurimasv/detect-iframe
For detectWeb, ignore translators targeting iframes with same URL
2014-04-27 18:03:08 -04:00