Commit graph

15140 commits

Author SHA1 Message Date
windingwind
c1c2bc76b7 fx128: Enable -moz-context-properties for SVG context properties 2025-01-07 23:50:46 -05:00
Dan Stillman
bc3c05d064 CI: Update to dpl v2 2025-01-07 01:32:25 -05:00
Dan Stillman
74216a5887 Update note-editor and reader submodules 2025-01-07 01:24:40 -05:00
Dan Stillman
9bee1b1d79 Update builds to 128.6.0esr
128.5.0 launcher still works
2025-01-07 01:15:49 -05:00
abaevbog
5fd94e22df
remove wrong aria-autocomplete from search-textbox (#4966)
searchButton setter in search-textbox element adds aria-autocomplete
to the input. It makes screen readers announce that there is an autocomplete
popup, which is misleading (even though it is appropriate for
firefox that actually does have autocomplete-like dropdown).
This overrides the searchButton setter to remove aria-autocomplete
attribute.

Addresses: zotero#4932
2025-01-03 05:14:36 -05:00
Dan Stillman
805378e49f Update version to 7.1 2025-01-03 01:21:57 -05:00
Dan Stillman
c672392fe4 Move misplaced line in build script 2025-01-03 01:21:57 -05:00
Dan Stillman
7e7ceffd77 Move utility functions for build to separate file
`replace_line`, etc.

To make them available to both build.sh and fetch_xulrunner
2025-01-03 01:21:57 -05:00
windingwind
9777d21001
Fix export error of item.tags being undefined (#4962)
Item generated from embedded image attachment may not have attribute `tags`.
2025-01-03 00:48:31 -05:00
abaevbog
7dad8377df
qf: default arrowUp handling on locator menulist (#4965)
Do not close details panel on arrowUp when locator
type menulist is focused to allow for default handling
(e.g. select the next/previous option on windows).

Fixes: #4953
2025-01-02 22:42:38 -05:00
Dan Stillman
0b44461a66 Fix Zotero.locked getting stuck on in data directory tests
This caused later DB tests to fail due to backups not running.
2025-01-02 07:41:16 -05:00
Dan Stillman
6ee556500d fx128: Implement non-incremental backup option
A new function, `Zotero.DB.backUpDatabase()`, by default makes offline
backups, by closing the database, doing a regular file copy, and
reopening the database. It takes an options object with an `online`
flag to make online, incremental backups that can take multiple minutes
to complete, though for now we're still running them on idle.

The old function, `Zotero.DB.backupDatabase(suffix, force)`, is
deprecated and proxies to the new function, making offline backups.

Fixes #4935
2025-01-02 02:56:41 -05:00
Dan Stillman
54db192be8 Update eslint config to new flat config format
https://eslint.org/docs/latest/use/configure/migration-guide
2025-01-02 01:31:31 -05:00
abaevbog
7b7a0b9e46
save tagsBox updates when another item is selected (#4945)
When tagsBox item is changed by clicking on an itemTree row,
the blur even never fires on the currently focused tag. So
whatever changes were made will be discarded. To avoid it,
blur any opened tag rows (which triggers a saveTx)
when an item is being set, same way it is done in itemBox.

Also, a small tweak to properly fetch the focused tag
via editable-text:focus-within selector, since editable-text:focus is
always empty because the focus is on the input inside of
editable-text.

Fixes: #4942
2024-12-20 02:55:33 -05:00
abaevbog
a89e0a1554
hide switch creator type in non-editable itembox (#4940)
Fixes: #4937
2024-12-20 02:52:06 -05:00
Dan Stillman
001c94b585 Update reader submodule 2024-12-20 02:49:54 -05:00
Dan Stillman
20e28d3f9e Fix handling of redirecting OpenURL base URLs with url query parameter
For a URL like
`https://ezproxy.school.edu/login?url=http://resolver.ebscohost.com/openurl`,
without a trailing `?`, we were just adding a `%` to the end, making the
URL invalid after the redirection (`/openurl&url_ver=Z39.88-2004`
instead of `/openurl?url_ver=Z39.88-2004`).

(And apparently no one who sent in these URLs actually tested them
in-app?)
2024-12-20 02:47:36 -05:00
Dan Stillman
244d182293 Fix logged error in integration progress bar
After b007bd4364
2024-12-20 02:37:25 -05:00
Dan Stillman
e8b1ea5b55 Update Word for Windows submodule 2024-12-20 02:31:25 -05:00
Abe Jellinek
fa48e978c7 Serialize _ensureFeedAbstractBrowserExists()
Prevent a potential race condition.
2024-12-18 12:20:00 -05:00
Abe Jellinek
013a814765 fx128: Fix feed abstracts
Closes #4938
2024-12-18 12:19:30 -05:00
abaevbog
cddbbdd208
fx128: fix broken database backup (#4931)
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1869060#c18,
the backup utility was removed from the storage service and
exposed durectly on the connection itself in fx128.

Fixes: #4929
2024-12-18 07:11:27 -05:00
Dan Stillman
7031d1928a Update note-editor submodule 2024-12-18 07:00:36 -05:00
Dan Stillman
878d1cc401 fetch_xulrunner: Automatically cache unmodified Windows Firefox 2024-12-18 04:25:47 -05:00
Dan Stillman
485033b4a4 fx128: Fix new errors trying to load removed remote-settings.sys.mjs
Fixed previously in 297af9b40
2024-12-18 04:15:38 -05:00
Martynas Bagdonas
b806b41b6f Render ink annotation images when previewing attachment annotations 2024-12-17 18:29:48 +02:00
Martynas Bagdonas
aa4f942b26 Update pdf-worker submodule
Fixes https://forums.zotero.org/discussion/120554/consistent-failures-to-export-annotated-pdf
2024-12-17 17:58:09 +02:00
Bogdan Abaev
b007bd4364 fx128: hide titlebars in dialogs on win and mac
Use titlebar.js to hide titlebars in windows and mac
in all relevant dialogs and windows.
2024-12-16 16:15:18 -05:00
Abe Jellinek
4d90fe72bd CookieSandbox: Fix XHR interface check
Actually broken since fx115.
2024-12-16 12:21:55 -05:00
Dan Stillman
e80b5787fe Switch 'dev' channel builds back to main 2024-12-14 01:20:49 -05:00
windingwind
28e7966973 Fix ZoteroPane#buildFieldTransformMenu document variable (#4927)
fix: https://groups.google.com/g/zotero-dev/c/FwfrxviKi8I
2024-12-14 01:16:06 -05:00
abaevbog
b0fab21cc3 fx128: tweak titlebar border color (#4928)
Followup to: #4924
Addresses: #4922

Pre-fx128, --toolbar-field-border-color was ThreeDShadow,
while right now it is --input-border-color, which looks
more prominent.

Setting border color explicitly for ThreeDShadow now would make
the border look a bit blurry, while transparent border looks closest
to pre-fx128 look.
2024-12-14 01:16:06 -05:00
windingwind
42b97d8fcd fx128: dialog window background (#4921)
fix: #4917
2024-12-14 01:16:06 -05:00
abaevbog
d63c39acff fx128: hide 'Run on sites with restrictions' from plugins page (#4925)
Remove 'Run on sites with restrictions' row from Tools > Plugins tab

Fixes: #4885
2024-12-14 01:16:06 -05:00
Dan Stillman
f118d49d24 update-packaging updates from Mozilla 2024-12-14 01:16:05 -05:00
Dan Stillman
1fa34daeef Better fix for filename with spaces in xz_to_bzip
And some associated Mozilla fixes for the same file ("Firefox Media
Plugin Helper")
2024-12-14 01:16:05 -05:00
abaevbog
ee66d2042b fx128: cover transparent titlebar gap on linux (#4924)
Fixes: #4922
2024-12-14 01:16:05 -05:00
Adomas Ven
e3b243ba45 Remove missing-component integration error. (#4923)
This is no longer a thing since word plugins are not Zotero extensions.
If that code throws - it's because we've done something wrong and it's
a bug
2024-12-14 01:16:05 -05:00
Dan Stillman
d580e420d3 Quick fix for inconsistent logging in updates window 2024-12-14 01:16:05 -05:00
Dan Stillman
ca1e9bc467 fx128: Fix app updates 2024-12-14 01:16:05 -05:00
Dan Stillman
967b0c6df4 xz_to_bzip: Wrap filenames in quotes
fx128 has a helper app with spaces in the filename
2024-12-14 01:16:05 -05:00
Dan Stillman
fed4097384 Use fx128 branch for 'dev' channel builds 2024-12-14 01:16:05 -05:00
Dan Stillman
0152769201 Handle dev channel properly in set-channel-prefs-channel 2024-12-14 01:16:04 -05:00
Dan Stillman
fd7e0ec640 Adjust macOS signing
- Only use entitlements when necessary
- Pass list of files from `find` command to single `codesign` call
2024-12-14 01:16:04 -05:00
Dan Stillman
507fd519bb Omit minidump-analyzer and nmhproxy from Firefox on macOS 2024-12-14 01:16:04 -05:00
Dan Stillman
a9e68d9530 fetch_xulrunner: Automatically cache unmodified Linux Firefox 2024-12-14 01:16:04 -05:00
Dan Stillman
468155c548 fx128: Fix broken Help menu on first open on Linux
Only assign a key to "Support and Documentation" on macOS

Fixes #4918
2024-12-14 01:16:04 -05:00
Dan Stillman
43f9d98c16 fx128: Fix Authorization handling in WebDAV test
Caching Basic Auth credentials with an OPTIONS on /zotero no longer
seems to cause Firefox to pass an Authorization header for
/zotero/AAAAAAAA.prop, so update test to send 401 for the .prop request.
(Presumably /zotero/BBBBBBBB.prop would at least still get the Authorization
header without a 401, but I didn't test that.)
2024-12-14 01:16:04 -05:00
Dan Stillman
fa20733353 fx128: Fix login manager for WebDAV
Only `addLogin` → `addLoginAsync` is necessary at this time, but
`findLogins` is deprecated, so switch to `searchLoginsAsync` as well.
2024-12-14 01:16:04 -05:00
Dan Stillman
d6f3acfede fetch_xulrunner: Automatically cache unmodified Mac Firefox
To avoid redownloading from Mozilla whenever fetch_xulrunner runs. We
might want to add cleanup of old versions at some point.

We should add this for Windows and Linux too.
2024-12-14 01:16:04 -05:00