Commit graph

15259 commits

Author SHA1 Message Date
abaevbog
d3cee95fb7
Click on itemBox label focus edits (#5065)
Click on a label of a focused field will refocus itemTree
or the reader content, depending on the tab. That way
focus is not lost.

Fixes: #5063
2025-03-05 05:59:11 -05:00
Dan Stillman
c262a5b392 Add Cr as glboal in eslint config 2025-03-05 05:51:04 -05:00
Dan Stillman
3a26ce3bb1 Avoid args is undefined logged error in file sync tests 2025-03-05 05:50:58 -05:00
Dan Stillman
1f401f0897 Replace Zotero.Utilities.Internal.saveURI() with Zotero.HTTP.download()
Adds a new function, Zotero.HTTP.download(), that uses
Zotero.HTTP.request(). This fixes downloads via authenticated proxies in
Zotero 7 and gives us other request() functionality (e.g., 5xx retrying)
for free.

The downside is that this is probably less efficient, potentially
loading large downloads in memory. We should create a replacement for
request() based on fetch() that supports getting the body as a
ReadableStream.

Fixes #5062
2025-03-05 04:46:51 -05:00
windingwind
ccc1800f21
Fix attachment preview background (#5067)
regression from 9c41874
2025-03-04 09:45:22 -05:00
Abe Jellinek
cab8e38806
Remove deleted actors to prevent console spam (#5074) 2025-03-04 09:45:08 -05:00
Abe Jellinek
5c8859b618 RemoteTranslate: Fix request methods not sending cookies 2025-02-28 15:22:37 -05:00
Abe Jellinek
c19f43ea46 Scaffold: Suppress ESLint JSON.parse() syntax errors 2025-02-28 15:16:26 -05:00
Abe Jellinek
1e08985dcd Scaffold: Accept shorthand URLs in URL box
Like "google.com" instead of "https://www.google.com/".
2025-02-28 15:16:12 -05:00
Dan Stillman
307753d313 "Select add-on to install" → "Select plugin to install"
https://forums.zotero.org/discussion/122235/title-in-the-plugin-selection-windows-dialog-add-on-plugin
2025-02-27 23:30:45 -05:00
windingwind
1b64e3417c
Fix web-ext support (#5068) 2025-02-27 22:28:42 -05:00
Abe Jellinek
6f8da4825e Advanced Search: Remove red background from condition tooltips
Fixes #5066
2025-02-26 16:41:07 -05:00
Abe Jellinek
ba7b521bb1 Scaffold: Clean up load() slightly 2025-02-26 12:09:06 -05:00
Abe Jellinek
ddb5977c48 Scaffold: Remove 2028/2029 fix
Hasn't been an issue since ES2019.
2025-02-26 11:27:02 -05:00
Martynas Bagdonas
9077310669 Update pdf-worker submodule 2025-02-26 18:10:58 +02:00
Abe Jellinek
3c8d50dd47 Remove loadBrowserWindow() test support function (#5050)
A browser window was no longer actually needed for charset detection
(on macOS, at least, and hopefully elsewhere) because we switched to a
HiddenFrame-based hidden browser. Remaining uses now call
`loadZoteroWindow()`.
2025-02-26 03:00:04 -05:00
Abe Jellinek
26221b6786 Fix broken browser window on print + remove many Mozilla files (#5050) 2025-02-26 03:00:04 -05:00
Abe Jellinek
90a9c5164a
macOS: Unescape dragged path when NSURL doesn't (#5059) 2025-02-25 05:28:12 -05:00
abaevbog
c049120efb
do not try to select deleted item in a collection (#5061)
After navigating to the collection from "Libraries and Collections"
section of an item in the trash. Deleted item does not appear in actual
collections and trying to select it will just re-select the trash.

Fixes: #5060
2025-02-25 05:24:59 -05:00
Martynas Bagdonas
a3ebb4ad41 Update reader submodule 2025-02-25 11:24:33 +02:00
Abe Jellinek
854f2188c2 Duplicates: Fix hidden elements remaining visible
And update comment.

Fixes #5056
2025-02-24 11:18:48 -05:00
abaevbog
54346b0ca7
fix broken QF cancellation from editor instance (#5054)
Define missing cancel method on io object passed from the
editor instance to quickFormat dialog. Without this
Escape keypresses throws an error because io.cancel is
undefined.

Followup to #4859
2025-02-21 22:13:41 +02:00
Martynas Bagdonas
96e71762f9 Normalize decomposed chars in PDF text, Zotero notes for proper indexing
Fixes #5051
2025-02-21 14:55:20 +02:00
Abe Jellinek
d3871d6864 editable-text: Forward onTextEntered() from input
Fixes #5043
2025-02-20 14:40:58 -05:00
Dan Stillman
45310397e5 Update Word for Mac submodule 2025-02-20 06:28:27 -05:00
Adomas Ven
2e9b9d4070
Close citation dialog if user interacts with the integration plugin (#4859)
Asks the user if they want to discard the changes in their existing dialog if
they have made changes.

If there is no citation dialog, but a command is running (like updating the document)
an alert is displayed.

Closes #4855
2025-02-18 05:52:23 -05:00
Abe Jellinek
eb30c23a0d
Scaffold: Infer types of parameters based on naming conventions (#5038) 2025-02-18 05:07:51 -05:00
Adomas Venčkauskas
239b68e6b8 Update Word for Windows submodule 2025-02-18 11:43:51 +02:00
Adomas Venčkauskas
d231fb3b53 Do not attempt to activate windows on wayland using X11 libraries
I don't know if something changed in my Ubuntu installation or in the
Firefox runtime (probably the former), but that code crashes Zotero on
wayland.

Window activation (e.g. citation window) does not seem to be affected.
2025-02-18 10:55:22 +02:00
Adomas Venčkauskas
e765a4d3af Update ScienceDirect cf captcha selector 2025-02-18 10:53:02 +02:00
windingwind
3b7dd58c50
Update eslint ecmaVersion to es2022 (#5049)
Current firefox version supports all features of es2022
Fix errors with features like WeakRef
2025-02-17 05:53:15 -05:00
Dan Stillman
fc3b7e0f83 Local API: Fix handling of style ids without standard prefix
Follow-up to #5032
2025-02-17 03:16:22 -05:00
Dan Stillman
9c6b3368f2 Revert "Zotero.Styles: Serialize init() and remove Zotero.Promise.coroutine()"
This breaks style initialization if you trigger it manually before the
normal startup initialization.

This reverts commit d141ab25b1.

https://forums.zotero.org/discussion/121879/missing-item-pane-header
https://forums.zotero.org/discussion/121878/cannot-copy-citation-bibliography-in-reader
2025-02-17 02:19:59 -05:00
Adomas Venčkauskas
8e08527991 Update Word for Windows submodule 2025-02-13 10:36:23 +02:00
Adomas Venčkauskas
51d668db56 Update Word for Windows submodule 2025-02-13 10:30:40 +02:00
Dan Stillman
c51133f43c Update reader submodule 2025-02-13 03:13:54 -05:00
abaevbog
506f3b14e3
Allow dragging items, collections, and searches into trash (#5033)
Fixes: #1943
2025-02-13 02:58:25 -05:00
Abe Jellinek
5978353d57
Fix faulty siblings-of-type check in setAutoAttachmentTitle() (#5045) 2025-02-12 22:29:49 -05:00
Adomas Ven
8dbc6177ce
Macos integration progress bar (#5016)
* Display the progress bar on macOS integration commands more

Avoid displaying before Add/Edit Citations, Add Note and Doc Prefs
since that brings Zotero window to the foreground along with the
relevant dialog, but display the progress bar after confirming those
dialogs, which will bring Zotero to the front, but is still better than
no progress indication.

Display the progress bar for Refresh, Doc Prefs, Unlink and Add/Edit
Bibliography

* Fix progress bar indeterminate state not being visible and not working.

- Update _progressMeter.scss for fx115+
- Some adjustments/resizing to progress bar display in quick format
2025-02-12 08:43:11 +02:00
Abe Jellinek
87f8229b32 macOS-normalize-controls mixin: Cleanup 2025-02-11 15:23:16 -05:00
Dan Stillman
4d8d4bf6a9 Remove issue template
Now in .github repo
2025-02-10 23:25:03 -05:00
Abe Jellinek
98a5b7eaec Local API: Handle out-of-repo styles correctly (#5032) 2025-02-07 07:43:28 -05:00
Abe Jellinek
d25b96643c Zotero.Styles: Serialize init() and remove Zotero.Promise.coroutine() 2025-02-07 07:43:28 -05:00
Dan Stillman
fb8b65b329 Update reader submodule 2025-02-07 03:27:42 -05:00
Dan Stillman
7256072c5b Merge new English strings 2025-02-05 05:10:14 -05:00
Dan Stillman
083b4f69c9 Pretty-print zoteroTypeSchemaData.js
We should get rid of this, but in the meantime, pretty-print it (though
it will need to be generated in a new data directory to be consistent).
2025-02-05 03:27:33 -05:00
Dan Stillman
d358915707 Update sample data for podcast/date mapping 2025-02-05 03:08:32 -05:00
Dan Stillman
46879a8241 Add Date field on Podcast
zotero/zotero-bits#2
2025-02-05 02:52:17 -05:00
Dan Stillman
5d5c043161 Fix sync not downloading queued objects on first sync of session
`firstInSession` wasn't being properly set, so previously failed data
objects weren't being retried until a manual sync. Local files also
weren't being scanned for changes for three hours, but that's probably
better in the age of DB-stored annotations, so leave that off for now
and address properly in #5025.
2025-02-05 02:06:15 -05:00
Dan Stillman
41396c8148 Update Mac build to Firefox 128.7.0esr
Fixes #4762
2025-02-05 01:24:20 -05:00