Skip to content

History of commits

4473 commits

docs: update install steps for the Vite build

Replace the removed "npm run prod"/"npm run watch" commands with "npm run build" and the "npm run dev" server, and add a frontend build step to the Docker install since the bundle is no longer committed.
simba77 21 يوليو 2026 23:42 Branch: 10.x b823ea2

build: migrate frontend to Vite and Vue 3

Replace the Laravel Mix / Webpack build with Vite and upgrade Vue 2.7 to Vue 3.5, keeping the server-rendered island setup where every .vue_app element is mounted as its own app. Add a Vite view extension that renders entry point tags from the manifest in production and from the dev server (with HMR) when the hot file is present. RTL keeps a separate app.rtl.css, emitted next to every stylesheet via rtlcss. Publish jQuery/axios/lodash globals from a dedicated module so libraries that read window.jQuery load after them, switch Bootstrap and flatpickr calls to native APIs, and load Prism in manual mode (currentScript is null in a module). Drop the frontend part of the wysibb editor; the backend stays untouched.
simba77 21 يوليو 2026 23:14 Branch: 10.x 162b501

docs: switch the documentation submodule to the 10.0 branch

The 10.0 branch of the documentation repository was a dead line from 2024: it shares no history with 9.9 and predates most of the current docs. It has been recreated from 9.9 and now carries the public document root guides; the old branch is kept as 10.0-legacy-2024. .gitmodules records the branch, so submodule update --remote follows 10.0 instead of the repository default.
simba77 17 يوليو 2026 10:03 Branch: 10.x a84c780

refactor(core)!: move the document root to the public directory

Everything reachable over HTTP now lives in public/, the code stays in the repository root and is no longer served. The layout below public/ mirrors the old one, so not a single URL changes. The preparation landed earlier: PUBLIC_PATH switching to ROOT_PATH . 'public' is what actually moves the application. - nginx: root points at /app/public in both templates. - webpack: setPublicPath('public') keeps the mix-manifest keys as /themes/..., the build output moves under public/. - a root .htaccess forwards requests into public/ and denies access to the code, for Apache hosting where the document root cannot be changed. BREAKING CHANGE: the document root must be pointed at public/. Restart php-fpm after updating, the realpath cache holds the old paths.
simba77 17 يوليو 2026 09:28 Branch: 10.x a98c14b

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.
simba77 17 يوليو 2026 09:20 Branch: 10.x d870df1

refactor(assets): resolve paths in asset scripts from constants

Both scripts addressed the upload directory relative to the current working directory. Once assets and upload move into public/ together, those relative paths would keep working while ../../../vendor/autoload.php would resolve to public/vendor and fail. thumbinal.php did not load the autoloader at all, so it had no constants to work with. preview.php accepts the path with or without a leading slash, since one caller passes each form, and now refuses to serve anything resolving outside of the document root.
simba77 17 يوليو 2026 09:20 Branch: 10.x 75de298

refactor(install): make the installer independent of the current working directory

The installer resolved the autoloader, the config check and the step files relative to the current working directory, and the translation domain relative to ROOT_PATH. They now come from __DIR__ or from the path constants. step_3 read the .env file through dirname(__DIR__, 2), a hardcoded depth that would silently break and drop the database autofill under Docker. step_2 lists the writable directories as absolute paths and labels them by subtracting ROOT_PATH; PUBLIC_PATH joins the list, the sitemap and robots.txt are written there.
simba77 17 يوليو 2026 09:20 Branch: 10.x 03ee343