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

simba77
refactor(downloads): extract ImportFileController with clean URL route
Replaces legacy ?act=import include with ImportFileController at
/downloads/import/{id}. Improves URL validation to allow https and
adds SSRF protection by blocking private/reserved IP ranges.
simba77
refactor(downloads): extract MoveFileController with clean URL route
Replace legacy ?act=transfer_file with /downloads/move-file/{id}.
Extract MoveFileUseCase for file relocation logic.
simba77
refactor(downloads): extract AdditionalFilesController with clean URL route
Replace legacy ?act=files_more with /downloads/additional-files/{id}.
Add $fillable to DownloadMoreFile model.
simba77
refactor(downloads): extract EditScreenController and add breadcrumbs
Replace legacy ?act=edit_screen with /downloads/edit-screen/{id} admin route.
Add NavChain breadcrumbs to DeleteFileController and EditFileController.
simba77
refactor(downloads): extract EditFileController with clean URL route
Replace legacy ?act=edit_file with /downloads/edit-file/{id} admin route.
simba77
refactor(downloads): extract DeleteFileUseCase from DeleteFileController
Move file deletion logic (screens, more files, bookmarks, comments,
category counters) into a dedicated use case accepting file id.
simba77
refactor(downloads): extract DeleteFileController with admin middleware
Replace legacy ?act=delete_file with /downloads/delete-file/{id} route.
Add DownloadsAdminMiddleware that returns 404 for non-admin users,
applied to a separate admin route group.
simba77
refactor(downloads): add DownloadsAccessMiddleware for section access control
Extract mod_down access check from index.php into a proper middleware.
Wrap all downloads routes in a group protected by the middleware.
simba77
refactor(downloads): extract FilesUploadController with clean URL route
Replace legacy ?act=files_upload with /downloads/upload/{id} route.
Add $fillable to DownloadFile model for mass assignment via Eloquent.
simba77
refactor(downloads): extract LoadFileController with clean URL route
Replace legacy ?act=load_file redirect with /downloads/load/{id} route.
Remove all now-unused includes/ files migrated in previous iterations.