Skip to content

History of commits

4473 commits

fix(admin): install theme assets of language packs into the public path

A language pack ships both system/locale/xx.ini and a theme flag under themes/default/assets/. Extracting the archive straight into ROOT_PATH would drop the flag outside of the document root once themes assets move into public/, leaving a stray themes/default/assets/ directory in the root. The archive is now extracted into a temporary directory and moved into place: theme assets go under PUBLIC_THEMES_PATH, everything else into ROOT_PATH.
simba77 17. Jul 2026 09:20 Branch: 10.x fed7dd6

refactor(admin): scan public directories in the file integrity scanner

The scanned folders were suffixes appended to ROOT_PATH, so assets and upload would have silently dropped out of the snapshot once they move into public/. They are now absolute roots, taken from the constants that follow them. The implicit rule that only the repository root is scanned without recursion became an explicit flag. The installer directory is now covered as well: it is reachable by URL but was never scanned. Existing snapshots keep working, since scan() only compares the paths they already contain.
simba77 17. Jul 2026 09:20 Branch: 10.x b67253a

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.
simba77 17. Jul 2026 08:55 Branch: 10.x f0c3e04

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.
simba77 17. Jul 2026 08:52 Branch: 10.x 1b3960e

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.
simba77 17. Jul 2026 08:52 Branch: 10.x 42867ed

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
simba77 17. Jul 2026 08:51 Branch: 10.x 1afdcbc

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.
simba77 16. Jul 2026 23:25 Branch: 10.x e54e22f