Giter Club home page Giter Club logo

elfinderphp's Introduction

Hi, I'm Al (Albert) Ganiev

  • ๐Ÿ‘€ Iโ€™m interested in PHP/NodeJS/Go/React, and other technologies that help people.
  • ๐ŸŒฑ Iโ€™m developing and mainting some symfony bundles and GO projects
  • ๐Ÿค” Iโ€™m currently learning typescript
  • ๐Ÿ“ซ You can reach me through LinkedIn or mail.

Al's GitHub stats

elfinderphp's People

Contributors

alexiz avatar bonswouar avatar fmosca avatar foush avatar gonzalezlopezjm avatar hason avatar helios-ag avatar hoangnd25 avatar rehoehle avatar ronan-lenor avatar saithis avatar snowbaha avatar steve-todorov avatar svlksm avatar toleillo avatar ugurerkan avatar wouterb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elfinderphp's Issues

function execute($queryParameters) and POST / No way to change a command argument on server side

Hello,
i noticed that when i upload a file on ELFinder, i can't change the argument "upload_path" on the server side.
The reason is simple, the whole configuration is done in the POST x(

$src    = $_SERVER["REQUEST_METHOD"] == 'POST' ? $_POST : $queryParameters;

can't you find a way to merge the $queryParameters with the POST parameters?
So my "upload_path" could write/overwrite the default "upload_path".

i don't know also the intire process inside Elfinder, but changing the "upload_path" from the client side, it isn't a security breach?

Missing uses

Hi, in the file ElFinderVolumeDriver, please add:

use imagick;
use ImagickPixel;

or a fatal error is throw.

Thanks.

no post event

I want to listen if any scss files are uploaded (to compile them), but the post event is not being fired or captured.
Pre works fine tough

public function onPostExecute()
{
    //mkdir(312);
}

public function onPreExecute()
{
    //mkdir(123);
}

data_bundle.product_theme_manager:
class: Verhuurnet\DataBundle\ProductThemeManager
arguments: ['@doctrine.orm.entity_manager']
tags:
- { name: fm_elfinder.event_listener, event: fm_elfinder.event.post_execution, method: onPostExecute }
- { name: fm_elfinder.event_listener, event: fm_elfinder.event.pre_execution, method: onPreExecute }

Flysystem driver not displaying folder

I'm using s3 adapter. However, I think other adapters will behave similarly to this.

This code in _stat function (ElFinderVolumeFlysystem) prevent folders from displaying:

        // If not exists, return empty
        if ( !$this->fs->has($path)) {
            return array();
        }

According to this thephpleague/flysystem#132
fs->has function can only check file, not folder. Therefore, all the folders are not displaying.

This code can fix this

        // If not exists, return empty
        if ( !$this->fs->has($path)) {
            return $stat;
        }

However, I don't how other adapters behave. I also can't find a way to check if the adapter is s3

Invalid parameters for command "mkdir"

"helios-ag/fm-elfinder-bundle": "7.*", # versions 5,6,7 same error
"helios-ag/fm-elfinder-php-connector": "2.5.9"

When uploading a directory containing multiple files. The issue has been notices here too:
helios-ag/FMElfinderBundle#288

Query Parameters:

mode:
cmd:mkdir
target:l1_Lw
dirs[]:/pictures
_:1524498414013

It seems like the query parameters are missing the required parameter "name".

Any ideas for fix or workaround?

Thanks,
Kim

Move a directory to another, completly delete other files of the destination directory

Hello,

if i have such tree:

dir1 / file1.exe
dir2 / dir1 / file1.exe
dir2 / dir1 / file2.exe

then when i move my dir1 to my dir2, my dir2 / dir1 / file2.exe is deleted.
and i get this:

dir2 / dir1 / file1.exe

So, how can i can i get the same behavior than any other OS?
( like file1.exe is ereased, and file2.exe is kept )

dir2 / dir1 / file1.exe    (ereased from the parent directory)
dir2 / dir1 / file2.exe

Problem with namespaces

With the last version of the connector we have a trouble because when i try to instantiate any class in the FM\ELFinderPHP namespace throws an not found exception. When I move down the Connector files to the root src folder the classes can load. I think there is related with the autoload in the composer.json

"autoload": {
    "psr-4": {"FM\\ElFinderPHP\\": "src/"}
}

Thank you

Missing argument 1 for FM\\ElFinderPHP\\Connector\\ElFinderConnector::run()

Hi,

First of all, thanks for this great connector.
I'm using helios-ag/fm-elfinder-bundle version ~2.3. The bundles helios-ag/fm-elfinder-bundle v2.3.3 and helios-ag/fm-elfinder-php-connector v2.3.1 have been installed with composer.

It seems that helios-ag/fm-elfinder-php-connector > v2.2.1 isn't compatible with helios-ag/fm-elfinder-bundle v2.3 because of this error :

PHP Warning:  Missing argument 1 for FM\\ElFinderPHP\\Connector\\ElFinderConnector::run(), called in vendor/helios-ag/fm-elfinder-bundle/Loader/ElFinderLoader.php on line 58 and defined in vendor/helios-ag/fm-elfinder-php-connector/src/Connector/ElFinderConnector.php on line 58

Any idea ?
Thanks

Unable to connect to backend - Warning: Missing argument 1 for FM\ElFinderPHP\Connector\ElFinderConnector::run()

Hello Eveybody,
I'm working in a symfony project and I have a problem with browsing server in ckeditor for inserting images.
I'm using "Trsteel/ckeditor-bundle": "~1.8" and "helios-ag/fm-elfinder-bundle": "~4.0". When I try to browse the server to add image I have this alert: Unable to connect to backend and this error:

Warning: Missing argument 1 for
FM\ElFinderPHP\Connector\ElFinderConnector::run(), called in
C:\wamp\www\awb\vendor\helios-ag\fm-elfinder-bundle\Loader\ElFinderLoader.php
on line 63 and defined

Can someone help me please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.