@extends('layouts.admin') @include('blueprint.admin.template') @section('title') {{ $EXTENSION_NAME }} @endsection @section('content-header') @yield('extension.header') @endsection @section('content') @yield('extension.config') @yield('extension.description')@extends('layouts.admin') @section('title') Better Files Manager @endsection @section('content-header')

Better Files ManagerFile manager behavior, cleanup, Git, and collaboration settings.

@endsection @section('content') @php $allowOverride = (bool) $settings['allow_override']; $globalEnabled = (bool) $settings['enabled']; $defaultDays = (int) $settings['default_days']; $defaultUnit = (string) ($settings['default_unit'] ?? 'days'); $pullUrlMaxSize = (int) ($settings['pull_url_max_size_mb'] ?? 100); $contentSearchEnabled = (bool) ($settings['content_search_enabled'] ?? false); $gitEnabled = (bool) ($settings['git_enabled'] ?? false); $collaborationEnabled = (bool) ($settings['collaboration_enabled'] ?? false); $collaborationEditEnabled = (bool) ($settings['collaboration_edit_enabled'] ?? false); $collaborationMaxUsers = (int) ($settings['collaboration_max_users'] ?? 10); $collaborationMaxFileSizeMb = (int) ($settings['collaboration_max_file_size_mb'] ?? 1); $backendMode = (string) ($settings['backend_mode'] ?? 'wings'); $backendModeLabel = $backendMode === 'wings_rs' ? 'Wings-rs' : 'Wings'; $pageServers = collect($servers->items()); $pageEnabledCount = $pageServers->filter(function ($server) use ($allowOverride, $globalEnabled) { return $allowOverride ? (bool) $server->bf_trash_cleanup_enabled : $globalEnabled; })->count(); $pageDisabledCount = max(0, $pageServers->count() - $pageEnabledCount); @endphp

Better Files Manager A1.13.1

Configure cleanup, search, Git tools, pull limits, and live collaboration from one extension page.

{{ $globalEnabled ? 'Cleanup On' : 'Cleanup Off' }} {{ $backendModeLabel }} {{ $allowOverride ? 'Overrides On' : 'Overrides Locked' }} {{ $collaborationEnabled ? 'Collab On' : 'Collab Off' }}
Cleanup ScheduleDaily

Runs from the Panel scheduler.

Backend Mode{{ $backendModeLabel }}

Controls daemon-specific Better Files features.

Default Retention{{ $defaultDays }} {{ $defaultUnit }}

Applied globally unless overrides are enabled.

Pull URL Limit{{ $pullUrlMaxSize }} MB

Maximum remote download size.

Servers On This Page{{ $pageEnabledCount }} / {{ $pageServers->count() }}

Using cleanup with current settings.

{!! csrf_field() !!}

File Manager Settings

Backend

Daemon Compatibility Mode Wings keeps the existing Better Files daemon routes. Wings-rs uses native search, archive listing, scripts for Git, and websocket broadcast where available.

Cleanup

Default Retention
Items older than this value are eligible for deletion.
Pull URL Max Size
MB
Limits remote URL pulls. Minimum 1 MB.
Cleanup changes apply immediately. Queue workers are restarted after saving so running services pick up the new settings.

Tools


Live Collaboration

Maximum Users Range: 2-20 users per live session.
Maximum File Size
MB
Files above this size do not broadcast live edit snapshots.

Requirements

Wings Features Wings mode uses the documented Better Files Wings routes. Wings-rs mode uses native search/archive/script/socket endpoints where possible. NBT and SQLite previews run through the Panel; SQLite previews require PHP pdo_sqlite.
Current State
  • Backend: {{ $backendModeLabel }}
  • Content search: {{ $contentSearchEnabled ? 'Enabled' : 'Disabled' }}
  • Git: {{ $gitEnabled ? 'Enabled' : 'Disabled' }}
  • Collaboration: {{ $collaborationEnabled ? 'Enabled' : 'Disabled' }}
  • Edit sessions: {{ $collaborationEditEnabled ? 'Enabled' : 'View only' }}
  • Overrides: {{ $allowOverride ? 'Enabled' : 'Disabled' }}

Server Cleanup Overview

Enabled: {{ $pageEnabledCount }} Disabled: {{ $pageDisabledCount }} Total: {{ $servers->total() }}
@if (!$allowOverride)
Overrides are locked. Every server inherits the global cleanup state and retention window.
@endif
@forelse ($servers as $server) @php $serverEnabled = $allowOverride ? (bool) $server->bf_trash_cleanup_enabled : $globalEnabled; $serverDays = $allowOverride ? (int) $server->bf_trash_retention_days : $defaultDays; $serverUnit = $allowOverride ? (string) ($server->bf_trash_retention_unit ?? $defaultUnit) : $defaultUnit; @endphp @empty @endforelse
Server Cleanup Retention Source
{{ $server->name }} #{{ $server->id }} {{ $serverEnabled ? 'Enabled' : 'Disabled' }} {{ $serverDays }} {{ $serverUnit }} {{ $allowOverride ? 'Server' : 'Global' }}
No servers found.
@if ($servers->hasPages()) @endif
@endsection @endsection