Commit graph

14940 commits

Author SHA1 Message Date
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
Dan Stillman
62de988cb8 Fix Add button in Libraries and Collections section
Regression from 7cf9097467

https://forums.zotero.org/discussion/118933/the-function-of-add-button-in-libraries-and-collections
2024-10-21 06:48:46 -04:00
Martynas Bagdonas
d2c8f5f186 Fix mixed-up highlight and underline annotation localization strings 2024-10-21 11:18:04 +01:00
abaevbog
c338c0262d
Better label to make item standalone in "Change Parent Item…" dialog (#4768)
More specific labels for the button to turn selected item(s)
into standalone:
- "Convert to Standalone Sttachment(s)" when only attachments
are selected
- "Convert to Standalone Note(s)" when only notes are selected
- "Convert to Standalone" otherwise (e.g. if a note and an attachment
are selected together)

Fixes: #4766
2024-10-20 02:05:22 -04:00
windingwind
eea1291314
Fix select items window overflow (#4747)
Also:

* Remove unused element in select items window
* Move and rename zotero/ingester/selectitems to scaffold/select to
   avoid confusion with selectItemsDialog
2024-10-19 06:33:14 -04:00
Dan Stillman
1c0c17ea47 Update reader submodule 2024-10-18 02:02:34 -04:00
Dan Stillman
5ead1c5aad Switch Word for Mac submodule back to main 2024-10-18 02:02:05 -04:00
Dan Stillman
6e6c212b76 Update version 2024-10-18 02:02:05 -04:00
Dan Stillman
48a1a97c66 Update Word for Mac submodule for 7.0.8 release
Don't include RTF insert via clipboard
2024-10-18 00:08:35 -04:00
Dan Stillman
76618b4de7 Update translators submodule 2024-10-17 23:05:14 -04:00
Dan Stillman
f8e30cff08 Update locales from Transifex 2024-10-17 22:21:54 -04:00
Dan Stillman
e3fda0819a Revert "Change a couple reader accessibility strings to not be terms"
Fixed by 46bdf3805f

This reverts commit f13791de60.
2024-10-17 22:15:07 -04:00
Tom Najdek
46bdf3805f
Localization: Fix a bug when dealing with terms with references
Updated ftl-tx to a version that includes this fix.
2024-10-18 01:29:05 +02:00
Abe Jellinek
1f5b7f5414 Ctrl-Enter handler: Position correctly when selection is empty
In empty <input>s and the note editor.

Also add comment explaining possible alternate approach.

Fixes #4763
2024-10-17 13:54:43 -04:00
Tom Najdek
bb6085bbe0
Fix strings without literals included in ftl json. Fix #4759
Updated ftl-tx to a version that includes this fix.
2024-10-17 15:40:44 +02:00
Dan Stillman
b6d44520a8 Update locales from Transifex 2024-10-17 03:18:16 -04:00
abaevbog
1df2a96ae3
Remove ascii control chars from rendered item title (#4764)
Filter out ASCII control characters in renderItemTitle, since
an error is thrown if those characters are present when
the innerHTML of a tab name in tab bar is set via
dangerouslySetInnerHTML.

Fixes: #4758

---------

Co-authored-by: Dan Stillman <dstillman@zotero.org>
2024-10-17 03:10:10 -04:00
abaevbog
4c68f834c1
special handling for tabbox focus-ring (#4761)
Set focusring on the child hbox, instead of the actual tab.
The hbox is the element with visibly rounded corners,
so this way the focus-ring will have the right shape.

Fixes: #4744
2024-10-17 01:19:17 -04:00
Dan Stillman
ae101f5393 Update reader submodule 2024-10-17 01:15:54 -04:00
Abe Jellinek
06844d18ad
Implement Ctrl-Enter handler in child frames (#4734) 2024-10-17 01:11:52 -04:00
Dan Stillman
36f4cb48c9 Download NsProcess.zip from us rather than a SourceForge wiki link
Added in #4760
2024-10-16 01:48:51 -04:00
Dan Stillman
7efb296da9 Update locales from Transifex 2024-10-16 01:32:15 -04:00
Dan Stillman
f13791de60 Change a couple reader accessibility strings to not be terms
They cause problems with our import script (I think because they're
processed first, so the non-term placeholder isn't yet available) and
aren't really necessary.
2024-10-16 01:32:15 -04:00
Dan Stillman
617b014b85 Update utilities submodule 2024-10-16 01:32:15 -04:00
windingwind
c75119324c
Fix item pane width jumping in stacked mode (#4757)
fix: #4755
2024-10-16 00:34:12 -04:00
Tom Najdek
a36e0a88f6 Installer: Ignore failed installs if user has no admin rights (#4760)
It's better to attempt to install into existing folder with some junk left over than to leave users in a reboot loop
2024-10-16 00:25:54 -04:00
Tom Najdek
f2367c88f5 Installer: Ignore any leftover files after uninstalling old version (#4760) 2024-10-16 00:25:50 -04:00
Tom Najdek
ba45c72dc0 Installer: Check if Zotero is running before installing (#4760) 2024-10-16 00:24:11 -04:00
Dan Stillman
a6c9af3c28 Update English strings for Transifex 2024-10-15 07:02:52 -04:00
Dan Stillman
d51218cddd Reference existing general strings in option-or-alt 2024-10-15 07:02:52 -04:00
Dan Stillman
e5bc22f64b Update locales from Transifex 2024-10-15 07:02:51 -04:00
Martynas Bagdonas
1904675b71 Update pdf-worker submodule 2024-10-15 13:50:29 +03:00
Tom Najdek
5bd068860c
Fix renaming behavior for attachment without extension (#4742)
Fix #4739
2024-10-15 06:48:04 -04:00
abaevbog
7cf9097467
vpat 16: context menu as a drag-drop alternative to move/copy collections (#4420)
- Added menuitems to move collections within the same
library and to copy collections
- "Move to" only displays collections within the
current library
- "Copy to" displays all libraries, if more than
one library exists. If there is only one library,
top-level collections from "My Library" are displayed.
- while copying within the same library, create copies
of all collections and add items into them, without
actually duplicating items
- while copying between different libraries, items
will be duplicated, the same way it is done when
collections are dragged and dropped in another library
2024-10-15 06:34:42 -04:00
Dan Stillman
2f5a7aa369 Update reader submodule 2024-10-15 06:12:10 -04:00
abaevbog
d786454a3f
simplify reader.ftl (#4756)
Remove logic constructing a11y announcements from reader.ftl.
Instead, reader will fetch and put together components as needed on the fly.

Follow-up to cde21ac9f2
per https://github.com/zotero/zotero/pull/4752#discussion_r1800481917

Also, add { general-key-command } and { general-key-alt } and add a reader
string that uses those on macOS and non-macOS for textual annotation
instructions. On macOS, the end of highlight and underline annotations is
resized via Shift+Command+arrows, which is different from the Option
modifier used in all other instances
(per https://github.com/zotero/reader/pull/138#issuecomment-2373775068)

Finally, tweak aria-description of "Find in Document" as it sounded
as if Control+Option/Alt+1 would create either highlight or underline
annotation.
2024-10-15 06:11:01 -04:00
Dan Stillman
d14a72e1b0 Update reader submodule 2024-10-15 01:36:02 -04:00
abaevbog
cde21ac9f2
reader.ftl file for a11y strings in the reader (#4752)
Per: https://github.com/zotero/reader/pull/142#issuecomment-2410574199
2024-10-15 01:35:07 -04:00
Martynas Bagdonas
d1960cee6b Add string for reader view context menu link copying 2024-10-14 20:21:59 +03:00
Adomas Venčkauskas
0e07c7a26a Update Word for Mac submodule 2024-10-14 13:49:48 +03:00
Tom Najdek
7ac4c8d667
Check for admin privileges in UninstallOld installer routine (#4750) 2024-10-14 01:37:00 -04:00
abaevbog
c14896a640
vpat 44: scaffold keyboard tab selection focus (#4069)
Do not move focus from the tab onto the editor/input
during keyboard navigation to not change context per
https://www.w3.org/WAI/WCAG21/Understanding/on-input.

Focus will still shift if tab selection changed on mouse click.

Also:

- added focus ring to tabs. Additional mouseup handling
to prevent the focus ring from briefly appearing on click.
- on Escape from within the editor, focus the current
tab.
- on shift-tab from the beginning of the editor,
tab out of the editor to previous element.
2024-10-10 17:08:32 -04:00