Repository navigation
Equalify Iris 0.2.1
Hardening after a review of 0.2.0. Install: download equalify-iris.zip, then Network Admin → Plugins → Add New → Upload.
Safer
- The settings now say next to the automatic-tagging switches that Iris reports conversion problems as public GitHub issues, which can quote the document.
- The API address must use https, except to this server, or with
EQUALIFY_IRIS_ALLOW_HTTP. - Uploads go through WordPress's HTTP API whenever a site has set it up (
WP_HTTP_BLOCK_EXTERNAL, a proxy, filters). - Tagged PDFs from Iris are checked before saving (a whole PDF, of a sensible size). They are written to a temporary file and renamed into place, so the old copy is kept until the new one is safely written. Only validated
-accessible.pdfpaths are ever deleted, including on uninstall.
More reliable
- Only one background run at a time, using a database lock that a crashed run releases straight away.
- One broken site no longer stops a run for the rest of the network.
- A 401 or 403 from Iris pauses the network and says why on both screens, instead of failing every PDF.
- Page counts are no longer thrown off by bookmarks; status checks stop when the run's time runs out.
- PDFs shown in embeds and iframes (
src) switch to the tagged copy too. A page too large to process is sent unchanged.
Faster on large networks
- The network screen counts each site in one cached query.
- Fewer queries on every page load.
- Uninstall no longer empties the whole object cache.