6951 Commits

Author SHA1 Message Date
nao-pon ec5f811dc3 edit README.md version 2.1.69 2026-05-07 21:52:57 +09:00
nao-pon e311a7db22 elFinder version 2.1.69 2026-05-07 21:52:56 +09:00
nao-pon 8eb9a3255b docs: update Cjangelog 2026-05-07 21:48:53 +09:00
nao-pon 589f1e5941 edit README.md version 2.1.68 2026-05-07 17:29:55 +09:00
nao-pon 0fadad49b4 elFinder version 2.1.68 2026-05-07 17:19:02 +09:00
nao-pon 819bb11b4b update: edit README, Changelog 2026-05-07 16:54:11 +09:00
Naoki Sawada 6f7593fcac Merge commit from fork 2026-05-07 16:45:04 +09:00
nao-pon 340e600d2a docs: fix correct the incorrect date 2026-05-07 14:15:31 +09:00
nao-pon 0dfa4fc979 Merge branch 'master' of github.com:Studio-42/elFinder 2026-05-07 11:01:46 +09:00
nao-pon 0f7888550a chore: ignore local IDE project files 2026-05-07 10:53:11 +09:00
nao-pon c4dd10381d chore(js): update default CDN library versions 2026-05-07 10:51:55 +09:00
nao-pon ea1a352fb9 fix(connector): normalize PHP error handling and mount failures 2026-05-07 10:37:04 +09:00
nao-pon 316bd72f26 Merge branch 'master' of github.com:Studio-42/elFinder 2026-04-29 23:32:43 +09:00
Naoki Sawada 7cbfb94664 [i18n:ja] Update elfinder.ja.js 2026-04-29 23:32:24 +09:00
nao-pon be9ce70ac9 Normalize MPD text/xml MIME type 2026-04-29 21:36:22 +09:00
nao-pon b0a259af00 Update safe CDN versions for external JS libs 2026-04-29 20:54:08 +09:00
nao-pon da8300b5af fix:#3782 avoid E_STRICT on PHP 8.4+ 2026-04-27 23:32:58 +09:00
nao-pon 6c929d8941 Preserve i18n keys in mount errors 2026-04-24 22:59:02 +09:00
nao-pon 3909861f64 fix(onedrive): prefer cached Graph download URLs for file access
Fixes #3722

Use @microsoft.graph.downloadUrl for OneDrive file access and
fall back to the /content redirect when needed.

Reuse cached download URLs when available, and update the cache
only when a full stat entry already exists.
2026-04-23 16:04:53 +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 11b5e6b82d fix(connector): refine CSRF token refresh timing and protected commands
- refresh CSRF TTL after successful open/info/protected commands
- extend token lifetime on open requests during normal navigation
- limit CSRF protection to stable write commands
- fix callback script syntax in OAuth popup handling
2026-04-21 18:11:59 +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
nao-pon 63369c6afe feat(editor): add signed callback state storage for external save handlers 2026-04-21 00:10:12 +09:00
nao-pon 5098f73894 build: add elfinder-minimal 2026-04-20 17:51:51 +09:00
nao-pon c53a31be11 fix: example html, js 2026-04-20 15:25:53 +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 95b3e205f7 Merge branch 'master' of github.com:Studio-42/elFinder 2026-04-20 10:29:19 +09:00
Naoki Sawada 2a860167b8 fix: improve PHP 8 compatibility in session, cURL, and callback handling (#3780)
- replace curl_close() handling for PHP 8 CurlHandle compatibility
- refine session cookie params and read-only session behavior
- change session get() default fallback from '' to null
- improve OAuth callback window close/message fallback
- add type-safe adjustments in watermark processing
2026-04-20 10:28:31 +09:00
nao-pon 49cc58fad5 update: [css] change font-size of preview 2026-04-20 09:44:35 +09:00
nao-pon 7081727816 fix: Pixo Image Editor JS path 2026-04-20 09:44:24 +09:00
Naoki Sawada c7eb607dd1 Create SECURITY.md 2026-04-19 18:51:54 +09:00
ctrlaltca 33201ec1d2 Correctly urlencode path in setcookie(); fix Studio-42#3538 (#3754)
Some characters are valid in URLs but not in cookies, eg. comma or semicolon.
They needs to be encoded properly.
2026-04-18 10:00:02 +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
nao-pon 9b635b4e7e chore(dev): add MIME mapping generator script 2026-04-18 01:32:21 +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
colemanw 44aa9331ce Update deprecated php type casts (#3739)
In PHP 8.5, non-canonical scalar type casts (boolean|double|integer|binary) deprecated.

See https://php.watch/versions/8.5/boolean-double-integer-binary-casts-deprecated.
2026-04-17 21:37:45 +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
Anton Kudriashov 2ce950f210 Fix incorrect URL generation in getContentUrl() (#3759)
trim($this->root, '/') strips the leading slash from the root path,
making strlen() return a value 1 less than expected. This causes
substr() to include an extra character from the root folder name
in the relative path.

For example, with root folder "images":
- Expected URL: /files/image.jpg
- Actual URL:   /files/s/image.jpg

Using strlen($this->root) + 1 is consistent with other URL
construction methods in elFinderVolumeLocalFileSystem (lines 206,
612, 845, 1420) which all use this correct pattern.

Fixes #3746
2026-04-17 21:08:04 +09:00
Andres Rosado ecdc053963 Fixing bug where uploading large files sometimes fails (#3761)
Sometimes uploading large files fails with the following error: Unsupported operand types: string + int {"userId":2,"exception":"[object] (TypeError(code: 0): Unsupported operand types: string + int at <path>/vendor/studio-42/elfinder/php/elFinder.php:4476). 

The function file_get_contents returns a string, and PHP 8 doesn't do implicit conversion. It requires the conversion to be explicit to not give problems.
2026-04-17 19:57:09 +09:00
nao-pon 42788b8f51 edit README.md version 2.1.67 2026-04-17 11:44:14 +09:00
nao-pon 162bff682d elFinder version 2.1.67 2026-04-17 11:44:14 +09:00
nao-pon c6d911531c Merge branch 'master' of github.com:Studio-42/elFinder 2026-04-17 11:43:15 +09:00
nao-pon 58d7e853df docs: update Changelog, README.md 2026-04-17 11:42:25 +09:00
Naoki Sawada bf02465a19 Merge commit from fork 2026-04-17 11:33:38 +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
Sergey B (Troex Nevelin) 11be59cbc4 Merge pull request #3724 from stalker780/patch-5
Translate 'Discard changes' to Ukrainian
2025-11-29 05:28:57 +01:00
Róbert Kelčák 3851032506 Update Slovak translation 2025-11-09 12:26:45 +01:00