История коммитов

.
fix(docker): forbid PHP execution inside the upload directory
upload/.htaccess only silences PHP under Apache, nginx had no counterpart: a
PHP file placed in the upload directory was executed. The ^~ prefix stops the
regex locations from picking those requests up, while static files keep being
served. The rule matches on the URI, so it holds both before and after the
document root moves.

The dev template also gets the dotfile rule the production one already had.
.
refactor(sitemap): write sitemap and robots.txt into the public path
Both files are fetched over HTTP, so they belong in the document root.
atomicWrite() writes its .tmp file next to the target, which means the public
path has to be writable.
.
refactor(themes): address published theme assets via PUBLIC_THEMES_PATH
Published assets and language flags are served over HTTP, so they resolve from
PUBLIC_THEMES_PATH. The list of available themes keeps using THEMES_PATH: it is
built from the theme templates, which stay outside the document root.
.
refactor(core): resolve public URLs from PUBLIC_PATH
Assets and avatars are served from the document root, so their URLs are
relative to PUBLIC_PATH rather than to the repository root.
.
refactor(core): add a single filesystem path to URL resolver
Three independent implementations mapped a filesystem path to a URL. They now
delegate to PublicUrlResolver and keep their signatures.

This also fixes pathToUrl(): it diffed the path segments against the root ones,
so /upload/app/photo.jpg under the /var/www/app root silently lost the app
directory. Paths outside of the base path now resolve to an empty string
instead of a mangled URL.
.
feat(core): introduce PUBLIC_PATH constant
PUBLIC_PATH marks the web document root. It equals ROOT_PATH for now, so the
values of every constant stay exactly as they were, and ASSETS_PATH,
UPLOAD_PATH and the new PUBLIC_THEMES_PATH are derived from it.

THEMES_PATH keeps pointing at the repository root: most of its usages resolve
templates, which stay outside the document root.
.
chore(install)!: remove obsolete update and module installation scripts
Remove 14 one-off scripts, none of which were referenced from the code:
they were meant to be run manually by URL.

- updaters and converters for 8.0 to 9.9
- module installation scripts for 9.9

The upgrade path is 9.8 -> 9.9 -> 10.0, so these scripts stay available in
the 9.x branch together with their documentation. The install directory is
now a plain web installer.

BREAKING CHANGE: installing a module on an existing database has no tool in
10.x anymore.
.
chore(assets): remove dead image generation scripts
- assets/modules/album/image.php: no incoming references anywhere in the repository
- assets/modules/downloads/rating.php: no incoming references and already broken,
it reads vote.gif relative to the current working directory
.
docs: start changelog for 10.x
Reset the changelog for the new major branch: 10.x history starts fresh
with an Unreleased section, and the 9.x and earlier history stays in the
9.x branch, linked from the header. Record the vendor directory move as
the first breaking change.
.
chore: use default composer vendor directory
- drop the custom vendor-dir (system/vendor) from composer.json
- ignore /vendor instead of /system/vendor
- update autoload paths in system/bootstrap.php, tests/bootstrap.php, install/index.php and assets/modules/downloads/preview.php
- update psalm ignore and stub paths