44d9530ecf
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 |
||
---|---|---|
.. | ||
content | ||
locale | ||
skin/default/zotero |