3386 Commits

Author SHA1 Message Date
nao-pon e311a7db22 elFinder version 2.1.69 2026-05-07 21:52:56 +09:00
nao-pon 0fadad49b4 elFinder version 2.1.68 2026-05-07 17:19:02 +09:00
Naoki Sawada 7cbfb94664 [i18n:ja] Update elfinder.ja.js 2026-04-29 23:32:24 +09:00
nao-pon b0a259af00 Update safe CDN versions for external JS libs 2026-04-29 20:54:08 +09:00
nao-pon 5f1664f4f5 fix(js): guard CSRF reload check when xhr is missing
Avoid accessing xhr response data on aborted dim requests such as
quicklook transitions where the pending xhr is canceled.
2026-04-21 20:57:54 +09:00
nao-pon 633e82a94b fix(connector): add CSRF token validation and refresh flow
- 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
2026-04-21 11:32:52 +09:00
Naoki Sawada 48576af671 Prepare elFinder for jQuery 4 sup (#3781)
* 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>
2026-04-20 13:45:00 +09:00
nao-pon 7081727816 fix: Pixo Image Editor JS path 2026-04-20 09:44:24 +09:00
jmario74 23b1d4652c added "SVG image" & "WEBP image" file type description to "Kind" column when in list view (#3738) 2026-04-18 09:54:46 +09:00
Brian Stone d303dbe375 Use Array.isArray instead of $.isArray (#3771)
for jquery 4.0
2026-04-18 09:49:54 +09:00
Alex Yashkin 09fa86964d Update Russian translation and authorship details (#3757) 2026-04-18 01:23:28 +09:00
nao-pon 82a4f2d98a Merge branch 'master' of github.com:Studio-42/elFinder 2026-04-18 01:22:15 +09:00
nao-pon 047afabbef fix(mime): normalize MIME mappings and regenerate elFinder.mimetypes.js
Fixes #3736
2026-04-18 01:19:49 +09:00
jmario74 67592ce5e9 pressing minimized button ( - ) on the editor while the editor is maximized will close the editor (#3737) 2026-04-17 21:31:01 +09:00
nao-pon 162bff682d elFinder version 2.1.67 2026-04-17 11:44:14 +09:00
Sergey B (Troex Nevelin) d2ce4bdc2f Merge pull request #3742 from RobiNN1/patch-1
Update Slovak translation
2025-11-29 05:30:28 +01:00
Róbert Kelčák 3851032506 Update Slovak translation 2025-11-09 12:26:45 +01:00
Anton 7ffe7d0a87 Translate 'Discard changes' to Ukrainian 2025-08-28 19:22:23 +03:00
nao-pon 3d4e9883dc elFinder version 2.1.66 2025-08-28 20:50:27 +09:00
mhasanunal 7dad70ec7d fix translation mistakes and unification (#3719)
** 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)
2025-08-28 20:24:19 +09:00
jmario74 aea104139c Add "WEBP" to File mimetype to kind mapping (#3712)
* 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>
2025-08-28 20:22:29 +09:00
Andre Wachsmuth 211c2c0b2d Add option commandsOptions.edit.confirmUnsavedBeforeClose (#3698)
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>
2025-08-28 20:06:09 +09:00
Andre Wachsmuth 29d5879183 Add option to rename command to disable alias rename (#3693)
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>
2025-08-28 20:04:12 +09:00
Andre Wachsmuth 9022cc8143 Ignore posted message that are not intended for ElFinder (#3692)
https://github.com/Studio-42/elFinder/issues/3432

Co-authored-by: Andre Wachsmuth <awa@xima.de>
2025-08-28 20:02:59 +09:00
Andre Wachsmuth 2f0554dbc7 Add font mime kinds (WOFF, WOFF2, EOT, SFNT, generic font/*) (#3691)
* 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>
2025-08-28 20:01:26 +09:00
Andre Wachsmuth cde4d2b214 Fixes #3689, fm.sync removes unavailable volumes. (#3690)
* Fixes Studio-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.

* Fixes Studio-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>
2025-08-28 19:59:02 +09:00
Andre Wachsmuth e111f903ac Fixes #3684 (#3685)
* Fixes https://github.com/Studio-42/elFinder/issues/3684

JQueryUI's checkboxradio widget must be initialized only after
the element was added to the DOM.

* Update resize.js

CS correction and unnecessary code deletion

---------

Co-authored-by: Andre Wachsmuth <awa@xima.de>
Co-authored-by: Naoki Sawada <hypweb+github@gmail.com>
2024-12-04 00:35:45 +09:00
Naoki Sawada 136bf428d6 Merge pull request #3682 from Ruslan-Aleev/patch-1
Update elfinder.ru.js
2024-12-03 23:09:34 +09:00
Ruslan Aleev 44ffec91e6 Update elfinder.ru.js
Fixed incorrect translation of "Prefence / Prefences"
2024-11-05 21:12:08 +04:00
Andre Wachsmuth b0cd273c1a Allow image URL in theme manifest.json to be a relative link as well
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.
2024-10-11 10:19:58 +01:00
Naoki Sawada ef08b86c1b Merge pull request #3647 from allity/patch-1
Update elfinder.ko.js
2024-09-26 17:36:55 +09:00
allity 779002fed2 Update elfinder.ko.js 2024-03-19 16:29:43 +09:00
Q f8e0ef911b fix name 2024-02-24 15:47:22 +08:00
Q 3d677986ce Update Chinese help 2024-02-24 15:44:14 +08:00
Q 35e952e6e5 Update zh_CN.js 2024-02-24 15:39:14 +08:00
Q 35ae3254fe translate to Chinese 2024-02-24 15:30:18 +08:00
nao-pon 1ad203a186 elFinder version 2.1.65 2024-01-05 14:00:53 +09:00
nao-pon 38549a7b34 year update 2024-01-05 13:58:01 +09:00
nao-pon 31b4095d3a [js] update CDNs and quicklook.plugins, editors.default 2023-12-21 21:47:34 +09:00
nao-pon e0df91d4ff [js:quicklook] fix enbug of #3586 2023-12-21 01:08:19 +09:00
nao-pon c615f814fc elFinder version 2.1.64 2023-12-20 16:42:23 +09:00
nao-pon a54337c675 elFinder version 2.1.63 2023-12-20 11:33:38 +09:00
Alex Lion 013ff8a769 Update zh_TW translations for high quality purpose (#3622)
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.
2023-12-20 10:49:53 +09:00
Nounours13 2059d10254 Create fr.html.js (#3618)
Hi,
This is the file for the french language
2023-12-20 10:45:22 +09:00
Bilal Ahmad Khan 7100e3f421 Used switch statement instead of if-else (#3586)
Using a switch statement makes the code more readable and easier to manage when dealing with different cases based on the type.
2023-12-20 10:02:50 +09:00
Bilal Ahmad Khan a9f4b9617c Eliminate the unnecessary data variable. (#3585) 2023-12-20 09:48:47 +09:00
nao-pon fc011b1899 [js] fix #3614 $.isFunction() is deprecated in jQuery
Repalce to `typeof x === 'function'`
2023-12-20 01:06:52 +09:00
nao-pon 98d48fa987 [cmd:upload] fix #3575 Drag&Drop Upload Issue with Firefox 2023-06-19 00:49:46 +09:00
nao-pon ba48342df1 elFinder version 2.1.62 2023-06-14 01:38:19 +09:00
nao-pon 6088461757 [js:options] update cdns. 2023-06-02 14:31:54 +09:00