Commit graph

14981 commits

Author SHA1 Message Date
windingwind
347caaff4c Rename itemBox > infoBox
Following the discussion in #4114
2024-11-11 11:27:47 -05:00
windingwind
28e3c7b47f Fix notifier.js eslint errors 2024-11-11 11:27:47 -05:00
Abe Jellinek
5152d2c7ff Update reader submodule 2024-11-08 11:49:24 -05:00
Dan Stillman
4ca3843ce7 Prevent auth failures for Zotero Storage requests after relinking
If you unlinked your sync account and then relinked, the ZFS storage
controller would still have the old API key and file-sync requests would
fail. Since that was never supposed to be possible, it resulted in
"Group with libraryID 1 does not exist" errors during file syncing until
you restarted the app.
2024-11-08 03:19:41 -05:00
Dan Stillman
7c91f37348 Set new API key on each setCredentials() call in sync preferences tests 2024-11-08 03:18:44 -05:00
abaevbog
e9a19cb7a1
Update tab titles independently of the reader (#4813)
Move handling of tabs' renaming when an item is
modified from Reader into Zotero_Tabs, so that the titles of
unloaded tabs can get properly renamed.

Have the Reader and Zotero_Tabs share Zotero.Item#getTabTitle()
to handle title updates in both tabs and standalone reader windows.

Fixes: #4646
2024-11-08 02:01:43 -05:00
Abe Jellinek
9f8c5c8581
Add support for importing KOReader & Calibre annotations (#4780) 2024-11-08 01:16:10 -05:00
abaevbog
d3456b050a
Allow quicksearch to stretch when there is space in the middle pane (#4828)
Per https://forums.zotero.org/discussion/119312/search-window-in-zotero-7-is-too-small

Also, have spinner always occupy space, so that it does not
push quickSearch out of the bounds of the middle pane
when it is very narrow. Respectively,
make min-width of quicksearch a bit smaller.
2024-11-08 00:56:16 -05:00
abaevbog
5b2e666f4f
scroll to pivot row on arrowUp/Down in duplicates (#4822)
When items are selected, itemTree scrolls to them. Depending on the
arrangement of items, it will often default to scrolling to
the top-most item in the selection, which is not the focused row
in case of duplicates view. To scroll to focused row without
unnecessary scrolling or items visibly jumping to one row and then
another, added option to skip scrolling in itemTree.selectItems.
2024-11-08 00:13:57 -05:00
abaevbog
bc62bbfdda
do not handle tab out of reader iframe in window (#4824)
Only move focus out of the reader iframe on tab/shift-tab
if the reader instance is opened within a tab, meaning the
sync button and the contextPane exist. If the reader
is opened in a standalone window, do nothing.

Fixes: #4823
2024-11-08 00:13:36 -05:00
Dan Stillman
913c500733 Update version 2024-11-07 01:11:13 -05:00
Dan Stillman
1b43521786 Update reader submodule 2024-11-07 01:05:55 -05:00
abaevbog
e2905b22ad
arrowUp/down in duplicates view will select the set (#4800)
When duplicates collectionTreeRow is selected, arrowUp/down within
itemTree will select the entire previous/next set of duplicate items.

Per discussion based on https://forums.zotero.org/discussion/119217/bug-zotero-7-beta-duplicates-collection-navigation-via-arrow-keys
2024-11-06 23:08:16 -05:00
Abe Jellinek
682cceca2d Pass imported-URL attachment URL to reader (#4820) 2024-11-06 23:02:50 -05:00
Abe Jellinek
7f26f246e7 ZoteroPrintChild: Forward zoteroPrint() options (#4820) 2024-11-06 23:02:43 -05:00
abaevbog
c567905bf6
fix color scheme getting reset during printing (#4807)
LightweightThemeConsumer interacts with the color scheme,
so disabling it prevents the color scheme from changing
whenever zoteroPrint runs.

Fixes: #4782
2024-11-06 23:00:44 -05:00
Abe Jellinek
67505f3960 Don't show '0000' on invalid date in reader title
Same logic used for attachment renaming and the item tree Year column.

Fixes #4817
2024-11-06 13:54:03 -05:00
abaevbog
bd8cae6fdd
qf: show recently modified notes when empty input (#4797)
Fixes: #4771
2024-11-06 08:38:05 -05:00
Abe Jellinek
17f003df0f
Item box: Wrap all fields (#4802) 2024-11-06 08:37:38 -05:00
windingwind
51f2c76d82 Ensure custom column renderCell returns element 2024-11-06 07:23:53 -05:00
windingwind
0db1bae009 Fix item tree custom dataProvider break interface 2024-11-06 07:23:53 -05:00
Martynas Bagdonas
30024487f3 Work around contenteditable not updating Edit menu in reader and notes
This seems to be a Firefox bug that exists even in Firefox 132.0a1 (2024-09-29).
Note that right-clicking to open the context menu on a contenteditable element also triggers an update to the Edit menu.

The fix updates all Edit menu options except Redo, which cannot be enabled due to ProseMirror modifying the contenteditable state after each change.

Partial fix for #3398
2024-10-31 11:12:03 +00:00
Martynas Bagdonas
7c8e672f2f Enable text actions context menu across all note-editor text inputs 2024-10-31 11:09:04 +00:00
Martynas Bagdonas
e202924324 Add File, Edit and Window menus to note editor window 2024-10-31 11:06:29 +00:00
Dan Stillman
884a62d526 Fix swapped creator-field-mode icons 2024-10-30 21:42:28 -04:00
Dan Stillman
fadbf3d2df Update translators 2024-10-29 07:11:29 -04:00
Dan Stillman
d0a7cfae6d Update locales from Transifex and merge new English strings 2024-10-29 07:11:02 -04:00
Dan Stillman
f0da5aaf2b Update reader submodule 2024-10-29 07:02:08 -04:00
Martynas Bagdonas
d9c2abd701 Enable text actions context menu across all reader text fields
Fixes #3676
2024-10-29 10:54:48 +00:00
windingwind
364e87a57f
Pass document to ItemTree API renderCell (#4790) 2024-10-29 06:46:00 -04:00
abaevbog
10ed78212b
no background for readonly focused editable-text (#4792)
Fixes: #4789
2024-10-29 06:45:23 -04:00
abaevbog
00b2978c8b
centerscreen " My Publications" dialog (#4795)
Fixes: #4788
2024-10-29 03:57:51 -04:00
Dan Stillman
bb7a7ab961 Match annotation text and comments in All Fields & Tags mode
I think this was only in Everything for historical reasons -- in the
initial implementation of search modes, tags, notes, and (old)
annotations were all in Everything, but tags and notes were later moved
to All Fields & Tags. The old `annotation` condition wasn't moved, and
when I added `annotationComment` and `annotationText`, I just left them
in the same place. But if we match notes in All Fields & Tags, we should
match annotation comments, and if we're matching comments, we might as
well match annotation text as well.

https://forums.zotero.org/discussion/119123/note-annotations-zotero-search-and-zotero-pdf-viewer-search
2024-10-26 02:20:05 -04:00
abaevbog
88e10cdace
include linked items in lib/collectionBox render (#4786)
So that they do not disappear after Libraries and Collections
section is collapsed and expanded.

Fixes: #4784
2024-10-24 23:46:55 -04:00
abaevbog
19977c69c4
tweak settings data directory stylesheet (#4781)
- no margin-top on Windows
- explicitly hide background and border, since
   they remain on Windows otherwise

follow-up to 28f3a29f35
2024-10-23 16:03:55 -04:00
Martynas Bagdonas
bba016ecb8 Add string for reader outline search input
zotero/reader@c619677a
2024-10-23 12:57:50 +01:00
Dan Stillman
ece595e79c Update reader submodule 2024-10-23 05:35:03 -04:00
abaevbog
28f3a29f35
vpat 50: advanced settings - rework custom data directory section (#4048)
Selecting custom data directory radio button in advanced
settings opens up a modal to select the directory. It is
not a typical behavior for radio button, so it conflicts
with 3.2.2 success criteria.

This is a rework of the data directory setting interface to be
similar to LABD. It does not have radio buttons and the
directory explorer pops up on button click.
2024-10-23 05:22:30 -04:00
abaevbog
8e87aa15e7
vpat 17: itemTree view menu for non-main windows (#4433)
- adds View > Columns and View > Sort By menu options
  to all windows that contains an itemTree (Select Items dialog,
  Advanced Search, classic Add Citation, Edit Bibliography
  dialog).
- the menubar is global on macOS. On Windows/Linux it is
  displayed and focused on Alt keypress
- added menu option to move a selected column left,
  which we need as an alternative for drag-drop reordering
  that would not require using a mouse
2024-10-23 02:25:38 -04:00
Dan Stillman
504ec7eb4a Update locales from Transifex 2024-10-23 01:31:18 -04:00
Tom Najdek
7c1eb0c3f1
Fix localize-ftl crashing in certain cases #4773 (#4775)
* Tweak the script to use `en-us` `.ftl` files as the source of truth.
* Update `ftl-tx` to a version that can handle referencing terms with arguments.
2024-10-23 01:30:58 -04:00
Abe Jellinek
88d4598fce Scaffold: Change base font size to 13
We should probably just use the Zotero font size setting here, but
this works as a quick fix.
2024-10-22 15:33:21 -04:00
Abe Jellinek
03b00669ed Fix platformKeys initialization code never running at all
After cb62ab064d.
2024-10-22 15:01:03 -04:00
Abe Jellinek
cb62ab064d Fix platformKeys initialization code running repeatedly
DOMContentLoaded bubbles up from note-editor and reader frames.
2024-10-22 14:47:42 -04:00
abaevbog
8a6bc2cb10
vpat 44 followup: no escape handler in editors (#4776) 2024-10-22 14:21:50 -04:00
Martynas Bagdonas
7c9a0ac624 Use page scroll mode for PDF preview
Fixes #4653
2024-10-22 13:56:30 +01:00
Adomas Venčkauskas
bfa9d5b6d2 Update ScienceDirect BrowserDownload captcha selector 2024-10-22 08:30:40 +03:00
Bogdan Abaev
c0c3d93019 vpat 45: bibliography dialog instructions and aria (#4413)
- made the wrapper of the dialog focusable and added aria-description
  so that when the dialog opens it announces how to use the dialog
- added aria-labels to buttons, references list, and editor
- make sure that the references list always selects an item when
  focused without clicking
- added a border to focused buttons from simple editor to make it visually
  clear when they received focus
2024-10-22 01:17:45 -04:00
Abe Jellinek
3e37c44c82 Localize View menu label in reader windows
https://forums.zotero.org/discussion/118965/menu-translation-missing-for-view-when-moved-to-new-window
2024-10-21 11:38:31 -04:00
Adomas Venčkauskas
a2ed2c8b12 Update Word for Mac submodule 2024-10-21 14:25:16 +03:00