Dan Stillman
8469a2485b
Merge pull request #2862 from tnajdek/2252-bulk-folder-import-no-react-wizards-squashed
...
fx-compat: Wizards. Add folder import
2023-03-27 01:20:44 -04:00
Abe Jellinek
ca2b84af8f
fx-compat: Disable macKeyset completely on non-Mac ( #3044 )
2023-03-25 04:06:48 -04:00
Abe Jellinek
2b3ee82d56
fx-compat: <split-menu-button>: Use margin-inline-end
2023-03-24 14:34:13 -04:00
Abe Jellinek
c30a648edf
fx-compat: <split-menu-button>: Add divider
2023-03-24 14:31:26 -04:00
Abe Jellinek
5b08eec813
fx-compat: Don't run <split-menu-button> command handler when popup is opened
2023-03-23 14:15:14 -04:00
Abe Jellinek
8f87a74398
fx-compat: Fix showNativeElementPopup() positioning on Win/Linux
2023-03-23 14:14:29 -04:00
Abe Jellinek
8512402eca
fx-compat: Fix Reset Sync subpane
...
cfbfcf2
changed restore{To,From}Server to restore{To,From}OnlineLibrary and
updated most of the references, but not the ones in preferences_sync_reset.
Other languages still have those strings under the old key names.
2023-03-23 10:18:46 -04:00
Tom Najdek
01611cbb07
Temporarily disable folder import #2862
2023-03-23 14:16:51 +01:00
Tom Najdek
fc572ba2a6
fx-compat: Convert Publications dialog to CE
2023-03-23 14:16:51 +01:00
Tom Najdek
c65e8f1621
fx-compat: Convert rtfScan to use CE wizards
...
Also:
* Adds Style Configurator CE
* Extends "base" CE to enable fluent l10n
2023-03-23 14:16:51 +01:00
Tom Najdek
5ea43bd65c
fx-compat: Convert import wizard to use CE
2023-03-21 20:42:43 +01:00
Tom Najdek
2820add3d1
Add bulk folder import #2252
2023-03-21 20:38:39 +01:00
Dan Stillman
6117221cbc
fx-compat: Remove DOMParser init()
calls
...
No longer supported. Still possible to pass to the constructor, but
almost certainly not necessary:
https://udn.realityripple.com/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIDOMParser#Principals_document_and_base_URI
2023-03-20 16:32:40 -04:00
Tom Najdek
13cc393840
fx-compat: long tag fixer ( #2649 )
...
* Manual tag splitting from tag selector
* Only apply split to the tag in current library
* Preserve tag type
2023-03-16 21:20:11 -04:00
Abe Jellinek
b1595cdd1d
Scaffold: Support the detectedItemType
test field ( #3023 )
2023-03-14 10:21:10 -04:00
Dan Stillman
0ba81a1a92
Fix no such column: IA.authorName
error from early 6.0 beta upgrade
...
Fixes #3013
2023-03-09 01:28:44 -05:00
Dan Stillman
c675150305
fx102: Update quit keybindings
...
- Add 'x' accesskey for "Exit" on Windows
- Show "Quit" instead of "Exit" on Linux
- Don't show Ctrl-Q for shortcut key on Windows
But Ctrl-Q still works on Windows when it shouldn't because of the Mac
keybinding, which still gets registered even if disabled
programmatically in platformKeys.js.
fx102 follow-up to #3010
2023-03-09 01:26:44 -05:00
Adomas Venčkauskas
b4d534c02d
Use referrer from connector when saving snapshots
...
Closes #3006
2023-03-09 00:37:25 -05:00
Dan Stillman
c048460c22
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:45:03 -05:00
Abe Jellinek
0627ee0cb6
fx-compat: Fix adding/editing feeds ( #2632 )
2023-02-26 05:34:21 -05:00
Abe Jellinek
53ace4876e
fx-compat: Fix feed Add To button
...
And make accessible by keyboard
2023-02-26 05:00:31 -05:00
Abe Jellinek
730677a918
fx-compat: Fix ProgressWindow
2023-02-26 05:00:31 -05:00
Dan Stillman
95f2e40434
Use clearer variable in item box
...
https://groups.google.com/g/zotero-dev/c/TvOfXVxwwkA/m/SdpU1QD7AAAJ
2023-02-25 01:40:10 -05:00
Abe Jellinek
fd85411e26
Preserve capitalization in Zotero.HTTP.request()
headers ( #3002 )
2023-02-24 02:15:07 -05:00
Dan Stillman
e18624e4b5
Fix startup error if DB corrupt and no backup files
...
Fixes #2996
2023-02-24 02:11:17 -05:00
Martynas Bagdonas
429970ad30
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-24 02:11:17 -05:00
Adomas Ven
ba06db2e19
Remove firefox-zotero IPC pipe and switching code ( #2990 )
2023-02-24 02:11:17 -05:00
Martynas Bagdonas
504e932d88
Add missing text color string
2023-02-24 02:11:17 -05:00
Martynas Bagdonas
f49a6bf807
Add more colors to pdf-reader, note-editor and introduce text color tool
2023-02-24 02:11:17 -05:00
Abe Jellinek
55b17c2b7e
Scaffold web template: Serialize multiples
...
Fixes #2980
2023-02-23 16:36:59 -05:00
Adomas Ven
cfbfcf20bf
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-02-10 10:26:49 +02:00
Dan Stillman
bcfdaaabab
Update Retraction Watch retraction reasons
2023-02-10 01:55:23 -05:00
Dan Stillman
bac87cbc42
Detect retractions for DOIs with capital letters
...
https://forums.zotero.org/discussion/102745/retraction-watch-not-working
2023-02-10 01:55:12 -05:00
Dan Stillman
c6bcc2572c
Add PDF reader tab title pref to General pane
2023-02-10 01:54:36 -05:00
Dan Stillman
3be8abeae2
Fix broken creator autocomplete if place
becomes a base field
...
Well this was a wild one to debug.
Creator fields were only initialized for autocomplete due to a series of
>10-year-old bugs:
1) In `showEditor()`, `Zotero.ItemFields.isAutocompleteField(fieldName)`
was called for creator fields, which would pass, e.g.,
`creator-0-lastName`.
2) In `isAutocompleteField()`, `ItemFields.getName()` would normalize
`creator-0-lastName` to `false`, since it's not a valid field.
3) `isAutocompleteField()` listed `place` as a base field despite its
not having any mapped fields, so when `getTypeFieldsFromBase()` was
called on it, the return value would be `false`, which would be added
to the list of autocomplete fields, which would mean that the
normalized field of `false` from `creator-0-lastName` would match,
which would mean that `isAutocompleteField('creator-0-lastName')`
would always return true...as long as `place` never gained a mapped
field.
Except `isAutocompleteField()` wasn't supposed to be the test for
initializing autocomplete for creator fields anyway -- `fieldName ==
'creator'` was. But `fieldName` is something like `creator-0-lastName`,
not `creator`, which meant that that test always failed, which meant
that if `place` did gain a mapped field, both tests would fail, which
would cause the creator field not to be initialized for autocomplete,
which would cause it to break as soon as you started to type into it.
This fixes that.
2023-02-10 01:39:31 -05:00
Martynas Bagdonas
a78860f092
Add Filename option for PDF tab title pref
2023-02-09 17:21:21 +00:00
Dan Stillman
382bde0fc2
Rename PDF tab title pref to include reader
...
In case we have a separate pref for notes or something else
(cherry picked from commit 6d0e5959e6
)
2023-02-09 17:21:21 +00:00
Martynas Bagdonas
c0c1d011fa
Add a hidden pref for tab title with support for Creator-Year-Title option ( #2985 )
...
(cherry picked from commit a5fb64f295
)
2023-02-09 17:21:21 +00:00
Dan Stillman
8272989171
Add DOMParser to plugin scope
2023-02-09 05:36:03 -05:00
Abe Jellinek
4865f8afca
Scaffold: Await more async functions
...
Might help prevent a deadlock I experienced when switching back to Zotero after
changing a translator file externally (although I can't reproduce it).
2023-01-23 12:32:30 -05:00
Dan Stillman
786d3db880
Revert "Limit Windows version to 2 PDF tabs in memory"
...
This reverts commit ffc8088ccd
.
I cherry-picked this, but it's not necessary in Zotero 7, which has a
Win64 build.
2023-01-17 23:09:05 -05:00
Dan Stillman
3d4b93c86a
Fix DOI field context menu not appearing after field edit
...
Context menu wouldn't appear again until the item box was refreshed
2023-01-17 23:05:48 -05:00
YFdyh000
bb5fe45f31
Show fieldLocalizedName in Scaffold - List All Fields ( #2965 )
2023-01-17 10:39:02 -05:00
Abe Jellinek
7e0b898765
fx-compat: Preferences: Fix pane script global object
...
Panes were being loaded with Zotero_Preferences as their global scope, so global
variables they defined would be set on that object instead of the window.
2023-01-17 10:28:57 -05:00
Adomas Venčkauskas
b6edaea54c
fx102: Fix Word for Windows initialization and prefs
2023-01-13 09:56:59 +02:00
Dan Stillman
c7da16f07d
Add protection against immediate retries in delayGenerator
2023-01-11 02:31:08 -05:00
Dan Stillman
6a1f0251cd
Fix incorrect retries if multiple HTTP.request() calls get 500s
...
https://forums.zotero.org/discussion/comment/425814/#Comment_425814
The passed intervals array was modified, so after a request() got a 500,
subsequent calls would start with longer delays and eventually start
retrying immediately.
2023-01-11 02:20:07 -05:00
Dan Stillman
437b457134
Additional logging for "Invalid sync state undefined"
...
https://forums.zotero.org/discussion/102186/invalid-sync-state-undefined
2023-01-08 02:02:28 -05:00
Martynas Bagdonas
ffc8088ccd
Limit Windows version to 2 PDF tabs in memory
...
Fixes zotero/zotero#2955
2023-01-08 02:02:28 -05:00
Abe Jellinek
7e7e8b88a2
LABD file relinking: Process using Unix paths ( #2961 )
2023-01-05 15:40:28 -05:00