Commit graph

12110 commits

Author SHA1 Message Date
Dan Stillman
b7c2002b63 Fix another Bluebird removal bug
Use of `Promise.map()`
2025-07-30 22:30:58 -04:00
Dan Stillman
e07ac6243c Fix bug from Bluebird removal
Bluebird had a `Promise.filter` method

Fixes failing data directory tests
2025-07-30 22:30:58 -04:00
Abe Jellinek
9f038891ef Set name for Zotero.DBConnection.TimeoutError
Fixes failing timeout test in dbTest.js.
2025-07-30 22:30:57 -04:00
Abe Jellinek
d9341bbf1a Use alternate method to test feed check delay 2025-07-30 22:30:56 -04:00
Tom Najdek
7e1f4b8dbf fx140: ESMify errorReport.xhtml 2025-07-30 22:30:56 -04:00
Abe Jellinek
52b4fc0b9d Preferences: Fix sandbox destructor 2025-07-30 22:30:56 -04:00
windingwind
519c4cb518 fx140: Fix scaffold missing menubar 2025-07-30 22:30:56 -04:00
Tom Najdek
4eae5bc658 Fix incorrect MendeleyImporter import path after ESMify 2025-07-30 22:30:55 -04:00
Abe Jellinek
f4a5ee0c7e fx140: ESMify about.xhtml 2025-07-30 22:30:55 -04:00
Abe Jellinek
e4878052aa fx140: Add draft macOS native-like textarea style
Firefox doesn't use any native textareas anymore, so I guess they just
removed/broke native textarea rendering.
2025-07-30 22:30:55 -04:00
Abe Jellinek
964b5a0e88 fx140: Fix remaining bare ChromeUtils.import() calls 2025-07-30 22:30:54 -04:00
Abe Jellinek
1dd60c948b Fix export translation
Restore Zotero.Promise.method() wrapper on getCodeForTranslator()
because the translation framework needs it to return a synchronously
resolved promise, unfortunately.
2025-07-30 22:30:54 -04:00
Abe Jellinek
6fc1726da7 fx140: Fix folderImport import in fileInterface.js 2025-07-30 22:30:53 -04:00
Adomas Venčkauskas
19903271ce Use ESMified word processor plugin installers 2025-07-30 22:30:52 -04:00
Adomas Venčkauskas
35919f640c fx140: Remove isFulfilled and isResolved uses in integration 2025-07-30 22:30:52 -04:00
Abe Jellinek
6b2331b647 Remove special handling for Promise.coroutine() in server.js 2025-07-30 22:30:51 -04:00
Abe Jellinek
ae0413ce80 Asyncify standalone.js 2025-07-30 22:30:50 -04:00
Abe Jellinek
499ce2709c Asyncify errorReport.xhtml 2025-07-30 22:30:50 -04:00
Abe Jellinek
0937d47721 Asyncify feedSettings.js 2025-07-30 22:30:50 -04:00
Abe Jellinek
f9541b3281 Asyncify advancedSearch.js 2025-07-30 22:30:50 -04:00
Abe Jellinek
d71a0db4a2 fx140: Preferences: Fix "Update now" label being appended, not replaced 2025-07-30 22:30:50 -04:00
Abe Jellinek
303b3a9a89 Preferences: Fix sandbox creation for subpanes 2025-07-30 22:30:50 -04:00
Abe Jellinek
e2bcf90856 Migrate Zotero.Promise#timeout() in db.js 2025-07-30 22:30:49 -04:00
Abe Jellinek
8fb3e6d1a9 Migrate Zotero.Promise methods in storageEngine.js 2025-07-30 22:30:49 -04:00
Abe Jellinek
1c4d2b84e0 Migrate Zotero.Promise#return() in libraries.js 2025-07-30 22:30:38 -04:00
Abe Jellinek
64a2237fb3 fx140: Don't rely on hiddenDOMWindow in plugins.js 2025-07-30 22:30:38 -04:00
Abe Jellinek
0f2690eb75 fx140: Migrate hiddenDOMWindow in style.js
XSLTProcessor is available in the global scope now.
2025-07-30 22:30:38 -04:00
Abe Jellinek
0c1e341f50 fx140: Remove unused method that used hiddenDOMWindow 2025-07-30 22:30:38 -04:00
Abe Jellinek
3e2f6a8783 fx140: Update feedReader.js hiddenDOMWindow comment 2025-07-30 22:30:37 -04:00
Abe Jellinek
e52b1993f4 fx140: Work around grid layout bug in item box
And don't use hiddenDOMWindow, since it's no longer available on all
platforms.
2025-07-30 22:30:37 -04:00
Abe Jellinek
6cbb0bc103 Migrate Zotero.Promise#isPending() in feedReader.js 2025-07-30 22:30:37 -04:00
Abe Jellinek
ed20f8b4d1 Migrate Zotero.Promise#isPending() in syncRunner.js 2025-07-30 22:30:37 -04:00
Abe Jellinek
ed00016caa Migrate Zotero.Promise#isPending() in dataObjects.js 2025-07-30 22:30:37 -04:00
Abe Jellinek
c4a0a760b1 Migrate Zotero.Promise#isResolved() in citationDialog.js 2025-07-30 22:30:36 -04:00
Abe Jellinek
e81f5d96f1 fx140: Fix Mendeley import
'else' branch is untested.
2025-07-30 22:30:36 -04:00
Abe Jellinek
e6aba9b879 fx140: Fix folder import 2025-07-30 22:30:36 -04:00
Abe Jellinek
fbf0177215 fx140: Fix Dictionary Manager 2025-07-30 22:30:36 -04:00
Abe Jellinek
be0cc2c602 fx140: Fix ChromeUtils.defineESModuleGetters(this, ...) in MJS files
`this` is undefined - use globalThis.
2025-07-30 22:30:36 -04:00
Abe Jellinek
7b7c153711 Migrate Zotero.Promise#cancel() in zoteroPane.js 2025-07-30 22:30:36 -04:00
Abe Jellinek
90e92e995f Migrate Zotero.Promise.each() in syncLocal.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
9a44834289 Migrate Zotero.Promise.filter() in profile.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
68255d075e Migrate Zotero.Promise.map() in syncEngine.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
70f75fd3b0 Migrate Zotero.Promise#cancel() in feeds.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
122b160639 Migrate Zotero.Promise.map() in quickCopy.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
18500b19d0 Migrate Zotero.Promise.each() in quickCopy.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
676be3fc00 Update JSDoc for forEachChunkAsync() 2025-07-30 22:30:35 -04:00
Abe Jellinek
da6efecaef Migrate Zotero.Promise.map() in syncFullTextEngine.js
Fixes syncing, I think.
2025-07-30 22:30:34 -04:00
Abe Jellinek
14afba4b62 Import ConcurrentCaller in storageEngine.js 2025-07-30 22:30:34 -04:00
Abe Jellinek
ffb68f2f6c Make Library#_initSave() async to match superclass
Fixes .catch() error
2025-07-30 22:30:34 -04:00
Abe Jellinek
ce0ee4b693 Migrate Promise#return() in file.js 2025-07-30 22:30:34 -04:00