Compare commits

...
7 Commits
Author SHA1 Message Date
Henrique Dias e193d43278 chore(release): 2.57.1 2026-02-08 08:02:48 +01:00
Henrique Dias 489af403a1 fix: remove skip clean 2026-02-08 08:02:03 +01:00
Henrique Dias ff2f00498c fix: normalize fields capitalization 2026-02-08 07:50:40 +01:00
renovate[bot] 2957b4605b chore(deps): update all non-major dependencies (#5747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-08 07:47:22 +01:00
Henrique Dias 099dfb0ae8 docs: update headers 2026-02-04 22:16:25 +01:00
Henrique Dias a4289011ef docs: fix headers 2026-02-04 22:15:32 +01:00
Ariel Leyva 942d59848a chore(doc): add documentation for hook authentication method (#5742) 2026-02-04 22:12:56 +01:00
6 changed files with 231 additions and 90 deletions

No files matched your search

+8
View File
@@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
## [2.57.1](https://github.com/filebrowser/filebrowser/compare/v2.57.0...v2.57.1) (2026-02-08)
### Bug Fixes
* normalize fields capitalization ([ff2f004](https://github.com/filebrowser/filebrowser/commit/ff2f00498cff151e2fb1f5f0b16963bf33c3d6d4))
* remove skip clean ([489af40](https://github.com/filebrowser/filebrowser/commit/489af403a19057f6b6b4b1dc0e48cbb26a202ef9))
## [2.57.0](https://github.com/filebrowser/filebrowser/compare/v2.56.0...v2.57.0) (2026-02-01)
+1 -1
View File
@@ -71,5 +71,5 @@
"vite-plugin-compression2": "^2.3.1",
"vue-tsc": "^3.1.3"
},
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264"
"packageManager": "pnpm@10.29.1+sha512.48dae233635a645768a3028d19545cacc1688639eeb1f3734e42d6d6b971afbf22aa1ac9af52a173d9c3a20c15857cfa400f19994d79a2f626fcc73fccda9bbc"
}
+105 -82
View File
@@ -58,7 +58,7 @@ importers:
version: 7.1.0
qrcode.vue:
specifier: ^3.6.0
version: 3.7.1(vue@3.5.27(typescript@5.9.3))
version: 3.8.0(vue@3.5.27(typescript@5.9.3))
tus-js-client:
specifier: ^4.3.1
version: 4.3.1
@@ -67,13 +67,13 @@ importers:
version: 3.1.0
video.js:
specifier: ^8.23.3
version: 8.23.4
version: 8.23.6
videojs-hotkeys:
specifier: ^0.2.28
version: 0.2.30
videojs-mobile-ui:
specifier: ^1.1.1
version: 1.1.4(video.js@8.23.4)
version: 1.2.1(video.js@8.23.6)
vue:
specifier: ^3.5.17
version: 3.5.27(typescript@5.9.3)
@@ -91,7 +91,7 @@ importers:
version: 1.3.4
vue-router:
specifier: ^5.0.0
version: 5.0.1(@vue/compiler-sfc@3.5.27)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.27(typescript@5.9.3)))(vue@3.5.27(typescript@5.9.3))
version: 5.0.2(@vue/compiler-sfc@3.5.27)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.27(typescript@5.9.3)))(vue@3.5.27(typescript@5.9.3))
vue-toastification:
specifier: ^2.0.0-rc.5
version: 2.0.0-rc.5(vue@3.5.27(typescript@5.9.3))
@@ -107,16 +107,16 @@ importers:
version: 4.17.12
'@types/node':
specifier: ^24.10.1
version: 24.10.9
version: 24.10.12
'@typescript-eslint/eslint-plugin':
specifier: ^8.37.0
version: 8.54.0(@typescript-eslint/parser@8.37.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)
'@vitejs/plugin-legacy':
specifier: ^7.2.1
version: 7.2.1(terser@5.46.0)(vite@7.3.1(@types/node@24.10.9)(terser@5.46.0)(yaml@2.8.2))
version: 7.2.1(terser@5.46.0)(vite@7.3.1(@types/node@24.10.12)(terser@5.46.0)(yaml@2.8.2))
'@vitejs/plugin-vue':
specifier: ^6.0.1
version: 6.0.3(vite@7.3.1(@types/node@24.10.9)(terser@5.46.0)(yaml@2.8.2))(vue@3.5.27(typescript@5.9.3))
version: 6.0.4(vite@7.3.1(@types/node@24.10.12)(terser@5.46.0)(yaml@2.8.2))(vue@3.5.27(typescript@5.9.3))
'@vue/eslint-config-prettier':
specifier: ^10.2.0
version: 10.2.0(eslint@9.39.2)(prettier@3.8.1)
@@ -155,7 +155,7 @@ importers:
version: 5.9.3
vite:
specifier: ^7.2.2
version: 7.3.1(@types/node@24.10.9)(terser@5.46.0)(yaml@2.8.2)
version: 7.3.1(@types/node@24.10.12)(terser@5.46.0)(yaml@2.8.2)
vite-plugin-compression2:
specifier: ^2.3.1
version: 2.4.0(rollup@4.55.1)
@@ -181,8 +181,8 @@ packages:
resolution: {integrity: sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==}
engines: {node: '>=6.9.0'}
'@babel/generator@7.29.0':
resolution: {integrity: sha512-vSH118/wwM/pLR38g/Sgk05sNtro6TlTJKuiMXDaZqPUfjTFcudpCOt00IhOfj+1BFAX+UFAlzCU+6WXr3GLFQ==}
'@babel/generator@7.29.1':
resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==}
engines: {node: '>=6.9.0'}
'@babel/helper-annotate-as-pure@7.27.3':
@@ -658,8 +658,8 @@ packages:
peerDependencies:
'@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0
'@babel/runtime@7.28.4':
resolution: {integrity: sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==}
'@babel/runtime@7.28.6':
resolution: {integrity: sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==}
engines: {node: '>=6.9.0'}
'@babel/template@7.27.2':
@@ -1153,8 +1153,8 @@ packages:
resolution: {integrity: sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==}
engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
'@rolldown/pluginutils@1.0.0-beta.53':
resolution: {integrity: sha512-vENRlFU4YbrwVqNDZ7fLvy+JR1CRkyr01jhSiDpE1u6py3OMzQfztQU2jxykW3ALNxO4kSlqIDeYyD0Y9RcQeQ==}
'@rolldown/pluginutils@1.0.0-rc.2':
resolution: {integrity: sha512-izyXV/v+cHiRfozX62W9htOAvwMo4/bXKDrQ+vom1L1qRuexPock/7VZDAhnpHCLNejd3NJ6hiab+tO0D44Rgw==}
'@rollup/pluginutils@5.3.0':
resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==}
@@ -1322,8 +1322,8 @@ packages:
'@types/lodash@4.17.13':
resolution: {integrity: sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==}
'@types/node@24.10.9':
resolution: {integrity: sha512-ne4A0IpG3+2ETuREInjPNhUGis1SFjv1d5asp8MzEAGtOZeTeHVDOYqOgqfhvseqg/iXty2hjBf1zAOb7RNiNw==}
'@types/node@24.10.12':
resolution: {integrity: sha512-68e+T28EbdmLSTkPgs3+UacC6rzmqrcWFPQs1C8mwJhI/r5Uxr0yEuQotczNRROd1gq30NGxee+fo0rSIxpyAw==}
'@types/trusted-types@2.0.7':
resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
@@ -1472,8 +1472,8 @@ packages:
resolution: {integrity: sha512-VFlhGSl4opC0bprJiItPQ1RfUhGDIBokcPwaFH4yiBCaNPeld/9VeXbiPO1cLyorQi1G1vL+ecBk1x8o1axORA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@videojs/http-streaming@3.17.2':
resolution: {integrity: sha512-VBQ3W4wnKnVKb/limLdtSD2rAd5cmHN70xoMf4OmuDd0t2kfJX04G+sfw6u2j8oOm2BXYM9E1f4acHruqKnM1g==}
'@videojs/http-streaming@3.17.3':
resolution: {integrity: sha512-6AteOnlpiY8ljijyCB+JszDCIVl9UcSgIiM+CfpBe3Yk2VESjKw9Jq8AkOyZyfLI4U5kDR9izHcGi6ho517n8g==}
engines: {node: '>=8', npm: '>=5'}
peerDependencies:
video.js: ^8.19.0
@@ -1492,8 +1492,8 @@ packages:
terser: ^5.16.0
vite: ^7.0.0
'@vitejs/plugin-vue@6.0.3':
resolution: {integrity: sha512-TlGPkLFLVOY3T7fZrwdvKpjprR3s4fxRln0ORDo1VQ7HHyxJwTlrjKU3kpVWTlaAjIEuCTokmjkZnr8Tpc925w==}
'@vitejs/plugin-vue@6.0.4':
resolution: {integrity: sha512-uM5iXipgYIn13UUQCZNdWkYk+sysBeA97d5mHsAoAt1u/wpN3+zxOmsVJWosuzX+IMGRzeYUNytztrYznboIkQ==}
engines: {node: ^20.19.0 || >=22.12.0}
peerDependencies:
vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
@@ -1535,20 +1535,20 @@ packages:
'@vue/devtools-api@7.7.8':
resolution: {integrity: sha512-BtFcAmDbtXGwurWUFf8ogIbgZyR+rcVES1TSNEI8Em80fD8Anu+qTRN1Fc3J6vdRHlVM3fzPV1qIo+B4AiqGzw==}
'@vue/devtools-api@8.0.5':
resolution: {integrity: sha512-DgVcW8H/Nral7LgZEecYFFYXnAvGuN9C3L3DtWekAncFBedBczpNW8iHKExfaM559Zm8wQWrwtYZ9lXthEHtDw==}
'@vue/devtools-api@8.0.6':
resolution: {integrity: sha512-+lGBI+WTvJmnU2FZqHhEB8J1DXcvNlDeEalz77iYgOdY1jTj1ipSBaKj3sRhYcy+kqA8v/BSuvOz1XJucfQmUA==}
'@vue/devtools-kit@7.7.8':
resolution: {integrity: sha512-4Y8op+AoxOJhB9fpcEF6d5vcJXWKgHxC3B0ytUB8zz15KbP9g9WgVzral05xluxi2fOeAy6t140rdQ943GcLRQ==}
'@vue/devtools-kit@8.0.5':
resolution: {integrity: sha512-q2VV6x1U3KJMTQPUlRMyWEKVbcHuxhqJdSr6Jtjz5uAThAIrfJ6WVZdGZm5cuO63ZnSUz0RCsVwiUUb0mDV0Yg==}
'@vue/devtools-kit@8.0.6':
resolution: {integrity: sha512-9zXZPTJW72OteDXeSa5RVML3zWDCRcO5t77aJqSs228mdopYj5AiTpihozbsfFJ0IodfNs7pSgOGO3qfCuxDtw==}
'@vue/devtools-shared@7.7.8':
resolution: {integrity: sha512-XHpO3jC5nOgYr40M9p8Z4mmKfTvUxKyRcUnpBAYg11pE78eaRFBKb0kG5yKLroMuJeeNH9LWmKp2zMU5LUc7CA==}
'@vue/devtools-shared@8.0.5':
resolution: {integrity: sha512-bRLn6/spxpmgLk+iwOrR29KrYnJjG9DGpHGkDFG82UM21ZpJ39ztUT9OXX3g+usW7/b2z+h46I9ZiYyB07XMXg==}
'@vue/devtools-shared@8.0.6':
resolution: {integrity: sha512-Pp1JylTqlgMJvxW6MGyfTF8vGvlBSCAvMFaDCYa82Mgw7TT5eE5kkHgDvmOGHWeJE4zIDfCpCxHapsK2LtIAJg==}
'@vue/eslint-config-prettier@10.2.0':
resolution: {integrity: sha512-GL3YBLwv/+b86yHcNNfPJxOTtVFJ4Mbc9UU3zR+KVoG7SwGTjPT+32fXamscNumElhcpXW3mT0DgzS9w32S7Bw==}
@@ -1735,6 +1735,9 @@ packages:
birpc@2.8.0:
resolution: {integrity: sha512-Bz2a4qD/5GRhiHSwj30c/8kC8QGj12nNDwz3D4ErQ4Xhy35dsSDvF+RA/tWpjyU0pdGtSDiEk6B5fBGE1qNVhw==}
birpc@2.9.0:
resolution: {integrity: sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==}
boolbase@1.0.0:
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
@@ -1805,8 +1808,8 @@ packages:
confbox@0.1.8:
resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==}
confbox@0.2.2:
resolution: {integrity: sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==}
confbox@0.2.4:
resolution: {integrity: sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==}
convert-source-map@2.0.0:
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
@@ -2472,8 +2475,8 @@ packages:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
engines: {node: '>=6'}
qrcode.vue@3.7.1:
resolution: {integrity: sha512-80ZDvXaajD7TS9l5ZZpuFH+i1vp/T1k7mPpJEz0MrOAoElauKC1zGIB4FJSGzsiTtl2uUJBrhRzXyr4PAKLLBg==}
qrcode.vue@3.8.0:
resolution: {integrity: sha512-+XKbSKvQu158zlHsJm+HObGUQM3Q+9Oq6yb2op/6lMM2gwOiiG9uIhujvrSV5UoTjrzR0BcNxCdW2kk7KE4NEg==}
peerDependencies:
vue: ^3.0.0
@@ -2600,6 +2603,10 @@ packages:
resolution: {integrity: sha512-zWPTX96LVsA/eVYnqOM2+ofcdPqdS1dAF1LN4TS2/MWuUpfitd9ctTa87wt4xrYnZnkLtS69xpBdSxVBP5Rm6w==}
engines: {node: '>=16'}
superjson@2.2.6:
resolution: {integrity: sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA==}
engines: {node: '>=16'}
supports-color@7.2.0:
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'}
@@ -2693,6 +2700,10 @@ packages:
resolution: {integrity: sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==}
engines: {node: '>=18.12.0'}
unplugin@3.0.0:
resolution: {integrity: sha512-0Mqk3AT2TZCXWKdcoaufeXNukv2mTrEZExeXlHIOZXdqYoHHr4n51pymnwV8x2BOVxwXbK2HLlI7usrqMpycdg==}
engines: {node: ^20.19.0 || >=22.12.0}
update-browserslist-db@1.1.4:
resolution: {integrity: sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==}
hasBin: true
@@ -2717,8 +2728,8 @@ packages:
util-deprecate@1.0.2:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
video.js@8.23.4:
resolution: {integrity: sha512-qI0VTlYmKzEqRsz1Nppdfcaww4RSxZAq77z2oNSl3cNg2h6do5C8Ffl0KqWQ1OpD8desWXsCrde7tKJ9gGTEyQ==}
video.js@8.23.6:
resolution: {integrity: sha512-qjS3HTDo7iapedJuso62scA303i+6CaCUnwyRr8GYd/BYAp7XGb7InUMw2Eu6zrN6IWooPOb78NzyMyjRbIN+Q==}
videojs-contrib-quality-levels@4.1.0:
resolution: {integrity: sha512-TfrXJJg1Bv4t6TOCMEVMwF/CoS8iENYsWNKip8zfhB5kTcegiFYezEA0eHAJPU64ZC8NQbxQgOwAsYU8VXbOWA==}
@@ -2732,8 +2743,8 @@ packages:
videojs-hotkeys@0.2.30:
resolution: {integrity: sha512-G8kEQZPapoWDoEajh2Nroy4bCN1qVEul5AuzZqBS7ZCG45K7hqTYKgf1+fmYvG8m8u84sZmVMUvSWZBjaFW66Q==}
videojs-mobile-ui@1.1.4:
resolution: {integrity: sha512-XeB3IpIiYrLcjLnC8ADqAFCADUlvbC9L+ri3ofhEycwfigBwFi7kn/UvPg6FJEuY0e85p8jrAuJCh4WIbCjWsg==}
videojs-mobile-ui@1.2.1:
resolution: {integrity: sha512-XlATK+ptFbynuZLFkTE1lJBXD21h4yFD4YFxrBweCnmbdja0+aHJduGZf0i3b6I/KquRX7S+gra2S5ZCdgE74A==}
engines: {node: '>=14', npm: '>=6'}
peerDependencies:
video.js: ^8
@@ -2813,10 +2824,10 @@ packages:
vue-reader@1.3.4:
resolution: {integrity: sha512-QYTX9hlrV71gL/1vMejcBLLS9Ool29XMZcLQwvL0Ep1F//o0ymzYbKX2Lre+4BUBkVq49/GmmGCmAJACsJL9tw==}
vue-router@5.0.1:
resolution: {integrity: sha512-t+lFugGXMdaq8lbn+vXG4j2H9UlsP205Tszz1wcDk9FyxqItBzcdJQ06IhpkQ2mHOfiTOHZeBshkskzPzHJkCw==}
vue-router@5.0.2:
resolution: {integrity: sha512-YFhwaE5c5JcJpNB1arpkl4/GnO32wiUWRB+OEj1T0DlDxEZoOfbltl2xEwktNU/9o1sGcGburIXSpbLpPFe/6w==}
peerDependencies:
'@pinia/colada': ^0.18.1
'@pinia/colada': '>=0.21.2'
'@vue/compiler-sfc': ^3.5.17
pinia: ^3.0.4
vue: ^3.5.0
@@ -2917,7 +2928,7 @@ snapshots:
'@jridgewell/trace-mapping': 0.3.31
jsesc: 3.1.0
'@babel/generator@7.29.0':
'@babel/generator@7.29.1':
dependencies:
'@babel/parser': 7.29.0
'@babel/types': 7.29.0
@@ -3526,7 +3537,7 @@ snapshots:
'@babel/types': 7.28.6
esutils: 2.0.3
'@babel/runtime@7.28.4': {}
'@babel/runtime@7.28.6': {}
'@babel/template@7.27.2':
dependencies:
@@ -3882,7 +3893,7 @@ snapshots:
'@pkgr/core@0.2.9': {}
'@rolldown/pluginutils@1.0.0-beta.53': {}
'@rolldown/pluginutils@1.0.0-rc.2': {}
'@rollup/pluginutils@5.3.0(rollup@4.55.1)':
dependencies:
@@ -3983,7 +3994,7 @@ snapshots:
'@types/lodash@4.17.13': {}
'@types/node@24.10.9':
'@types/node@24.10.12':
dependencies:
undici-types: 7.16.0
@@ -4204,29 +4215,29 @@ snapshots:
'@typescript-eslint/types': 8.54.0
eslint-visitor-keys: 4.2.1
'@videojs/http-streaming@3.17.2(video.js@8.23.4)':
'@videojs/http-streaming@3.17.3(video.js@8.23.6)':
dependencies:
'@babel/runtime': 7.28.4
'@babel/runtime': 7.28.6
'@videojs/vhs-utils': 4.1.1
aes-decrypter: 4.0.2
global: 4.4.0
m3u8-parser: 7.2.0
mpd-parser: 1.3.1
mux.js: 7.1.0
video.js: 8.23.4
video.js: 8.23.6
'@videojs/vhs-utils@4.1.1':
dependencies:
'@babel/runtime': 7.28.4
'@babel/runtime': 7.28.6
global: 4.4.0
'@videojs/xhr@2.7.0':
dependencies:
'@babel/runtime': 7.28.4
'@babel/runtime': 7.28.6
global: 4.4.0
is-function: 1.0.2
'@vitejs/plugin-legacy@7.2.1(terser@5.46.0)(vite@7.3.1(@types/node@24.10.9)(terser@5.46.0)(yaml@2.8.2))':
'@vitejs/plugin-legacy@7.2.1(terser@5.46.0)(vite@7.3.1(@types/node@24.10.12)(terser@5.46.0)(yaml@2.8.2))':
dependencies:
'@babel/core': 7.28.5
'@babel/plugin-transform-dynamic-import': 7.27.1(@babel/core@7.28.5)
@@ -4241,14 +4252,14 @@ snapshots:
regenerator-runtime: 0.14.1
systemjs: 6.15.1
terser: 5.46.0
vite: 7.3.1(@types/node@24.10.9)(terser@5.46.0)(yaml@2.8.2)
vite: 7.3.1(@types/node@24.10.12)(terser@5.46.0)(yaml@2.8.2)
transitivePeerDependencies:
- supports-color
'@vitejs/plugin-vue@6.0.3(vite@7.3.1(@types/node@24.10.9)(terser@5.46.0)(yaml@2.8.2))(vue@3.5.27(typescript@5.9.3))':
'@vitejs/plugin-vue@6.0.4(vite@7.3.1(@types/node@24.10.12)(terser@5.46.0)(yaml@2.8.2))(vue@3.5.27(typescript@5.9.3))':
dependencies:
'@rolldown/pluginutils': 1.0.0-beta.53
vite: 7.3.1(@types/node@24.10.9)(terser@5.46.0)(yaml@2.8.2)
'@rolldown/pluginutils': 1.0.0-rc.2
vite: 7.3.1(@types/node@24.10.12)(terser@5.46.0)(yaml@2.8.2)
vue: 3.5.27(typescript@5.9.3)
'@volar/language-core@2.4.27':
@@ -4309,9 +4320,9 @@ snapshots:
dependencies:
'@vue/devtools-kit': 7.7.8
'@vue/devtools-api@8.0.5':
'@vue/devtools-api@8.0.6':
dependencies:
'@vue/devtools-kit': 8.0.5
'@vue/devtools-kit': 8.0.6
'@vue/devtools-kit@7.7.8':
dependencies:
@@ -4323,21 +4334,21 @@ snapshots:
speakingurl: 14.0.1
superjson: 2.2.5
'@vue/devtools-kit@8.0.5':
'@vue/devtools-kit@8.0.6':
dependencies:
'@vue/devtools-shared': 8.0.5
birpc: 2.8.0
'@vue/devtools-shared': 8.0.6
birpc: 2.9.0
hookable: 5.5.3
mitt: 3.0.1
perfect-debounce: 2.1.0
speakingurl: 14.0.1
superjson: 2.2.5
superjson: 2.2.6
'@vue/devtools-shared@7.7.8':
dependencies:
rfdc: 1.4.1
'@vue/devtools-shared@8.0.5':
'@vue/devtools-shared@8.0.6':
dependencies:
rfdc: 1.4.1
@@ -4438,7 +4449,7 @@ snapshots:
aes-decrypter@4.0.2:
dependencies:
'@babel/runtime': 7.28.4
'@babel/runtime': 7.28.6
'@videojs/vhs-utils': 4.1.1
global: 4.4.0
pkcs7: 1.0.4
@@ -4460,12 +4471,12 @@ snapshots:
ast-kit@2.2.0:
dependencies:
'@babel/parser': 7.28.6
'@babel/parser': 7.29.0
pathe: 2.0.3
ast-walker-scope@0.8.3:
dependencies:
'@babel/parser': 7.28.6
'@babel/parser': 7.29.0
ast-kit: 2.2.0
autoprefixer@10.4.24(postcss@8.5.6):
@@ -4509,6 +4520,8 @@ snapshots:
birpc@2.8.0: {}
birpc@2.9.0: {}
boolbase@1.0.0: {}
brace-expansion@1.1.12:
@@ -4579,7 +4592,7 @@ snapshots:
confbox@0.1.8: {}
confbox@0.2.2: {}
confbox@0.2.4: {}
convert-source-map@2.0.0: {}
@@ -5080,7 +5093,7 @@ snapshots:
m3u8-parser@7.2.0:
dependencies:
'@babel/runtime': 7.28.4
'@babel/runtime': 7.28.6
'@videojs/vhs-utils': 4.1.1
global: 4.4.0
@@ -5130,7 +5143,7 @@ snapshots:
mpd-parser@1.3.1:
dependencies:
'@babel/runtime': 7.28.4
'@babel/runtime': 7.28.6
'@videojs/vhs-utils': 4.1.1
'@xmldom/xmldom': 0.8.11
global: 4.4.0
@@ -5141,7 +5154,7 @@ snapshots:
mux.js@7.1.0:
dependencies:
'@babel/runtime': 7.28.4
'@babel/runtime': 7.28.6
global: 4.4.0
nanoid@3.3.11: {}
@@ -5212,7 +5225,7 @@ snapshots:
pkcs7@1.0.4:
dependencies:
'@babel/runtime': 7.28.4
'@babel/runtime': 7.28.6
pkg-types@1.3.1:
dependencies:
@@ -5222,7 +5235,7 @@ snapshots:
pkg-types@2.3.0:
dependencies:
confbox: 0.2.2
confbox: 0.2.4
exsolve: 1.0.8
pathe: 2.0.3
@@ -5261,7 +5274,7 @@ snapshots:
punycode@2.3.1: {}
qrcode.vue@3.7.1(vue@3.5.27(typescript@5.9.3)):
qrcode.vue@3.8.0(vue@3.5.27(typescript@5.9.3)):
dependencies:
vue: 3.5.27(typescript@5.9.3)
@@ -5396,6 +5409,10 @@ snapshots:
dependencies:
copy-anything: 4.0.5
superjson@2.2.6:
dependencies:
copy-anything: 4.0.5
supports-color@7.2.0:
dependencies:
has-flag: 4.0.0
@@ -5488,6 +5505,12 @@ snapshots:
picomatch: 4.0.3
webpack-virtual-modules: 0.6.2
unplugin@3.0.0:
dependencies:
'@jridgewell/remapping': 2.3.5
picomatch: 4.0.3
webpack-virtual-modules: 0.6.2
update-browserslist-db@1.1.4(browserslist@4.28.0):
dependencies:
browserslist: 4.28.0
@@ -5515,10 +5538,10 @@ snapshots:
util-deprecate@1.0.2: {}
video.js@8.23.4:
video.js@8.23.6:
dependencies:
'@babel/runtime': 7.28.4
'@videojs/http-streaming': 3.17.2(video.js@8.23.4)
'@babel/runtime': 7.28.6
'@videojs/http-streaming': 3.17.3(video.js@8.23.6)
'@videojs/vhs-utils': 4.1.1
'@videojs/xhr': 2.7.0
aes-decrypter: 4.0.2
@@ -5526,23 +5549,23 @@ snapshots:
m3u8-parser: 7.2.0
mpd-parser: 1.3.1
mux.js: 7.1.0
videojs-contrib-quality-levels: 4.1.0(video.js@8.23.4)
videojs-contrib-quality-levels: 4.1.0(video.js@8.23.6)
videojs-font: 4.2.0
videojs-vtt.js: 0.15.5
videojs-contrib-quality-levels@4.1.0(video.js@8.23.4):
videojs-contrib-quality-levels@4.1.0(video.js@8.23.6):
dependencies:
global: 4.4.0
video.js: 8.23.4
video.js: 8.23.6
videojs-font@4.2.0: {}
videojs-hotkeys@0.2.30: {}
videojs-mobile-ui@1.1.4(video.js@8.23.4):
videojs-mobile-ui@1.2.1(video.js@8.23.6):
dependencies:
global: 4.4.0
video.js: 8.23.4
video.js: 8.23.6
videojs-vtt.js@0.15.5:
dependencies:
@@ -5555,7 +5578,7 @@ snapshots:
transitivePeerDependencies:
- rollup
vite@7.3.1(@types/node@24.10.9)(terser@5.46.0)(yaml@2.8.2):
vite@7.3.1(@types/node@24.10.12)(terser@5.46.0)(yaml@2.8.2):
dependencies:
esbuild: 0.27.2
fdir: 6.5.0(picomatch@4.0.3)
@@ -5564,7 +5587,7 @@ snapshots:
rollup: 4.55.1
tinyglobby: 0.2.15
optionalDependencies:
'@types/node': 24.10.9
'@types/node': 24.10.12
fsevents: 2.3.3
terser: 5.46.0
yaml: 2.8.2
@@ -5603,11 +5626,11 @@ snapshots:
dependencies:
epubjs: 0.3.93
vue-router@5.0.1(@vue/compiler-sfc@3.5.27)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.27(typescript@5.9.3)))(vue@3.5.27(typescript@5.9.3)):
vue-router@5.0.2(@vue/compiler-sfc@3.5.27)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.27(typescript@5.9.3)))(vue@3.5.27(typescript@5.9.3)):
dependencies:
'@babel/generator': 7.29.0
'@babel/generator': 7.29.1
'@vue-macros/common': 3.1.2(vue@3.5.27(typescript@5.9.3))
'@vue/devtools-api': 8.0.5
'@vue/devtools-api': 8.0.6
ast-walker-scope: 0.8.3
chokidar: 5.0.0
json5: 2.2.3
@@ -5619,7 +5642,7 @@ snapshots:
picomatch: 4.0.3
scule: 1.3.0
tinyglobby: 0.2.15
unplugin: 2.3.11
unplugin: 3.0.0
unplugin-utils: 0.3.1
vue: 3.5.27(typescript@5.9.3)
yaml: 2.8.2
-5
View File
@@ -35,11 +35,6 @@ func NewHandler(
})
index, static := getStaticHandlers(store, server, assetsFs)
// NOTE: This fixes the issue where it would redirect if people did not put a
// trailing slash in the end. I hate this decision since this allows some awful
// URLs https://www.gorillatoolkit.org/pkg/mux#Router.SkipClean
r = r.SkipClean(true)
monkey := func(fn handleFunc, prefix string) http.Handler {
return handle(fn, prefix, store, server)
}
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"net/http"
"sort"
"strconv"
"strings"
"github.com/gorilla/mux"
"golang.org/x/text/cases"
@@ -190,7 +191,7 @@ var userPutHandler = withSelfOrAdmin(func(w http.ResponseWriter, r *http.Request
}
for _, field := range req.Which {
if _, ok := sensibleFields[field]; ok {
if _, ok := sensibleFields[strings.ToLower(field)]; ok {
if !users.CheckPwd(req.CurrentPassword, d.user.Password) {
return http.StatusBadRequest, fberrors.ErrCurrentPasswordIncorrect
}
+115 -1
View File
@@ -40,7 +40,121 @@ Where `X-My-Header` is the HTTP header provided by your proxy with the username.
>
> File Browser will blindly trust the provided header. If the proxy can be bypassed, an attacker could simply attach the header and get admin access.
### No Authentication
## Hook Authentication
The Hook Authentication method in FileBrowser allows developers to delegate user authentication to an external script or program. Instead of validating credentials internally, FileBrowser sends the username and password to a custom command defined by the administrator. This command receives the credentials through environment variables and returns key‑value pairs indicating whether the user should be authenticated, blocked, or passed through.
The hook’s output controls user permissions, scope, locale, and other attributes, making it a powerful and extensible authentication mechanism.
For example, the following code delegates filebrowser authentication to a PowerShell script on Windows. You can configure any command (for example, a script in Python, Node.js, etc.).
```sh
filebrowser config set --auth.method=hook --auth.command="powershell.exe -File C:\route\to\your\script\auth.ps1"
```
This is the code for the auth.ps1 script
```sh
param()
# Get FileBrowser credentials from environment variables
$username = $env:USERNAME
$password = $env:PASSWORD
# Users dictionary (for testing purposes only)
$users = @{
"admin" = "kideW48v7-SdE*"
"test" = "2sDd3-etrytñK"
}
# Check if the user exists in the dictionary and verify the password
if ($users.ContainsKey($username) -and $users[$username] -eq $password) {
# Successful authentication
Write-Output "hook.action=auth" # Hook action (in this case, "auth", is required for successful authentication)
Write-Output "user.perm.admin=true" # Set admin role (all permissions)
#You can also define specific permissions like this:
Write-Output "user.perm.execute=true"
Write-Output "user.perm.create=true"
Write-Output "user.perm.rename=true"
Write-Output "user.perm.modify=true"
Write-Output "user.perm.delete=true"
Write-Output "user.perm.share=true"
Write-Output "user.perm.download=true"
Write-Output "user.locale=es" # Set language
Write-Output "user.viewMode=list" # Set view mode
Write-Output "user.scope=/" # Set FileBrowser scope
Write-Output "user.singleClick=true" # Set single click user configuration
Write-Output "user.hideDotfiles=false" # Set hide dot files user configuration
#Set other configuration
} else {
# Block authentication
Write-Output "hook.action=block"
}
```
### Hook Output Format
A hook authentication script must output a series of key–value pairs, one per line, using the format:
```
key=value
```
FileBrowser reads these lines and applies the corresponding authentication action and user configuration.
#### Required Fields
The hook must output one of the following actions:
| Key | Description |
|--------|------------ |
| hook.action=auth | Authenticates the user. FileBrowser will create or update the user if needed. |
| hook.action=block | Rejects authentication. The login attempt fails. |
| hook.action=pass | Delegates authentication to FileBrowser’s internal password validation. |
For most custom authentication flows, auth or block are used.
Example of a successful authentication:
```sh
hook.action=auth
```
#### Optional User Fields
When `hook.action=auth` is returned, the hook may also define additional user attributes. These fields override FileBrowser defaults and allow full customization of the authenticated user.
1. Permissions
```
user.perm.admin=true
user.perm.execute=true
user.perm.create=true
user.perm.rename=true
user.perm.modify=true
user.perm.delete=true
user.perm.share=true
user.perm.download=true
```
> Setting user.perm.admin=true automatically enables all permissions.
2. User Interface and Behavior
```
user.locale=es
user.viewMode=list
user.singleClick=true
user.hideDotfiles=false
```
3. User Scope
```
user.scope=/
```
## No Authentication
We also provide a no authentication mechanism for users that want to use File Browser privately such in a home network. By setting this authentication method, the user with **id 1** will be used as the default users. Creating more users won't have any effect.