Martynas Bagdonas
c62b95a9a2
Update pdf-reader submodule
2023-05-04 07:22:23 +01:00
Dan Stillman
15674daeae
Update Linux build to Firefox 102.10.0esr
2023-05-03 01:44:48 -04:00
Dan Stillman
febc2fcc7d
fx-compat: Wait until request completion in WebProgressFinishListener
...
`nsIWebProgressListener.onStateChange()` gets called twice at the end of
requests, once with `stateFlags` set to `327696` and once with it set to
`262160`, which corresponds to `STATE_STOP + STATE_IS_NETWORK +
STATE_IS_REQUEST` and `STATE_STOP + STATE_IS_NETWORK`. httpd.js debug
logging shows that the connection is closed between the two calls. In
WebProgressFinishListener, we were previously calling `onFinish` after
the first one, but in Zotero 7, at least on Linux (or maybe just on
slower machines due to a race condition), the file from `saveURI()`
doesn't appear to be reliably written after the first call, causing
`Attachments.downloadFile()` to fail in `_enforcePDF()` due to an empty
file.
This changes WebProgressFinishListener to wait until the second
`STATE_STOP` call. We'll have to confirm whether this is the
state-change pattern for all requests, but it fixes our Find Available
PDF tests in CI.
2023-05-01 02:52:37 -04:00
Dan Stillman
e6776fd922
Skip 32-bit Linux build in CI or tests
2023-04-30 06:10:14 -04:00
Dan Stillman
2dc5eecfac
Avoid URLDecorationAnnotationsService errors on every network request
2023-04-30 05:25:50 -04:00
Dan Stillman
296c0142f2
fx-compat: OS.File.read()
→ IOUtils.read()
in getContentsAsync()
...
https://firefox-source-docs.mozilla.org/dom/ioutils_migration.html
This also fixes a bug when `getContentsAsync()` is passed an
`nsIInputStream` or `nsIChannel` where raw bytes were returned instead
of a string. Not sure if we're doing that anywhere. If we are, this
would presumably break that code, but the function is supposed to return
a decoded string.
2023-04-30 05:23:41 -04:00
Dan Stillman
2f6f2feade
for…in
→ for…of
in sniffForMIMEType()
2023-04-29 18:50:39 -04:00
Dan Stillman
0858960d33
Better logging for request count mismatches in Find Available PDF tests
2023-04-29 17:50:49 -04:00
Dan Stillman
b80b19d3da
Update version in package.json
...
(Makes no difference, but echoed in test output)
2023-04-29 17:39:08 -04:00
Dan Stillman
4ec357bb26
Use pdf-worker to extract text for item.attachmentContent
if no cache
2023-04-29 17:38:14 -04:00
Dan Stillman
adf2d92471
Cleaner error if prepare_build fails due to missing 'build' dir
2023-04-29 16:28:50 -04:00
Dan Stillman
c326a6c971
Fix more files for combined repos
2023-04-29 07:50:54 -04:00
Dan Stillman
79ef3e3571
Fix path to staging Zotero in test runner on Linux
2023-04-29 07:22:02 -04:00
Dan Stillman
78cc8cc8c9
Don't open Error Console when running tests in CI
2023-04-29 07:14:51 -04:00
Dan Stillman
3905f9d5b3
Move fetch_xulrunner
and fetch_mar_tools
into app/scripts
2023-04-29 07:14:51 -04:00
Dan Stillman
9a5275b92a
Stop bundling the PDF tools
2023-04-29 07:14:51 -04:00
Dan Stillman
a497f501e9
Update pdf-worker and update full-text test
...
Strip '\f' at end of extracted text and ignore '\n' in the middle of
text from the test PDF
2023-04-29 04:56:28 -04:00
Dan Stillman
26dade03f2
Z7: Fix ZoteroPane tests
2023-04-29 04:27:48 -04:00
Dan Stillman
8fc94a5560
Z7: Fix loadPrefPane()
test support function
2023-04-29 04:21:09 -04:00
Dan Stillman
7e6af7f541
Remove executable version output in test runner
...
Now that we're using our own build, we output it in other places
2023-04-29 04:20:33 -04:00
Dan Stillman
e46ae13a5a
Remove resizabledialog.xml binding
2023-04-29 03:15:39 -04:00
Dan Stillman
95455dbd83
Fix tagsbox tests after shadow root removal
2023-04-29 03:15:15 -04:00
Dan Stillman
4a77bc4be0
fx-compat: Update conflict resolution merge window ( #3090 )
...
Tests passing, but not yet styled properly
2023-04-29 03:13:53 -04:00
Dan Stillman
dbefdaac2c
Update snapshot tests for new SingleFile markup
2023-04-28 02:18:52 -04:00
Dan Stillman
46d0ce3cbf
Don't load example.com in /saveSnapshot
tests
2023-04-28 02:18:19 -04:00
Dan Stillman
fa143f1ea4
Z7: Update retractions tests
2023-04-28 01:54:00 -04:00
Dan Stillman
5f631ff0af
Add delay()
test support function
...
`Zotero.Promise.delay()` wrapper
2023-04-28 01:54:00 -04:00
Dan Stillman
ed224dce34
Z7: Update relatedbox tests
2023-04-28 01:54:00 -04:00
Dan Stillman
82b4943d13
Z7: Update note editor tests
2023-04-28 01:54:00 -04:00
Dan Stillman
07acfb444a
Z7: Fix Add Item by Identifier tests (and rename textbox)
...
Now only one textbox, so no need to call it 'multiline'
2023-04-28 01:54:00 -04:00
Dan Stillman
2c995c913e
Z7: Update items test for andJoiner
delimiters
2023-04-28 01:54:00 -04:00
Dan Stillman
b6522ae3f5
Z7: Update item pane teets
2023-04-28 01:54:00 -04:00
Dan Stillman
787002bf7d
Update caniuse
2023-04-28 01:53:56 -04:00
Dan Stillman
43ba4c3620
Don't check for .zotero-ft-info in test
...
No longer created
2023-04-27 03:48:49 -04:00
Dan Stillman
f95a6d0f0a
Rename Zotero.Fulltext
tests to Zotero.FullText
2023-04-27 03:48:01 -04:00
Dan Stillman
3ba78e28bb
Update connectorTypeSchemaData and test data for Dataset Number removal
2023-04-27 03:44:25 -04:00
Dan Stillman
42f87597cf
Add missing debug line for notifier registration
2023-04-27 03:39:25 -04:00
Dan Stillman
59ca0731b8
Fix note editor not being properly unregistered from notifier
2023-04-27 03:37:31 -04:00
Dan Stillman
2e081ce8d2
Fix RemoteTranslate test after b222bbcccb
...
And remove duplicate test
2023-04-27 01:05:02 -04:00
Dan Stillman
57a60c1946
Update runtests.sh for combined repos
2023-04-27 01:05:02 -04:00
Dan Stillman
b6b6bbc3ee
Load integration manifest files only on correct platform
2023-04-27 01:05:02 -04:00
Dan Stillman
a34a11b200
Remove a couple mozilla.org update URLs
...
Fixes #3097
2023-04-27 01:04:55 -04:00
Dan Stillman
2bc4c38f01
Remove obsolete app.update prefs
2023-04-27 00:31:33 -04:00
Dan Stillman
395d0c231b
Update Word for Mac submodule
2023-04-26 16:10:10 -04:00
Tom Najdek
a8c30362a1
Remove shadow root from PublicationsLicenseInfo #3082
...
* Fix legacy css path
* Rename license-info.scss -> publicationsLicenseInfo.scss to match element name
2023-04-26 15:23:49 +02:00
Tom Najdek
842f474939
Remove shadow root from StyleConfigurator #3082
...
Also renamed style-configurator.scss -> styleConfigurator.scss
2023-04-26 15:23:49 +02:00
Dan Stillman
947fa2b558
Ignore numeric values for Type:
lines in Extra
...
https://forums.zotero.org/discussion/comment/433334/#Comment_433334
2023-04-26 04:55:43 -04:00
Dan Stillman
eaef035062
Update non-en-US updates.dtd based on en-US file
...
Now that the localizer has been updated to handle Mozilla
.dtd/.properties files
2023-04-26 04:40:22 -04:00
Dan Stillman
144dbf8af0
Add Mozilla updates.dtd for non-English locales
...
From some 2017-era langpacks I had downloaded. These strings aren't in
current langpacks, which use a different update mechanism, but we're
bundling a modified version of updates.xhtml from Firefox.
2023-04-26 04:40:22 -04:00
Dan Stillman
6000d605f1
Update localizer scripts
...
- Adjust for combined repos
- Handle Mozilla .dtd/.properties files
- General cleanup
2023-04-26 04:40:22 -04:00