Commit graph

5476 commits

Author SHA1 Message Date
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
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
Dan Stillman
0a7cc44481 Fix Select-All on Windows (broken by d2f028d) 2013-03-06 04:52:27 -05:00
Simon Kornblith
578ba29cc5 Merge pull request #242 from aurimasv/date
Always return year as number in strToDate
2013-03-05 15:40:53 -08:00
Dan Stillman
490a176dcd Remove whitespace from localized strings
Follow-up to #264
2013-03-05 18:08:26 -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
a27d57d7b9 Merge branch 'swapCreatorNames' into 3.1
Closes #132, Menu item to swap creator first/last names
Closes #163, Frank's patch: Menu item to swap creator first/last names
2013-03-05 15:47:34 -05:00
Dan Stillman
5b367b6ac1 Tweaks to name-swapping menu
- Don't show menu if item isn't editable
- Make DOM access more robust
- Fix whitespace
2013-03-05 15:35:15 -05:00
Dan Stillman
c6afb86ba6 Put "Swap first/last names" in creator context menu root
And remove "Transform Name Form" menu for now

Discussed in #132
2013-03-05 15:03:01 -05:00
Dan Stillman
c68196e7b5 Merge 'gracile/fbennett-patch-authors' 2013-03-05 14:58:31 -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
476eb2745c Merge branch '3.1-l10n' into 3.1
Closes #264
2013-03-05 03:44:09 -05:00
Dan Stillman
8333c68f77 Fix trailing whitespace from #264 2013-03-05 03:43:50 -05:00
Dan Stillman
0c60911fd1 Tweaks to @gracile-fr's localization changes
Addresses #264
2013-03-05 03:43:46 -05:00
Dan Stillman
30f5679ec8 Merge remote-tracking branch 'gracile/3.1-l10n' into 3.1-l10n 2013-03-05 03:06:43 -05:00
Dan Stillman
4b46f252fd Fix error on column header click 2013-03-04 18:25:44 -05:00
Dan Stillman
9d03697591 Merge branch '3.0' into 3.1 2013-03-04 17:02:58 -05:00
gracile-fr
eb7b301073 Localizes most of the strings marked "todo: localize" 2013-03-04 03:44:37 +01:00
Simon Kornblith
ebd8dfeb65 Don't show "undefined" in attachment progress window 2013-03-03 18:59:29 -05:00
Simon Kornblith
b2a7050dea Fix PDF recognition 2013-03-03 17:04:37 -05:00
Dan Stillman
b0a71467ea Fix sorting of top-level attachments in attachments column
Also hide the attachments column by default in the select-items dialog
2013-03-03 06:23:43 -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
Simon Kornblith
01c7c7f9e1 Merge pull request #262 from aurimasv/snapshot-mimetype
Don't attach snapshots when option is unchecked and no mimeType is supplied
2013-03-02 22:26:00 -08:00
Aurimas Vinckevicius
f64d087926 Don't set unknown mimeTypes to "application/octet-stream" 2013-03-02 19:15:43 -06:00
Aurimas Vinckevicius
cf8a2c2635 Make sure that year is always returned as string 2013-03-02 19:08:36 -06:00
Aurimas Vinckevicius
6dd94f0a3a When mimeType is not supplied, try to fetch it from server and redo checks for automatic snapshots. 2013-03-02 18:45:38 -06:00
Dan Stillman
aa458dcd63 Merge pull request #261 from gracile-fr/3.1-quickSearch-date
Include dateDecided, dateEnacted, issueDate in "Title, Creator, Year"
2013-03-01 16:31:02 -08:00
gracile-fr
58e6f5e07e Allow searching for dateDecided (case), dateEnacted (statute), issueDate (patent) in the "Title, Creator, Year" quicksearch mode. 2013-03-02 00:29:49 +01:00
gracile-fr
d69ffd2ad8 localize sync.js 2013-03-01 18:37:25 +01:00
Simon Kornblith
68f5202eb6 Merge pull request #218 from aurimasv/mutation
Allow translators to re-trigger detectWeb on DOM changes
2013-03-01 09:24:32 -08:00
Simon Kornblith
42d15bf2db Merge pull request #250 from aurimasv/parentTranslator
parentTranslator in detect calls
2013-03-01 09:24:19 -08:00
aurimasv
c4f008a97d Keep track of currently loaded translator 2013-03-01 03:29:11 -06:00
gracile-fr
217929a3ea more localization 2013-02-28 23:31:07 +01:00
gracile-fr
cc2f7836f8 localization preferences pane 2013-02-27 17:13:48 +01:00
Dan Stillman
fe263cd531 Update maxVersion 2013-02-27 04:51:33 -05:00