Releases: openlibraryenvironment/listener-openurl
Releases · openlibraryenvironment/listener-openurl
v1.6.0
- When only one pickup location is available, make that the default selection on the request and confirmation forms. Fixes PR-927.
- Force all templates to be interpreted as UTF-8. (It's 2021 -- why would any piece of software ever interpret them as anything but UTF-8? Oh well.) Fixes PR-993.
- If the
LOGGING_PREFIXenvironment variable is set, its value is used as the logging prefix incategorial-logger. Fixes part of PR-1060. - Logging of JSON structures (categories
co,metadata,admindataandrr) is no longer pretty-printed, so that the structures appear all in a single line of logging. Fixes the rest of PR-1060. - Add parameter 'rft.oclc' to pass OCLC numbers through to ReShare reqeusts.
- Upgraded to Node 18, updated dependencies
- Added digitalOnly option to support CDL
- bugfix to make svc.note optional
- Avoid internal server error for OpenURLs with no
ntriesdefined. Fixes PR-1646. - Add support for per-customer branding in the top-level configuration file. See Branding the OpenURL resolver for customers. Fixes PR-1649.
v1.5.0
v1.4.0
1.4.0 (2021-05-04)
- Add support for a home-page, retrieved when the baseURL is invoked with no arguments. Fixes last part of PR-135.
- Add example configuration for running as a service on a Debian GNU/Linux host:
config/caliban.jsonis a listener configuration file tweaked or the server caliban, andconfig/listener-openurl.serviceis a sample systemd unit file suitable for running on caliban. - Expand ContextObject-to-ReshareRequest translation to handle publisher and place.
- Log POST errors using new
errorcategory; add this category to caliban config. - Recognise rft.creator as another way to send author name.
- Use only the publicationTypes supported by mod-rs
- The
OpenURLServerclass now recognisessvc_id=reshareRequest, and responds by returning the JSON of the translated request object as the response body. Used in integration testing. - Add (a small amount of) integration-testing, invoked using
yarn integration. Fixes PR-184. - POSTed request now includes
requestingInstitutionSymbol, set from path of baseURL. Fixes PR-236. - Authenticate at
/authn/loginrather than the more heavyweight/bl-users/login: no change to functionality. - Include
systemInstanceIdentifierin ReshareRequest, derived fromrft_id. Fixes PR-246. - Add form for generating OpenURLs by hand. Fixes PR-269. http://openurl.indexdata.com/static/form.html
- Change
caliban.jsonconfiguration to post requests to Index Data's ReShare node instead of K-Int's. - When
svc_idisjson, post the patron request as usual but return a JSON summary instead of an HTML page. Fixes PR-461. - When prompting for pickup location, offer a dropdown of valid values obtained from ReShare. Fixes PR-572. Available from v1.3.1.
- Consolidate OpenURL resolver configuration files. Fixes PR-681.
- Add service entries for EAST and WEST unviersities to the configuration file. Fixes PR-677.
- When a baseURL is invoked with no parameters (or insufficient to attempt a resolution), the enter-metadata form is presented. Fixes PR-651.
- Support the
rft.editionkey. This is not mentioned in the standards, but appears in some example v1.0 OpenURLs. - Apply styles to the Request Accepted page. Fixes PR-686.
- Directory search for "pickup" is now case-insensistive, so that it works both with Millersville (which uses "Pickup") and East (which uses "pickup"). Part of PR-677.
- Request Accepted page changes. Fixes PR-688.
- Set
pickupLocationCoderather thanpickupLocation. Part of PR-624. - Send
x-okapi-tokenheader instead ofx-token-token. Fixes PR-781. - Support optional
res.orgkey: if supplied, the value overrides the oranization identifier in the baseURL. Fixes PR-932. - Support optional
svc.logoutkey: if supplied and true, the current authentication token is discarded. Useful only for testing. - When an Okapi request fails with status 403 Forbidden, assume the token has expired, login again and retry the operation. Does not apply to login itself, obviously, and will only retry once. Fixes PR-918.
- May the fourth be with you!