OpenTechStrategies / SimpleBook

A fork of the Collection Extension to print books from MediaWiki instances
1 stars 1 forks source link

Update SimpleBook plugin to allow authentication #26

Closed slifty closed 3 years ago

slifty commented 3 years ago

This PR updates the PHP portion of the SimpleBook plugin to support (1) authentication and (2) passthrough data.

It also updates the rendering server to pass those values to mw2pdf, although mw2pdf does not currently do anything with the passthrough data.

Related to issue #9

slifty commented 3 years ago

Fixed the items from the first review and also made an adjustment based on some of the discussion in the original issue (#9) related to the optional nature of authentication. If auth and passthrough data is not provided as part of the request, those parameters will not be populated in the mw2pdf call.