Abe Jellinek
1ecc0b113b
fx-compat: Item box: Fix auto-scroll functions
2022-08-05 12:32:03 -04:00
Abe Jellinek
cb14564174
fx-compat: Item box: Prevent editor from reopening after close
...
We did need to reset _lastTabIndex as the line removed in fbc25834
did, but
only immediately surrounding the saveTx() call.
2022-08-05 12:10:16 -04:00
Abe Jellinek
57abea5416
fx-compat: Item box: Remove some dead code
...
All already being handled by CSS (besides the exact character length limits, but
it's not clear that we really need those - we just ellipsize if it visually
overflows now, which seems fine).
2022-08-05 11:57:54 -04:00
Abe Jellinek
4e6fe4d119
fx-compat: Remove temp item type menulist logging
2022-08-05 11:49:14 -04:00
Abe Jellinek
1c36406b1e
fx-compat: Item box: Fix removing creator while editing it
2022-08-05 11:45:58 -04:00
Abe Jellinek
361a83c378
fx-compat: Item box: Restore batch paste behavior
...
Since <input>s are single-line, we do the split operation on paste instead of on
blur.
2022-08-05 11:45:58 -04:00
Dan Stillman
53a09bb912
Add reason
parameter for plugin bootstrap methods
...
As documented on https://wiki.mozilla.org/Extension_Manager:Bootstrapped_Extensions
And fix method names for `install()` and `uninstall()`
2022-08-05 04:51:07 -04:00
Dan Stillman
51f9150410
fx-compat: Initial plugin support
...
Plugins are ZIPs containing at least these two files:
- manifest.json: A WebExtension MV2 manifest with basic metadata
properties and `applications.gecko` with `id` and `update_url`
- bootstrap.js: A bootstrap file, similar to old bootstrapped extensions,
with `installed()`, `startup()`, `shutdown()`, and `uninstalled()`
2022-08-05 01:08:51 -04:00
Dan Stillman
e82e808f2b
Update definition style of Zotero.log()
and Zotero.logError()
2022-08-05 01:08:51 -04:00
Dan Stillman
e6256d60ec
fx-compat: Fix logging to the browser console
2022-08-05 01:08:51 -04:00
Abe Jellinek
080ada78ee
fx-compat: Item box: Prevent tabbing to hidden firstName
2022-08-04 17:20:01 -04:00
Abe Jellinek
fbc2583433
fx-compat: Item box: Fix tabbing
2022-08-04 17:02:41 -04:00
Abe Jellinek
7a22458ed4
fx-compat: Item box: Fix fieldMode resetting on blur
...
The fieldMode attribute of the input was being set by the call to
switchCreatorMode(), but it didn't carry over to the label that replaces it on
line 1997.
Also removed a debug line and cleaned up a bit.
2022-08-04 16:50:48 -04:00
Abe Jellinek
581f4bdf7b
fx-compat: Fix parameter name typo
2022-08-04 15:10:32 -04:00
Abe Jellinek
617ede481a
fx-compat: Add roles to banners
...
Fixes #2655 (with 0983ff)
2022-08-04 14:52:16 -04:00
Abe Jellinek
c7fc98dff6
fx-compat: editContextMenu -> editMenuOverlay
...
To reflect that it now handles the menu bar Edit menu as well.
2022-08-02 15:50:44 -04:00
Abe Jellinek
64155bf58f
fx-compat: Fix edit context menu
...
The menupopup needs to be in a popupset to show correctly.
2022-08-02 15:49:06 -04:00
Abe Jellinek
27841acb83
fx-compat: Select items dialog: Fix search and make functional
2022-08-01 15:39:57 -04:00
Abe Jellinek
f8ac57bdb1
fx-compat: Don't focus dropdown in quick search textbox
...
To match old behavior and fix autofocus.
2022-08-01 15:22:25 -04:00
Abe Jellinek
d018133e9b
fx-compat: Use html-tooltip everywhere
...
And convert tooltiptext attributes on item box HTML elements to titles.
2022-08-01 15:02:42 -04:00
Abe Jellinek
812511e31b
fx-compat: Open DOI popup as native menu, too
2022-08-01 14:29:35 -04:00
Abe Jellinek
bcf62e688f
fx-compat: Item box: Use addEventListener()
2022-08-01 14:27:46 -04:00
Adomas Venčkauskas
41907975b0
Adjust integration function comments and test dummy signature
2022-07-26 10:53:05 +03:00
Abe Jellinek
808375d5e3
fx-compat: Item box: Fix creator name field sizing
...
Not the exact same sizing as Fx60, because that relied on some quirks
of the Mozilla box model that I can't reproduce with flexbox, but still
works about as well.
2022-07-21 16:12:28 -04:00
Abe Jellinek
26a2398399
fx-compat: Restore guidance panels as CE
...
Fixes #2711 .
2022-07-20 11:12:52 -04:00
Dan Stillman
7b10182e4a
Disable obsolete "Open in External Viewer" menu option
...
Hasn't done anything since in-browser viewing of certain file types in
Zotero 4 for Firefox. Perhaps we'd bring it back at some point, but
disable for now.
2022-07-19 22:38:01 -04:00
Dan Stillman
744837cce7
fx-compat: Remove Zotero.MIME.hasInternalHandler()
...
Hasn't been relevant since the Firefox NPAPI days, but was returning
true for `application/pdf` (possibly due to the bundled pdf.js in
Firefox still being included in our builds, which we should remove if
so), which was causing "Open in External Viewer" to appear, even though
it just opened the internal reader.
2022-07-19 22:38:01 -04:00
Abe Jellinek
5e6dc290b6
fx-compat: Scaffold: Read ESLint output from stdin
...
Need to update your zotero/translators clone to get linting working again.
2022-07-19 16:26:17 -04:00
Abe Jellinek
14f79018ad
fx-compat: Scaffold: Fix "undefined" attributes
2022-07-19 14:44:28 -04:00
Abe Jellinek
db3aa5248c
fx-compat: Scaffold: Fix list overflow in Tests
2022-07-19 14:44:28 -04:00
Abe Jellinek
8ff75607a5
fx-compat: Item box: Disable guidancepanel trigger + cleanup
2022-07-19 14:44:28 -04:00
Abe Jellinek
6f8c5d7c51
fx-compat: Item box: Make vertically scrollable
2022-07-19 14:44:20 -04:00
Abe Jellinek
083e3c7a36
fx-compat: Search: Clear join mode condition
...
Fixes an error that prevents changing the join mode from having an effect
after clearing the search when a join mode was already set. Bug also
present on master, not introduced with fx102.
2022-07-12 22:01:20 -04:00
Abe Jellinek
fba349b144
fx-compat: Remove more unused binding CSS
2022-07-12 14:55:12 -04:00
Abe Jellinek
5f8a5056f1
fx-compat: Remove unused progress display
2022-07-12 14:50:53 -04:00
Abe Jellinek
5c6837c1fc
fx-compat: Add copyright to CE base
2022-07-12 14:47:24 -04:00
Abe Jellinek
916627b590
fx-compat: Scaffold: Fix indentation using spaces
2022-07-11 13:03:48 -04:00
Abe Jellinek
dc96c1a175
fx-compat: Fix ZP progress queue button creation
2022-07-11 13:02:51 -04:00
Abe Jellinek
ab6b683d90
fx-compat: More progress on platform menus ( #2675 )
...
Not able to test on non-Mac yet, but this behavior should be right.
Removes all the #ifdefs and moves the behavior into platformKeys.js.
2022-07-07 00:04:13 -04:00
Abe Jellinek
9a8e78aaf4
fx-compat: Restore quick search menu and update styles ( #2684 )
2022-07-06 23:42:23 -04:00
Abe Jellinek
bc41c3b7b0
fx-compat: Make changelog link in About work
2022-07-06 15:24:31 -04:00
Abe Jellinek
abe19b9435
fx-compat: Fix error when v-t tooltip shows
2022-07-06 11:12:44 -04:00
Abe Jellinek
0983ffbef2
fx-compat: Make sync / retraction links tabbable
...
Addresses #2655 . Still need to add roles.
2022-07-06 10:53:08 -04:00
Abe Jellinek
8face792c0
fx-compat: Fix search dialogs ( #2631 )
2022-07-04 01:48:52 -04:00
Abe Jellinek
b78b9cad1f
fx-compat: Duplicates: UI fixes
...
- Scroll vertically
- Restore margins between groupboxes
- Restore field version dropmarker
2022-06-30 12:32:11 -04:00
Abe Jellinek
97786bfa77
fx-compat: Fix multiline Add Item by Identifier
...
Now just one textarea instead of an input and a textarea.
Fixes #2677
2022-06-30 11:48:15 -04:00
Abe Jellinek
f81b4b071f
fx-compat: Correct create[XUL]Element[NS]() calls
...
This fixes the dictionary manager and various other places where a XUL
element was being created with createElement(), and also simplifies a lot
of createElementNS(HTML_NS, ...) calls.
This might cause some minor regressions but everything tested has
worked. Not touching preferences (#2659 ) or bindings.
2022-06-29 11:14:40 -04:00
Abe Jellinek
8b7d959781
fx-compat: Fix column picker context menu
2022-06-29 09:27:11 -04:00
Dan Stillman
4fcde6c8c5
fx-compat: hiddenWindow.xul → hiddenWindow.xhtml
2022-06-29 06:17:21 -04:00
Dan Stillman
41f54624b1
fx-compat: Fix "Hide {-brand-shorter-name}" in Mac application menu
2022-06-29 03:38:16 -04:00