Commit graph

624 commits

Author SHA1 Message Date
Dan Stillman
e7805914f4 ConcurrentCaller: Increment numRunning in the correct place 2025-07-30 22:31:09 -04:00
Dan Stillman
0f560f4e4c ConcurrentCaller: Fix return value in comment after Bluebird removal 2025-07-30 22:31:09 -04:00
Dan Stillman
5c172e3be9 ConcurrentCaller: Reject queued promises when stopping queue
Previously, we simply cleared the queue, leaving any pending promises
unresolved, and we checked for isResolved()/isPending() in
storageEngine.js (and maybe other places). storageEngine.js was changed
to simply await those promises, but that results in a hang if the queue
is stopped, since the promises were never resolved. Instead, when
stopping the queue, reject queued promises with a CanceledException and
ignore those promises in storageEngine.js.
2025-07-30 22:31:08 -04:00
Dan Stillman
1500fb9fa3 ConcurrentCaller: Revert to Promise.delay()
We're shimming it, and we override it with a stub in a syncAPIClient
test.
2025-07-30 22:31:07 -04:00
Adomas Venčkauskas
601a1f2292 fx140: ESMify word-processor-plugin-installer 2025-07-30 22:30:52 -04:00
Abe Jellinek
9be57b3110 Update ConcurrentCaller to use native promises 2025-07-30 22:30:29 -04:00
Abe Jellinek
a080b7c9c6 fx140: Give require()'d modules a window context 2025-07-30 22:18:36 -04:00
Abe Jellinek
ece2b59700 fx140: More progress toward startup 2025-07-30 22:18:36 -04:00
Abe Jellinek
c506e41072 fx140: Add working require.js, more progress toward startup 2025-07-30 22:18:36 -04:00
Abe Jellinek
8d0923f119 fx140: Remove Bluebird
All module code runs in strict mode, and that breaks Bluebird.

And add a partial shim for the simplest and most useful methods. Not
sure if we actually want that, or if we should just replace it entirely
with native methods.
2025-07-30 22:18:35 -04:00
Dan Stillman
7a4aef1b32 Update styles and CSL locales
Including new Chicago styles
2025-07-15 00:46:09 -04:00
Abe Jellinek
650be7d350
Scaffold code completion (#5171) 2025-04-09 00:36:22 -04:00
Dan Stillman
ebc670bb56 Update translators, styles, and CSL locales 2025-03-18 23:46:45 -04:00
Adomas Venčkauskas
a3654652b2 Adds a Citation Explorer dialog for document integration (#3468) 2025-03-10 22:40:43 -04:00
Abe Jellinek
eb30c23a0d
Scaffold: Infer types of parameters based on naming conventions (#5038) 2025-02-18 05:07:51 -05:00
Dan Stillman
46879a8241 Add Date field on Podcast
zotero/zotero-bits#2
2025-02-05 02:52:17 -05:00
Dan Stillman
9606fca3ad fx128: XPCOMUtils.defineLazyGetter → ChromeUtils.defineLazyGetter
Avoids deprecation warning
2024-12-14 01:16:01 -05:00
Dan Stillman
97329752a1 fx128: Remove Services.jsm imports
Now included automatically
2024-12-14 01:16:00 -05:00
Dan Stillman
ee4c244e0f Update translators 2024-11-26 02:34:02 -05:00
Dan Stillman
2ce9b4701b Update translators 2024-11-21 02:55:59 -05:00
Abe Jellinek
bc2c7956db FeedProcessor: Handle dc:creator in Atom feeds
Fixes #4857
2024-11-20 10:05:39 -05:00
Dan Stillman
ddacfc0b8a Strip invalid quotes around charset in feed responses
E.g., https://bmcmedethics.biomedcentral.com/articles/most-recent/rss.xml
2024-11-19 05:03:36 -05:00
Dan Stillman
fadbf3d2df Update translators 2024-10-29 07:11:29 -04:00
Dan Stillman
76618b4de7 Update translators submodule 2024-10-17 23:05:14 -04:00
Abe Jellinek
43b491fbd3 FeedProcessor: Interpret more type attributes
Fixes #4733
2024-10-07 17:05:45 -04:00
Dan Stillman
304e76685e Update translators 2024-10-02 13:50:42 -04:00
Dan Stillman
95fa3cb199 Update styles and translators 2024-09-11 01:19:40 -04:00
Adomas Venčkauskas
5df708d34f Improve word plugin installer logging 2024-08-24 13:28:02 +03:00
Adomas Venčkauskas
06eb1d7341 Word plugin installer: don't show progress window on repeat attempts to install (#4579) 2024-08-19 08:07:09 -04:00
Adomas Venčkauskas
aef0e51186 Throw an error when an update to word processor plugin fails to install (#4579)
- This commit will retrigger the installation for all word processor
  plugins. For the majority of users this will succeed silently.
  - It will fail with an error for Windows users that have Word open.
  - It will succeed with a warning for macOS users that have Word open.
- The updated error prompt links to the new documentation page for
  failed plugin installs
2024-08-19 08:07:07 -04:00
Adomas Venčkauskas
2a0d245018 Refactor and fix code formatting for word-processor-plugin-installer (#4579) 2024-08-19 08:06:08 -04:00
Dan Stillman
6cc03f79f3 Update global schema 2024-08-18 02:08:07 -04:00
Dan Stillman
151218e4de Update locales from Transifex 2024-08-06 02:25:39 -04:00
Tom Najdek
144f2caed8
Use production builds of react libraries (#4482)
And remove patching that doesn't seem to be required anymore
2024-08-02 03:43:02 -04:00
Dan Stillman
374dab2cb4 Update translators 2024-07-31 03:33:31 -04:00
Abe Jellinek
5f717d3bde Show first-run banner on upgrade (#3807) 2024-07-28 03:26:12 -04:00
Dan Stillman
0b3eda5d82 Update styles and translators 2024-07-10 02:16:43 -04:00
Dan Stillman
ea5194f206 Update locales from Transifex 2024-07-02 04:08:31 -04:00
Dan Stillman
cc3bdb59c1 Add an index on itemData.valueID
Hopefully this will drastically speed up purging after people delete
huge numbers of items.

https://forums.zotero.org/discussion/comment/466885/#Comment_466885
2024-07-01 01:48:22 -04:00
Abe Jellinek
44d9530ecf Add local implementation of Zotero web API (#4270)
This required some tweaks to other parts of Zotero infrastructure:
- Search:
  - Add 'includeDeleted' condition to match behavior of 'includeTrashed' API
    parameter in a single search
- Data objects:
  - Improve toResponseJSON() implementations so output better matches the web
    API
    - Add toResponseJSON() to Zotero.Tags - has to be async so it can query the
      database and generally works differently from other toResponseJSON()
      functions, but accomplishes the same task
  - Remove unused getAPIData() and apiDataGenerator() DataObject functions. They
    aren't functional and wouldn't really make implementing the local server
    easier, so now seemed like a decent time to remove them
- Server:
  - Support resolving routes using pathparser.jsm
    - Add allowMissingParams option to PathParser#add(): prevents /route from
      matching /route/:param
  - Replace the query property of the data object sent to endpoint init()s with
    searchParams, an instance of URLSearchParams - supports #getAll() for
    repeatable parameters
- URIs:
  - Make getObjectURI() public, add utilities for converting URIs to API
    endpoints and web library URLs
2024-06-12 05:45:38 -04:00
Dan Stillman
4e719e0d0c Update translators and styles 2024-06-06 01:07:19 -04:00
Abe Jellinek
92bb96ac49 Feeds: De-prioritize prism:copyright
Seems to be more used for copyright owner names than license
information, which is probably what we want in that field when it's
available.
2024-05-23 14:16:38 -04:00
Abe Jellinek
e20b02c124 Fix broken feeds due to rights fields missing in _textConstructs
And warn instead of throwing in the future.

Fixes #4162
2024-05-23 10:46:08 -04:00
Abe Jellinek
59afef6c2e
Feeds: Refactor to move field extraction to FeedProcessor (#4158)
And support more PRISM fields.
2024-05-22 18:29:58 -04:00
Abe Jellinek
bb146328b8
Update default locate engines (#4125) 2024-05-15 05:45:38 -04:00
Martynas Bagdonas
7afbdd2150 Render PDF annotation images using PDF worker
Fixes #3191
2024-04-26 11:17:57 +01:00
Abe Jellinek
8b13f717b4 SAXXMLReader: Handle non-UTF-8 encodings (#3846) 2024-04-20 06:41:51 -04:00
Abe Jellinek
f7dc68c7f4
Render RSS description as HTML (#3956) 2024-04-18 06:39:17 -04:00
Adomas Venčkauskas
e8df3c29dd Fix word processor add-on installation window being tiny. Closes #3906 2024-04-04 15:24:53 +03:00
Abe Jellinek
ad661e9c8d
Preferences: Fix overflow at small window sizes (#3916) 2024-04-02 16:16:05 -04:00