Commit graph

9963 commits

Author SHA1 Message Date
Dan Stillman
ac2c001291 Update locales from Transifex 2023-04-18 17:45:39 -04:00
Adomas Venčkauskas
b213b8f15d Fix feed update refreshing, scrolling item and collection trees
Closes #2950
2023-04-14 15:22:22 +03:00
Dan Stillman
9a7486e53c Prevent setting search .name to empty value
Prevents bug in zotero-citation plugin (at least on macOS) from creating
a search that breaks syncing

We were already checking for a missing name in `saveTx()`, but the
plugin is saving the same search twice in rapid succession, the second
time without a name, and the second attempt clears the search object's
name value after the first save's `_initSave()` check and before its SQL
write. The second save fails, but the first save goes through without a
name, resulting in a sync error.

https://forums.zotero.org/discussion/104274/id-1702002152-cannot-sync
https://github.com/MuiseDestiny/zotero-citation/issues/31
2023-04-11 23:48:07 -04:00
Dan Stillman
1d6cae08d2 Add '#' to default annotation color
And add test
2023-04-09 17:03:50 -04:00
Dan Stillman
ce16a28f4a Set a default annotation color if not assigned
https://forums.zotero.org/discussion/104249/sync-issue-on-ipados
2023-04-09 17:00:08 -04:00
Martynas Bagdonas
5ad5598089 Don't show HTML and Markdown options for collection export
Fixes #3033
2023-04-05 09:15:36 +02:00
Dan Stillman
2e4fed4000 Update global schema and utilities 2023-04-02 19:12:17 -04:00
Dan Stillman
db99d4cfe1 Update utilities submodule 2023-04-02 19:04:15 -04:00
Dan Stillman
7b614962c6 Update locales from Transifex and merge new English strings 2023-04-02 03:52:13 -04:00
Dan Stillman
c8109fef18 Restore "Authority" as localized string
We still use base-only fields as search conditions, and schema.json
consumers might want to do so as well, so it makes sense to include
them.

Also remove base-only localized strings from `searchConditions` that are
already included in `itemFields.`
2023-04-01 17:13:28 -04:00
Dan Stillman
1497524bab Remove localized string for "Authority"
This is only a base field and doesn't need to be localized.

Added by mistake in 42a4649420
2023-03-23 04:18:28 -04:00
Dan Stillman
cd88d1f661 Update CSL locales 2023-03-23 01:37:29 -04:00
Dan Stillman
42a4649420 Add Dataset and Standard item types
zotero/zotero-bits#22
zotero/zotero-bits#52
2023-03-23 01:37:29 -04:00
Dan Stillman
778fba60cb Limit Everything full-text-word subsearch to current library
This fixes an error using Everything if another library hasn't yet been
loaded and should speed up Everything searches for people with multiple
libraries.

This is sort of an awkward fix, because it doesn't fix the underlying
problem of `addCondition('libraryID', ...)` not working the same as
`.libraryID =` for some search conditions that perform subsearches. But
supporting `addCondition('libraryID', ...)` for those would get
complicated, because there could technically be multiple such
conditions, and applying those to a subsearch that used `AND` would get
messy. So let's just fix the problem at hand.

Fixes #3032
2023-03-21 16:11:59 -04:00
Dan Stillman
bba09658e1 Update CSL locales 2023-03-21 15:56:47 -04:00
Dan Stillman
b298a48cda Better way of skipping migration of Place and Date from Extra
Or at least a way that we already have built-in and that only applies to
the call in `Zotero.Item::migrateExtraFields()`. This doesn't
distinguish between CSL fields (`publisher-place`, `event-place`,
`issued`) and actual Zotero field, and we really only need to skip
the former, but it's fine.

Follow-up to 8a1dd3637, related to #3030
2023-03-21 06:29:50 -04:00
Dan Stillman
8a1dd3637c Temporarily disable extracting Issued from Extra
Until we can parse ranges in the Date field. See #3030.

citeproc-js will still use it (which is the point).
2023-03-21 05:55:08 -04:00
Adomas Ven
e024449732
Sorts first-author last name matches first when year present. (#3025)
Closes #3024
2023-03-18 20:52:54 -04:00
Abe Jellinek
14bb46f434
Scaffold: Support the detectedItemType test field (#3023) 2023-03-13 17:50:41 -04:00
Dan Stillman
bc07bf803c Update locales from Transifex 2023-03-12 16:44:56 -04:00
Tom Najdek
c57c3c470e
Mendeley importer: Fix issue with empty tags (#3018)
Also adds a test for this particular case and for importing tags in
general.
2023-03-09 16:13:19 -05:00
Tom Najdek
a1d06066b2
Mendeley importer: Fix issue with empty creators (#3016)
It does not appear to be possible to create a creator with no values in
Mendeley, however we got reports of these causing the imports to fail.
This tweak makes the importer more resilient by discarding empty/invalid
creators.
2023-03-07 19:40:42 -05:00
Dan Stillman
1f45c44b86 Fix no such column: IA.authorName error from early 6.0 beta upgrade
Fixes #3013
2023-03-04 22:19:01 -05:00
Andreas Grapentin
8ac77bf9f0
modified standalone keyset to include the quitApplication keybinding (#3010)
modified unix keyset to include the quitApplication keybinding, modified windows keyset to use the correct keybinding
2023-03-04 22:16:05 -05:00
Adomas Venčkauskas
59ba212cf8 Use referrer from connector when saving snapshots
Closes #3006
2023-02-28 13:38:05 +02:00
Dan Stillman
935c67bc01 Match duplicates with same last name but different field modes
https://forums.zotero.org/discussion/103307/duplicates-not-being-recognised-as-duplicates
2023-02-28 00:35:13 -05:00
Dan Stillman
adf6f9f2fb Use clearer variable in item box
https://groups.google.com/g/zotero-dev/c/TvOfXVxwwkA/m/SdpU1QD7AAAJ
2023-02-25 01:39:22 -05:00
Abe Jellinek
bdadd363d3 Scaffold web template: Serialize multiples
Fixes #2980
2023-02-23 16:37:16 -05:00
Dan Stillman
c3cde7784d Update CSL locales 2023-02-22 22:16:05 -05:00
Dan Stillman
a9f1526bfc Update locales from Transifex 2023-02-22 16:42:43 -05:00
Dan Stillman
f868f4f713 Update locales from Transifex 2023-02-21 16:40:36 -05:00
Dan Stillman
f3c0c01fe1 Fix startup error if DB corrupt and no backup files
Fixes #2996
2023-02-18 03:49:56 -05:00
Martynas Bagdonas
0bd39ef42e Fix annotation image rendering caused issues:
- Don't save unmodified annotation item when rendering annotation image
- Don't render annotation image multiple times
2023-02-17 10:31:28 +00:00
Dan Stillman
a78920b16f Merge new English strings 2023-02-15 20:08:40 -05:00
James Eschrich
d866a10a2b
Made toolbar accessible to keyboard (#2853) 2023-02-13 23:28:53 -05:00
Adomas Ven
0f9024dc98
Remove firefox-zotero IPC pipe and switching code (#2990) 2023-02-13 19:18:40 -05:00
Martynas Bagdonas
19be7b9b70 Add missing text color string 2023-02-10 09:45:57 +00:00
Dan Stillman
52a1981747 Update locales from Transifex and merge new English strings 2023-02-10 00:36:38 -05:00
Martynas Bagdonas
19e1b231de Add more colors to pdf-reader, note-editor and introduce text color tool 2023-02-09 16:15:12 +00:00
Martynas Bagdonas
b956d9b429 Add Filename option for PDF tab title pref 2023-02-06 17:44:01 +00:00
Dan Stillman
962cc23d1a Update Retraction Watch retraction reasons 2023-02-05 21:50:29 -05:00
Dan Stillman
b924720a2d Detect retractions for DOIs with capital letters
https://forums.zotero.org/discussion/102745/retraction-watch-not-working
2023-02-05 21:50:29 -05:00
Dan Stillman
3aae80ca7d Merge new English strings 2023-02-03 00:55:33 -05:00
Dan Stillman
ce60ce90f6 Add PDF reader tab title pref to General pane 2023-02-03 00:43:18 -05:00
Dan Stillman
6d0e5959e6 Rename PDF tab title pref to include reader
In case we have a separate pref for notes or something else
2023-02-03 00:43:18 -05:00
Martynas Bagdonas
a5fb64f295
Add a hidden pref for tab title with support for Creator-Year-Title option (#2985) 2023-02-02 17:35:58 -05:00
Dan Stillman
87fbf3c7fb Add English strings from connector 2023-01-26 17:07:10 -05:00
Dan Stillman
4a06053d72 Update locales from Transifex and merge new English strings 2023-01-25 18:52:47 -05:00
Adomas Ven
0ffe3122c2
Refactor l10n code. Remove use of react-intl. (#2975)
Strings from .dtd files are now accessible from Zotero.getMessage
as the eventual move to Fluent would remove their distinction.
2023-01-17 15:59:19 -05:00
Martynas Bagdonas
1f721feab7 Increase active tabs count from 2 to 3 on Windows and <=8 GB systems 2023-01-17 19:35:38 +02:00