Commit graph

14093 commits

Author SHA1 Message Date
Dan Stillman
20d6cde85f Remove obsolete initPDFToolsPath() in tests 2024-04-06 04:38:33 -04:00
Dan Stillman
c6256402e4 Fix logged error when changing data directory 2024-04-05 07:39:53 -04:00
Adomas Venčkauskas
1201cc5eb6 Add a comment about injected/overriden mozzila element styles 2024-04-05 14:20:53 +03:00
Adomas Venčkauskas
77f3be2bda Fix titlebar button breakage on macOS (6f8a1095) 2024-04-05 14:18:38 +03:00
Tom Najdek
b9de90c485
Mendeley importer: Sniff for mime-type if octet-stream reported. #3454 2024-04-05 12:57:52 +02:00
windingwind
4d05367f1d
Fix progress window title bar on win and linux (#3915) 2024-04-05 06:41:33 -04:00
windingwind
808fe9b665 Fix ItemDetails notifier type key 2024-04-05 18:39:53 +08:00
Adomas Venčkauskas
6f8a109574 fx115: Fix menubar text colour and window control buttons on Linux
Window control buttons are a regression in c8d49e76
2024-04-05 13:30:24 +03:00
Tom Najdek
9e5831a0bf
Fix misaligned spinner and flickering button in sync pref pane. Fix #3923
Using timeout in credentialsChange caused button to become momentarily disabled
making it flicker. I've verified that the delay is no longer needed and that the
button becomes disabled when using backspace to clear the login/password input field.
2024-04-05 12:05:47 +02:00
abaevbog
5f076dfeea
fx115: Citation dialog fixes (#3889)
- css tweaks for proper sizing and minor cleanup
of unused classes and properties
- added flip="none" for the panels to not bounce
around window's edges
- removed dialog's marginBottom on macOS - it doesn't
seem needed anymore
- close and reopen panel when window's height changes
on all platforms. It used to only happen on windows
but now the panel remains at it's original location on
macOS as well, so we'll always reopen the panel so
that is is positioned close to the dialog
- try to postion the panel in the middle on windows
- fix progress meter not appearing

* improved qf window drag

- not using old windowDraggingUtils since it causes
issues on windows with the mouse outrunning the window.
- instead, set -moz-window-drag: drag on dialog when
the mouse is over the red border
- added chromeutils param to the window. These are required
for dragging to work on windows and their values are
important because wrong values will cause the window to
shrink and basically disappear. 0,0,15,0 seems to work
most reliably though the reason why other values (e.g.
0,2,2,2 as on the ZoteroPane window) break window is not
clear
- added margins around the dialog on windows. moz-window-drag
doesn't seem to properly work for mouse clicks very close
to the window's edge
- with fx115, the <panel> does not follow the window
when it is dragged, so we have to hide the panel during dragging.
Unfortunately, mouseup/down events don't fire on the dialog when
moz-window-drag: drag is set on windows. Without these events,
as a workaround, we check window's position periodically and
hide/display the reference panel based on that.
- removed initial window.resizeTo() right when the content is
loaded. It's not needed and sometimes causes rendering
issues when the dialog appears shrunk.

* fx115 linux css edits

- try to make the dialog look like dialogs on other platforms.
Red background, no chrome etc. The actual window's background can't seem
to be transparant, so no round borders
- minor edits to sizing on linux
2024-04-05 12:07:24 +03:00
Tom Najdek
09eb9b4e77
fx115: Fix a couple of long tag fixer window size issues 2024-04-04 18:15:49 +02:00
Adomas Venčkauskas
e8df3c29dd Fix word processor add-on installation window being tiny. Closes #3906 2024-04-04 15:24:53 +03:00
Adomas Venčkauskas
34d857d310 fx115: Generate bibliography and doc prefs dialog fixes
- Use min-width: 100vw on the <dialog> element to prevent
  window.sizeToContent() from expanding the dialog unnecessarily on
  style selection
- Set the window min-width since fx115 width attribute on the window is
  ignored
- Set ids to persist position and dimensions
2024-04-04 15:24:53 +03:00
Dan Stillman
9df39c941b Fix error when unlinking account and deleting data
Fixes #3919
2024-04-04 07:10:04 -04:00
Abe Jellinek
1f5aca9c31
Create Bibliography: Fix "Language:" label alignment (#3921) 2024-04-04 02:11:39 -04:00
Tom Najdek
124b64f3a2
Skip importing annotations for non-PDF attachments 2024-04-03 13:21:52 +02:00
Abe Jellinek
ad661e9c8d
Preferences: Fix overflow at small window sizes (#3916) 2024-04-02 16:16:05 -04:00
Tom Najdek
5242851421
fx115: Fix "libraries to sync" appears in a tiny window
Also increased the width of the icon column to avoid truncation
2024-04-02 17:56:03 +02:00
Tom Najdek
0f6cae891d
JS Build: Fix watch exits if omni update fails 2024-04-02 17:38:15 +02:00
Abe Jellinek
009f2a5607
Bring Check for Updates to front if re-triggered, unify functions (#3861) 2024-04-02 06:42:35 -04:00
Abe Jellinek
0b04a518e7
Open CSL tools as chrome and use native controls (#3908) 2024-04-02 06:39:17 -04:00
Dan Stillman
db5db03c9c HTTP.checkSecurity(): Only throw for state == 'broken' 2024-04-02 06:22:14 -04:00
Dan Stillman
423393c78b Include domain in insecure-connection error 2024-04-02 06:22:14 -04:00
Dan Stillman
35aaa013ed Move ZoteroPane.syncAlert() to Sync.Runner.alert()
And use for sync setup in prefs so that it includes the dialog header
from the sync error messages
2024-04-02 06:22:14 -04:00
Tom Najdek
c16f5d1524 fx115: Fix detecting insecure connection no longer works 2024-04-02 06:22:14 -04:00
Dan Stillman
38287cec07 Fix error trying to delete a profile in Profile Manager
Regression from 23da0d70b0 -- commonDialog.xhtml now pulls in
include.js, but that window can be opened via Services.prompt.confirm()
in the Profile Manager when deleting profiles, which caused it to try to
initialize Zotero without an active profile, which was bad.

https://forums.zotero.org/discussion/112751/zotero-7-beta-68-error-when-attempting-to-delete-zotero-profile
2024-04-02 01:14:00 -04:00
windingwind
29c0460930
Fix ZoteroPane#loadURI with zotero: URLs (#3904) 2024-04-01 16:58:55 -04:00
Abe Jellinek
a78d1c3876
Fix window shrinking on each launch (#3910) 2024-04-01 16:33:38 -04:00
Abe Jellinek
669574b484
subprocess(): Use isAbsolute instead of checking for slash (#3911) 2024-04-01 16:22:05 -04:00
Dan Stillman
ff28541245 Fix webExtensionsMinPlatformVersion for fx115 (and maybe in general) 2024-04-01 15:23:35 -04:00
Abe Jellinek
2a114cef9b Preferences: Restore subpane Back button
It was technically still there, just offscreen. The wrapper element
was display: block, and some block layout quirk caused the button to
grow to fill the wrapper, which then put it offscreen when rotated.

This removes the wrapper and replaces it with a margin. Also fixes an
incorrect margin in RTL locales.
2024-04-01 11:57:00 -04:00
windingwind
751457268b Fix ItemDetails pinned pane with custom sections 2024-04-01 12:41:08 +08:00
windingwind
ee6b9d7af7 Refactor ItemPaneSection#_handleDataChange
Remove unused _handleDataChange and rename it to _handleItemChange
2024-04-01 11:35:36 +08:00
Tom Najdek
db499fdf2b
fx115: Fix basic viewer wrong window size 2024-03-31 13:00:41 +02:00
Tom Najdek
7bf0aa4958
fx115: Fix wizards
* Fix wrong window dimensions
* Fix missing buttons in import wizard
* Fix tiny items selector in RTF Scan Wizard
2024-03-31 12:39:12 +02:00
Dan Stillman
8bf8bfe804 Fix fetch_xulrunner error on Linux after eeefd1cc0 2024-03-31 06:29:13 -04:00
Dan Stillman
eeefd1cc0d Fix fetch_xulrunner error on Windows after 982d08798 2024-03-31 06:25:47 -04:00
Dan Stillman
72168a27ec Add default value for args parameter in subprocess() 2024-03-31 05:26:12 -04:00
Dan Stillman
5d150958de Use absolute path when running sw_vers 2024-03-31 05:26:12 -04:00
Dan Stillman
982d087987 Ignore relative paths in PATH in Subprocess.pathSearch()
Used by Utilities.Internal.subprocess() if a bare command is given
2024-03-31 05:26:12 -04:00
Dan Stillman
95f6d2aa72 Update builds to Firefox 115.9.1esr
This fixes the Mac launcher, which had been ARM-only. (This launcher is
built from 115.9.0esr, because 115.9.1esr, a recent security fix,
doesn't seem to have a public tag yet.)

The Windows build seems to work without updating the launcher from
115.4.0esr.
2024-03-31 05:25:03 -04:00
Dan Stillman
e1411982b2 Set Safari extension LSMinimumSystemVersion to Mojave for betas 2024-03-31 05:22:21 -04:00
Dan Stillman
f86d1e1d07 Update Firefox patch and mozconfig for Firefox 115 2024-03-31 05:22:11 -04:00
Dan Stillman
a45be190ea Fix incorrect instance of PathUtils.join() instead of joinRelative() 2024-03-30 08:10:33 -04:00
Dan Stillman
b9aced95c3 Make IOUtils and PathUtils available in require() scope 2024-03-30 07:19:28 -04:00
Dan Stillman
26bfe3dbdc CI: Fix "invalid ELF header" error for libc.so in OS.File.unixSymLink() 2024-03-30 07:00:52 -04:00
Dan Stillman
38e4fea455 Change "Add-ons" to "Plugins" in Tools menu
Addresses #3354
2024-03-30 05:13:03 -04:00
Dan Stillman
0d9a34ba28 Better styling of plugin homepage links 2024-03-30 05:13:03 -04:00
Dan Stillman
4ece2fdd19 fx115: Fix build error due to change to plugin homepage links 2024-03-30 04:55:36 -04:00
Dan Stillman
1ae4d12a39 Tweak error text when registering custom item-pane sections 2024-03-30 04:44:32 -04:00