Commit graph

5560 commits

Author SHA1 Message Date
Dan Stillman
022ee4481b Add "Delete Collection and Items..." context-menu option
Also update collection/search deletion dialogs with better button text and no more "[JavaScript Application]"
2013-03-16 22:55:50 -04:00
Dan Stillman
5f283a6b7f Fix tag selector glitch after removing last tag, again
Better fix than 4e1fbf9747
2013-03-16 16:25:58 -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
0f87772b97 Fix broken checkboxes in tag selector context menu (OS X only?)
On OS X, the checked state of <menuitem type="checkbox"/> still doesn't
work right if set before the menu is opened. To get around this, the
state is now set manually in onpopupshown(). There's an annoying delay
before the UI update, but this is better than nothing.
2013-03-16 16:25:58 -04:00
Dan Stillman
fec159f969 Fix error on tag change without a selected item (from 1e59c5ab7) 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
2b7d7ebfbf Don't rely on object property order to sort tags
It works, but in theory it's not guaranteed in JS.
2013-03-15 17:44:07 -04:00
Dan Stillman
2b4f2e3a0f Merge branch '3.0' into 4.0 2013-03-15 17:01:44 -04:00
Dan Stillman
d726ce41fa Fixes incorrect post-edit scrolling
Fixes #268, broken in 2cd45be191

Post-edit scrolling can probably be smarter, but this fixes the brokenness.
2013-03-15 16:56:55 -04:00
Dan Stillman
a1197883bb Disable key navigation on 1-6 keys if any tag colors are assigned
Previously any unused numbers were still available for key navigation, but I
think it's too easy hit the wrong key that way, and getting moved to another
part of the items list is annoying.
2013-03-15 14:09:31 -04:00
Dan Stillman
3faa8949ef Fix glitch entering tag with whitespace
If an existing colored tag was added to an item with whitespace around it, the
tag didn't immediately show up with a color.
2013-03-15 04:39:57 -04:00
Dan Stillman
1e59c5ab7e More tags box fixes (follow-up to f932f312eb)
Use the Notifier for all tags box updates to ensure that it always updates.

Also fix the tag count and some other things.

Post-tab focus still isn't 100% correct in all situations, but it's real close.
2013-03-15 04:13:14 -04:00
Dan Stillman
4e1fbf9747 Fix clearing selected tag when removed from last item in view
I somehow broke this in d2f028d797, though
I'm not sure how.
2013-03-14 20:06:34 -04:00
Dan Stillman
d60b0221db Fix error trying to toggle colored tag with no tag
(This should be fixed so that the setting is always removed, though.)
2013-03-14 19:03:20 -04:00
Dan Stillman
e20bd35756 Don't clear other tag colors when rename colored tag 2013-03-14 19:00:52 -04:00
Dan Stillman
e68f87fc83 Update translators and repotime 2013-03-14 02:42:01 -04:00
Dan Stillman
0f85b07aad 3.1 is now 4.0 2013-03-14 01:27:54 -04:00
Dan Stillman
0191601f9f Fix items tree styling (context rows, attachment pies) in Fx22+ 2013-03-13 00:00:27 -04:00
Dan Stillman
d5bfed1c96 Missed changed from 0cd3a34e14 2013-03-12 21:10:11 -04:00
Dan Stillman
487ce7183b Make tag color chooser window wider
Follow-up to d2f028d79
2013-03-12 20:54:53 -04:00
Dan Stillman
0cd3a34e14 Properly handle sync errors thrown from Zotero.HTTP.promise() 2013-03-12 19:58:31 -04:00
Dan Stillman
fe3ad1883d Use API version 2 2013-03-12 19:57:47 -04:00
Dan Stillman
e86cda2440 Merge new English strings 2013-03-12 14:21:23 -04:00
Dan Stillman
f2a9c2df50 Update submodules 2013-03-12 13:03:28 -04:00
Dan Stillman
1217a5409e Fix Control (and Alt) key shortcuts in items pane on Windows
Follow-up to d2f028d and 0a7cc4448
2013-03-12 02:13:35 -04:00
Dan Stillman
65488b56b6 Remove debug output 2013-03-11 21:42:47 -04:00
Dan Stillman
c270766540 Skip repeated file syncs for libraries with no uploaded files 2013-03-11 21:41:51 -04:00
Simon Kornblith
d25d49de66 Extract PMCID from extra field 2013-03-10 16:58:34 -04:00
Simon Kornblith
687997e963 Parse PMIDs from extra field 2013-03-10 16:17:54 -04:00
Simon Kornblith
2f8f18c957 Ensure that arrays are not strings 2013-03-10 16:17:54 -04:00
Dan Stillman
b7c0427167 Fix various file sync issues
- Clear per-library error icon on new sync
- Pass upload errors through to end
- Don't make WebDAV verification error a global failure
- Some other things
2013-03-10 01:49:14 -05:00
Dan Stillman
c8386fb40b Merge pull request #260 from aurimasv/duplicates
Duplicates
2013-03-09 10:29:45 -08:00
Dan Stillman
a921c57d5d Remove old tags box code from itembox.xml 2013-03-09 03:15:01 -05: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
Aurimas Vinckevicius
d30ab9cc4f [duplicates] DOIs are not case sensitive 2013-03-07 19:38:24 -06:00
Simon Kornblith
d291084af6 Escape backslash 2013-03-07 19:47:57 -05:00
Simon Kornblith
acd6d38a1e Don't break when DOI is not a string 2013-03-07 19:46:37 -05:00
Dan Stillman
5f4bb73564 Always return order property from strToDate()
Broken in merge 995091d0
2013-03-07 18:35:54 -05:00
Dan Stillman
7f25572e49 Update submodules 2013-03-07 18:17:13 -05:00
Dan Stillman
995091d0a1 Merge branch '3.0' into 3.1
Conflicts:
	chrome/content/zotero/xpcom/date.js
2013-03-07 18:15:03 -05:00
Dan Stillman
dec5af4d6a Fix file sync error 2013-03-07 16:05:14 -05:00
Simon Kornblith
b5d07e1951 Use hostPort for debug messages 2013-03-07 15:59:21 -05:00
Dan Stillman
3c0e4a2ce4 Don't sync updated settings more than once 2013-03-07 15:23:15 -05:00
Dan Stillman
6ea38df873 Don't sort Year column by full date 2013-03-06 16:41:02 -05:00
Dan Stillman
398cf765f5 Zotero.File.getBinaryContentsAsync()
Currently unused, but we might need it at some point
2013-03-06 15:48:00 -05:00
Dan Stillman
b3cb1dbe5e Fix tag colors in the items pane in XPI builds 2013-03-06 15:35:46 -05:00
Dan Stillman
d9197235d5 Fix whitespace (from 53322e6e) 2013-03-06 14:32:31 -05:00
Dan Stillman
ca0ad42a6a Fix Z pane brokenness with no titled items (from 53322e6e) 2013-03-06 14:32:02 -05:00
Dan Stillman
de1983bf9f Fix hover effect on unedited item tags (broken in 59913cc5) 2013-03-06 06:22:14 -05:00
Dan Stillman
fc104e345b Remove color swatch for last-removed tag color 2013-03-06 05:28:43 -05:00