Commit graph

15277 commits

Author SHA1 Message Date
Dan Stillman
188c54c186 Update version 2026-01-14 13:17:18 -05:00
Dan Stillman
f697e103d8 Update utilities submodule 2026-01-14 13:16:58 -05:00
Dan Stillman
3a5de4f6af Update sample data for tests 2026-01-14 13:16:58 -05:00
Dan Stillman
7f7355db8f Fix test after adding eventPlace to conferencePaper 2026-01-14 11:51:42 -05:00
Dan Stillman
8be11cdc5a Update global schema 2026-01-14 11:51:33 -05:00
Dan Stillman
84f067a4cb Fix base-mapped fields not being migrated from Extra
https://forums.zotero.org/discussion/comment/505322/#Comment_505322
2026-01-14 11:48:31 -05:00
Dan Stillman
470eda5b6f Update version 2026-01-12 14:28:20 -05:00
Dan Stillman
c1ba960c40 Update translators 2026-01-12 14:28:20 -05:00
Dan Stillman
9ff73630c6 Fix unloaded-item error for attachments in tabs notifier observer
I was seeing this after the Extra field migration. The logic here has
changed in Z8, but just fix this to only get the attachment for loaded
tabs.
2026-01-12 12:54:22 -05:00
Dan Stillman
bed536e38d Update sample data 2026-01-12 12:54:22 -05:00
Dan Stillman
d7b2f57bde Update utilities submodule to 7.0 branch 2026-01-09 13:27:36 -05:00
Dan Stillman
899bc9eacf Batch Extra field migrations in transactions 2026-01-09 13:27:35 -05:00
Dan Stillman
add3046e49 Add timing for Extra field migration 2026-01-09 13:27:35 -05:00
Dan Stillman
e964c56c82 Remove unnecessary comment about testing Extra field migration
Just need to disable auto-sync to trigger migration
2026-01-09 13:27:35 -05:00
Dan Stillman
b84605cf79 Always use Zotero.CreatorTypes.getLocalizedString()
Since some strings are now stored in schema.ftl

https://forums.zotero.org/discussion/128757/z8-beta-films-dont-have-any-creator-types
2026-01-09 13:27:35 -05:00
Dan Stillman
49812d6efc Fix migrateExtraFields() when onProgress isn't passed 2026-01-09 13:27:35 -05:00
Dan Stillman
d0182e1ef4 Clarify comment for Extra field migration 2026-01-09 13:27:35 -05:00
Dan Stillman
3d63db2576 Delay Extra field migration until after auto-sync and show progress
This avoids redundant field migration on other devices if it has already
run on one. Conflict resolution should automatically ignore identical
changes, so it's not the end of the world if it runs in multiple places,
but we might as well avoid it if we can.
2026-01-09 13:27:35 -05:00
Dan Stillman
e68b8954ca Add Zotero.startupSyncPromise
Resolves after initial auto-sync completes or after the initial
auto-sync would run if disabled
2026-01-09 13:27:35 -05:00
Dan Stillman
fa105159b0 Add pause mechanism for feed updating
```
var handler = await Zotero.Feeds.pause();
[...]
handler.resume();
```
2026-01-09 13:27:35 -05:00
Dan Stillman
3dd99be0a7 Allow wider text for items in progress popup 2026-01-09 12:52:06 -05:00
Dan Stillman
c8fb7bf3d8 Revert treating "arXiv ID" as a field in Mendeley import 2026-01-09 12:51:15 -05:00
Dan Stillman
4c196cf414 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.
2026-01-09 12:51:09 -05:00
Dan Stillman
4f7cb13fb2 Fix Mendeley import test after new identifier fields 2026-01-09 12:51:03 -05:00
Dan Stillman
3575079c22 Fix test error after adding type to document 2026-01-09 12:49:59 -05:00
Dan Stillman
54d606b451 Update sample data for new item fields 2026-01-09 12:44:13 -05:00
Dan Stillman
078b559a50 Update global schema 2026-01-09 12:44:02 -05:00
Dan Stillman
5422688e76 Don't upload tags on item conflict if only tag order has changed 2026-01-09 12:41:03 -05:00
Dan Stillman
b867b700a6 Don't try to hide/show Retracted Items if ZoteroPane is still loading 2026-01-09 10:34:03 -05:00
Abe Jellinek
9b1e7d8d4b 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
2026-01-07 13:47:37 -05:00
Northword
585b121101 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-30 14:17:58 -05:00
Adomas Venčkauskas
7399f5a574 Fix remaped styles not working in Document Preferences dialog
If you're writing a document and a citation style is renamed
Zotero-side, then the citation dialog won't load with the style
preselected without this
2025-12-30 14:17:21 -05:00
Dan Stillman
e9281c51fd Update translators 2025-11-20 15:53:59 -05:00
Dan Stillman
f76bf565de Fix potential sync error if unloaded editable library becomes read-only
https://forums.zotero.org/discussion/128001/app-not-syncing-to-newly-created-group
(error was in an existing group, not the new one)

Fixes #5625
2025-11-20 15:53:38 -05:00
abaevbog
7df3dafb9e fix createParent dialog stuck during quicksearch (#5596)
Fix createParentDialog hanging when opened during
quicksearch or in saved search. After a parent item
is added, itemTree is being refreshed. If _refreshPromise
is resolved after a timeout, it will not complete until the
modal dialog is closed. Instead, resolve _refreshPromise
after Zotero.Promise.delay, which uses the XPCOM global
timer unaffected by modals.

Fixes: #3026
2025-11-20 15:53:37 -05:00
Tom Najdek
18f3557742 Use current collection when adding items (#5598) 2025-11-20 15:53:37 -05:00
abaevbog
af453c5ddb Fix misaligned sync reset options radio button labels (#5587)
Fixes: #5580
2025-11-20 15:53:37 -05:00
Dan Stillman
b7fa1e8903 Fix slow purging of creators
Same as e532e435f but for creators
2025-11-20 15:53:37 -05:00
Dan Stillman
7e00f908d8 Update version 2025-11-20 15:53:37 -05:00
Dan Stillman
2435cde500 Update version 2025-10-28 14:17:22 -04:00
Dan Stillman
5bcb87472c Update Word for Mac submodule 2025-10-28 14:16:54 -04:00
Dan Stillman
f419942dfc Update version 2025-10-22 14:58:24 -04:00
Abe Jellinek
a4e0eaaba4 Style configurator: Log error and discard invalid locale values 2025-10-16 15:10:35 -04:00
Abe Jellinek
c76371aeed Style configurator: Don't use string interpolation to build XUL 2025-10-16 15:10:35 -04:00
Dan Stillman
1aa403b048 Update version 2025-10-09 14:50:30 -04:00
Dan Stillman
feaa36a700 Update restore-to-server strings from Transifex 2025-10-09 14:50:29 -04:00
Dan Stillman
03a3090359 Update translators 2025-10-09 13:13:01 -04:00
Abe Jellinek
0852296dd8 Document Preferences: Add missing FTL to fix variable in title
Fixes #5570
2025-10-09 13:10:41 -04:00
Dym
a7421eccc2 Local API: Resolve 500 error on single item export (#5560) 2025-10-09 13:09:23 -04:00
abaevbog
c339d52ec3 tagsbox: fix deleted tags reappearing (#5533)
https://forums.zotero.org/discussion/110655/z7-beta-tags-reappear-after-quickly-deleting-them

If a library has many tags and one quickly clicks on "-" button
to deleted multiple tags from an item, the database updates
may not keep up with UI. To address this, save item only
once after a debounce.

Fixes: #5410
2025-10-09 13:09:16 -04:00