Commit graph

10546 commits

Author SHA1 Message Date
Dan Stillman
a370ec8979 HTTP.download(): Don't save file for non-2xx response 2025-07-24 01:28:13 -04:00
Dan Stillman
cc0b1ad0c9 HTTP.request(): Return proper status for canceled redirect 2025-07-24 01:28:12 -04:00
Abe Jellinek
8041d7d4df Complain when Notifier/Prefs observer leaks window 2025-07-23 12:03:53 -04:00
Abe Jellinek
1eb248553a Unregister Zotero_Tabs observers when window is unloaded 2025-07-23 12:03:53 -04:00
Abe Jellinek
d4a5fbbefe
Cache CiteProc Engine instances, pre-cache for Quick Copy (#5399) 2025-07-23 10:47:23 -04:00
Tom Najdek
cc691abeee
Add missing icons in context menus on Windows/Linux
* Add missing icon for "My Library" in the "Copy To" menu in cases where there are no other libraries in that menu
* Add icon to the "New Collection..." option in the item context menu
2025-07-23 12:56:06 +02:00
Dan Stillman
d1ea8a397b Use BrowserDownload for 403 when enforcing type in downloadFile()
Fixed regression (probably in 1f401f0897) causing Find Full Text not to
use BrowserDownload for a 403

https://forums.zotero.org/discussion/125581/zotero-suddenly-fails-to-retrieve-full-text-although-i-have-access
2025-07-22 22:12:00 -04:00
Northword
e2a96e512a
Clear plugin cache on re-install (#5395) 2025-07-21 23:55:02 -04:00
Tom Najdek
2d4a086819
Fix picking a type for the creator removes the entry. Close #5396 2025-07-21 13:03:41 +02:00
SSCC
162fb4d51b
fix the missing "yield" in line 158 of storageEngine.js (#5394)
Fix the issue where Zotero.Sync.Runner.sync({background: true}) cannot obtain the itemIDs
2025-07-20 01:07:29 -04:00
windingwind
ce6c27ae7e
Fix tabs menu filtering out empty title (#5392) 2025-07-18 00:46:20 -04:00
Tom Najdek
9c82fed152
Add missing icons to the collections context menu (#5386)
Co-authored-by: yexingsha <yexingsha@gmail.com>
2025-07-16 12:18:58 +02:00
Tom Najdek
0e3b695a85
Use a more universal method of checking the element name 2025-07-15 19:25:41 +02:00
Tom Najdek
c945afb2e1
Fix auto-completion typo toLocaleLowerCase -> toLowerCase 2025-07-15 19:18:30 +02:00
Tom Najdek
248ddf05d2
Fix incorrect context menu when renaming collection #5374 2025-07-15 17:38:49 +02:00
Martynas Bagdonas
057c798202 Ignore reader and note-editor error when Fluent file is missing 2025-07-15 16:00:12 +03:00
Dan Stillman
59730c0fca Move "Show My Publications" localized string from .dtd to .ftl
Added to .dtd by mistake in #5367
2025-07-15 02:53:57 -04:00
Dan Stillman
01683b6ccb More chicago-note-bibliography → chicago-shortened-notes-bibliography 2025-07-15 00:46:10 -04:00
Dan Stillman
7a4aef1b32 Update styles and CSL locales
Including new Chicago styles
2025-07-15 00:46:09 -04:00
Tom Najdek
a85e1fb40a
Add ability to hide My Publications (#5367) 2025-07-15 00:31:22 -04:00
abaevbog
387d5966c3
fix trashed collection treated as an item row (#5371)
If the id of the collection happens to be the same
as an id of an existing item, those objects may end
up being used interchangeably in itemTree.
The trashed collection could appear in "My Library"
instead of the item, or the not-deleted item could appear
in the trash instead of the collection.
This is addressed by using .treeViewID instead of the
.id of the objects in ItemTree.refresh and ZoteroPane.itemSelected.
2025-07-15 00:30:28 -04:00
Tom Najdek
98d7d8c408
Re-implement "Create Parent Dialog" without using React (#5380)
* Fixed an issue where the window size did not match the content
* Replaced the semi-transparent progress bar with a spinner
* Fixed a problem that allowed triggering a search while one was already in progress
* Reduced code complexity
2025-07-15 00:29:54 -04:00
Abe Jellinek
3b8e8bea33 Register CookieSandbox observer at startup (#5357) 2025-07-14 14:00:43 -04:00
Abe Jellinek
aff57c2254 Fix all cookies being lost during remote translation (#5357) 2025-07-14 14:00:38 -04:00
Tom Najdek
c32e050c6e Unify styles for headers of similar custom elements 2025-07-10 23:40:22 +02:00
Abe Jellinek
f9b3694dd1 Style Editor: Fix splitter
By removing flex from the preview box. The splitter doesn't work if the
elements on both sides have flexes.

Fixes #5361
2025-07-10 11:00:31 -04:00
Abe Jellinek
d9a45726d4 Fix read-only title box on non-file attachment
Regression in e625c0009e

https://forums.zotero.org/discussion/125214/attachment-title-of-web-links-cannot-be-modified
2025-07-07 13:24:46 -04:00
Tom Najdek
7beed24756
Fix truncated content in the Create Parent dialog. Close #5365 2025-07-01 15:00:33 +02:00
Martynas Bagdonas
114bd3c495 Increase reader initialization wait time to reduce test failures in CI 2025-06-30 22:29:08 +03:00
Martynas Bagdonas
bdcc5c551a Reader: Only show text context menu when interacting with a text box 2025-06-30 14:47:23 +03:00
Tom Najdek
c19032a004
Add missing tooltips for tab scroll buttons. Fix #5352 2025-06-30 12:14:16 +02:00
Martynas Bagdonas
80d01c9d02 Add note-editor strings to FTL files 2025-06-26 17:46:52 +03:00
Martynas Bagdonas
355c61e6d8 Update reader submodule and support overriding FTL with current locale 2025-06-25 16:43:36 +03:00
abaevbog
4dbe0f7842
Citation dialog: fix broken item details popup with some non-english locales (#5354)
This allows the locator dropdown to be as wide as it wants
(depending on the longest option in the current locale),
with inputs occupying the remaining space. This is
a more flexible layout that avoids broken UI in
cases if <select> dropdown tries to become too wide
while <input>s occupy a fixed space to remain aligned.

Fixes: #5350
2025-06-25 02:17:41 -04:00
Martynas Bagdonas
774173f04d Update reader submodule and provide FTL data 2025-06-24 21:48:55 +03:00
windingwind
6eb8a80e12
Fix reader sidenav buttons wrongly disabled (#5348)
fix: #5332
2025-06-20 23:32:30 -04:00
Martynas Bagdonas
0b5012555d Fix regression triggering multiple reader context menus
Fixes https://forums.zotero.org/discussion/124939/persistent-context-menu-in-the-snapshot-reader
Fixes https://forums.zotero.org/discussion/124938/double-context-menus-on-annotations-in-the-pdf-reader
2025-06-19 21:11:03 +03:00
Bogdan Abaev
e6ce021b5f return tags in /connector/getSelectedCollection
Together with all collections and libraries.

To account for tags that may contain "," characters,
expect connector to send tags as an array. If tags
are sent as a string, it will be split by "," for
compatibility with older connector versions.

Addresses: #1706
2025-06-16 09:34:33 +03:00
Bogdan Abaev
f50e8b0b35 do not open hidden Zotero window on connector save
And fix regression where selecting a collection
in connector would always switch to the library tab.
It was originally added in https://github.com/zotero/zotero/pull/5020
but was lost after https://github.com/zotero/zotero/pull/5148.
2025-06-12 08:33:22 +03:00
Dan Stillman
9dbac93dc9 Remove lines inadvertently included in ee35361
I meant to merge the test without those lines, since I fixed the problem
from #5297 properly in ded8dca66.

Fixes #5337
2025-06-11 21:57:59 -04:00
abaevbog
96d3f312b3
fix web link attachment row not selected on create (#5338)
Small followup to tweak 5721744386
2025-06-11 21:50:03 -04:00
Martynas Bagdonas
3f84856e1e Update strings for reader localization with Fluent 2025-06-11 22:29:22 +03:00
abaevbog
c493a17b13
Connector server support to adding a note (#5064)
* support adding a note from connector

- pass canUserAddNote flag in ping response to tell
the connector that it should display a note field
- when the connector sends a note, create a child note item
if it does not yet exist and set its content. If the
child item for user-added notes is already created,
update it
- if the connector sends an empty note, user-added child
note item is deleted
- record child notes added by the user in _userAddedNotes
cache to distinguish between user added notes and
notes added by the connector automatically
- if the target library changes, child note items are
moved to the new library as well. _userAddedNotes
will be updated to reflect new itemIDs
- if there are multiple toplevel items being added,
the note is added to all of them

Also fix breakage when switching between collections
from different libraries. Fixes: #5331
2025-06-11 14:50:48 +03:00
Tom Najdek
e50787c94f
File renaming: Add pascal case. Fix unicode handling. (#4876) 2025-06-11 01:03:34 -04:00
Dan Stillman
15269763bb Don't use Firefox user agent for files.zotero.net requests 2025-06-11 00:47:28 -04:00
Bogdan Abaev
65bc56b07b dont exclude image annotations when creating notes
from multiple selected items.
Regression from 48fd23ccec
2025-06-10 22:22:33 +03:00
Dan Stillman
28ffdd4c10 Update CSL locales 2025-06-08 00:32:49 -04:00
Abe Jellinek
777d6f951f
Undo Scholaread changes to user.js (#5313)
And any other fileHandler changes
2025-06-08 00:30:10 -04:00
Martynas Bagdonas
8cf61fed9e Add spell checking options to reader annotation text box context menu
Fixes #5308, #2838, #2109
2025-06-06 18:40:40 +03:00
abaevbog
6ff349d65d
Select child attachment after a file is drag-dropped onto a top-level item (#5328)
And also handle attachments added via context menu

Fixes: zotero#5320
2025-06-05 02:20:13 -04:00