Commit graph

15940 commits

Author SHA1 Message Date
Dan Stillman
f0ff173ad2 Update global schema to remove arXivID field 2025-12-26 15:36:13 -05:00
Dan Stillman
7ac22dbef2 Fix creator extraction from Extra
Creators shouldn't be extracted if creators of the same type already
exist on the item, to follow citeproc-js behavior, but the code to do
that was broken.
2025-12-26 11:08:19 -05:00
Dan Stillman
d1fd7c998b Fix Mendeley import test after new identifier fields 2025-12-25 22:37:14 -05:00
Dan Stillman
f7764ca9a4 Recognize "arXiv" for arXiv ID in Extra 2025-12-25 22:37:14 -05:00
Dan Stillman
7487595e6a Fix test error after adding type to document 2025-12-25 22:13:34 -05:00
Dan Stillman
7bf3084e65 Update utilities submodule
Fixes the CSL-JSON import problem mentioned in #5679
2025-12-25 22:04:41 -05:00
windingwind
b3ef63859d Destroy editor instance in CE properly 2025-12-25 23:15:33 +08:00
Dan Stillman
b94dac5586 Update sample data for new item fields 2025-12-25 00:20:34 -05:00
Dan Stillman
f0bbb9b370 Update global schema 2025-12-25 00:20:34 -05:00
Dan Stillman
611acd0703 Update global schema 2025-12-24 22:00:52 -05:00
Dan Stillman
0692985c80 Don't upload tags on item conflict if only tag order has changed 2025-12-24 22:00:07 -05:00
Dan Stillman
8bd3bf976a Update locales from Transifex 2025-12-24 13:24:38 -05:00
Dan Stillman
5fa92f87fe Update package-lock.json 2025-12-24 13:24:38 -05:00
Dan Stillman
e4ffcfc822 Remove "arXiv ID", "PMID", and "PMCID" from schema.ftl
Now hard-coded in update-schema in global schema repo

See zotero/zotero-schema@5d87c21fec
2025-12-24 13:24:38 -05:00
Tom Najdek
891a9809d0
Improve bibliography modal initialization (#5675) 2025-12-24 09:47:03 -05:00
windingwind
7d57c0c103
Fix note tab font reset menuitem (#5678) 2025-12-24 09:43:19 -05:00
windingwind
f149b8985b
Fix tab sidebar layout (#5677) 2025-12-24 09:43:03 -05:00
Dan Stillman
1564af89f2 Update reader submodule 2025-12-20 19:02:09 -05:00
Dan Stillman
7acb28099d Rename "Rights" field to "License"
Closes zotero/zotero-bits#63
2025-12-19 22:21:59 -05:00
Dan Stillman
d6fc071139 Load attachment data when handling file renaming on item metadata change
File renaming has a Notifier handler for item modifications that needs
best-attachment titles, but attachments and their item data might not be
loaded even when parent items are. (This came up when migrating fields
from Extra after a global schema update before the main window had
loaded.)
2025-12-19 22:03:19 -05:00
Dan Stillman
bf9e5d3a83 Don't try to hide/show Retracted Items if ZoteroPane is still loading 2025-12-19 22:02:36 -05:00
Dan Stillman
7422538fb3 Update English strings for Transifex 2025-12-19 22:02:16 -05:00
Dan Stillman
9e23214c77 Add English strings for new item fields and creator types 2025-12-19 21:57:44 -05:00
Tom Najdek
6bf4c371fc
Upgrade ftl-tx. Fix #5671. 2025-12-20 02:22:23 +01:00
windingwind
ca6dd437a5 Update JSDoc for menu manager API 2025-12-19 00:03:06 -05:00
windingwind
834d3b3bb3 Fix JSDoc for reader.js 2025-12-19 00:03:06 -05:00
windingwind
cf8dd78a4a Fix JSDoc for preferencePanes.js 2025-12-19 00:03:06 -05:00
windingwind
8a76aac83f Update JSDoc for itemPaneManager and itemTreeManager 2025-12-19 00:03:06 -05:00
Tom Najdek
51dae17314
Fix Bibliography modal race condition (#5638)
- Replace polling with a `ready` promise for initialization
- Use fixed height for the rich list and re-order initialization to avoid layout shifting
- Ensure the "accept" button is disabled until initialization completes
2025-12-18 23:59:28 -05:00
windingwind
ccfa109fcf
Fix note editor hard refresh after saving note (#5640)
Fix note editor instances' editing state lost after saving
2025-12-18 23:57:12 -05:00
windingwind
c60134e8f1
Add macOS Tahoe menu icons (#5603)
resolve: #5549
2025-12-18 23:51:36 -05:00
windingwind
e522f6185e
Add note as tab (#5528) 2025-12-18 23:49:42 -05:00
abaevbog
f1c7b7939c
Citation dialog: allow to switch between "Add Note" and "Add/Edit Citation" (#5586)
Allow one to switch between "Add/Edit Citation" and "Add Note" modes
in the citation dialog via segmented control in the bottom
left corner.

One cannot switch modes when editing an existing citation or
when inserting a citation in the note editor.

Use the same segmented control UI to switch between
list and library modes for clarity. Replace icons with
"List" and "Library" strings.

Collect some of the state variables into DIALOG_STATE object
for better organization.

Fixes: #5582

Also, remove earlier logic of not resizing window on refocus
on Linux if focus was lost <100ms ago. That workaround
no longer works, and now that we retain the window sizing
after search reruns, it is less of an issue.
Addresses: #5590
2025-12-18 23:18:35 -05:00
Dan Stillman
0cb8116bed Add default pref for showAttachmentFilenames
Missing from #4601
2025-12-18 23:06:33 -05:00
Abe Jellinek
06b2475b7a Fix ebook hyphenation pref not applying when reader opens
https://forums.zotero.org/discussion/128612/enable-automatic-hyphenation-not-working-after-closing-and-reopening-epubs
2025-12-18 15:01:32 -08:00
Adomas Venčkauskas
1233fd5a75 Fix an error occuring when attempting to insert an empty note
Addresses #5665
2025-12-18 09:32:43 +02:00
Bogdan Abaev
be8c64b2bf citation dlg: fix hang when main window is closed
When fetching open tabs for the citation dialog, fall back
to the last saved session state if the main window is closed.
Session state was already being updated when zotero pane
is closed.

Fixes: #5661
2025-12-18 09:21:03 +02:00
Dan Stillman
ead0924a79 Fix deletion of .dll in extract_xul_dll 2025-12-18 05:36:07 +00:00
Dan Stillman
d31fd8aac0 Update custom Firefox component hashes for Windows build 2025-12-18 05:35:41 +00:00
Dan Stillman
86823e45ef Update to Firefox 140.6.0esr 2025-12-17 15:37:41 -05:00
Abe Jellinek
aec284b0b8 Add "Normalize Attachment Titles..." menu item (#4601)
---------

Co-authored-by: Dan Stillman <dstillman@zotero.org>
2025-12-17 12:56:04 -05:00
Abe Jellinek
2d79f1f959 Add option to show filenames in the item tree (#4601)
And move item tree pref observer into the item tree itself.
2025-12-17 12:55:56 -05:00
Dan Stillman
c6a6832444
Remove 1px solid transparent border on links (#5663)
And remove redundant CSS rules for `.zotero-text-link` in zotero.css,
now specified in _textLink.scss
2025-12-16 23:06:33 -05:00
Northword
b20084be43
Fix(Plugins): Prevent user preferences from being lost on plugin disable (#5646)
When a Zotero plugin is disabled, user-modified preferences can be inadvertently reset to their default values. This occurs under specific conditions where a parent preference has not been user-modified, but a child preference within that branch *has* been modified.

The root cause lies in the `Zotero.Plugins.clearDefaultPrefs` function. For preferences that do not have a user-set value (`!branch.prefHasUserValue(pref)`), it incorrectly calls `Services.prefs.getDefaultBranch('').deleteBranch(pref)`. While intended to clear unmodified defaults, `deleteBranch(pref)` operates on the *entire preference branch* starting with `pref`, inadvertently removing any user-modified sub-preferences as well.

This commit changes the problematic line from `branch.deleteBranch(pref)` to `branch.clearUserPref(pref)`. `clearUserPref(pref)` correctly removes only the user-set value for the *specific* preference `pref`, leaving default values and any user-modified sub-preferences intact. This ensures that only truly unmodified default preferences are cleared, preserving user data for related sub-preferences.

This fix prevents unintended loss of user settings when plugins are disabled.
2025-12-16 23:06:18 -05:00
Dan Stillman
60ece63df4 Bold only "Zotero 8" in the post-upgrade banner 2025-12-16 14:16:45 -05:00
Dan Stillman
4ca9bbdae5 Automatically show post-upgrade banner for each new major version
And remove the density switcher
2025-12-16 13:50:27 -05:00
Dan Stillman
7859016ec1 Update locales from Transifex 2025-12-16 12:17:54 -05:00
Dan Stillman
67fe951572 Remove obsolete "Focus Mode" string 2025-12-16 12:17:53 -05:00
Dan Stillman
34508e145c Update translators, styles, and CSL locales 2025-12-16 10:42:48 -05:00
Dan Stillman
6e44fc1c62 Update note-editor and reader submodules 2025-12-16 10:42:48 -05:00