Commit graph

11524 commits

Author SHA1 Message Date
windingwind
a0a8cceda4
Checkbox-and-radio-redesign-on-Windows (#4609)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-30 07:20:52 -04:00
Abe Jellinek
aed604ddc0
Add "Paste and Search" option to lookup context menu (#4636)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-28 23:36:15 -04:00
Dan Stillman
a2bac6b299 Use Z.Prompt.confirm() for delayed-button prompts to fix CI failures
After f9faa0415f, Zotero.Prompt.confirm() ignores the delayed-button
flag when running in CI.
2024-08-28 03:55:18 -04:00
Dan Stillman
92165cb9ed delayButtonsbuttonDelay in Zotero.Prompt
Too confusing to swap order of original flag
2024-08-28 03:54:02 -04:00
Dan Stillman
f9faa0415f Skip Zotero.Prompt button delay in CI
The button delay started causing test failures in GitHub Actions after
updating to Firefox 115.14.0esr.
2024-08-28 03:53:48 -04:00
Abe Jellinek
4549cbf1ed Attachment box: Use un-deprecated attachmentFilename property (#4638)
Fixes warning.
2024-08-28 03:53:11 -04:00
Abe Jellinek
d5bc1dc4b3 Attachment box: Wrap Filename field (#4638) 2024-08-28 03:53:11 -04:00
Abe Jellinek
718c25b2b8
Strip Citeproc.js markup in window titles (#4634)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-28 01:10:01 -04:00
Dan Stillman
a9953b3f91 Update CSL locale
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
https://forums.zotero.org/discussion/comment/472455/#Comment_472455
2024-08-28 00:34:05 -04:00
abaevbog
15f9a84060
type="arrow" to anchor reference panel (#4629)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
And remove no longer needed JS logic hiding and
displaying the panel to keep it next to the dialog
2024-08-27 13:07:46 +03:00
abaevbog
75e6e46fb6
Qf: potential fix to the dialog becoming invisible (#4603)
* qf: remove transparent window background from win

Because it seems to still sometimes cause the qf window
to disappear. I could not reproduce it but disabling
background: transparent did help with the issue of qf
disappearing in the past. It allows us to remove very
specific chromemargins which, apparently, do not work
in all cases.

Removed border-radius from qf on windows because now that
the window is not transparent, its corners would be visible.
But the window itself has rounded corners so it doesn't look
that different.

The main drawback now is that a secondary window without titlebar
on win becomes resizable, and having background: transparent was
a workaround to disable that. So now, we set max width and height
so that the window cannot be stretched but, unfortunately, the
resize cursor appears when you hover over the edge of the dialog.

* qf: minor style fixes

- hardcode light theme value for accept button and the
spinner so they don't disappear when the theme is dark
- make sure the item's color from reference panel is not
overriden by a lighter one from another stylesheet
2024-08-27 09:20:53 +03:00
Abe Jellinek
3017770954 Preferences: Add new status info below local API checkbox (#4615)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-27 00:53:20 -04:00
Abe Jellinek
5e71fdf1cc Preferences: Fire synctopreference *after* updating preference (#4615)
And add a new beforesynctopreference event to replace the old behavior.
You almost always want the preference to be updated before acting on
the change.
2024-08-27 00:53:20 -04:00
abaevbog
868947f4c8
vpat 34-5: aria labels for the error console (#4625)
Add hardcoded, non-localized labels to the X button next
to the input filter and the actual console textarea
2024-08-26 23:32:49 -04:00
Tom Najdek
b350613770
Fix progress bar ignores color scheme. Resolve #4589 (#4599)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-26 08:00:18 -04:00
Abe Jellinek
ed53f4b756
Register all plugin locales with best-fit aliasing (#4606) 2024-08-26 07:59:12 -04:00
Abe Jellinek
f54becf32e
Render citeproc.js markup in tab titles (#4602) 2024-08-26 07:57:17 -04:00
Dan Stillman
ab814c361a Try to automatically repair "User canceled primary password entry"
Fixes #4540
2024-08-26 07:13:11 -04:00
Abe Jellinek
f8970b92de Feed abstract: Inherit font size
Some checks failed
CI / Build, Upload, Test (push) Has been cancelled
And fix some code style.

Closes #4600
2024-08-21 12:26:58 -04:00
Dan Stillman
182bfb9a38 OS.Path shim: Add Windows version of fromFileURI() from Fx102
Some checks failed
CI / Build, Upload, Test (push) Has been cancelled
Should fix #4588 for real
2024-08-20 02:50:51 -04:00
Dan Stillman
4b45b8780d Update locales from Transifex 2024-08-20 00:26:43 -04:00
windingwind
d54f5e516f
Fix context pane lazy load (#4591)
fix: #4548
2024-08-20 00:08:41 -04:00
Dan Stillman
f53ce16b8b OS.Path shim: Add Windows version of normalize() from Fx102
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
Should fix #4588
2024-08-19 23:58:32 -04:00
Adomas Venčkauskas
365d6f4295 Fix WinWord plugin installation not running on startup (#4579) 2024-08-19 08:07:09 -04:00
Adomas Venčkauskas
aef0e51186 Throw an error when an update to word processor plugin fails to install (#4579)
- This commit will retrigger the installation for all word processor
  plugins. For the majority of users this will succeed silently.
  - It will fail with an error for Windows users that have Word open.
  - It will succeed with a warning for macOS users that have Word open.
- The updated error prompt links to the new documentation page for
  failed plugin installs
2024-08-19 08:07:07 -04:00
Dan Stillman
cff7e45d90 Update locales from Transifex
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-19 03:40:42 -04:00
Tom Najdek
58234a133a
Fix localized labels after 4f1e449 (#4584) 2024-08-19 03:31:25 -04:00
Dan Stillman
f8fe506a86 Update locales from Transifex 2024-08-18 02:04:35 -04:00
Dan Stillman
db34491dfd Update English strings for Transifex 2024-08-18 01:47:35 -04:00
Dan Stillman
cc10987dee Fix error loading trash containing collection if bidi.browser.ui == true
https://forums.zotero.org/discussion/116980/zotero-7-0-1-center-right-panes-stop-displaying-items
2024-08-18 01:46:10 -04:00
Martynas Bagdonas
5dc17be46c Add missing string for reader
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-16 13:04:34 +03:00
windingwind
0f866d6d33
Fix Context Pane doesn't work in stack mode (#4578)
fix: #4577
2024-08-16 02:10:33 -04:00
windingwind
ca9508ebce
Lazy load attachment preview (#4568)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-15 02:22:24 -04:00
Dan Stillman
874f42df36 Update utilities submodule
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
Includes zotero/utilities#36
2024-08-14 17:59:48 -04:00
Abe Jellinek
f0d453187d Fix editable-text dir not affecting existing input
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-14 11:19:04 -06:00
Abe Jellinek
64238d56bc Fix circular reference in getDirection()
Was preventing the field-specific switch branch from being reached.
2024-08-14 11:19:04 -06:00
Tom Najdek
4f1e44978e
Fix <wizard> sometimes starts with the wrong title. Resolve #4533.
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
This is caused by
https://searchfox.org/mozilla-central/source/toolkit/content/widgets/wizard.js#417-428
where fluent attribute is removed and replaced with the default value.
We need to stick with `data-header-label-id` until this is resolved
upstream.
2024-08-14 17:53:33 +02:00
Dan Stillman
f5af1898fd Proper fix for getDirection() problems
Hopefully the last fix for my edits to 181afb9 (#4534)

Follow-up to the previous two commits
2024-08-14 04:01:26 -04:00
Dan Stillman
531e8697be Fix additional breakage when bidi.browser.ui is true
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
Broken by me in an edit to 181afb9 (#4534)

Follow-up to previous commit
2024-08-14 03:42:08 -04:00
Dan Stillman
ec50539e80 Make Zotero.ItemFields.getBaseIDFromTypeAndField() more resilient
- Return base field instead of throwing if base field is passed for a
  type that has a base-mapped field
- Return false instead of throwing for invalid type-field combination
2024-08-14 03:14:29 -04:00
abaevbog
53ad856ef4
vpat 31 and 33 - aria tweaks for Tools > Plugins (#4560)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
- vpat 31: mark which menuitems' button is checked,
otherwise selected options (e.g. Update plugins automatically)
are not announced as such
- vpat 33: when plugin details pane appears, remove
a misleading role="tabpanel" from its section because
it is not structured as a collection of tabs
2024-08-13 16:46:46 -04:00
Adomas Ven
ed311cacb9
Show a different error message for WinWord when no document is found (#4563)
And link to a different troubleshooting page
2024-08-13 16:13:00 -04:00
Dan Stillman
5d998a3b37 Load brand.ftl for Zotero.getString() 2024-08-13 16:06:47 -04:00
windingwind
0530afd669
Fix two item panes occasionally appear at same time (#4561)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-13 02:43:14 -04:00
Dan Stillman
97650efe05 Fix blurry creator row buttons on non-HiDPI displays
From @yexingsha

Fixes #4549
2024-08-13 00:06:21 -04:00
Dan Stillman
9b23755190 Update CSL locales
Includes https://github.com/citation-style-language/locales/pull/319
2024-08-13 00:06:21 -04:00
abaevbog
8c3f13909c
vpat 59: make quickFormat reference box separator text darker (#4400)
So that on Windows, the separator text on white background
has a high enough contrast ratio for accessibility

Also remove opacity when reference panel opens. Without the opacity
on the reference panel, there is a shadow appearing below and to the
right of the panel on Windows. If we let the panel render with
opacity: 0.9 and only then set opacity: 1, the panel will no longer
be transparent and there will be no shadow.
2024-08-13 00:05:11 -04:00
Abe Jellinek
a566d83411 Migrate to our editMenuOverlay.js
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-12 15:25:31 -06:00
Abe Jellinek
d5deb406d7 Include editMenuOverlay.js in Web Link dialog
Fixes #4544
2024-08-12 15:24:56 -06:00
Abe Jellinek
16bb95ad3f
Collection tree: Keep editing state through refresh (#4556)
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
2024-08-12 16:43:49 -04:00