Skip to content

History of commits

4473 commits

fix(comments): delete only on a confirmed POST

The legacy engine deleted a comment, or every comment of its author, on a GET link without a token. The list now offers both as POST forms behind the confirmation dialog; any other request goes back to the list. The redirect thrown from inside the output buffer of the four callers no longer leaves it open.
simba77 14 қар 2026 19:30 Branch: 10.x ecb0d91

fix(downloads): count what a section holds and keep the top switch on narrow screens

The question before deleting a section counted only its published files, so a section holding only files awaiting moderation was called empty while they were deleted with it; it counts every file of the section now. The heading of a category counts its own files rather than those of its subsections too, which their cards already show. The segmented switch wraps instead of widening the page, which the modes of the top did on a 320 px screen.
simba77 14 қар 2026 14:44 Branch: 10.x 98454d5

chore(theme): remove the unused screenshot slider

Swiper drove only the carousel of screenshots on the page of a download, which is a grid with a lightbox now. The script, its styles, its colour token and the dependency are removed.
simba77 14 қар 2026 14:23 Branch: 10.x dea0b4f

fix(downloads): answer refusals with their status

A visitor who may not upload into a category got the refusal with 200, as did a missing category on the upload and new-files pages and a section that cannot be deleted while it has subsections. They answer 403, 404 and 409 now.
simba77 14 қар 2026 14:22 Branch: 10.x fce8413

fix(downloads): tidy the service screens and delete sections after the dialog

The forms of managing categories, files, screenshots, additional files and imports move to Bootstrap 5 markup in one card with the shared row of actions, and the service screens gain breadcrumbs down to their section. Deleting a section is a POST behind RequireConfirmationMiddleware: the dialog names the section and how many files go with it, and a section with subsections shows a disabled button that says why. The options of the scan say what they do: each goes into subfolders, one also takes the screenshots and descriptions lying next to the files.
simba77 14 қар 2026 14:17 Branch: 10.x 0e03b44

feat(downloads): redesign the upload of a file

The upload form groups the file, its names and its screenshot with the description into cards, states the limits beside the file field and validates through the validator of the project: a rejected form answers 422 with the reasons beside the fields and keeps what was typed. A successful upload redirects to the address of the form, which shows its result once, so a reload no longer uploads the file again. The Russian wording of the action is corrected from unloading to uploading.
simba77 14 қар 2026 14:10 Branch: 10.x 1029a02

feat(downloads): redesign the collections and the search

New files, the three tops, the top uploaders, the files of a user and the favorites follow the catalogue: the chips of the collections mark the current one, the lists share one block with an empty state and a pagination that says which entries a page shows, and the rows of users carry the avatar, the online mark and the technical data for moderators. The search keeps the option of the descriptions, tells a query not sent yet from one that found nothing, and refuses a query of the wrong length beside the field instead of on a page of its own.
simba77 14 қар 2026 13:41 Branch: 10.x 6d666a4

feat(downloads): redesign the page of a file

The page of a file follows the new design in two columns: the player, the picture, the description, the screenshots, the properties, the additional files and the link to the discussion on the left; the download, its figures, the rating, the favorites and the menu of a moderator on the right, coming first on a narrow screen. A picture is shown itself rather than as one more screenshot, and a vote or a change of the favorites is confirmed by a toast.
simba77 14 қар 2026 13:30 Branch: 10.x d4e1600

feat(downloads): redesign the catalogue

The main page of the downloads and a category follow the new design: cards of the sections with the date of their newest file, rows of files with a Lucide icon by type, size, date, downloads and a download button, chips of the collections and a menu of section actions for moderators. The order of the files moves from the session to the query (?sort=name&order=asc), so links and the back button keep it, and the pagination says which files a page shows. Chips, the segmented switch and the icon button join the theme with an example in the style guide; the path service of the categories is reset between requests.
simba77 14 қар 2026 12:56 Branch: 10.x d03b476