Skip to content

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

4477 коммитов

feat(admin): let the site have a logo of its own

The general settings take a logo, shown in place of the first letter of the site name in the header of the site and in the panel. The upload is checked by its contents and redrawn as a PNG of at most 128 pixels, under a name of its own so no browser keeps the previous one. It lives on the default disk under site/ without a row in the files table: the settings keep its path and address, so the header costs no query and the web server hands the picture out as a static file. A logo that cannot be taken leaves the rest of the form saved and says why.
simba77 28 ноя 2026 г., 18:58 Ветка: 10.x 4bbfe4f

feat(help): redesign the help pages

The entry page lists the forum rules, the avatars and the smilies as cards with a description and a count. The catalogues show every set with a strip of its first pictures, and the smilies catalogue opens with the member's own set and how full it is. Smilies are picked from a grid of tiles that tick as a whole, with the button to add or remove them kept in view; avatars from a grid of pictures, confirmed on a card. The forum rules are grouped by how serious a violation is. The links back give way to the breadcrumbs. Set names are no longer escaped when read, so they are not escaped twice on the page, and an avatar set must be a directory right inside the catalogue.
simba77 28 ноя 2026 г., 18:58 Ветка: 10.x 5c6c750

build: update dependencies

48 packages move to their latest compatible releases, among them Illuminate 12.74, Symfony 7.4.24 and 8.1, Twig 3.31 and PHPStan 2.3.7, which clears every advisory composer audit reported. roave/security-advisories stays where it was: its latest release refuses PHP 8.4.27, the version of the stack image.
simba77 26 ноя 2026 г., 23:22 Ветка: 10.x 3f961fb

build: run the test suites in parallel with ParaTest

The test scripts run the unit suite and then the functional one through ParaTest, a process per core, in random order. The suites never share a process, since a unit test that boots its own database replaces the global connection. Against MySQL every worker gets a database of its own named after TEST_TOKEN, so the workers do not rebuild one schema under each other. composer test drops from about 23 to 7 seconds; coverage still runs through PHPUnit itself.
simba77 26 ноя 2026 г., 23:08 Ветка: 10.x a4af04a

build: run checks without Xdebug and cache the coding standard

The container loads Xdebug in develop mode, which made the test suite and phpcs about twice as slow. The check scripts now set XDEBUG_MODE=off, and test:coverage still turns it on for coverage. phpcs keeps a cache in data/cache, so a repeated run checks only the files that changed. The suite drops from about 47 to 23 seconds and phpcs from about 13 seconds to under one on a repeated run.
simba77 26 ноя 2026 г., 23:04 Ветка: 10.x 654827b

fix(database): empty the query log between requests

With DEBUG on the connection logs its queries for the developer panel and the log was never emptied. In a worker, and in the functional suite, one connection serves request after request, so the panel counted and printed the queries of every earlier page and each page rendered slower than the last. QueryLogReset is reset by the kernel before each request and empties the log of the connections already open.
simba77 26 ноя 2026 г., 23:03 Ветка: 10.x 535c8a1

fix(downloads): fit screenshots whole and drop their hover lift

A screenshot preview was a 220x300 tile with the picture over a blurred copy of itself, then cropped again to the tile of the page, so an upright screenshot came out smeared and cut. The preview is now the picture scaled down to 480 px and the tile fits it whole on a plain background. Like other clickable cards, a screenshot answers hover with a stronger border instead of a jump.
simba77 26 ноя 2026 г., 22:44 Ветка: 10.x 15b6e74