Skip to content

Releases: alexusmai/laravel-file-manager

v2.4.1

18 Jul 18:48
Compare
Choose a tag to compare

Fixed installation issue

v2.4.0

17 Jul 14:51
Compare
Choose a tag to compare

Now you can create your own config repositories, it will allow to change your configuration dynamically.

How to do it:

Create new class - example - TestConfigRepository

namespace App\Http;

use Alexusmai\LaravelFileManager\Services\ConfigService\ConfigRepository;

class TestConfigRepository implements ConfigRepository
{
    // implement all methods from interface
}

For example see src/Services/ConfigService/DefaultConfigRepository.php

  • Added Serbian language (aleks989 )
  • fix bug with S3, creating a new folder with ACL
  • added 'maxUploadFileSize' param in to config - Max file size in KB (File uploading)
  • added 'allowFileTypes' param in to config - Allowed file types for uploading

Upgrading to version 2.4

Update pre-compiled css and js files and config file - file-manager.php

// config
php artisan vendor:publish --tag=fm-config --force
// js, css
php artisan vendor:publish --tag=fm-assets --force

If you use the ACL, now you don't need to add the acl middleware to configuration.

//======= In old versions ==========
'acl' => true,

// add acl middleware to your array
'middleware' => ['web', 'fm-acl'],

//======= In a new version =========
'acl' => true,

'middleware' => ['web'],

v2.3.2

26 Jun 17:44
Compare
Choose a tag to compare

Thumbnails lazy load.
Thumbnails and image preview - loading with Authorization heder.

v2.3.0

01 May 16:43
Compare
Choose a tag to compare

In new version you can set default disk and default path

You have two variants for how to do it:

  1. Add this params to the config file (config/file-manager.php)
    2 Or you can add this params in URL
http://site.name/?leftDisk=diskName&leftPath=directory
http://site.name/?leftDisk=diskName&leftPath=directory2&rightDisk=diskName2&rightPath=images

leftDisk and leftPath is default for the file manager windows configuration - 1,2

Upgrading to version 2.3

Update pre-compiled css and js files and config file - file-manager.php

// config
php artisan vendor:publish --tag=fm-config --force
// js, css
php artisan vendor:publish --tag=fm-assets --force

You can update the config file manually - add new params:

/**
 * Default path for left manager
 * null - root directory
 */
'leftPath'  => null,

/**
 * Default path for right manager
 * null - root directory
 */
'rightPath' => null,

v2.2.3

28 Apr 19:02
Compare
Choose a tag to compare
  • added timestamp to images - image updating after cropping

  • file properties - GetUrl - return full URL (see laravel docs)

  • file properties - copy to clippboard - disk, file name, path, url, size, date.

Events

03 Mar 13:03
Compare
Choose a tag to compare

Events

  • Alexusmai\LaravelFileManager\Events\DiskSelected
  • Alexusmai\LaravelFileManager\Events\FilesUploading
  • Alexusmai\LaravelFileManager\Events\FilesUploaded
  • Alexusmai\LaravelFileManager\Events\Deleting
  • Alexusmai\LaravelFileManager\Events\Deleted
  • Alexusmai\LaravelFileManager\Events\Paste
  • Alexusmai\LaravelFileManager\Events\Rename
  • Alexusmai\LaravelFileManager\Events\Download
  • Alexusmai\LaravelFileManager\Events\DirectoryCreating
  • Alexusmai\LaravelFileManager\Events\DirectoryCreated
  • Alexusmai\LaravelFileManager\Events\FileCreating
  • Alexusmai\LaravelFileManager\Events\FileCreated
  • Alexusmai\LaravelFileManager\Events\FileUpdate

Upgrading to version 2.2

src/ACLService folder and src/TransferService folder moved in src/Services folder

If you using ACL change namespace in config file for 'aclRepository'

// From
'aclRepository' => Alexusmai\LaravelFileManager\ACLService\ConfigACLRepository::class,

// To
'aclRepository' => Alexusmai\LaravelFileManager\Services\ACLService\ConfigACLRepository::class,

if you create your own repository for ACL rules, don't be forget change namespace to:

// From
Alexusmai\LaravelFileManager\ACLService;

// To
Alexusmai\LaravelFileManager\Services\ACLService;

ACL system

27 Feb 19:02
Compare
Choose a tag to compare

ACL - access control list

  • delimiting access to files and folders
  • two work strategies:
    • blacklist - Allow everything that is not forbidden by the ACL rules list
    • whitelist - Deny everything, that not allowed by the ACL rules list
  • You can use different repositories for the rules - an array (configuration file), a database (there is an example implementation), or you can add your own.
  • You can hide files and folders that are not accessible.

Version 2

27 Feb 18:58
Compare
Choose a tag to compare

New features:

  • Creating files
  • Audio player (mp3, ogg, wav, aac), Video player (webm, mp4) - (Plyr)
  • Code editor - (Code Mirror)
  • Image cropper - (Cropper.js)
  • Zip / Unzip - only for local disks

1.0.0-alpha release

22 Apr 17:18
Compare
Choose a tag to compare
1.0.0-alpha release Pre-release
Pre-release

Pre-release