Skip to content

Commit

Permalink
Update elfinder to 2.1.59.
Browse files Browse the repository at this point in the history
  • Loading branch information
rob006 committed Jun 19, 2021
1 parent 31caa9e commit 67d60d3
Show file tree
Hide file tree
Showing 53 changed files with 6,797 additions and 3,821 deletions.
98 changes: 98 additions & 0 deletions vendor/Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,101 @@
2021-06-13 Naoki Sawada <hypweb+elfinder@gmail.com>
* elFinder (2.1.59):
- [Security:php] Fixed multiple vulnerabilities leading to RCE
- [php:session] Fixed #3278 wrong code of typo
- [js:core] #3351 allow columnsCustomName[x] to be a function
- [css:quicklook] Fixed #3240 remove unnecessary color specifications
- [cmd:extract] Fixed #3252 for checking the existence of existing files
- [js:core] Fixed #3359 add an option "noResizeBySelf"
- [VD:abstract] Fixed #3216 missing url option on upload into root
- And some minor bug fixes


2021-06-09 Naoki Sawada <hypweb+elfinder@gmail.com>
* elFinder (2.1.58):
- [VD:abstract] Fixed #3151 support RAR5 lib
- [cmd:fullscreen] Fixed #3177 wrong fullscreen button caption
- [js:core] Supports cookie samesite attribute
- [VD:SFTP] Add new SFTP driver, via phpseclib library
- [js:core] Fixed #3193 auto-detection of baseUrl
- [js:upload] Fixed upload bug (#3264)
- [VD:abstract,php] make the thumbnail support webp (#3265)
- [php:core] Fixed #3250 error only variables can be passed by reference
- [VD:abstract] add 'phar:*' => 'text/x-php' into 'staticMineMap'
- [VD:abstract] Fixed #3181 add an option uploadMaxMkdirs
- [php:core] Add cwd param to proc_open (#3281)
- [VD:abstract] Bugfix of an option mimeDetect (#3291)
- [UI] Fixed #3302 problem of d&d when copy of UI command is disabled
- And some minor bug fixes


2020-06-05 Naoki Sawada <hypweb+elfinder@gmail.com>
* elFinder (2.1.57):
- [js] Fixed #3148 to support jQuery 3.5.0 update
- [php:core] Fixed #3154 volume that require online access cannot be specified
- [VD:abstract] Fixed #3161 fix option data of cwd results on after change files
- [VD:abstract] Fixed #3167 added "none" (no image library check) to `imgLib`
- [cmd:resize] Fixed #3158 to make able to change quality without changing dimensions
- And some minor bug fixes


2020-04-09 Naoki Sawada <hypweb+elfinder@gmail.com>

* elFinder (2.1.56):
- [js:extras:editors.default] remove Pixlr editor it is no longer possible to display in IFRAME
- [php:core] Fixed #3134 close file pointer before deleting temporary file on shutdown
- [VD:abstract] change prefix of zipdl temp file
- [php:core] Fixed #3136 zipdl fails on Chrome on iOS / iPadOS
- [cmd:netmount] Fixed #3138 OAuth not possible with CORS due to new ITP
- [VD:MySQL,OneDrive] Fixed #3142 remove debug code
- [i18n:pl,ko] Updated translations
- And some minor bug fixes


2020-03-18 Naoki Sawada <hypweb+elfinder@gmail.com>

* elFinder (2.1.55):
- [VD:abstract] Fixed #3125 Fatal error in zipArchiveUnzip()
- [cmd:open] optimization, move function definition in loop to out of loop
- [php:session] Fixed #3103 WARNING: setcookie(): Unrecognized key 'lifetime'
- [i18n:cs,sk] Updated translations


2020-03-14 Naoki Sawada <hypweb+elfinder@gmail.com>

* elFinder (2.1.54):
- [cmd:edit,quicklook] adjustment about select encoding function
- [php:core] add `toastErrorHandler` for send toast message to client side
- [cmd:resize] to allow image resize more image type with the ImageMagick
- [php:session] Fixed #3103 WARNING: setcookie(): Unrecognized key 'lifetime'
- [php:session] Fixed #2857 warning error on start()
- [ui:dialog] delete an option `flexibleHeight` so it works well by option `height: "auto"``
- [cmd:edit] bugfix of save as on the serach results
- [php:core] add a public method `utf8Encode()` and make new main option `utf8Encoder` @callable
- [VD:abstract] Fixed #3104 Fixed as much as possible the differences in encoding of archive file names
- [php:plugins:Watermark] repeated use of Imagick::compositeImage() may cause PHP to hang, so disable it
- [js:core] Fixed #3106 enable to specify header name of parrot return to enable ITP measures
- [php:Connector] add a public method `setHeader($value)`
- [js:core] support fake progress bar
- [VD:OneDrive] bugfix of large file uploading
- [VD:Box] Fixed problem where access token could be lost
- [VD:Box] Fixed processing of `getSharedWebContentLink()`
- [js:core] if the file URL is public, use it as onetime url
- [php:plugins:Normalizer] support "caron" with option "umlauts"
- [js:core:notify] Fixed #3111 add minimize, close(option) button into notify dialog
- [ja:extars:editors.default] Fixed #2600 remove Creative Cloud Image Editor UI
- [php] Fixed #3114 stream proxy function using the `file` cmd corresponds to range request
- [js:extras:efitors.default] to show color slider of TUI Image Editor
- [cmd:edit] error handling of ta.getContent()
- [cmd:edit] bugfix of savecl() edit dialog may not re-open in case of error
- [js:core] Fixed #3118 web worker does not work when elfinder.js is cross-site loaded
- [php:core,VD] Fixed #3119 disallow extract of uncompressed size larger than option "maxArcFilesSize"
- [php:core] Fixed #3120 allow plugins (Sanitizer etc) to be applied when pasting from another volume
- [php:plugins:Normlizer,Sanitizer] update example commentation, recommend to bind to action "paste.copyfrom"
- [VD:FTP] Fixed stat() of root on server with no supports "MLST"
- [ui:cwd] Fixed a bug that thumbnails might not be displayed after editing image
- And some minor bug fixes


2020-01-25 Naoki Sawada <hypweb+elfinder@gmail.com>

* elFinder (2.1.53):
Expand Down
2 changes: 1 addition & 1 deletion vendor/LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
elFinder is issued under a 3-clauses BSD license.

Copyright (c) 2009-2018, Studio 42
Copyright (c) 2009-2020, Studio 42
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
14 changes: 6 additions & 8 deletions vendor/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
elFinder
========

**WARNING: IF YOU HAVE OLDER (IN PARTICULAR 2.1.48 OR EARLIER) VERSIONS OF ELFINDER ON PUBLIC SERVERS, IT MAY CAUSE SERIOUS DAMAGE TO YOUR SERVER AND VISITED USER. YOU SHOULD UPDATE TO THE LATEST VERSION OR REMOVE IT FROM THE SERVER.**
**WARNING: IF YOU HAVE OLDER (IN PARTICULAR 2.1.58 OR EARLIER) VERSIONS OF ELFINDER ON PUBLIC SERVERS, IT MAY CAUSE SERIOUS DAMAGE TO YOUR SERVER AND VISITED USER. YOU SHOULD UPDATE TO THE LATEST VERSION OR REMOVE IT FROM THE SERVER.**

[![elFinder file manager for the Web](https://studio-42.github.io/elFinder/images/elFinderScr.png "elFinder file manager for the Web")](https://studio-42.github.io/elFinder/)

Expand Down Expand Up @@ -47,7 +47,7 @@ Features
upload, create folder/file, rename, etc.)
* High performance server backend and light client UI
* Multi-root support
* Local file system, MySQL, FTP, Box, Dropbox, GoogleDrive and OneDrive volume storage drivers
* Local file system, MySQL, FTP, SFTP, Box, Dropbox, GoogleDrive and OneDrive volume storage drivers
* Support AWS S3, Azure, Digital Ocean Spaces and more with [League\Flysystem](https://github.com/barryvdh/elfinder-flysystem-driver) Flysystem driver
* Cloud storage (Box, Dropbox, GoogleDrive and OneDrive) drivers
* Background file/folder upload with Drag & Drop HTML5 support
Expand Down Expand Up @@ -124,7 +124,7 @@ Installation
Downloads
------------
**Stable releases** ([Changelog](https://github.com/Studio-42/elFinder/blob/master/Changelog))
+ [elFinder 2.1.53](https://github.com/Studio-42/elFinder/archive/2.1.53.zip)
+ [elFinder 2.1.59](https://github.com/Studio-42/elFinder/archive/2.1.59.zip)
+ [elFinder 2.0.9](https://github.com/Studio-42/elFinder/archive/2.0.9.zip) (deprecated)
**Nightly builds**
Expand All @@ -134,7 +134,6 @@ Demo sites
------------
**2.1.x Nightly**
+ https://studio-42.github.io/elFinder/ (with CORS)
+ https://hypweb.net/elFinder-nightly/demo/2.1/
FAQs
------------
Expand All @@ -154,8 +153,7 @@ You can create or modify the language file to use translation tool. Please refer
3rd party connectors
--------------------
* [ASP.NET Core](https://github.com/gordon-matt/elFinder.NetCore)
* [ASP.NET](https://github.com/leniel/elFinder.Net)
* [ASP.NET](https://github.com/leniel/elFinder.Net) / [ASP.NET Core](https://github.com/gordon-matt/elFinder.NetCore) / [.NET Standard](https://github.com/mguinness/elFinder.AspNet)
* [Java Servlet](https://github.com/trustsystems/elfinder-java-connector)
* [JavaScript/Efw](https://github.com/efwGrp/efw3.X/blob/master/help/tag.elfinder.md)
* [Nodejs](https://github.com/dekyfin/elfinder-node)
Expand All @@ -178,7 +176,7 @@ Hint: [How to load CSS with RequireJS?](https://github.com/Studio-42/elFinder/wi
3rd party Integrations
--------------------
* [Django](https://github.com/mikery/django-elfinder)
* [Drupal](https://www.drupal.org/project/elfinder)
* [Drupal](https://gitlab.com/667bdrm/elfinder)
* [Laravel](https://github.com/barryvdh/laravel-elfinder)
* [Roundcube](https://github.com/Offerel/roundcube_elfinder)
* [Symfony](https://github.com/helios-ag/FMElfinderBundle)
Expand All @@ -203,7 +201,7 @@ Authors
* Current main developer: Naoki Sawada <hypweb+elfinder@gmail.com>
* Chief developer: Dmitry "dio" Levashov <dio@std42.ru>
* Maintainer: Troex Nevelin <troex@fury.scancode.ru>
* Developers: Alexey Sukhotin <strogg@yandex.ru>, Naoki Sawada <hypweb+elfinder@gmail.com>
* Developers: Alexey Sukhotin, Naoki Sawada <hypweb+elfinder@gmail.com>
* Icons: PixelMixer, [Yusuke Kamiyamane](http://p.yusukekamiyamane.com), [Icons8](https://icons8.com)
We hope our tools will be helpful for you.
Expand Down
93 changes: 87 additions & 6 deletions vendor/assets/css/elfinder.full.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*!
* elFinder - file manager for web
* Version 2.1.53 (2020-01-25)
* Version 2.1.59 (2021-06-14)
* http://elfinder.org
*
* Copyright 2009-2020, Studio 42
* Copyright 2009-2021, Studio 42
* Licensed under a 3-clauses BSD license
*/

Expand Down Expand Up @@ -1184,6 +1184,12 @@ div.elfinder {
opacity: .8;
}

.elfinder div.elfinder-bottomtray > div {
top: initial;
right: initial;
left: initial;
}

.elfinder.elfinder-ltr div.elfinder-bottomtray {
left: 0;
}
Expand All @@ -1199,6 +1205,24 @@ div.elfinder {
padding: 2px 4px;
}

/* progressbar */
.elfinder-ui-progressbar {
pointer-events: none;
position: absolute;
width: 0;
height: 2px;
top: 0px;
border-radius: 2px;
filter: blur(1px);
}

.elfinder-ltr .elfinder-ui-progressbar {
left: 0;
}

.elfinder-rtl .elfinder-ui-progressbar {
right: 0;
}
/* File: /css/contextmenu.css */
/* menu and submenu */
.elfinder .elfinder-contextmenu,
Expand Down Expand Up @@ -3019,12 +3043,48 @@ tr.elfinder-cwd-file td .elfinder-cwd-select {

.elfinder-dialog-notify .ui-dialog-titlebar {
height: 5px;
overflow: hidden;
}

.elfinder-dialog-notify .ui-dialog-titlebar-close {
.elfinder.elfinder-touch > .elfinder-dialog-notify .ui-dialog-titlebar {
height: 10px;
}

.elfinder > .elfinder-dialog-notify .ui-dialog-titlebar .elfinder-titlebar-button {
top: 2px;
}

.elfinder.elfinder-touch > .elfinder-dialog-notify .ui-dialog-titlebar .elfinder-titlebar-button {
top: 4px;
}

.elfinder > .elfinder-dialog-notify .ui-dialog-titlebar .elfinder-titlebar-button {
left: -18px;
right: 18px;
}

.elfinder > .elfinder-dialog-notify .ui-dialog-titlebar .elfinder-titlebar-button.elfinder-titlebar-button-right {
left: 18px;
right: -18px;
}

.ui-dialog-titlebar .elfinder-ui-progressbar {
position: absolute;
top: 17px;
}

.elfinder-touch .ui-dialog-titlebar .elfinder-ui-progressbar {
top: 26px;
}

.elfinder-dialog-notify.elfinder-titlebar-button-hide .ui-dialog-titlebar-close {
display: none;
}

.elfinder-dialog-notify.elfinder-dialog-minimized.elfinder-titlebar-button-hide .ui-dialog-titlebar span.elfinder-dialog-title {
max-width: initial;
}

.elfinder-dialog-notify .ui-dialog-content {
padding: 0;
}
Expand Down Expand Up @@ -3073,6 +3133,22 @@ tr.elfinder-cwd-file td .elfinder-cwd-select {
border-radius: 2px;
}

.elfinder-notify-cancel {
position: relative;
top: -18px;
right: calc(-50% + 15px);
}

.elfinder-notify-cancel .ui-icon-close {
background-position: -80px -128px;
width: 18px;
height: 18px;
border-radius: 9px;
border: none;
background-position: -80px -128px;
cursor: pointer;
}

/* icons */
.elfinder-dialog-icon-open,
.elfinder-dialog-icon-readdir,
Expand Down Expand Up @@ -4140,6 +4216,12 @@ button.elfinder-info-button {
color: #fff;
}

.elfinder-quicklook-info-progress {
width: 0;
height: 4px;
border-radius: 2px;
}

/* file icon */
.elfinder-quicklook .elfinder-cwd-icon {
position: absolute;
Expand Down Expand Up @@ -4174,7 +4256,7 @@ button.elfinder-info-button {
}

.elfinder-ltr .elfinder-quicklook .elfinder-cwd-icon:after {
left: -20px;
left: -42px;
}

.elfinder-ltr .elfinder-navdock .elfinder-quicklook .elfinder-cwd-icon:after {
Expand All @@ -4188,7 +4270,7 @@ button.elfinder-info-button {

.elfinder-rtl .elfinder-quicklook .elfinder-cwd-icon:after {
left: auto;
right: 46px;
right: 42px;
}

/* image in preview */
Expand Down Expand Up @@ -4330,7 +4412,6 @@ pre.elfinder-quicklook-preview-text.prettyprint {
padding: 3px 9px;
border: none;
overflow: visible;
background: #fff;
-o-tab-size: 4;
-moz-tab-size: 4;
tab-size: 4;
Expand Down
6 changes: 3 additions & 3 deletions vendor/assets/css/elfinder.min.css

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions vendor/assets/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
border-color: #8a8a8a;
}

.elfinder-quicklook-info-progress {
background-color: gray;
}

.std42-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:hover .ui-icon,
.elfinder-mobile .std42-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon,
.elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-close:hover,
Expand Down Expand Up @@ -396,6 +400,15 @@
background-color: inherit;
}

.elfinder-notify-cancel .elfinder-notify-button {
background-color: #707070;
background-image: url("../img/ui-icons_ffffff_256x240.png");
}

.elfinder-notify-cancel .elfinder-notify-button.ui-state-hover {
background-color: #aaa;
}

/* edit dialog */
.elfinder-dialog-edit select.elfinder-edit-changed {
border-bottom: 2px solid #13ae10;
Expand All @@ -410,3 +423,8 @@
.elfinder .elfinder-ui-tooltip.ui-widget-shadow {
box-shadow: 2px 6px 4px -4px #cecdcd;
}

/* progressbar */
.elfinder-ui-progressbar {
background-color: #419bf3;
}
Loading

0 comments on commit 67d60d3

Please sign in to comment.