Skip to content

Releases

h5ai-ng 0.31.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 03:18
722fee8
  • Docker: restore the default h5ai.conf or _h5ai when a saved copy was removed and the container restarted; the restart wrote a link to itself into /config, which stopped the site even after recreating the container, and the next start now also repairs such a link
  • shell-tar and shell-zip downloads show packaging failed when the command fails before sending anything, for example without the zip tool; they saved an empty package
  • Docker: stop adding the php-fpm logging settings to www.conf again on every docker restart
  • README: describe the files under /logs, their rotation and LOG_READ_GID; this was only in the docker-h5ai README
  • update the bundled marked from 1.2.7, which has known ReDoS issues, to 18.1.3; rendered Markdown headings no longer get an id and email links are no longer entity-encoded. Also update kjua to 0.10.0 and lolight to 1.4.1
  • update the development tools to eslint 10.14.0 with a flat config, jsdom 30.1.3 and scar 2.3.4; npm audit goes from 24 reports to 3 moderate ones in eslint's own minimatch

Install

Docker

docker pull awesometic/h5ai-ng:0.31.2

Images for linux/amd64, linux/arm64, linux/arm/v7 and linux/arm/v6.
Coming from docker-h5ai? Follow Moving from docker-h5ai: back up /config and change the image name. options.json is kept; other files you changed in _h5ai are replaced.

Your own server

Download h5ai-0.31.2.zip below, unpack it into your web root and add /_h5ai/public/index.php as the last directory index.
Requires PHP 8.3 or later.
See Install on your own server for Apache httpd, lighttpd and nginx.

Full changelog

h5ai-ng 0.31.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 08:18
5dce550
  • Docker: add PDF thumbnails, which 0.31.0 announced but could not make (the image lacked ImageMagick's PDF support)
  • Docker: keep options.json when a newer image replaces the application, and read the installed version from the application code; an older options.json restored as the 0.31.0 README said was reset to the defaults whenever the container was recreated
  • README: drop the restore step from moving off docker-h5ai and say which other files in _h5ai are replaced
  • Docker: serve h5ai under a reverse proxy path such as /share/; the proxy strips the path and names it in X-Forwarded-Prefix (awesometic/docker-h5ai#20)
  • Docker: folder redirects keep a mapped host port such as -p 8080:80
  • README: say how to change the host port and how to serve symlinks that point outside /h5ai (awesometic/docker-h5ai#27, awesometic/docker-h5ai#28)
  • README: give the rule that blocks /_h5ai/private/ for Apache httpd, lighttpd and nginx; the bundled .htaccess files work only with AllowOverride All, so a stock Debian Apache or any lighttpd install served options.json
  • README: say that the web server user must be able to write to the cache folders, and correct the PUID/PGID and TZ descriptions

Install

Docker

docker pull awesometic/h5ai-ng:0.31.1

Images for linux/amd64, linux/arm64, linux/arm/v7 and linux/arm/v6.
Coming from docker-h5ai? Follow Moving from docker-h5ai: back up /config and change the image name. options.json is kept; other files you changed in _h5ai are replaced.

Your own server

Download h5ai-0.31.1.zip below, unpack it into your web root and add /_h5ai/public/index.php as the last directory index.
Requires PHP 8.3 or later.
See Install on your own server for Apache httpd, lighttpd and nginx.

Full changelog

h5ai-ng 0.31.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 02:59

First h5ai-ng release, forked from h5ai v0.30.0.

  • now require PHP 8.3.0+
  • require Chrome/Edge 91, Firefox 90 or Safari 15 for the interface; older browsers get the fallback list
  • replace ghu build with esbuild, less and pug (Node 24)
  • add Docker image (Nginx, PHP 8.5) and CI workflow
  • add H5AI_ROOT_PATH environment override for the served root
  • Docker: deny /_h5ai/private/ in Nginx, also in saved configurations
  • interface refinement:
    • toolbar, sidebar and preview buttons work from the keyboard, show a focus ring and carry a name and tooltip
    • darker blue for links, hover text and selection, and readable empty-folder and no-match hints
    • phone layout: the sidebar covers the full width, rows are at least 44px high, a tap box selects items and the no-JavaScript list fits 390px without sideways scrolling
    • the filter tool is on in a fresh options.json; an invalid re: pattern matches its text literally instead of failing
    • bundle Ubuntu and Ubuntu Mono (Ubuntu Font Licence 1.0) and drop the Google Fonts request from the default options.json; an existing options.json keeps its resources.styles entry until you remove it
    • name the product h5ai-ng in the backlink, page titles and admin page, with credit to h5ai by Lars Jung
    • remove the PayPal donation form from the admin page and label its password field
    • view.fonts entries such as sans-serif and monospace are written as CSS generic families
  • upstream pull requests and fixes:
    • thumbnails: refuse sizes the interface never requests, so requests cannot fill the cache (lrsjng/h5ai#777)
    • thumbnails: capture videos shorter than 20 seconds at half their length (lrsjng/h5ai#765)
    • preview: swipe to the previous or next item and double-tap for fullscreen on touch (lrsjng/h5ai#837)
    • preview: wrap long lines in text previews (lrsjng/h5ai#855)
    • preview: start audio and video in Chrome when autoplay is on (lrsjng/h5ai#786)
    • load only the requested folder's content, not that of every parent folder (lrsjng/h5ai#771)
    • match browser languages such as zh-CN and pt-BR with useBrowserLang (lrsjng/h5ai#863)
    • update languages (cs, it, sk) (lrsjng/h5ai#815, lrsjng/h5ai#838)
    • Docker: compare versions component-wise when replacing a saved h5ai copy
  • publish the Docker image as awesometic/h5ai-ng for amd64, arm64, armv7 and armv6
  • rewrite the README with Docker, install and docker-h5ai migration guides, and translate it into Korean, Spanish, Japanese and Simplified Chinese

Install

Docker

docker pull awesometic/h5ai-ng:0.31.0

Images for linux/amd64, linux/arm64, linux/arm/v7 and linux/arm/v6.
Coming from docker-h5ai? Follow Moving from docker-h5ai: back up /config, change the image name, then restore your options.json.

Your own server

Download h5ai-0.31.0.zip below, unpack it into your web root and add /_h5ai/public/index.php as the last directory index.
Requires PHP 8.3 or later.
See Install on your own server for Apache httpd, lighttpd and nginx.

Full changelog