- issue CSRF token on open init response
- send token via custom request header
- validate token for protected write commands
- refresh token TTL on info reload and valid protected requests
- return csrfReload marker on 403 to trigger background token refresh
- suppress duplicate CSRF refresh requests on the client
* Refactor touch event binding in elfinder.js (#3762)
for jquery 4.0
* Refactor name trimming in elFinder.resources.js (#3763)
for jquery 4.0
* Replace jQuery methods with native JavaScript equivalents (#3764)
for jquery 4.0
* Refactor command binding to use bind method (#3765)
for jquery 4.0
* Refactor search input value handling and buttonset (#3766)
for jquery 4.0
* Refactor function calls to use bind instead of proxy (#3767)
for jquery 4.0
* Refactor text trimming method in parseUploadData (#3768)
for jquery 4.0
* Fix mime trimming and whitespace handling (#3769)
for jquery 4.0
* Refactor value trimming to use native trim method (#3772)
for jquery 4.0
* Fix binding of 'make' method in mkfile.js (#3773)
for jquery 4.0
* Fix binding of make function in mkdir command (#3774)
for jquery 4.0
* Fix string trimming for translator names (#3775)
for jquery 4.0
* Fix binding of mixin make function in edit.js (#3776)
For jquery 4
* Refactor permission value trimming method (#3777)
For jquery 4.0
* fix: to support jQuery 4.0.0
* update: use jQuery 4.0.0/jQueyUI 1.14.2
---------
Co-authored-by: Brian Stone <brianstone@hotmail.com.au>
** Unifying translations such as "Klasör" and "Dizin" both used for "Folder". Same goes for volume, server and backend etc.
** Fixed some translation errors (translations were not well enough or completly different)
* Update elFinder.js
added file type message "Webp image" to column type "kind" for webp file when in list view
* CS
---------
Co-authored-by: Naoki Sawada <hypweb+github@gmail.com>
Defaults to false. When set to true, the edit dialog asks the
user for confirmation first when they have unsaved changes and
attempt to close the dialog. The user can either cancel the operation,
keeping the dialog open, discard their changes, or save their changes.
Implements Studio-42/elFinder#3697
Co-authored-by: Andre Wachsmuth <awa@xima.de>
Add options options.enableRootRename (default: true). When
set to false, root folders cannot be renamed by storing the new name
in the preferences. It is not always useful to users to set an arbitrary
alias and can, in some use cases, lead to more confusion rather than
being helpful.
Co-authored-by: Andre Wachsmuth <awa@xima.de>
* Add font mime kinds (WOFF, WOFF2, EOT, SFNT, generic font/*)
font/* mime types are new and preferred. WOFF and WOFF2 are quite
common on the web today.
* Fix indent
---------
Co-authored-by: Andre Wachsmuth <awa@xima.de>
* FixesStudio-42/elFinder#3689, fm.sync removes unavailable volumes.
When a request is made to the server with the open command and tree=1,
the server must reply with a list of all volumes. If the server's
response does not include a volume ElFinder already knows about, that
volume should be treated as not available anymore and get removed
from the file explorer UI.
* FixesStudio-42/elFinder#3689, fm.sync removes unavailable volumes.
This is an amendment to the previous commit. When invoking the refresh
action on a non-root folder, ElFinder also makes a "tree" request to the
server and adds all root volumes it currently knows about. Sinc other
parts of the code might rely upon this behavior (such as tree.js), remove
non-existent volumes from the response to the tree command in the fm.sync
method.
---------
Co-authored-by: Andre Wachsmuth <awa@xima.de>
Relative links are resolved against the manifest.json, the same way
as is done for the CSS URL.
This is needed when you are living places of the world where you
need to host everything yourself, as linking to external servers
is difficult due to privacy concerns. If your software can be hosted
on different servers, everything needs to be relative to work
properly.
elFinder is a fantastic project many WordPress plugins use, but zh_TW translation quality is needed to meet the standard and follow the zh_TW translation style.
I am a WordPress zh_TW community locale manager and general translation editor, and I fully re-translate elFinder zh_TW language files to make better quality.
Please accept this zh_TW language pack PR. Thank you so much.