Abe Jellinek
bcb4220d00
Preferences: Use XUL <label>s around HTML <h2>s
...
Fixes #2836
2022-10-05 12:05:23 -04:00
Adomas Venčkauskas
0bbad7a2db
Fix item list row text not read when using non-contiguous kb selection
...
Closes #2830
2022-10-03 15:20:56 +03:00
Abe Jellinek
5ef9a3116c
Preferences: Restore Help button ( #2803 )
...
Having the macOS Help button in a scrolling view feels kind of weird, but that's
what Apple is doing in the Ventura System Settings app, so I guess we go with
it. I like it better than Firefox's non-contextual "Firefox Support" button
under the pane list in their preferences, anyway - having pane-by-pane
contextual help buttons seems like good UX that there isn't a good reason for us
to ditch.
2022-10-03 07:35:40 -04:00
Abe Jellinek
b8966f7878
fx-compat: Fix zotero://
protocol for reports ( #2825 )
...
- The protocol can no longer be marked "dangerous to load," only "UI resource"
(accessible inside browsers but not by web pages).
- The protocol needs to run in the main process.
- We need to replace the XUL browser to reset its type attribute depending on
whether we're loading a zotero protocol URI - zotero protocol URIs, maybe due
to the protocol handler's tight coupling with the main process, cannot load in
type="content" browsers.
2022-10-03 07:31:17 -04:00
Dan Stillman
fe391a1026
Add 15 and 16 as note font size options in menu
...
https://forums.zotero.org/discussion/100079/notebook-fonts
2022-10-03 06:47:17 -04:00
Dan Stillman
47c939561c
Remove default OpenURL gateway
...
https://www.worldcat.org/registry/gateway is no longer supported -- see
https://forums.zotero.org/discussion/comment/418373/#Comment_418373 for
details
If no resolver is selected, show an error on "Library Lookup" with a
button to open the prefs.
2022-10-03 06:47:17 -04:00
Dan Stillman
817ca999e3
Swap "Split Vertically" and "Split Horizontally" in PDF reader
2022-10-03 06:47:17 -04:00
Dan Stillman
4f10c00c71
Add Number as items list column option
...
https://forums.zotero.org/discussion/99844/add-columns-to-desktop-app-report-number
2022-10-03 06:47:17 -04:00
Martynas Bagdonas
d484d16128
Prevent error when creating a note from annotations that have ink
...
(cherry picked from commit 4fdf43ed92
)
2022-09-30 13:25:06 +03:00
Martynas Bagdonas
764d1b006e
Import external annotations before trying to add a note from annotations
...
(cherry picked from commit 9691fcafc2
)
2022-09-30 13:25:06 +03:00
Martynas Bagdonas
61c0dfee38
Add split view for PDF reader ( #2832 )
...
Fixes #2821
2022-09-29 14:28:47 +03:00
Dan Stillman
f40b215753
fx-compat: Restore error reporting wizard
2022-09-28 06:56:39 -04:00
Dan Stillman
03532e1289
fx-compat: Fix Zotero.getInstalledExtensions()
2022-09-28 06:56:24 -04:00
Tom Najdek
76ff32098f
fx-compat:Creator buttons keyboard accessible #999 ( #2833 )
2022-09-23 04:18:24 -04:00
Dan Stillman
e0ccce4072
fx-compat: Fix 'dev' channel warning not appearing
2022-09-22 03:41:11 -04:00
Dan Stillman
542a6adf84
Zotero.Plugins.getResourceURI()
→ getRootURI()
...
To go with the `rootURI` string variable passed to bootstrap methods
2022-09-20 00:39:21 -04:00
Dan Stillman
acc4d2a81b
Update paths for Mozilla Fluent files
...
Follow-up to zotero/zotero-standalone-build@600b35d
2022-09-15 18:39:19 -04:00
Dan Stillman
dda60995a3
fx-compat: Fix app update dialog
...
Styling needs to be redone, but it works.
2022-09-15 06:29:14 -04:00
Dan Stillman
35d5c2633d
fx-compat: Add app update dialog files from fx68
...
Removed in fx69
Not yet functional
2022-09-15 06:29:14 -04:00
Dan Stillman
e955583d2c
Update translate submodule
2022-09-15 06:29:14 -04:00
Martynas Bagdonas
7cd57cd9e4
Fix focusContextPane
error when pressing tab in standalone PDF window
...
Fixes #2823
2022-09-15 12:01:34 +03:00
Abe Jellinek
500f187a60
Scaffold: Remove useless debug
2022-09-13 11:20:41 -07:00
Martynas Bagdonas
82b53fee87
Fix PDF reader sometimes showing UTC time and sometimes local
...
(cherry picked from commit c13d17b5e6
)
2022-09-13 17:16:08 +03:00
Martynas Bagdonas
531f8fe24d
Convert Mendeley colors to equivalent Zotero colors on PDF open
...
Fixes #2820
(cherry picked from commit eb255c5868
)
2022-09-13 17:16:08 +03:00
Tom Najdek
223f44fdfd
Map annotation colors colors on import #2819 ( #2822 )
2022-09-12 19:58:21 -04:00
Abe Jellinek
7829a0dfdc
fx-compat: Style Editor: Fix error when no style selected
2022-09-12 14:06:58 -07:00
Abe Jellinek
52e8fa8995
Prune Monaco distribution, fix JS acting like TS in Scaffold
...
We don't need most of the bundled languages or localizations, so they were just
taking up disk space pointlessly.
2022-09-12 14:06:17 -07:00
Dan Stillman
88869f43ae
Merge new English strings
2022-09-12 15:54:11 -04:00
Dan Stillman
a63c634e3f
Add "Create Note from Annotations" option to items list context menu
...
To allow creation of a standalone note with annotations from all the
selected top-level items and/or attachments. Annotations will be sorted
by the order of the items in the items list.
"Add Note from Annotations" remains when a single regular item or one or
more attachments under a single regular item are selected.
2022-09-12 15:54:03 -04:00
Dan Stillman
e81b43be98
Add collectionID
option to EditorInstance.createNoteFromAnnotations()
...
For adding a standalone note to the current collection
2022-09-12 15:54:03 -04:00
Dan Stillman
39e45221b1
Rename Zotero.Items::keepParents() to keepTopLevel()
...
So that it works for more than two levels of items
Also fix a bug where the parent item could be returned more than once if
multiple child items were selected.
2022-09-12 15:54:03 -04:00
Dan Stillman
497d6376c8
Add Zotero.Item::topLevelItem and Zotero.Items.getTopLevel(items)
2022-09-12 15:54:03 -04:00
Martynas Bagdonas
f70ec29881
EditorInstance.createNoteFromAnnotations(): Handle multiple attachments
2022-09-12 15:54:03 -04:00
Abe Jellinek
dbbc6a2f44
fx-compat: Basic viewer: Restore loadURI() for Zotero.openInViewer()
2022-09-09 13:46:19 -07:00
Martynas Bagdonas
20aa40c5d2
Adjust PDF reader and context pane UI based on font size pref
...
Fixes #2809
(cherry picked from commit 64897455f4
)
2022-09-09 18:10:25 +03:00
Abe Jellinek
94392fce96
fixup: Option-P was supposed to push, not type pi
2022-09-07 11:17:47 -04:00
Abe Jellinek
df9d8d593c
fx-compat: Fix sync button tooltip
...
XULTooltipElement now prepends a <description> node, so the nodes we were
getting were off by one. Just use class names for all the children.
2022-09-07 11:15:55 -04:00
Martynas Bagdonas
9f9dde511e
fx-compat: Flex grow note-editor when using in contextPane
2022-09-07 17:26:12 +03:00
Martynas Bagdonas
7317b61425
fx-compat: Fix note-editor initialization
2022-09-07 17:26:12 +03:00
Martynas Bagdonas
9d584152f0
fx-compat: Fix contextPane after b5bdae3d
2022-09-07 17:26:12 +03:00
Abe Jellinek
74051576dd
Hide "Find Available PDF" for feed items ( #2807 )
2022-09-06 18:46:13 -04:00
Martynas Bagdonas
04120099fb
Allow inserting images over context menu
...
Fixes #2759
(cherry picked from commit f893206dfd
)
2022-09-06 17:11:41 +03:00
Martynas Bagdonas
75a080b7cb
fx-compat: Tweak image copying to clipboard
2022-09-06 17:05:52 +03:00
Martynas Bagdonas
80385ff893
Add context menu options to copy/save image from pdf-reader/note-editor
...
Fixes #2664
2022-09-06 16:48:13 +03:00
Abe Jellinek
dbc65faecb
Preferences: Don't add IDs to pane containers
...
Built-in panes were creating a semi-invalid DOM in which the pane container and
the root element of the pane's XHTML got the same ID. There's no reason to give
containers IDs in the DOM, since we already have a Map of IDs to pane objects,
so let's just not.
2022-09-02 11:22:50 -04:00
Abe Jellinek
5d6ad703c1
Preferences: Fix tests, improve clarity, and more
...
- Fix sync and advanced preferences tests; use a new waitForFirstPaneLoad()
functions instead of the old paneload event listener
- Remove empty preferences_searchTest.js
- Rename some Zotero_Preferences members/functions for better clarity and
public/private differentiation
- Reorder, also for clarity
- Fix tabIndex parameter causing an error if invalid
- Remove window.sizeToContent() call in Sync.displayFields()
- So *that's* why the window resized every time the sync pane was loaded...
- Deprecate openURL() and simplify openInViewer()
2022-09-02 11:01:37 -04:00
Martynas Bagdonas
11b0afc0bd
Add missing noteEditor.mathBlock
string
...
(cherry picked from commit a3b45a74e9
)
2022-08-31 16:00:01 +03:00
Dan Stillman
a4f802806c
Use items-list sort order for report from collection or saved search
...
https://forums.zotero.org/discussion/99284/exporting-a-report-sorted-by-first-date
Regression from HTML tree
2022-08-30 16:22:53 +02:00
Abe Jellinek
0fe394082c
fx-compat: Scaffold: Prevent Space from scrolling translator list
2022-08-30 10:07:15 -04:00
Dan Stillman
00b24f85c9
Fix HTTP.request() 5xx handling with errorDelayMax=0
...
This was causing delay-less infinite loops for OPTIONS requests to Box,
which are returning 502 errors.
2022-08-29 23:46:58 +02:00