Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b16e2de90 | ||
|
|
2470b9eb69 | ||
|
|
9940bdd663 | ||
|
|
200d501547 | ||
|
|
3169a14a4d | ||
|
|
7e78ad97ad | ||
|
|
0467326d5c | ||
|
|
63a76ef18c | ||
|
|
3cad9a2b0e | ||
|
|
804b14b698 | ||
|
|
95e6ed75a7 | ||
|
|
b09960e538 | ||
|
|
5e8f5be245 | ||
|
|
e5bc0d3cce | ||
|
|
f67bccf8c5 | ||
|
|
88b97def9e | ||
|
|
1f7904dad2 | ||
|
|
5feaf66575 | ||
|
|
c94870fcfe | ||
|
|
6a76dfeba9 | ||
|
|
e193d43278 | ||
|
|
489af403a1 | ||
|
|
ff2f00498c | ||
|
|
2957b4605b | ||
|
|
099dfb0ae8 | ||
|
|
a4289011ef | ||
|
|
942d59848a | ||
|
|
854e5371b6 | ||
|
|
b9df030e6e | ||
|
|
2b82612e3f | ||
|
|
08d7a1504c | ||
|
|
b8da36e630 | ||
|
|
a8fe32f4aa | ||
|
|
8fee2561af | ||
|
|
d441b28f43 | ||
|
|
87cfead033 | ||
|
|
3a08949c7f | ||
|
|
b594d4d4e2 | ||
|
|
1053aace8c | ||
|
|
004488c15b | ||
|
|
3032a1fade | ||
|
|
87f1d00fd7 | ||
|
|
f0f2f1ff06 | ||
|
|
08c8ede587 | ||
|
|
1154b49974 | ||
|
|
785b7abb7b | ||
|
|
550a73b6ba | ||
|
|
e7ea1ad27d | ||
|
|
24781badd4 | ||
|
|
4094fb359b | ||
|
|
cfa6c5864e | ||
|
|
59ca0c340a | ||
|
|
037e29a708 | ||
|
|
fda8a99292 | ||
|
|
208535a8cc | ||
|
|
464b581953 | ||
|
|
20312ff18e | ||
|
|
219582c0b0 | ||
|
|
4fd18a382c | ||
|
|
94ec786d34 | ||
|
|
25e9b85259 | ||
|
|
ffa893e9ac | ||
|
|
b8151a038a | ||
|
|
943e5340d0 | ||
|
|
88aa56f53b | ||
|
|
a12a612970 | ||
|
|
a2d80c62c1 | ||
|
|
1faa21844f | ||
|
|
7a93b2a062 | ||
|
|
032d6c7520 | ||
|
|
9595f3939c | ||
|
|
60b1ee8bb9 | ||
|
|
79d1aa9229 | ||
|
|
20bfd131c6 | ||
|
|
f89975603e | ||
|
|
2d3b64ecf6 | ||
|
|
579756dbb5 | ||
|
|
c11c986b73 | ||
|
|
3fdca6dfd9 | ||
|
|
cf966578d8 | ||
|
|
6d4c867672 | ||
|
|
169e97e6f9 | ||
|
|
7fa3432f25 | ||
|
|
e9ce7fa5aa | ||
|
|
849f5ad443 | ||
|
|
c1715992bd | ||
|
|
e4f2503298 | ||
|
|
152f8302f7 | ||
|
|
4cbb4b73af | ||
|
|
58cc874828 | ||
|
|
124def5cd7 | ||
|
|
2d88c06761 | ||
|
|
204a3f0eea | ||
|
|
f029c3005e | ||
|
|
a6934e40ff | ||
|
|
98662ac5ec | ||
|
|
5cf8ce8db5 | ||
|
|
062dc414f8 | ||
|
|
63582b644c | ||
|
|
4302ece49b | ||
|
|
e1ee14d827 | ||
|
|
84ca722261 | ||
|
|
b9ac45d5da | ||
|
|
701522a060 | ||
|
|
78e0395960 | ||
|
|
f0680cf0f5 | ||
|
|
982405ec94 | ||
|
|
a78aaed214 | ||
|
|
df11a7dd0e | ||
|
|
79980bcf52 | ||
|
|
3be134f23d | ||
|
|
279a5ccd1e | ||
|
|
87f73ac982 | ||
|
|
85cde140ba |
No files matched your search
@@ -34,7 +34,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: "1.25.x"
|
go-version: "1.26.x"
|
||||||
- uses: golangci/golangci-lint-action@v9
|
- uses: golangci/golangci-lint-action@v9
|
||||||
with:
|
with:
|
||||||
version: "latest"
|
version: "latest"
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: "1.25.x"
|
go-version: "1.26.x"
|
||||||
- run: go test --race ./...
|
- run: go test --race ./...
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.25'
|
go-version: '1.26'
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
package_json_file: "frontend/package.json"
|
package_json_file: "frontend/package.json"
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.25'
|
go-version: '1.26'
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
package_json_file: "frontend/package.json"
|
package_json_file: "frontend/package.json"
|
||||||
|
|||||||
+10
-10
@@ -28,9 +28,11 @@ jobs:
|
|||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
name: Build and Release Docs
|
name: Build and Release Docs
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
pages: write
|
||||||
deployments: write
|
id-token: write
|
||||||
pull-requests: write
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
@@ -42,11 +44,9 @@ jobs:
|
|||||||
uses: go-task/setup-task@v1
|
uses: go-task/setup-task@v1
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: task docs
|
run: task docs
|
||||||
- name: Deploy to Cloudflare Pages
|
- name: Upload static files as artifact
|
||||||
uses: cloudflare/wrangler-action@v3
|
uses: actions/upload-pages-artifact@v4
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
path: www/public
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
- name: Deploy to GitHub Pages
|
||||||
command: pages deploy www/public --project-name=${{ secrets.CLOUDFLARE_PROJECT_NAME }}
|
uses: actions/deploy-pages@v4
|
||||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
@@ -17,6 +17,7 @@ builds:
|
|||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
- freebsd
|
- freebsd
|
||||||
|
- openbsd
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- "386"
|
- "386"
|
||||||
@@ -30,6 +31,12 @@ builds:
|
|||||||
ignore:
|
ignore:
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: "386"
|
goarch: "386"
|
||||||
|
# Experimental, may not work properly
|
||||||
|
- goos: openbsd
|
||||||
|
goarch: riscv64
|
||||||
|
# Broken as of Go 1.24, deprecated as of Go 1.26
|
||||||
|
- goos: windows
|
||||||
|
goarch: arm
|
||||||
- goos: freebsd
|
- goos: freebsd
|
||||||
goarch: arm
|
goarch: arm
|
||||||
|
|
||||||
|
|||||||
+196
@@ -2,6 +2,202 @@
|
|||||||
|
|
||||||
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.
|
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.60.0](https://github.com/filebrowser/filebrowser/compare/v2.59.0...v2.60.0) (2026-02-21)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* Updates for project File Browser ([#5764](https://github.com/filebrowser/filebrowser/issues/5764)) ([9940bdd](https://github.com/filebrowser/filebrowser/commit/9940bdd663ff5141110778524b8a22c957036e78))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* always show separators and encoding list in the CSV viewer ([#5774](https://github.com/filebrowser/filebrowser/issues/5774)) ([3169a14](https://github.com/filebrowser/filebrowser/commit/3169a14a4d63a0a11a5288f4f3a674c0a0edb972))
|
||||||
|
* modal lifecycle issues, multiple modals, new directory creation and discard changes behavior ([#5773](https://github.com/filebrowser/filebrowser/issues/5773)) ([200d501](https://github.com/filebrowser/filebrowser/commit/200d5015472c79d5caa683ea291ebf500356a39f))
|
||||||
|
|
||||||
|
## [2.59.0](https://github.com/filebrowser/filebrowser/compare/v2.58.0...v2.59.0) (2026-02-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add 'Open direct' button to images ([#5678](https://github.com/filebrowser/filebrowser/issues/5678)) ([804b14b](https://github.com/filebrowser/filebrowser/commit/804b14b698aa218fa5c2aaba687e72c5f7617f0f))
|
||||||
|
* Updates for project File Browser ([#5760](https://github.com/filebrowser/filebrowser/issues/5760)) ([63a76ef](https://github.com/filebrowser/filebrowser/commit/63a76ef18c51121e08634810a894c1e22a870428))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* render equations in markdown preview ([#5745](https://github.com/filebrowser/filebrowser/issues/5745)) ([0467326](https://github.com/filebrowser/filebrowser/commit/0467326d5c082c42c0ede88ee2d3472f5fb65600))
|
||||||
|
|
||||||
|
## [2.58.0](https://github.com/filebrowser/filebrowser/compare/v2.57.1...v2.58.0) (2026-02-14)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* nederlands ([88b97de](https://github.com/filebrowser/filebrowser/commit/88b97def9ee72fe6e8094209aebb71830b7305be))
|
||||||
|
* support for multiple encodings in CSV files ([#5756](https://github.com/filebrowser/filebrowser/issues/5756)) ([f67bccf](https://github.com/filebrowser/filebrowser/commit/f67bccf8c5470cb280fe854d92aa2666c270bcf5))
|
||||||
|
* Updates for project File Browser ([#5749](https://github.com/filebrowser/filebrowser/issues/5749)) ([c94870f](https://github.com/filebrowser/filebrowser/commit/c94870fcfe1b4acb2db9ab897b9f7d35e3b75770))
|
||||||
|
* Updates for project File Browser ([#5759](https://github.com/filebrowser/filebrowser/issues/5759)) ([5e8f5be](https://github.com/filebrowser/filebrowser/commit/5e8f5be245fd0126545ef5ca61c2d428ac128ad5))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **frontend:** pnpm lock ([b09960e](https://github.com/filebrowser/filebrowser/commit/b09960e538387ff29371c80be1584720f65181e7))
|
||||||
|
* ignore version.go ([1f7904d](https://github.com/filebrowser/filebrowser/commit/1f7904dad21a87f04e1543ee10b60ce79e5eebe9))
|
||||||
|
* respect Accept-Encoding for pre-compressed JS ([#5750](https://github.com/filebrowser/filebrowser/issues/5750)) ([6a76dfe](https://github.com/filebrowser/filebrowser/commit/6a76dfeba9254a938e320928c67d110f73f83715))
|
||||||
|
* wrap response text in Error before reject ([#5753](https://github.com/filebrowser/filebrowser/issues/5753)) ([e5bc0d3](https://github.com/filebrowser/filebrowser/commit/e5bc0d3cce18fa7b069688b176b99efbb67382d2))
|
||||||
|
|
||||||
|
## [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)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* Add Redis upload cache for multi-replica deployments ([#5724](https://github.com/filebrowser/filebrowser/issues/5724)) ([08d7a15](https://github.com/filebrowser/filebrowser/commit/08d7a1504c42c115fdd82d3845694fe87147f1db))
|
||||||
|
* Updates for project File Browser ([#5725](https://github.com/filebrowser/filebrowser/issues/5725)) ([8fee256](https://github.com/filebrowser/filebrowser/commit/8fee2561afbf968ed577bc4139562a42b2278243))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* adjust yaml config decodification to yaml.v3 ([#5722](https://github.com/filebrowser/filebrowser/issues/5722)) ([b594d4d](https://github.com/filebrowser/filebrowser/commit/b594d4d4e28a1b35e69d81d2c35948fe0d629888))
|
||||||
|
* avoid 409 conflict when renaming files differing only by case ([#5729](https://github.com/filebrowser/filebrowser/issues/5729)) ([d441b28](https://github.com/filebrowser/filebrowser/commit/d441b28f432c3448a29ac828400321f1f4ed32d9))
|
||||||
|
|
||||||
|
## [2.56.0](https://github.com/filebrowser/filebrowser/compare/v2.55.0...v2.56.0) (2026-01-24)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* Updates for project File Browser ([#5698](https://github.com/filebrowser/filebrowser/issues/5698)) ([f0f2f1f](https://github.com/filebrowser/filebrowser/commit/f0f2f1ff069aae566d8bf25ec275da59f29a96bc))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* adjust columns of the table from the "users ls" command ([#5716](https://github.com/filebrowser/filebrowser/issues/5716)) ([3032a1f](https://github.com/filebrowser/filebrowser/commit/3032a1fade43737c51c49b5ccda34f336394c2ed))
|
||||||
|
* avoid clearing selection when clicking elements outside the empty area ([#5715](https://github.com/filebrowser/filebrowser/issues/5715)) ([004488c](https://github.com/filebrowser/filebrowser/commit/004488c15b3c30784e1ea564b3ca9feec7bcad08))
|
||||||
|
|
||||||
|
## [2.55.0](https://github.com/filebrowser/filebrowser/compare/v2.54.0...v2.55.0) (2026-01-18)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* added cut, copy, paste and show command palette functions in header ([#5648](https://github.com/filebrowser/filebrowser/issues/5648)) ([785b7ab](https://github.com/filebrowser/filebrowser/commit/785b7abb7ba7a86cc0deae1052c319ff714c222c))
|
||||||
|
* update translations ([#5677](https://github.com/filebrowser/filebrowser/issues/5677)) ([e7ea1ad](https://github.com/filebrowser/filebrowser/commit/e7ea1ad27d3d17e249489d3338be40bfea15e2a1))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* prevent context menu clicks from clearing file selection ([#5681](https://github.com/filebrowser/filebrowser/issues/5681)) ([59ca0c3](https://github.com/filebrowser/filebrowser/commit/59ca0c340afc7774747c70ede9a5a5a3c9349d6b))
|
||||||
|
* request current password when deleting users ([#5667](https://github.com/filebrowser/filebrowser/issues/5667)) ([cfa6c58](https://github.com/filebrowser/filebrowser/commit/cfa6c5864e5e7673aa9f3180e4964e0db92cc4da))
|
||||||
|
* retain file selection when closing the editor ([#5693](https://github.com/filebrowser/filebrowser/issues/5693)) ([4094fb3](https://github.com/filebrowser/filebrowser/commit/4094fb359babac70e88d0ed4bfe3bd100744aad6))
|
||||||
|
|
||||||
|
## [2.54.0](https://github.com/filebrowser/filebrowser/compare/v2.53.1...v2.54.0) (2026-01-10)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add "redirect after copy/move" user setting ([#5662](https://github.com/filebrowser/filebrowser/issues/5662)) ([fda8a99](https://github.com/filebrowser/filebrowser/commit/fda8a992929b1466e75fb2813f2c4e293c12d244))
|
||||||
|
* force file sync while uploading file ([#5668](https://github.com/filebrowser/filebrowser/issues/5668)) ([4fd18a3](https://github.com/filebrowser/filebrowser/commit/4fd18a382c31bbe7059d6733ffa371e70051865b))
|
||||||
|
* update translations ([#5659](https://github.com/filebrowser/filebrowser/issues/5659)) ([464b581](https://github.com/filebrowser/filebrowser/commit/464b581953139c17e3276b774e381e4052827125))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* clear selection by clicking on empty area ([#5663](https://github.com/filebrowser/filebrowser/issues/5663)) ([208535a](https://github.com/filebrowser/filebrowser/commit/208535a8cc23254de0013dfab9008486707ee6c2))
|
||||||
|
* hide "change password form" in noauth setting ([#5652](https://github.com/filebrowser/filebrowser/issues/5652)) ([219582c](https://github.com/filebrowser/filebrowser/commit/219582c0b03fd90979b1d1398dba7919d086a23f))
|
||||||
|
|
||||||
|
## [2.53.1](https://github.com/filebrowser/filebrowser/compare/v2.53.0...v2.53.1) (2026-01-03)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* download path encoding file paths ([#5655](https://github.com/filebrowser/filebrowser/issues/5655)) ([ffa893e](https://github.com/filebrowser/filebrowser/commit/ffa893e9ac387a49dba5917a41df7c3b7ce120fc))
|
||||||
|
* request a password to change sensitive user data ([#5629](https://github.com/filebrowser/filebrowser/issues/5629)) ([b8151a0](https://github.com/filebrowser/filebrowser/commit/b8151a038a1ea55afae8073b439b74e364cac12f))
|
||||||
|
|
||||||
|
## [2.53.0](https://github.com/filebrowser/filebrowser/compare/v2.52.0...v2.53.0) (2025-12-29)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add "disable image resolution calculation" flag ([#5638](https://github.com/filebrowser/filebrowser/issues/5638)) ([a2d80c6](https://github.com/filebrowser/filebrowser/commit/a2d80c62c1c17962e566f68fb7cac6960ed3e4cb))
|
||||||
|
* support streaming response for search results ([#5630](https://github.com/filebrowser/filebrowser/issues/5630)) ([20bfd13](https://github.com/filebrowser/filebrowser/commit/20bfd131c6a4fca48a645b52171c2d1cc3ce92b7))
|
||||||
|
* update translations ([a12a612](https://github.com/filebrowser/filebrowser/commit/a12a612970d6cc3dfbca1b35ef3a60a887a4effb))
|
||||||
|
* update translations ([#5626](https://github.com/filebrowser/filebrowser/issues/5626)) ([f899756](https://github.com/filebrowser/filebrowser/commit/f89975603e29b9f1fc05aec58afb42bbd56ed696))
|
||||||
|
* update translations ([#5631](https://github.com/filebrowser/filebrowser/issues/5631)) ([032d6c7](https://github.com/filebrowser/filebrowser/commit/032d6c7520a64686c9d9b1218562256f629b4703))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* conversion of backslashes in file paths for archive creation ([#5637](https://github.com/filebrowser/filebrowser/issues/5637)) ([9595f39](https://github.com/filebrowser/filebrowser/commit/9595f3939c1c129ed875a47adcc4fbcfad9a0e65))
|
||||||
|
* Don't crash on invalid config import ([#5640](https://github.com/filebrowser/filebrowser/issues/5640)) ([79d1aa9](https://github.com/filebrowser/filebrowser/commit/79d1aa9229b076ee8e3b71d6cf061fc90738f4da))
|
||||||
|
* fix nil deref in config set command ([#5641](https://github.com/filebrowser/filebrowser/issues/5641)) ([60b1ee8](https://github.com/filebrowser/filebrowser/commit/60b1ee8bb9e18b21d7f2c04cb1cc90046cecd3e1))
|
||||||
|
|
||||||
|
## [2.52.0](https://github.com/filebrowser/filebrowser/compare/v2.51.2...v2.52.0) (2025-12-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* sync translations with Transifex ([7fa3432](https://github.com/filebrowser/filebrowser/commit/7fa3432f25610bbb55a718bc709b9a7bf41d92f0))
|
||||||
|
* update translations ([#5615](https://github.com/filebrowser/filebrowser/issues/5615)) ([3fdca6d](https://github.com/filebrowser/filebrowser/commit/3fdca6dfd9a18c3f4895b4ef3cbd216824dbb57a))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* display the directory name in the shared folder view ([#5617](https://github.com/filebrowser/filebrowser/issues/5617)) ([6d4c867](https://github.com/filebrowser/filebrowser/commit/6d4c86767239dad4f09f30f48678f2f3a716eb12))
|
||||||
|
* hide the context menu when changing the route ([#5613](https://github.com/filebrowser/filebrowser/issues/5613)) ([cf96657](https://github.com/filebrowser/filebrowser/commit/cf966578d8c6beab111b74f495bac6bdec173f41))
|
||||||
|
|
||||||
|
## [2.51.2](https://github.com/filebrowser/filebrowser/compare/v2.51.1...v2.51.2) (2025-12-07)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **frontend:** add missing i18n strings ([c171599](https://github.com/filebrowser/filebrowser/commit/c1715992bda46517f801c1aa496df8a3b42a4e4d))
|
||||||
|
|
||||||
|
## [2.51.1](https://github.com/filebrowser/filebrowser/compare/v2.51.0...v2.51.1) (2025-12-07)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **frontend:** csv viewer i18n strings ([4cbb4b7](https://github.com/filebrowser/filebrowser/commit/4cbb4b73af816104475f15c1d996640b56203602))
|
||||||
|
* prevent the right-click from selecting multiple items when the "single-click" option is active ([#5608](https://github.com/filebrowser/filebrowser/issues/5608)) ([152f830](https://github.com/filebrowser/filebrowser/commit/152f8302f7cda21bde37692b175c22c124233f45))
|
||||||
|
|
||||||
|
## [2.51.0](https://github.com/filebrowser/filebrowser/compare/v2.50.0...v2.51.0) (2025-12-06)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* update translations ([2d88c06](https://github.com/filebrowser/filebrowser/commit/2d88c067611e936056dbbf04247f1c1c709b2a09))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* added column separator select (comma, semicolon and both) in CSV viewer ([#5604](https://github.com/filebrowser/filebrowser/issues/5604)) ([204a3f0](https://github.com/filebrowser/filebrowser/commit/204a3f0eeaa0c68781b60651bf27c4b27eac44e6))
|
||||||
|
|
||||||
|
|
||||||
|
### Refactorings
|
||||||
|
|
||||||
|
* cleanup package names ([#5605](https://github.com/filebrowser/filebrowser/issues/5605)) ([f029c30](https://github.com/filebrowser/filebrowser/commit/f029c3005e450cfbebb074c42dbdf65db9c8d56a))
|
||||||
|
|
||||||
|
## [2.50.0](https://github.com/filebrowser/filebrowser/compare/v2.49.0...v2.50.0) (2025-11-30)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* configurable logout page URL for proxy/hook auth ([#3884](https://github.com/filebrowser/filebrowser/issues/3884)) ([b9ac45d](https://github.com/filebrowser/filebrowser/commit/b9ac45d5dac4b4eb2ba364629090fbf306cffd2b))
|
||||||
|
* render CSVs as table ([#5569](https://github.com/filebrowser/filebrowser/issues/5569)) ([982405e](https://github.com/filebrowser/filebrowser/commit/982405ec944f94baf43594b0ed2f06329ff4e9ed))
|
||||||
|
* update frontend/src/i18n/hr.json ([279a5cc](https://github.com/filebrowser/filebrowser/commit/279a5ccd1e8d7bde4568b63cb3c506af48b6c618))
|
||||||
|
* update translations ([78e0395](https://github.com/filebrowser/filebrowser/commit/78e039596070a3a9e643a693cc99960c69dcfe92))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* do not close editor if save failed ([701522a](https://github.com/filebrowser/filebrowser/commit/701522a0600cfa542469540ed764630c0ba1a732)), closes [#5591](https://github.com/filebrowser/filebrowser/issues/5591)
|
||||||
|
|
||||||
## [2.49.0](https://github.com/filebrowser/filebrowser/compare/v2.48.2...v2.49.0) (2025-11-22)
|
## [2.49.0](https://github.com/filebrowser/filebrowser/compare/v2.48.2...v2.49.0) (2025-11-22)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
## Multistage build: First stage fetches dependencies
|
## Multistage build: First stage fetches dependencies
|
||||||
FROM alpine:3.22 AS fetcher
|
FROM alpine:3.23 AS fetcher
|
||||||
|
|
||||||
# install and copy ca-certificates, mailcap, and tini-static; download JSON.sh
|
# install and copy ca-certificates, mailcap, and tini-static; download JSON.sh
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.22
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.23
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk --no-cache add ca-certificates mailcap jq libcap
|
apk --no-cache add ca-certificates mailcap jq libcap
|
||||||
|
|||||||
+22
-19
@@ -11,7 +11,7 @@ import (
|
|||||||
"slices"
|
"slices"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
fbErrors "github.com/filebrowser/filebrowser/v2/errors"
|
fberrors "github.com/filebrowser/filebrowser/v2/errors"
|
||||||
"github.com/filebrowser/filebrowser/v2/files"
|
"github.com/filebrowser/filebrowser/v2/files"
|
||||||
"github.com/filebrowser/filebrowser/v2/settings"
|
"github.com/filebrowser/filebrowser/v2/settings"
|
||||||
"github.com/filebrowser/filebrowser/v2/users"
|
"github.com/filebrowser/filebrowser/v2/users"
|
||||||
@@ -146,7 +146,7 @@ func (a *HookAuth) GetValues(s string) {
|
|||||||
// SaveUser updates the existing user or creates a new one when not found
|
// SaveUser updates the existing user or creates a new one when not found
|
||||||
func (a *HookAuth) SaveUser() (*users.User, error) {
|
func (a *HookAuth) SaveUser() (*users.User, error) {
|
||||||
u, err := a.Users.Get(a.Server.Root, a.Cred.Username)
|
u, err := a.Users.Get(a.Server.Root, a.Cred.Username)
|
||||||
if err != nil && !errors.Is(err, fbErrors.ErrNotExist) {
|
if err != nil && !errors.Is(err, fberrors.ErrNotExist) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -158,16 +158,17 @@ func (a *HookAuth) SaveUser() (*users.User, error) {
|
|||||||
|
|
||||||
// create user with the provided credentials
|
// create user with the provided credentials
|
||||||
d := &users.User{
|
d := &users.User{
|
||||||
Username: a.Cred.Username,
|
Username: a.Cred.Username,
|
||||||
Password: pass,
|
Password: pass,
|
||||||
Scope: a.Settings.Defaults.Scope,
|
Scope: a.Settings.Defaults.Scope,
|
||||||
Locale: a.Settings.Defaults.Locale,
|
Locale: a.Settings.Defaults.Locale,
|
||||||
ViewMode: a.Settings.Defaults.ViewMode,
|
ViewMode: a.Settings.Defaults.ViewMode,
|
||||||
SingleClick: a.Settings.Defaults.SingleClick,
|
SingleClick: a.Settings.Defaults.SingleClick,
|
||||||
Sorting: a.Settings.Defaults.Sorting,
|
RedirectAfterCopyMove: a.Settings.Defaults.RedirectAfterCopyMove,
|
||||||
Perm: a.Settings.Defaults.Perm,
|
Sorting: a.Settings.Defaults.Sorting,
|
||||||
Commands: a.Settings.Defaults.Commands,
|
Perm: a.Settings.Defaults.Perm,
|
||||||
HideDotfiles: a.Settings.Defaults.HideDotfiles,
|
Commands: a.Settings.Defaults.Commands,
|
||||||
|
HideDotfiles: a.Settings.Defaults.HideDotfiles,
|
||||||
}
|
}
|
||||||
u = a.GetUser(d)
|
u = a.GetUser(d)
|
||||||
|
|
||||||
@@ -219,13 +220,14 @@ func (a *HookAuth) GetUser(d *users.User) *users.User {
|
|||||||
Download: isAdmin || a.Fields.GetBoolean("user.perm.download", d.Perm.Download),
|
Download: isAdmin || a.Fields.GetBoolean("user.perm.download", d.Perm.Download),
|
||||||
}
|
}
|
||||||
user := users.User{
|
user := users.User{
|
||||||
ID: d.ID,
|
ID: d.ID,
|
||||||
Username: d.Username,
|
Username: d.Username,
|
||||||
Password: d.Password,
|
Password: d.Password,
|
||||||
Scope: a.Fields.GetString("user.scope", d.Scope),
|
Scope: a.Fields.GetString("user.scope", d.Scope),
|
||||||
Locale: a.Fields.GetString("user.locale", d.Locale),
|
Locale: a.Fields.GetString("user.locale", d.Locale),
|
||||||
ViewMode: users.ViewMode(a.Fields.GetString("user.viewMode", string(d.ViewMode))),
|
ViewMode: users.ViewMode(a.Fields.GetString("user.viewMode", string(d.ViewMode))),
|
||||||
SingleClick: a.Fields.GetBoolean("user.singleClick", d.SingleClick),
|
SingleClick: a.Fields.GetBoolean("user.singleClick", d.SingleClick),
|
||||||
|
RedirectAfterCopyMove: a.Fields.GetBoolean("user.redirectAfterCopyMove", d.RedirectAfterCopyMove),
|
||||||
Sorting: files.Sorting{
|
Sorting: files.Sorting{
|
||||||
Asc: a.Fields.GetBoolean("user.sorting.asc", d.Sorting.Asc),
|
Asc: a.Fields.GetBoolean("user.sorting.asc", d.Sorting.Asc),
|
||||||
By: a.Fields.GetString("user.sorting.by", d.Sorting.By),
|
By: a.Fields.GetString("user.sorting.by", d.Sorting.By),
|
||||||
@@ -251,6 +253,7 @@ var validHookFields = []string{
|
|||||||
"user.locale",
|
"user.locale",
|
||||||
"user.viewMode",
|
"user.viewMode",
|
||||||
"user.singleClick",
|
"user.singleClick",
|
||||||
|
"user.redirectAfterCopyMove",
|
||||||
"user.sorting.by",
|
"user.sorting.by",
|
||||||
"user.sorting.asc",
|
"user.sorting.asc",
|
||||||
"user.commands",
|
"user.commands",
|
||||||
|
|||||||
+15
-1
@@ -14,6 +14,10 @@ import (
|
|||||||
// MethodJSONAuth is used to identify json auth.
|
// MethodJSONAuth is used to identify json auth.
|
||||||
const MethodJSONAuth settings.AuthMethod = "json"
|
const MethodJSONAuth settings.AuthMethod = "json"
|
||||||
|
|
||||||
|
// dummyHash is used to prevent user enumeration timing attacks.
|
||||||
|
// It MUST be a valid bcrypt hash.
|
||||||
|
const dummyHash = "$2a$10$O4mEMeOL/nit6zqe.WQXauLRbRlzb3IgLHsa26Pf0N/GiU9b.wK1m"
|
||||||
|
|
||||||
type jsonCred struct {
|
type jsonCred struct {
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
@@ -52,7 +56,17 @@ func (a JSONAuth) Auth(r *http.Request, usr users.Store, _ *settings.Settings, s
|
|||||||
}
|
}
|
||||||
|
|
||||||
u, err := usr.Get(srv.Root, cred.Username)
|
u, err := usr.Get(srv.Root, cred.Username)
|
||||||
if err != nil || !users.CheckPwd(cred.Password, u.Password) {
|
|
||||||
|
hash := dummyHash
|
||||||
|
if err == nil {
|
||||||
|
hash = u.Password
|
||||||
|
}
|
||||||
|
|
||||||
|
if !users.CheckPwd(cred.Password, hash) {
|
||||||
|
return nil, os.ErrPermission
|
||||||
|
}
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
return nil, os.ErrPermission
|
return nil, os.ErrPermission
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -4,7 +4,7 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
fbErrors "github.com/filebrowser/filebrowser/v2/errors"
|
fberrors "github.com/filebrowser/filebrowser/v2/errors"
|
||||||
"github.com/filebrowser/filebrowser/v2/settings"
|
"github.com/filebrowser/filebrowser/v2/settings"
|
||||||
"github.com/filebrowser/filebrowser/v2/users"
|
"github.com/filebrowser/filebrowser/v2/users"
|
||||||
)
|
)
|
||||||
@@ -21,7 +21,7 @@ type ProxyAuth struct {
|
|||||||
func (a ProxyAuth) Auth(r *http.Request, usr users.Store, setting *settings.Settings, srv *settings.Server) (*users.User, error) {
|
func (a ProxyAuth) Auth(r *http.Request, usr users.Store, setting *settings.Settings, srv *settings.Server) (*users.User, error) {
|
||||||
username := r.Header.Get(a.Header)
|
username := r.Header.Get(a.Header)
|
||||||
user, err := usr.Get(srv.Root, username)
|
user, err := usr.Get(srv.Root, username)
|
||||||
if errors.Is(err, fbErrors.ErrNotExist) {
|
if errors.Is(err, fberrors.ErrNotExist) {
|
||||||
return a.createUser(usr, setting, srv, username)
|
return a.createUser(usr, setting, srv, username)
|
||||||
}
|
}
|
||||||
return user, err
|
return user, err
|
||||||
|
|||||||
+15
-7
@@ -2,7 +2,7 @@ package cmd
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
nerrors "errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
|
|
||||||
"github.com/filebrowser/filebrowser/v2/auth"
|
"github.com/filebrowser/filebrowser/v2/auth"
|
||||||
"github.com/filebrowser/filebrowser/v2/errors"
|
fberrors "github.com/filebrowser/filebrowser/v2/errors"
|
||||||
"github.com/filebrowser/filebrowser/v2/settings"
|
"github.com/filebrowser/filebrowser/v2/settings"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -45,6 +45,7 @@ func addConfigFlags(flags *pflag.FlagSet) {
|
|||||||
flags.String("auth.method", string(auth.MethodJSONAuth), "authentication type")
|
flags.String("auth.method", string(auth.MethodJSONAuth), "authentication type")
|
||||||
flags.String("auth.header", "", "HTTP header for auth.method=proxy")
|
flags.String("auth.header", "", "HTTP header for auth.method=proxy")
|
||||||
flags.String("auth.command", "", "command for auth.method=hook")
|
flags.String("auth.command", "", "command for auth.method=hook")
|
||||||
|
flags.String("auth.logoutPage", "", "url of custom logout page")
|
||||||
|
|
||||||
flags.String("recaptcha.host", "https://www.google.com", "use another host for ReCAPTCHA. recaptcha.net might be useful in China")
|
flags.String("recaptcha.host", "https://www.google.com", "use another host for ReCAPTCHA. recaptcha.net might be useful in China")
|
||||||
flags.String("recaptcha.key", "", "ReCaptcha site key")
|
flags.String("recaptcha.key", "", "ReCaptcha site key")
|
||||||
@@ -98,12 +99,12 @@ func getProxyAuth(flags *pflag.FlagSet, defaultAuther map[string]interface{}) (a
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if header == "" {
|
if header == "" && defaultAuther != nil {
|
||||||
header = defaultAuther["header"].(string)
|
header = defaultAuther["header"].(string)
|
||||||
}
|
}
|
||||||
|
|
||||||
if header == "" {
|
if header == "" {
|
||||||
return nil, nerrors.New("you must set the flag 'auth.header' for method 'proxy'")
|
return nil, errors.New("you must set the flag 'auth.header' for method 'proxy'")
|
||||||
}
|
}
|
||||||
|
|
||||||
return &auth.ProxyAuth{Header: header}, nil
|
return &auth.ProxyAuth{Header: header}, nil
|
||||||
@@ -162,7 +163,7 @@ func getHookAuth(flags *pflag.FlagSet, defaultAuther map[string]interface{}) (au
|
|||||||
}
|
}
|
||||||
|
|
||||||
if command == "" {
|
if command == "" {
|
||||||
return nil, nerrors.New("you must set the flag 'auth.command' for method 'hook'")
|
return nil, errors.New("you must set the flag 'auth.command' for method 'hook'")
|
||||||
}
|
}
|
||||||
|
|
||||||
return &auth.HookAuth{Command: command}, nil
|
return &auth.HookAuth{Command: command}, nil
|
||||||
@@ -185,7 +186,7 @@ func getAuthentication(flags *pflag.FlagSet, defaults ...interface{}) (settings.
|
|||||||
case auth.MethodHookAuth:
|
case auth.MethodHookAuth:
|
||||||
auther, err = getHookAuth(flags, defaultAuther)
|
auther, err = getHookAuth(flags, defaultAuther)
|
||||||
default:
|
default:
|
||||||
return "", nil, errors.ErrInvalidAuthMethod
|
return "", nil, fberrors.ErrInvalidAuthMethod
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -201,6 +202,7 @@ func printSettings(ser *settings.Server, set *settings.Settings, auther auth.Aut
|
|||||||
fmt.Fprintf(w, "Sign up:\t%t\n", set.Signup)
|
fmt.Fprintf(w, "Sign up:\t%t\n", set.Signup)
|
||||||
fmt.Fprintf(w, "Hide Login Button:\t%t\n", set.HideLoginButton)
|
fmt.Fprintf(w, "Hide Login Button:\t%t\n", set.HideLoginButton)
|
||||||
fmt.Fprintf(w, "Create User Dir:\t%t\n", set.CreateUserDir)
|
fmt.Fprintf(w, "Create User Dir:\t%t\n", set.CreateUserDir)
|
||||||
|
fmt.Fprintf(w, "Logout Page:\t%s\n", set.LogoutPage)
|
||||||
fmt.Fprintf(w, "Minimum Password Length:\t%d\n", set.MinimumPasswordLength)
|
fmt.Fprintf(w, "Minimum Password Length:\t%d\n", set.MinimumPasswordLength)
|
||||||
fmt.Fprintf(w, "Auth Method:\t%s\n", set.AuthMethod)
|
fmt.Fprintf(w, "Auth Method:\t%s\n", set.AuthMethod)
|
||||||
fmt.Fprintf(w, "Shell:\t%s\t\n", strings.Join(set.Shell, " "))
|
fmt.Fprintf(w, "Shell:\t%s\t\n", strings.Join(set.Shell, " "))
|
||||||
@@ -238,6 +240,7 @@ func printSettings(ser *settings.Server, set *settings.Settings, auther auth.Aut
|
|||||||
fmt.Fprintf(w, "\tLocale:\t%s\n", set.Defaults.Locale)
|
fmt.Fprintf(w, "\tLocale:\t%s\n", set.Defaults.Locale)
|
||||||
fmt.Fprintf(w, "\tView mode:\t%s\n", set.Defaults.ViewMode)
|
fmt.Fprintf(w, "\tView mode:\t%s\n", set.Defaults.ViewMode)
|
||||||
fmt.Fprintf(w, "\tSingle Click:\t%t\n", set.Defaults.SingleClick)
|
fmt.Fprintf(w, "\tSingle Click:\t%t\n", set.Defaults.SingleClick)
|
||||||
|
fmt.Fprintf(w, "\tRedirect after Copy/Move:\t%t\n", set.Defaults.RedirectAfterCopyMove)
|
||||||
fmt.Fprintf(w, "\tFile Creation Mode:\t%O\n", set.FileMode)
|
fmt.Fprintf(w, "\tFile Creation Mode:\t%O\n", set.FileMode)
|
||||||
fmt.Fprintf(w, "\tDirectory Creation Mode:\t%O\n", set.DirMode)
|
fmt.Fprintf(w, "\tDirectory Creation Mode:\t%O\n", set.DirMode)
|
||||||
fmt.Fprintf(w, "\tCommands:\t%s\n", strings.Join(set.Defaults.Commands, " "))
|
fmt.Fprintf(w, "\tCommands:\t%s\n", strings.Join(set.Defaults.Commands, " "))
|
||||||
@@ -306,6 +309,9 @@ func getSettings(flags *pflag.FlagSet, set *settings.Settings, ser *settings.Ser
|
|||||||
case "disableTypeDetectionByHeader":
|
case "disableTypeDetectionByHeader":
|
||||||
ser.TypeDetectionByHeader, err = flags.GetBool(flag.Name)
|
ser.TypeDetectionByHeader, err = flags.GetBool(flag.Name)
|
||||||
ser.TypeDetectionByHeader = !ser.TypeDetectionByHeader
|
ser.TypeDetectionByHeader = !ser.TypeDetectionByHeader
|
||||||
|
case "disableImageResolutionCalc":
|
||||||
|
ser.ImageResolutionCal, err = flags.GetBool(flag.Name)
|
||||||
|
ser.ImageResolutionCal = !ser.ImageResolutionCal
|
||||||
|
|
||||||
// Settings flags from [addConfigFlags]
|
// Settings flags from [addConfigFlags]
|
||||||
case "signup":
|
case "signup":
|
||||||
@@ -328,6 +334,8 @@ func getSettings(flags *pflag.FlagSet, set *settings.Settings, ser *settings.Ser
|
|||||||
set.DirMode, err = getAndParseFileMode(flags, flag.Name)
|
set.DirMode, err = getAndParseFileMode(flags, flag.Name)
|
||||||
case "auth.method":
|
case "auth.method":
|
||||||
hasAuth = true
|
hasAuth = true
|
||||||
|
case "auth.logoutPage":
|
||||||
|
set.LogoutPage, err = flags.GetString(flag.Name)
|
||||||
case "branding.name":
|
case "branding.name":
|
||||||
set.Branding.Name, err = flags.GetString(flag.Name)
|
set.Branding.Name, err = flags.GetString(flag.Name)
|
||||||
case "branding.theme":
|
case "branding.theme":
|
||||||
@@ -357,7 +365,7 @@ func getSettings(flags *pflag.FlagSet, set *settings.Settings, ser *settings.Ser
|
|||||||
flags.Visit(visit)
|
flags.Visit(visit)
|
||||||
}
|
}
|
||||||
|
|
||||||
err := nerrors.Join(errs...)
|
err := errors.Join(errs...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"path/filepath"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
@@ -53,6 +52,10 @@ The path must be for a json or yaml file.`,
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if file.Settings == nil || file.Server == nil {
|
||||||
|
return errors.New("invalid configuration file: 'settings' or 'server' fields are missing. Please ensure you are importing a file generated by the 'config export' command")
|
||||||
|
}
|
||||||
|
|
||||||
file.Settings.Key = key
|
file.Settings.Key = key
|
||||||
err = st.Settings.Save(file.Settings)
|
err = st.Settings.Save(file.Settings)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -64,12 +67,7 @@ The path must be for a json or yaml file.`,
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
var rawAuther interface{}
|
var rawAuther = file.Auther
|
||||||
if filepath.Ext(args[0]) != ".json" {
|
|
||||||
rawAuther = cleanUpInterfaceMap(file.Auther.(map[interface{}]interface{}))
|
|
||||||
} else {
|
|
||||||
rawAuther = file.Auther
|
|
||||||
}
|
|
||||||
|
|
||||||
var auther auth.Auther
|
var auther auth.Auther
|
||||||
var autherErr error
|
var autherErr error
|
||||||
|
|||||||
+25
-5
@@ -46,6 +46,7 @@ var (
|
|||||||
"disable-type-detection-by-header": "disableTypeDetectionByHeader",
|
"disable-type-detection-by-header": "disableTypeDetectionByHeader",
|
||||||
"img-processors": "imageProcessors",
|
"img-processors": "imageProcessors",
|
||||||
"cache-dir": "cacheDir",
|
"cache-dir": "cacheDir",
|
||||||
|
"redis-cache-url": "redisCacheUrl",
|
||||||
"token-expiration-time": "tokenExpirationTime",
|
"token-expiration-time": "tokenExpirationTime",
|
||||||
"baseurl": "baseURL",
|
"baseurl": "baseURL",
|
||||||
}
|
}
|
||||||
@@ -88,6 +89,7 @@ func init() {
|
|||||||
flags.String("password", "", "hashed password for the first user when using quick setup")
|
flags.String("password", "", "hashed password for the first user when using quick setup")
|
||||||
flags.Uint32("socketPerm", 0666, "unix socket file permissions")
|
flags.Uint32("socketPerm", 0666, "unix socket file permissions")
|
||||||
flags.String("cacheDir", "", "file cache directory (disabled if empty)")
|
flags.String("cacheDir", "", "file cache directory (disabled if empty)")
|
||||||
|
flags.String("redisCacheUrl", "", "redis cache URL (for multi-instance deployments), e.g. redis://user:pass@host:port")
|
||||||
flags.Int("imageProcessors", 4, "image processors count")
|
flags.Int("imageProcessors", 4, "image processors count")
|
||||||
addServerFlags(flags)
|
addServerFlags(flags)
|
||||||
}
|
}
|
||||||
@@ -108,6 +110,7 @@ func addServerFlags(flags *pflag.FlagSet) {
|
|||||||
flags.Bool("disablePreviewResize", false, "disable resize of image previews")
|
flags.Bool("disablePreviewResize", false, "disable resize of image previews")
|
||||||
flags.Bool("disableExec", true, "disables Command Runner feature")
|
flags.Bool("disableExec", true, "disables Command Runner feature")
|
||||||
flags.Bool("disableTypeDetectionByHeader", false, "disables type detection by reading file headers")
|
flags.Bool("disableTypeDetectionByHeader", false, "disables type detection by reading file headers")
|
||||||
|
flags.Bool("disableImageResolutionCalc", false, "disables image resolution calculation by reading image files")
|
||||||
}
|
}
|
||||||
|
|
||||||
var rootCmd = &cobra.Command{
|
var rootCmd = &cobra.Command{
|
||||||
@@ -135,6 +138,11 @@ file named .filebrowser.{json, toml, yaml, yml} in the following directories:
|
|||||||
- $HOME/
|
- $HOME/
|
||||||
- /etc/filebrowser/
|
- /etc/filebrowser/
|
||||||
|
|
||||||
|
**Note:** Only the options listed below can be set via the config file or
|
||||||
|
environment variables. Other configuration options live exclusively in the
|
||||||
|
database and so they must be set by the "config set" or "config
|
||||||
|
import" commands.
|
||||||
|
|
||||||
The precedence of the configuration values are as follows:
|
The precedence of the configuration values are as follows:
|
||||||
|
|
||||||
- Flags
|
- Flags
|
||||||
@@ -170,6 +178,12 @@ user created with the credentials from options "username" and "password".`,
|
|||||||
fileCache = diskcache.New(afero.NewOsFs(), cacheDir)
|
fileCache = diskcache.New(afero.NewOsFs(), cacheDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
redisCacheURL := v.GetString("redisCacheUrl")
|
||||||
|
uploadCache, err := fbhttp.NewUploadCache(redisCacheURL)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("failed to initialize upload cache: %w", err)
|
||||||
|
}
|
||||||
|
|
||||||
server, err := getServerSettings(v, st.Storage)
|
server, err := getServerSettings(v, st.Storage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
@@ -221,7 +235,7 @@ user created with the credentials from options "username" and "password".`,
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
handler, err := fbhttp.NewHandler(imageService, fileCache, st.Storage, server, assetsFs)
|
handler, err := fbhttp.NewHandler(imageService, fileCache, uploadCache, st.Storage, server, assetsFs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@@ -331,6 +345,10 @@ func getServerSettings(v *viper.Viper, st *storage.Storage) (*settings.Server, e
|
|||||||
server.TypeDetectionByHeader = !v.GetBool("disableTypeDetectionByHeader")
|
server.TypeDetectionByHeader = !v.GetBool("disableTypeDetectionByHeader")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if v.IsSet("disableImageResolutionCalc") {
|
||||||
|
server.ImageResolutionCal = !v.GetBool("disableImageResolutionCalc")
|
||||||
|
}
|
||||||
|
|
||||||
if v.IsSet("disableExec") {
|
if v.IsSet("disableExec") {
|
||||||
server.EnableExec = !v.GetBool("disableExec")
|
server.EnableExec = !v.GetBool("disableExec")
|
||||||
}
|
}
|
||||||
@@ -383,10 +401,11 @@ func quickSetup(v *viper.Viper, s *storage.Storage) error {
|
|||||||
MinimumPasswordLength: settings.DefaultMinimumPasswordLength,
|
MinimumPasswordLength: settings.DefaultMinimumPasswordLength,
|
||||||
UserHomeBasePath: settings.DefaultUsersHomeBasePath,
|
UserHomeBasePath: settings.DefaultUsersHomeBasePath,
|
||||||
Defaults: settings.UserDefaults{
|
Defaults: settings.UserDefaults{
|
||||||
Scope: ".",
|
Scope: ".",
|
||||||
Locale: "en",
|
Locale: "en",
|
||||||
SingleClick: false,
|
SingleClick: false,
|
||||||
AceEditorTheme: v.GetString("defaults.aceEditorTheme"),
|
RedirectAfterCopyMove: true,
|
||||||
|
AceEditorTheme: v.GetString("defaults.aceEditorTheme"),
|
||||||
Perm: users.Permissions{
|
Perm: users.Permissions{
|
||||||
Admin: false,
|
Admin: false,
|
||||||
Execute: true,
|
Execute: true,
|
||||||
@@ -439,6 +458,7 @@ func quickSetup(v *viper.Viper, s *storage.Storage) error {
|
|||||||
ResizePreview: !v.GetBool("disablePreviewResize"),
|
ResizePreview: !v.GetBool("disablePreviewResize"),
|
||||||
EnableExec: !v.GetBool("disableExec"),
|
EnableExec: !v.GetBool("disableExec"),
|
||||||
TypeDetectionByHeader: !v.GetBool("disableTypeDetectionByHeader"),
|
TypeDetectionByHeader: !v.GetBool("disableTypeDetectionByHeader"),
|
||||||
|
ImageResolutionCal: !v.GetBool("disableImageResolutionCalc"),
|
||||||
}
|
}
|
||||||
|
|
||||||
err = s.Settings.SaveServer(ser)
|
err = s.Settings.SaveServer(ser)
|
||||||
|
|||||||
+6
-2
@@ -27,16 +27,17 @@ var usersCmd = &cobra.Command{
|
|||||||
|
|
||||||
func printUsers(usrs []*users.User) {
|
func printUsers(usrs []*users.User) {
|
||||||
w := tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' ', 0)
|
w := tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' ', 0)
|
||||||
fmt.Fprintln(w, "ID\tUsername\tScope\tLocale\tV. Mode\tS.Click\tAdmin\tExecute\tCreate\tRename\tModify\tDelete\tShare\tDownload\tPwd Lock")
|
fmt.Fprintln(w, "ID\tUsername\tScope\tLocale\tV. Mode\tS.Click\tRed. After C/M\tAdmin\tExecute\tCreate\tRename\tModify\tDelete\tShare\tDownload\tPwd Lock")
|
||||||
|
|
||||||
for _, u := range usrs {
|
for _, u := range usrs {
|
||||||
fmt.Fprintf(w, "%d\t%s\t%s\t%s\t%s\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t\n",
|
fmt.Fprintf(w, "%d\t%s\t%s\t%s\t%s\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t%t\t\n",
|
||||||
u.ID,
|
u.ID,
|
||||||
u.Username,
|
u.Username,
|
||||||
u.Scope,
|
u.Scope,
|
||||||
u.Locale,
|
u.Locale,
|
||||||
u.ViewMode,
|
u.ViewMode,
|
||||||
u.SingleClick,
|
u.SingleClick,
|
||||||
|
u.RedirectAfterCopyMove,
|
||||||
u.Perm.Admin,
|
u.Perm.Admin,
|
||||||
u.Perm.Execute,
|
u.Perm.Execute,
|
||||||
u.Perm.Create,
|
u.Perm.Create,
|
||||||
@@ -77,6 +78,7 @@ func addUserFlags(flags *pflag.FlagSet) {
|
|||||||
flags.String("locale", "en", "locale for users")
|
flags.String("locale", "en", "locale for users")
|
||||||
flags.String("viewMode", string(users.ListViewMode), "view mode for users")
|
flags.String("viewMode", string(users.ListViewMode), "view mode for users")
|
||||||
flags.Bool("singleClick", false, "use single clicks only")
|
flags.Bool("singleClick", false, "use single clicks only")
|
||||||
|
flags.Bool("redirectAfterCopyMove", false, "redirect to destination after copy/move")
|
||||||
flags.Bool("dateFormat", false, "use date format (true for absolute time, false for relative)")
|
flags.Bool("dateFormat", false, "use date format (true for absolute time, false for relative)")
|
||||||
flags.Bool("hideDotfiles", false, "hide dotfiles")
|
flags.Bool("hideDotfiles", false, "hide dotfiles")
|
||||||
flags.String("aceEditorTheme", "", "ace editor's syntax highlighting theme for users")
|
flags.String("aceEditorTheme", "", "ace editor's syntax highlighting theme for users")
|
||||||
@@ -110,6 +112,8 @@ func getUserDefaults(flags *pflag.FlagSet, defaults *settings.UserDefaults, all
|
|||||||
defaults.ViewMode, err = getAndParseViewMode(flags)
|
defaults.ViewMode, err = getAndParseViewMode(flags)
|
||||||
case "singleClick":
|
case "singleClick":
|
||||||
defaults.SingleClick, err = flags.GetBool(flag.Name)
|
defaults.SingleClick, err = flags.GetBool(flag.Name)
|
||||||
|
case "redirectAfterCopyMove":
|
||||||
|
defaults.RedirectAfterCopyMove, err = flags.GetBool(flag.Name)
|
||||||
case "aceEditorTheme":
|
case "aceEditorTheme":
|
||||||
defaults.AceEditorTheme, err = flags.GetString(flag.Name)
|
defaults.AceEditorTheme, err = flags.GetString(flag.Name)
|
||||||
case "perm.admin":
|
case "perm.admin":
|
||||||
|
|||||||
+9
-7
@@ -52,13 +52,14 @@ options you want to change.`,
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaults := settings.UserDefaults{
|
defaults := settings.UserDefaults{
|
||||||
Scope: user.Scope,
|
Scope: user.Scope,
|
||||||
Locale: user.Locale,
|
Locale: user.Locale,
|
||||||
ViewMode: user.ViewMode,
|
ViewMode: user.ViewMode,
|
||||||
SingleClick: user.SingleClick,
|
SingleClick: user.SingleClick,
|
||||||
Perm: user.Perm,
|
RedirectAfterCopyMove: user.RedirectAfterCopyMove,
|
||||||
Sorting: user.Sorting,
|
Perm: user.Perm,
|
||||||
Commands: user.Commands,
|
Sorting: user.Sorting,
|
||||||
|
Commands: user.Commands,
|
||||||
}
|
}
|
||||||
|
|
||||||
err = getUserDefaults(flags, &defaults, false)
|
err = getUserDefaults(flags, &defaults, false)
|
||||||
@@ -70,6 +71,7 @@ options you want to change.`,
|
|||||||
user.Locale = defaults.Locale
|
user.Locale = defaults.Locale
|
||||||
user.ViewMode = defaults.ViewMode
|
user.ViewMode = defaults.ViewMode
|
||||||
user.SingleClick = defaults.SingleClick
|
user.SingleClick = defaults.SingleClick
|
||||||
|
user.RedirectAfterCopyMove = defaults.RedirectAfterCopyMove
|
||||||
user.Perm = defaults.Perm
|
user.Perm = defaults.Perm
|
||||||
user.Commands = defaults.Commands
|
user.Commands = defaults.Commands
|
||||||
user.Sorting = defaults.Sorting
|
user.Sorting = defaults.Sorting
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"io/fs"
|
"io/fs"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
@@ -249,33 +248,6 @@ func jsonYamlArg(cmd *cobra.Command, args []string) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func cleanUpInterfaceMap(in map[interface{}]interface{}) map[string]interface{} {
|
|
||||||
result := make(map[string]interface{})
|
|
||||||
for k, v := range in {
|
|
||||||
result[fmt.Sprintf("%v", k)] = cleanUpMapValue(v)
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
func cleanUpInterfaceArray(in []interface{}) []interface{} {
|
|
||||||
result := make([]interface{}, len(in))
|
|
||||||
for i, v := range in {
|
|
||||||
result[i] = cleanUpMapValue(v)
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
func cleanUpMapValue(v interface{}) interface{} {
|
|
||||||
switch v := v.(type) {
|
|
||||||
case []interface{}:
|
|
||||||
return cleanUpInterfaceArray(v)
|
|
||||||
case map[interface{}]interface{}:
|
|
||||||
return cleanUpInterfaceMap(v)
|
|
||||||
default:
|
|
||||||
return v
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// convertCmdStrToCmdArray checks if cmd string is blank (whitespace included)
|
// convertCmdStrToCmdArray checks if cmd string is blank (whitespace included)
|
||||||
// then returns empty string array, else returns the split word array of cmd.
|
// then returns empty string array, else returns the split word array of cmd.
|
||||||
// This is to ensure the result will never be []string{""}
|
// This is to ensure the result will never be []string{""}
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# Run using:
|
||||||
|
# docker compose -f compose.yaml -f compose.redis.yaml up --build
|
||||||
|
|
||||||
|
services:
|
||||||
|
redis:
|
||||||
|
container_name: redis
|
||||||
|
image: redis:latest
|
||||||
|
networks:
|
||||||
|
- filebrowser
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
cat > /tmp/users.acl <<EOF
|
||||||
|
user default on >filebrowser ~* +@all
|
||||||
|
EOF
|
||||||
|
redis-server --aclfile /tmp/users.acl
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
# Run using:
|
||||||
|
# docker compose up --build
|
||||||
|
|
||||||
|
services:
|
||||||
|
filebrowser:
|
||||||
|
container_name: filebrowser
|
||||||
|
build:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
context: .
|
||||||
|
networks:
|
||||||
|
- filebrowser
|
||||||
|
ports:
|
||||||
|
- 8000:80
|
||||||
|
volumes:
|
||||||
|
- filebrowser:/flux/vault
|
||||||
|
environment:
|
||||||
|
- REDIS_CACHE_URL=redis://default:filebrowser@redis:6379 # Use rediss:// for ssl
|
||||||
|
|
||||||
|
redis:
|
||||||
|
container_name: redis
|
||||||
|
image: redis:latest
|
||||||
|
networks:
|
||||||
|
- filebrowser
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
cat > /tmp/users.acl <<EOF
|
||||||
|
user default on >filebrowser ~* +@all
|
||||||
|
EOF
|
||||||
|
redis-server --aclfile /tmp/users.acl
|
||||||
|
|
||||||
|
networks:
|
||||||
|
filebrowser:
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
filebrowser:
|
||||||
+18
-17
@@ -1,4 +1,4 @@
|
|||||||
package errors
|
package fberrors
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
@@ -6,22 +6,23 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
ErrEmptyKey = errors.New("empty key")
|
ErrEmptyKey = errors.New("empty key")
|
||||||
ErrExist = errors.New("the resource already exists")
|
ErrExist = errors.New("the resource already exists")
|
||||||
ErrNotExist = errors.New("the resource does not exist")
|
ErrNotExist = errors.New("the resource does not exist")
|
||||||
ErrEmptyPassword = errors.New("password is empty")
|
ErrEmptyPassword = errors.New("password is empty")
|
||||||
ErrEasyPassword = errors.New("password is too easy")
|
ErrEasyPassword = errors.New("password is too easy")
|
||||||
ErrEmptyUsername = errors.New("username is empty")
|
ErrEmptyUsername = errors.New("username is empty")
|
||||||
ErrEmptyRequest = errors.New("empty request")
|
ErrEmptyRequest = errors.New("empty request")
|
||||||
ErrScopeIsRelative = errors.New("scope is a relative path")
|
ErrScopeIsRelative = errors.New("scope is a relative path")
|
||||||
ErrInvalidDataType = errors.New("invalid data type")
|
ErrInvalidDataType = errors.New("invalid data type")
|
||||||
ErrIsDirectory = errors.New("file is directory")
|
ErrIsDirectory = errors.New("file is directory")
|
||||||
ErrInvalidOption = errors.New("invalid option")
|
ErrInvalidOption = errors.New("invalid option")
|
||||||
ErrInvalidAuthMethod = errors.New("invalid auth method")
|
ErrInvalidAuthMethod = errors.New("invalid auth method")
|
||||||
ErrPermissionDenied = errors.New("permission denied")
|
ErrPermissionDenied = errors.New("permission denied")
|
||||||
ErrInvalidRequestParams = errors.New("invalid request params")
|
ErrInvalidRequestParams = errors.New("invalid request params")
|
||||||
ErrSourceIsParent = errors.New("source is parent")
|
ErrSourceIsParent = errors.New("source is parent")
|
||||||
ErrRootUserDeletion = errors.New("user with id 1 can't be deleted")
|
ErrRootUserDeletion = errors.New("user with id 1 can't be deleted")
|
||||||
|
ErrCurrentPasswordIncorrect = errors.New("the current password is incorrect")
|
||||||
)
|
)
|
||||||
|
|
||||||
type ErrShortPassword struct {
|
type ErrShortPassword struct {
|
||||||
|
|||||||
+17
-14
@@ -23,7 +23,7 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/afero"
|
"github.com/spf13/afero"
|
||||||
|
|
||||||
fbErrors "github.com/filebrowser/filebrowser/v2/errors"
|
fberrors "github.com/filebrowser/filebrowser/v2/errors"
|
||||||
"github.com/filebrowser/filebrowser/v2/rules"
|
"github.com/filebrowser/filebrowser/v2/rules"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -60,6 +60,7 @@ type FileOptions struct {
|
|||||||
Modify bool
|
Modify bool
|
||||||
Expand bool
|
Expand bool
|
||||||
ReadHeader bool
|
ReadHeader bool
|
||||||
|
CalcImgRes bool
|
||||||
Token string
|
Token string
|
||||||
Checker rules.Checker
|
Checker rules.Checker
|
||||||
Content bool
|
Content bool
|
||||||
@@ -90,13 +91,13 @@ func NewFileInfo(opts *FileOptions) (*FileInfo, error) {
|
|||||||
|
|
||||||
if opts.Expand {
|
if opts.Expand {
|
||||||
if file.IsDir {
|
if file.IsDir {
|
||||||
if err := file.readListing(opts.Checker, opts.ReadHeader); err != nil {
|
if err := file.readListing(opts.Checker, opts.ReadHeader, opts.CalcImgRes); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return file, nil
|
return file, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
err = file.detectType(opts.Modify, opts.Content, true)
|
err = file.detectType(opts.Modify, opts.Content, true, opts.CalcImgRes)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@@ -168,7 +169,7 @@ func stat(opts *FileOptions) (*FileInfo, error) {
|
|||||||
// algorithm. The checksums data is saved on File object.
|
// algorithm. The checksums data is saved on File object.
|
||||||
func (i *FileInfo) Checksum(algo string) error {
|
func (i *FileInfo) Checksum(algo string) error {
|
||||||
if i.IsDir {
|
if i.IsDir {
|
||||||
return fbErrors.ErrIsDirectory
|
return fberrors.ErrIsDirectory
|
||||||
}
|
}
|
||||||
|
|
||||||
if i.Checksums == nil {
|
if i.Checksums == nil {
|
||||||
@@ -193,7 +194,7 @@ func (i *FileInfo) Checksum(algo string) error {
|
|||||||
case "sha512":
|
case "sha512":
|
||||||
h = sha512.New()
|
h = sha512.New()
|
||||||
default:
|
default:
|
||||||
return fbErrors.ErrInvalidOption
|
return fberrors.ErrInvalidOption
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = io.Copy(h, reader)
|
_, err = io.Copy(h, reader)
|
||||||
@@ -218,7 +219,7 @@ func (i *FileInfo) RealPath() string {
|
|||||||
return i.Path
|
return i.Path
|
||||||
}
|
}
|
||||||
|
|
||||||
func (i *FileInfo) detectType(modify, saveContent, readHeader bool) error {
|
func (i *FileInfo) detectType(modify, saveContent, readHeader bool, calcImgRes bool) error {
|
||||||
if IsNamedPipe(i.Mode) {
|
if IsNamedPipe(i.Mode) {
|
||||||
i.Type = "blob"
|
i.Type = "blob"
|
||||||
return nil
|
return nil
|
||||||
@@ -249,11 +250,13 @@ func (i *FileInfo) detectType(modify, saveContent, readHeader bool) error {
|
|||||||
return nil
|
return nil
|
||||||
case strings.HasPrefix(mimetype, "image"):
|
case strings.HasPrefix(mimetype, "image"):
|
||||||
i.Type = "image"
|
i.Type = "image"
|
||||||
resolution, err := calculateImageResolution(i.Fs, i.Path)
|
if calcImgRes {
|
||||||
if err != nil {
|
resolution, err := calculateImageResolution(i.Fs, i.Path)
|
||||||
log.Printf("Error calculating image resolution: %v", err)
|
if err != nil {
|
||||||
} else {
|
log.Printf("Error calculating image resolution: %v", err)
|
||||||
i.Resolution = resolution
|
} else {
|
||||||
|
i.Resolution = resolution
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
case strings.HasSuffix(mimetype, "pdf"):
|
case strings.HasSuffix(mimetype, "pdf"):
|
||||||
@@ -387,7 +390,7 @@ func (i *FileInfo) addSubtitle(fPath string) {
|
|||||||
i.Subtitles = append(i.Subtitles, fPath)
|
i.Subtitles = append(i.Subtitles, fPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (i *FileInfo) readListing(checker rules.Checker, readHeader bool) error {
|
func (i *FileInfo) readListing(checker rules.Checker, readHeader bool, calcImgRes bool) error {
|
||||||
afs := &afero.Afero{Fs: i.Fs}
|
afs := &afero.Afero{Fs: i.Fs}
|
||||||
dir, err := afs.ReadDir(i.Path)
|
dir, err := afs.ReadDir(i.Path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -434,7 +437,7 @@ func (i *FileInfo) readListing(checker rules.Checker, readHeader bool) error {
|
|||||||
currentDir: dir,
|
currentDir: dir,
|
||||||
}
|
}
|
||||||
|
|
||||||
if !file.IsDir && strings.HasPrefix(mime.TypeByExtension(file.Extension), "image/") {
|
if !file.IsDir && strings.HasPrefix(mime.TypeByExtension(file.Extension), "image/") && calcImgRes {
|
||||||
resolution, err := calculateImageResolution(file.Fs, file.Path)
|
resolution, err := calculateImageResolution(file.Fs, file.Path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Error calculating resolution for image %s: %v", file.Path, err)
|
log.Printf("Error calculating resolution for image %s: %v", file.Path, err)
|
||||||
@@ -451,7 +454,7 @@ func (i *FileInfo) readListing(checker rules.Checker, readHeader bool) error {
|
|||||||
if isInvalidLink {
|
if isInvalidLink {
|
||||||
file.Type = "invalid_link"
|
file.Type = "invalid_link"
|
||||||
} else {
|
} else {
|
||||||
err := file.detectType(true, false, readHeader)
|
err := file.detectType(true, false, readHeader, calcImgRes)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
DisableUsedPercentage: false,
|
DisableUsedPercentage: false,
|
||||||
EnableExec: true,
|
EnableExec: true,
|
||||||
EnableThumbs: true,
|
EnableThumbs: true,
|
||||||
|
LogoutPage: "",
|
||||||
LoginPage: true,
|
LoginPage: true,
|
||||||
Name: "",
|
Name: "",
|
||||||
NoAuth: false,
|
NoAuth: false,
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
"@vueuse/core": "^14.0.0",
|
"@vueuse/core": "^14.0.0",
|
||||||
"@vueuse/integrations": "^14.0.0",
|
"@vueuse/integrations": "^14.0.0",
|
||||||
"ace-builds": "^1.43.2",
|
"ace-builds": "^1.43.2",
|
||||||
|
"csv-parse": "^6.1.0",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"dompurify": "^3.2.6",
|
"dompurify": "^3.2.6",
|
||||||
"epubjs": "^0.3.93",
|
"epubjs": "^0.3.93",
|
||||||
@@ -29,6 +30,7 @@
|
|||||||
"jwt-decode": "^4.0.0",
|
"jwt-decode": "^4.0.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"marked": "^17.0.0",
|
"marked": "^17.0.0",
|
||||||
|
"marked-katex-extension": "^5.1.6",
|
||||||
"material-icons": "^1.13.14",
|
"material-icons": "^1.13.14",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"pinia": "^3.0.4",
|
"pinia": "^3.0.4",
|
||||||
@@ -40,11 +42,10 @@
|
|||||||
"videojs-hotkeys": "^0.2.28",
|
"videojs-hotkeys": "^0.2.28",
|
||||||
"videojs-mobile-ui": "^1.1.1",
|
"videojs-mobile-ui": "^1.1.1",
|
||||||
"vue": "^3.5.17",
|
"vue": "^3.5.17",
|
||||||
"vue-final-modal": "^4.5.5",
|
|
||||||
"vue-i18n": "^11.1.10",
|
"vue-i18n": "^11.1.10",
|
||||||
"vue-lazyload": "^3.0.0",
|
"vue-lazyload": "^3.0.0",
|
||||||
"vue-reader": "^1.2.17",
|
"vue-reader": "^1.2.17",
|
||||||
"vue-router": "^4.5.1",
|
"vue-router": "^5.0.0",
|
||||||
"vue-toastification": "^2.0.0-rc.5"
|
"vue-toastification": "^2.0.0-rc.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -59,7 +60,7 @@
|
|||||||
"@vue/eslint-config-typescript": "^14.6.0",
|
"@vue/eslint-config-typescript": "^14.6.0",
|
||||||
"@vue/tsconfig": "^0.8.1",
|
"@vue/tsconfig": "^0.8.1",
|
||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.21",
|
||||||
"eslint": "^9.31.0",
|
"eslint": "^10.0.0",
|
||||||
"eslint-config-prettier": "^10.1.5",
|
"eslint-config-prettier": "^10.1.5",
|
||||||
"eslint-plugin-prettier": "^5.5.1",
|
"eslint-plugin-prettier": "^5.5.1",
|
||||||
"eslint-plugin-vue": "^10.5.1",
|
"eslint-plugin-vue": "^10.5.1",
|
||||||
@@ -71,5 +72,5 @@
|
|||||||
"vite-plugin-compression2": "^2.3.1",
|
"vite-plugin-compression2": "^2.3.1",
|
||||||
"vue-tsc": "^3.1.3"
|
"vue-tsc": "^3.1.3"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.23.0+sha512.21c4e5698002ade97e4efe8b8b4a89a8de3c85a37919f957e7a0f30f38fbc5bbdd05980ffe29179b2fb6e6e691242e098d945d1601772cad0fef5fb6411e2a4b"
|
"packageManager": "pnpm@10.30.1+sha512.3590e550d5384caa39bd5c7c739f72270234b2f6059e13018f975c313b1eb9fefcc09714048765d4d9efe961382c312e624572c0420762bdc5d5940cdf9be73a"
|
||||||
}
|
}
|
||||||
Generated
+1783
-1582
File diff suppressed because it is too large.
Load diff
@@ -3,14 +3,25 @@ import { useLayoutStore } from "@/stores/layout";
|
|||||||
import { baseURL } from "@/utils/constants";
|
import { baseURL } from "@/utils/constants";
|
||||||
import { upload as postTus, useTus } from "./tus";
|
import { upload as postTus, useTus } from "./tus";
|
||||||
import { createURL, fetchURL, removePrefix, StatusError } from "./utils";
|
import { createURL, fetchURL, removePrefix, StatusError } from "./utils";
|
||||||
|
import { isEncodableResponse, makeRawResource } from "@/utils/encodings";
|
||||||
|
|
||||||
export async function fetch(url: string, signal?: AbortSignal) {
|
export async function fetch(url: string, signal?: AbortSignal) {
|
||||||
|
const encoding = isEncodableResponse(url);
|
||||||
url = removePrefix(url);
|
url = removePrefix(url);
|
||||||
const res = await fetchURL(`/api/resources${url}`, { signal });
|
const res = await fetchURL(`/api/resources${url}`, {
|
||||||
|
signal,
|
||||||
|
headers: {
|
||||||
|
"X-Encoding": encoding ? "true" : "false",
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
let data: Resource;
|
let data: Resource;
|
||||||
try {
|
try {
|
||||||
data = (await res.json()) as Resource;
|
if (res.headers.get("Content-Type") == "application/octet-stream") {
|
||||||
|
data = await makeRawResource(res, url);
|
||||||
|
} else {
|
||||||
|
data = (await res.json()) as Resource;
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Check if the error is an intentional cancellation
|
// Check if the error is an intentional cancellation
|
||||||
if (e instanceof Error && e.name === "AbortError") {
|
if (e instanceof Error && e.name === "AbortError") {
|
||||||
@@ -140,9 +151,9 @@ async function postResources(
|
|||||||
if (request.status === 200) {
|
if (request.status === 200) {
|
||||||
resolve(request.responseText);
|
resolve(request.responseText);
|
||||||
} else if (request.status === 409) {
|
} else if (request.status === 409) {
|
||||||
reject(request.status);
|
reject(new Error(request.status.toString()));
|
||||||
} else {
|
} else {
|
||||||
reject(request.responseText);
|
reject(new Error(request.responseText));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -41,12 +41,12 @@ export function download(
|
|||||||
let url = `${baseURL}/api/public/dl/${hash}`;
|
let url = `${baseURL}/api/public/dl/${hash}`;
|
||||||
|
|
||||||
if (files.length === 1) {
|
if (files.length === 1) {
|
||||||
url += encodeURIComponent(files[0]) + "?";
|
url += files[0] + "?";
|
||||||
} else {
|
} else {
|
||||||
let arg = "";
|
let arg = "";
|
||||||
|
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
arg += encodeURIComponent(file) + ",";
|
arg += file + ",";
|
||||||
}
|
}
|
||||||
|
|
||||||
arg = arg.substring(0, arg.length - 1);
|
arg = arg.substring(0, arg.length - 1);
|
||||||
|
|||||||
+61
-15
@@ -1,7 +1,12 @@
|
|||||||
import { fetchURL, removePrefix } from "./utils";
|
import { fetchURL, removePrefix, StatusError } from "./utils";
|
||||||
import url from "../utils/url";
|
import url from "../utils/url";
|
||||||
|
|
||||||
export default async function search(base: string, query: string) {
|
export default async function search(
|
||||||
|
base: string,
|
||||||
|
query: string,
|
||||||
|
signal: AbortSignal,
|
||||||
|
callback: (item: ResourceItem) => void
|
||||||
|
) {
|
||||||
base = removePrefix(base);
|
base = removePrefix(base);
|
||||||
query = encodeURIComponent(query);
|
query = encodeURIComponent(query);
|
||||||
|
|
||||||
@@ -9,19 +14,60 @@ export default async function search(base: string, query: string) {
|
|||||||
base += "/";
|
base += "/";
|
||||||
}
|
}
|
||||||
|
|
||||||
const res = await fetchURL(`/api/search${base}?query=${query}`, {});
|
const res = await fetchURL(`/api/search${base}?query=${query}`, { signal });
|
||||||
|
if (!res.body) {
|
||||||
|
throw new StatusError("000 No connection", 0);
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
// Try streaming approach first (modern browsers)
|
||||||
|
if (res.body && typeof res.body.pipeThrough === "function") {
|
||||||
|
const reader = res.body.pipeThrough(new TextDecoderStream()).getReader();
|
||||||
|
let buffer = "";
|
||||||
|
while (true) {
|
||||||
|
const { done, value } = await reader.read();
|
||||||
|
if (value) {
|
||||||
|
buffer += value;
|
||||||
|
}
|
||||||
|
const lines = buffer.split(/\n/);
|
||||||
|
let lastLine = lines.pop();
|
||||||
|
// Save incomplete last line
|
||||||
|
if (!lastLine) {
|
||||||
|
lastLine = "";
|
||||||
|
}
|
||||||
|
buffer = lastLine;
|
||||||
|
|
||||||
let data = await res.json();
|
for (const line of lines) {
|
||||||
|
if (line) {
|
||||||
data = data.map((item: ResourceItem & { dir: boolean }) => {
|
const item = JSON.parse(line) as ResourceItem;
|
||||||
item.url = `/files${base}` + url.encodePath(item.path);
|
item.url = `/files${base}` + url.encodePath(item.path);
|
||||||
|
if (item.isDir) {
|
||||||
if (item.dir) {
|
item.url += "/";
|
||||||
item.url += "/";
|
}
|
||||||
|
callback(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (done) break;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
// Fallback for browsers without streaming support (e.g., Safari)
|
||||||
|
const text = await res.text();
|
||||||
|
const lines = text.split(/\n/);
|
||||||
|
for (const line of lines) {
|
||||||
|
if (line) {
|
||||||
|
const item = JSON.parse(line) as ResourceItem;
|
||||||
|
item.url = `/files${base}` + url.encodePath(item.path);
|
||||||
|
if (item.isDir) {
|
||||||
|
item.url += "/";
|
||||||
|
}
|
||||||
|
callback(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
} catch (e) {
|
||||||
return item;
|
// Check if the error is an intentional cancellation
|
||||||
});
|
if (e instanceof Error && e.name === "AbortError") {
|
||||||
|
throw new StatusError("000 No connection", 0, true);
|
||||||
return data;
|
}
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -8,12 +8,13 @@ export async function get(id: number) {
|
|||||||
return fetchJSON<IUser>(`/api/users/${id}`, {});
|
return fetchJSON<IUser>(`/api/users/${id}`, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function create(user: IUser) {
|
export async function create(user: IUser, currentPassword: string) {
|
||||||
const res = await fetchURL(`/api/users`, {
|
const res = await fetchURL(`/api/users`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
what: "user",
|
what: "user",
|
||||||
which: [],
|
which: [],
|
||||||
|
current_password: currentPassword,
|
||||||
data: user,
|
data: user,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
@@ -25,19 +26,30 @@ export async function create(user: IUser) {
|
|||||||
throw new StatusError(await res.text(), res.status);
|
throw new StatusError(await res.text(), res.status);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function update(user: Partial<IUser>, which = ["all"]) {
|
export async function update(
|
||||||
|
user: Partial<IUser>,
|
||||||
|
which = ["all"],
|
||||||
|
currentPassword: string | null = null
|
||||||
|
) {
|
||||||
await fetchURL(`/api/users/${user.id}`, {
|
await fetchURL(`/api/users/${user.id}`, {
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
what: "user",
|
what: "user",
|
||||||
which: which,
|
which: which,
|
||||||
|
...(currentPassword != null ? { current_password: currentPassword } : {}),
|
||||||
data: user,
|
data: user,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function remove(id: number) {
|
export async function remove(
|
||||||
|
id: number,
|
||||||
|
currentPassword: string | null = null
|
||||||
|
) {
|
||||||
await fetchURL(`/api/users/${id}`, {
|
await fetchURL(`/api/users/${id}`, {
|
||||||
method: "DELETE",
|
method: "DELETE",
|
||||||
|
body: JSON.stringify({
|
||||||
|
...(currentPassword != null ? { current_password: currentPassword } : {}),
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -5,10 +5,11 @@
|
|||||||
v-if="active"
|
v-if="active"
|
||||||
class="action"
|
class="action"
|
||||||
@click="close"
|
@click="close"
|
||||||
:aria-label="$t('buttons.close')"
|
:aria-label="closeButtonTitle"
|
||||||
:title="$t('buttons.close')"
|
:title="closeButtonTitle"
|
||||||
>
|
>
|
||||||
<i class="material-icons">arrow_back</i>
|
<i v-if="ongoing" class="material-icons">stop_circle</i>
|
||||||
|
<i v-else class="material-icons">arrow_back</i>
|
||||||
</button>
|
</button>
|
||||||
<i v-else class="material-icons">search</i>
|
<i v-else class="material-icons">search</i>
|
||||||
<input
|
<input
|
||||||
@@ -21,6 +22,15 @@
|
|||||||
:aria-label="$t('search.search')"
|
:aria-label="$t('search.search')"
|
||||||
:placeholder="$t('search.search')"
|
:placeholder="$t('search.search')"
|
||||||
/>
|
/>
|
||||||
|
<i
|
||||||
|
v-show="ongoing"
|
||||||
|
class="material-icons spin"
|
||||||
|
style="display: inline-block"
|
||||||
|
>autorenew
|
||||||
|
</i>
|
||||||
|
<span style="margin-top: 5px" v-show="results.length > 0">
|
||||||
|
{{ results.length }}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="result" ref="result">
|
<div id="result" ref="result">
|
||||||
@@ -57,9 +67,6 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<p id="renew">
|
|
||||||
<i class="material-icons spin">autorenew</i>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -70,10 +77,11 @@ import { useLayoutStore } from "@/stores/layout";
|
|||||||
|
|
||||||
import url from "@/utils/url";
|
import url from "@/utils/url";
|
||||||
import { search } from "@/api";
|
import { search } from "@/api";
|
||||||
import { computed, inject, onMounted, ref, watch } from "vue";
|
import { computed, inject, onMounted, ref, watch, onUnmounted } from "vue";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { useRoute } from "vue-router";
|
import { useRoute } from "vue-router";
|
||||||
import { storeToRefs } from "pinia";
|
import { storeToRefs } from "pinia";
|
||||||
|
import { StatusError } from "@/api/utils";
|
||||||
|
|
||||||
const boxes = {
|
const boxes = {
|
||||||
image: { label: "images", icon: "insert_photo" },
|
image: { label: "images", icon: "insert_photo" },
|
||||||
@@ -84,6 +92,7 @@ const boxes = {
|
|||||||
|
|
||||||
const layoutStore = useLayoutStore();
|
const layoutStore = useLayoutStore();
|
||||||
const fileStore = useFileStore();
|
const fileStore = useFileStore();
|
||||||
|
let searchAbortController = new AbortController();
|
||||||
|
|
||||||
const { currentPromptName } = storeToRefs(layoutStore);
|
const { currentPromptName } = storeToRefs(layoutStore);
|
||||||
|
|
||||||
@@ -124,9 +133,7 @@ watch(currentPromptName, (newVal, oldVal) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
watch(prompt, () => {
|
watch(prompt, () => {
|
||||||
if (results.value.length) {
|
reset();
|
||||||
reset();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// ...mapState(useFileStore, ["isListing"]),
|
// ...mapState(useFileStore, ["isListing"]),
|
||||||
@@ -149,6 +156,10 @@ const filteredResults = computed(() => {
|
|||||||
return results.value.slice(0, resultsCount.value);
|
return results.value.slice(0, resultsCount.value);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const closeButtonTitle = computed(() => {
|
||||||
|
return ongoing.value ? t("buttons.stopSearch") : t("buttons.close");
|
||||||
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (result.value === null) {
|
if (result.value === null) {
|
||||||
return;
|
return;
|
||||||
@@ -164,14 +175,23 @@ onMounted(() => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
onUnmounted(() => {
|
||||||
|
abortLastSearch();
|
||||||
|
});
|
||||||
|
|
||||||
const open = () => {
|
const open = () => {
|
||||||
!active.value && layoutStore.showHover("search");
|
!active.value && layoutStore.showHover("search");
|
||||||
};
|
};
|
||||||
|
|
||||||
const close = (event: Event) => {
|
const close = (event: Event) => {
|
||||||
event.stopPropagation();
|
if (ongoing.value) {
|
||||||
event.preventDefault();
|
abortLastSearch();
|
||||||
layoutStore.closeHovers();
|
ongoing.value = false;
|
||||||
|
} else {
|
||||||
|
event.stopPropagation();
|
||||||
|
event.preventDefault();
|
||||||
|
layoutStore.closeHovers();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const keyup = (event: KeyboardEvent) => {
|
const keyup = (event: KeyboardEvent) => {
|
||||||
@@ -188,11 +208,16 @@ const init = (string: string) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const reset = () => {
|
const reset = () => {
|
||||||
|
abortLastSearch();
|
||||||
ongoing.value = false;
|
ongoing.value = false;
|
||||||
resultsCount.value = 50;
|
resultsCount.value = 50;
|
||||||
results.value = [];
|
results.value = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const abortLastSearch = () => {
|
||||||
|
searchAbortController.abort();
|
||||||
|
};
|
||||||
|
|
||||||
const submit = async (event: Event) => {
|
const submit = async (event: Event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
@@ -208,8 +233,16 @@ const submit = async (event: Event) => {
|
|||||||
ongoing.value = true;
|
ongoing.value = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
results.value = await search(path, prompt.value);
|
abortLastSearch();
|
||||||
|
searchAbortController = new AbortController();
|
||||||
|
results.value = [];
|
||||||
|
await search(path, prompt.value, searchAbortController.signal, (item) =>
|
||||||
|
results.value.push(item)
|
||||||
|
);
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
|
if (error instanceof StatusError && error.is_canceled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
$showError(error);
|
$showError(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ import {
|
|||||||
disableExternal,
|
disableExternal,
|
||||||
disableUsedPercentage,
|
disableUsedPercentage,
|
||||||
noAuth,
|
noAuth,
|
||||||
|
logoutPage,
|
||||||
loginPage,
|
loginPage,
|
||||||
} from "@/utils/constants";
|
} from "@/utils/constants";
|
||||||
import { files as api } from "@/api";
|
import { files as api } from "@/api";
|
||||||
@@ -159,7 +160,7 @@ export default {
|
|||||||
version: () => version,
|
version: () => version,
|
||||||
disableExternal: () => disableExternal,
|
disableExternal: () => disableExternal,
|
||||||
disableUsedPercentage: () => disableUsedPercentage,
|
disableUsedPercentage: () => disableUsedPercentage,
|
||||||
canLogout: () => !noAuth && loginPage,
|
canLogout: () => !noAuth && (loginPage || logoutPage !== "/login"),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(useLayoutStore, ["closeHovers", "showHover"]),
|
...mapActions(useLayoutStore, ["closeHovers", "showHover"]),
|
||||||
|
|||||||
@@ -0,0 +1,289 @@
|
|||||||
|
<template>
|
||||||
|
<div class="csv-viewer">
|
||||||
|
<div class="csv-header">
|
||||||
|
<div class="header-select">
|
||||||
|
<label for="columnSeparator">{{ $t("files.columnSeparator") }}</label>
|
||||||
|
<select
|
||||||
|
id="columnSeparator"
|
||||||
|
class="input input--block"
|
||||||
|
v-model="columnSeparator"
|
||||||
|
>
|
||||||
|
<option :value="[',']">
|
||||||
|
{{ $t("files.csvSeparators.comma") }}
|
||||||
|
</option>
|
||||||
|
<option :value="[';']">
|
||||||
|
{{ $t("files.csvSeparators.semicolon") }}
|
||||||
|
</option>
|
||||||
|
<option :value="[',', ';']">
|
||||||
|
{{ $t("files.csvSeparators.both") }}
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="header-select" v-if="isEncodedContent">
|
||||||
|
<label for="fileEncoding">{{ $t("files.fileEncoding") }}</label>
|
||||||
|
<select
|
||||||
|
id="fileEncoding"
|
||||||
|
class="input input--block"
|
||||||
|
v-model="selectedEncoding"
|
||||||
|
>
|
||||||
|
<option
|
||||||
|
v-for="encoding in availableEncodings"
|
||||||
|
:value="encoding"
|
||||||
|
:key="encoding"
|
||||||
|
>
|
||||||
|
{{ encoding }}
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-if="displayError" class="csv-error">
|
||||||
|
<i class="material-icons">error</i>
|
||||||
|
<p>{{ displayError }}</p>
|
||||||
|
</div>
|
||||||
|
<div v-else-if="parsed.headers.length === 0" class="csv-empty">
|
||||||
|
<i class="material-icons">description</i>
|
||||||
|
<p>{{ $t("files.lonely") }}</p>
|
||||||
|
</div>
|
||||||
|
<div v-else class="csv-table-container" @wheel.stop @touchmove.stop>
|
||||||
|
<table class="csv-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th v-for="(header, index) in parsed.headers" :key="index">
|
||||||
|
{{ header || `Column ${index + 1}` }}
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr v-for="(row, rowIndex) in parsed.rows" :key="rowIndex">
|
||||||
|
<td v-for="(cell, cellIndex) in row" :key="cellIndex">
|
||||||
|
{{ cell }}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<div class="csv-footer">
|
||||||
|
<div class="csv-info" v-if="parsed.rows.length > 100">
|
||||||
|
<i class="material-icons">info</i>
|
||||||
|
<span>
|
||||||
|
{{ $t("files.showingRows", { count: parsed.rows.length }) }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { computed, ref, watchEffect } from "vue";
|
||||||
|
import { parse } from "csv-parse/browser/esm";
|
||||||
|
import { useI18n } from "vue-i18n";
|
||||||
|
import { availableEncodings, decode } from "@/utils/encodings";
|
||||||
|
|
||||||
|
const { t } = useI18n({});
|
||||||
|
|
||||||
|
interface Props {
|
||||||
|
content: ArrayBuffer | string;
|
||||||
|
error?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const props = withDefaults(defineProps<Props>(), {
|
||||||
|
error: "",
|
||||||
|
});
|
||||||
|
|
||||||
|
const columnSeparator = ref([",", ";"]);
|
||||||
|
|
||||||
|
const selectedEncoding = ref("utf-8");
|
||||||
|
|
||||||
|
const parsed = ref<CsvData>({ headers: [], rows: [] });
|
||||||
|
|
||||||
|
const displayError = ref<string | null>(null);
|
||||||
|
|
||||||
|
const isEncodedContent = computed(() => {
|
||||||
|
return props.content instanceof ArrayBuffer;
|
||||||
|
});
|
||||||
|
|
||||||
|
watchEffect(() => {
|
||||||
|
if (props.content !== "" && columnSeparator.value.length > 0) {
|
||||||
|
const content = isEncodedContent.value
|
||||||
|
? decode(props.content as ArrayBuffer, selectedEncoding.value)
|
||||||
|
: props.content;
|
||||||
|
parse(
|
||||||
|
content as string,
|
||||||
|
{ delimiter: columnSeparator.value, skip_empty_lines: true },
|
||||||
|
(error, output) => {
|
||||||
|
if (error) {
|
||||||
|
console.error("Failed to parse CSV:", error);
|
||||||
|
parsed.value = { headers: [], rows: [] };
|
||||||
|
displayError.value = t("files.csvLoadFailed", {
|
||||||
|
error: error.toString(),
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
parsed.value = {
|
||||||
|
headers: output[0],
|
||||||
|
rows: output.slice(1),
|
||||||
|
};
|
||||||
|
displayError.value = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.csv-viewer {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
background-color: var(--surfacePrimary);
|
||||||
|
color: var(--textSecondary);
|
||||||
|
padding: 1rem;
|
||||||
|
padding-top: 4em;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-error,
|
||||||
|
.csv-empty {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
height: 100%;
|
||||||
|
gap: 1rem;
|
||||||
|
color: var(--textPrimary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-error i,
|
||||||
|
.csv-empty i {
|
||||||
|
font-size: 4rem;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-error p,
|
||||||
|
.csv-empty p {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table-container {
|
||||||
|
flex: 1;
|
||||||
|
overflow: auto;
|
||||||
|
background-color: var(--surfacePrimary);
|
||||||
|
border-radius: 4px;
|
||||||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Scrollbar styling for better visibility */
|
||||||
|
.csv-table-container::-webkit-scrollbar {
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table-container::-webkit-scrollbar-track {
|
||||||
|
background: var(--background);
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table-container::-webkit-scrollbar-thumb {
|
||||||
|
background: var(--borderSecondary);
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table-container::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: var(--textPrimary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
background-color: var(--surfacePrimary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table thead {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 10;
|
||||||
|
background-color: var(--surfaceSecondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table th {
|
||||||
|
padding: 0.875rem 1rem;
|
||||||
|
text-align: left;
|
||||||
|
font-weight: 600;
|
||||||
|
border-bottom: 2px solid var(--borderSecondary);
|
||||||
|
background-color: var(--surfaceSecondary);
|
||||||
|
white-space: nowrap;
|
||||||
|
color: var(--textSecondary);
|
||||||
|
font-size: 0.875rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table td {
|
||||||
|
padding: 0.75rem 1rem;
|
||||||
|
text-align: left;
|
||||||
|
border-bottom: 1px solid var(--borderPrimary);
|
||||||
|
white-space: nowrap;
|
||||||
|
max-width: 400px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
color: var(--textSecondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table tbody tr:nth-child(even) {
|
||||||
|
background-color: var(--background);
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-table tbody tr:hover {
|
||||||
|
background-color: var(--hover);
|
||||||
|
transition: background-color 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-info {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
padding: 0.75rem 1rem;
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
background-color: var(--surfaceSecondary);
|
||||||
|
border-radius: 4px;
|
||||||
|
border-left: 3px solid var(--blue);
|
||||||
|
color: var(--textSecondary);
|
||||||
|
font-size: 0.875rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-select {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-select > label {
|
||||||
|
font-size: small;
|
||||||
|
max-width: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-select > select {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.csv-info i {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
color: var(--blue);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -265,7 +265,15 @@ const click = (event: Event | KeyboardEvent) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (fileStore.selected.indexOf(props.index) !== -1) {
|
if (fileStore.selected.indexOf(props.index) !== -1) {
|
||||||
fileStore.removeSelected(props.index);
|
if (
|
||||||
|
(event as KeyboardEvent).ctrlKey ||
|
||||||
|
(event as KeyboardEvent).metaKey ||
|
||||||
|
fileStore.multiple
|
||||||
|
) {
|
||||||
|
fileStore.removeSelected(props.index);
|
||||||
|
} else {
|
||||||
|
fileStore.selected = [props.index];
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -291,7 +299,6 @@ const click = (event: Event | KeyboardEvent) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!singleClick.value &&
|
|
||||||
!(event as KeyboardEvent).ctrlKey &&
|
!(event as KeyboardEvent).ctrlKey &&
|
||||||
!(event as KeyboardEvent).metaKey &&
|
!(event as KeyboardEvent).metaKey &&
|
||||||
!fileStore.multiple
|
!fileStore.multiple
|
||||||
|
|||||||
@@ -1,21 +1,61 @@
|
|||||||
<template>
|
<template>
|
||||||
<VueFinalModal
|
<div id="modal-background" @click="backgroundClick">
|
||||||
class="vfm-modal"
|
<div ref="modalContainer">
|
||||||
overlay-transition="vfm-fade"
|
<slot></slot>
|
||||||
content-transition="vfm-fade"
|
</div>
|
||||||
@closed="layoutStore.closeHovers"
|
</div>
|
||||||
:focus-trap="{
|
|
||||||
initialFocus: '#focus-prompt',
|
|
||||||
fallbackFocus: 'div.vfm__content',
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<slot />
|
|
||||||
</VueFinalModal>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { VueFinalModal } from "vue-final-modal";
|
import { onMounted, ref } from "vue";
|
||||||
import { useLayoutStore } from "@/stores/layout";
|
|
||||||
|
|
||||||
const layoutStore = useLayoutStore();
|
const emit = defineEmits(["closed"]);
|
||||||
|
|
||||||
|
const modalContainer = ref(null);
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
const element = document.querySelector("#focus-prompt") as HTMLElement | null;
|
||||||
|
if (element) {
|
||||||
|
element.focus();
|
||||||
|
} else if (modalContainer.value) {
|
||||||
|
(modalContainer.value as HTMLElement).focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
const backgroundClick = (event: Event) => {
|
||||||
|
const target = event.target as HTMLElement;
|
||||||
|
if (target.id == "modal-background") {
|
||||||
|
emit("closed");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
window.addEventListener("keydown", (event) => {
|
||||||
|
if (event.key === "Escape") {
|
||||||
|
event.stopImmediatePropagation();
|
||||||
|
emit("closed");
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
#modal-background {
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
background-color: #00000096;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
z-index: 10000;
|
||||||
|
animation: ease-in 150ms opacity-enter;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes opacity-enter {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -109,7 +109,8 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$router.push({ path: this.dest });
|
if (this.user.redirectAfterCopyMove)
|
||||||
|
this.$router.push({ path: this.dest });
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
buttons.done("copy");
|
buttons.done("copy");
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, computed, watch, nextTick, defineProps } from "vue";
|
import { ref, computed, watch, nextTick } from "vue";
|
||||||
import { useRoute } from "vue-router";
|
import { useRoute } from "vue-router";
|
||||||
import { useFileStore } from "@/stores/file";
|
import { useFileStore } from "@/stores/file";
|
||||||
import url from "@/utils/url";
|
import url from "@/utils/url";
|
||||||
@@ -35,12 +35,17 @@ const props = defineProps({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
path: {
|
||||||
|
type: String,
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const container = ref<HTMLElement | null>(null);
|
const container = ref<HTMLElement | null>(null);
|
||||||
|
|
||||||
const path = computed(() => {
|
const path = computed(() => {
|
||||||
let basePath = fileStore.isFiles ? route.path : url.removeLastDir(route.path);
|
const routePath = props.path || route.path;
|
||||||
|
let basePath = fileStore.isFiles ? routePath : url.removeLastDir(routePath);
|
||||||
if (!basePath.endsWith("/")) {
|
if (!basePath.endsWith("/")) {
|
||||||
basePath += "/";
|
basePath += "/";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,7 +168,13 @@ export default {
|
|||||||
this.showHover({
|
this.showHover({
|
||||||
prompt: "newDir",
|
prompt: "newDir",
|
||||||
action: null,
|
action: null,
|
||||||
confirm: null,
|
confirm: (url) => {
|
||||||
|
const paths = url.split("/");
|
||||||
|
this.items.push({
|
||||||
|
name: paths[paths.length - 2],
|
||||||
|
url: url,
|
||||||
|
});
|
||||||
|
},
|
||||||
props: {
|
props: {
|
||||||
redirect: false,
|
redirect: false,
|
||||||
base: this.current === this.$route.path ? null : this.current,
|
base: this.current === this.$route.path ? null : this.current,
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState(useFileStore, ["req", "selected"]),
|
...mapState(useFileStore, ["req", "selected"]),
|
||||||
...mapState(useAuthStore, ["user"]),
|
...mapState(useAuthStore, ["user"]),
|
||||||
...mapWritableState(useFileStore, ["preselect"]),
|
...mapWritableState(useFileStore, ["reload", "preselect"]),
|
||||||
excludedFolders() {
|
excludedFolders() {
|
||||||
return this.selected
|
return this.selected
|
||||||
.filter((idx) => this.req.items[idx].isDir)
|
.filter((idx) => this.req.items[idx].isDir)
|
||||||
@@ -108,7 +108,9 @@ export default {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
buttons.success("move");
|
buttons.success("move");
|
||||||
this.preselect = removePrefix(items[0].to);
|
this.preselect = removePrefix(items[0].to);
|
||||||
this.$router.push({ path: this.dest });
|
if (this.user.redirectAfterCopyMove)
|
||||||
|
this.$router.push({ path: this.dest });
|
||||||
|
else this.reload = true;
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
buttons.done("move");
|
buttons.done("move");
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
v-model.trim="name"
|
v-model.trim="name"
|
||||||
tabindex="1"
|
tabindex="1"
|
||||||
/>
|
/>
|
||||||
<CreateFilePath :name="name" :is-dir="true" />
|
<CreateFilePath :name="name" :is-dir="true" :path="base" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-action">
|
<div class="card-action">
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { inject, ref } from "vue";
|
import { computed, inject, ref } from "vue";
|
||||||
import { useFileStore } from "@/stores/file";
|
import { useFileStore } from "@/stores/file";
|
||||||
import { useLayoutStore } from "@/stores/layout";
|
import { useLayoutStore } from "@/stores/layout";
|
||||||
|
|
||||||
@@ -53,17 +53,13 @@ import CreateFilePath from "@/components/prompts/CreateFilePath.vue";
|
|||||||
|
|
||||||
const $showError = inject<IToastError>("$showError")!;
|
const $showError = inject<IToastError>("$showError")!;
|
||||||
|
|
||||||
const props = defineProps({
|
|
||||||
base: String,
|
|
||||||
redirect: {
|
|
||||||
type: Boolean,
|
|
||||||
default: true,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const fileStore = useFileStore();
|
const fileStore = useFileStore();
|
||||||
const layoutStore = useLayoutStore();
|
const layoutStore = useLayoutStore();
|
||||||
|
|
||||||
|
const base = computed(() => {
|
||||||
|
return layoutStore.currentPrompt?.props?.base;
|
||||||
|
});
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
@@ -76,7 +72,7 @@ const submit = async (event: Event) => {
|
|||||||
|
|
||||||
// Build the path of the new directory.
|
// Build the path of the new directory.
|
||||||
let uri: string;
|
let uri: string;
|
||||||
if (props.base) uri = props.base;
|
if (base.value) uri = base.value;
|
||||||
else if (fileStore.isFiles) uri = route.path + "/";
|
else if (fileStore.isFiles) uri = route.path + "/";
|
||||||
else uri = "/";
|
else uri = "/";
|
||||||
|
|
||||||
@@ -89,12 +85,15 @@ const submit = async (event: Event) => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await api.post(uri);
|
await api.post(uri);
|
||||||
if (props.redirect) {
|
if (layoutStore.currentPrompt?.props?.redirect) {
|
||||||
router.push({ path: uri });
|
router.push({ path: uri });
|
||||||
} else if (!props.base) {
|
} else if (!base.value) {
|
||||||
const res = await api.fetch(url.removeLastDir(uri) + "/");
|
const res = await api.fetch(url.removeLastDir(uri) + "/");
|
||||||
fileStore.updateRequest(res);
|
fileStore.updateRequest(res);
|
||||||
}
|
}
|
||||||
|
if (layoutStore.currentPrompt?.confirm) {
|
||||||
|
layoutStore.currentPrompt?.confirm(uri);
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof Error) {
|
if (e instanceof Error) {
|
||||||
$showError(e);
|
$showError(e);
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<ModalsContainer />
|
<base-modal v-if="modal != null" :prompt="currentPromptName" @closed="close">
|
||||||
|
<keep-alive>
|
||||||
|
<component :is="modal" />
|
||||||
|
</keep-alive>
|
||||||
|
</base-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { watch } from "vue";
|
import { computed } from "vue";
|
||||||
import { ModalsContainer, useModal } from "vue-final-modal";
|
|
||||||
import { storeToRefs } from "pinia";
|
import { storeToRefs } from "pinia";
|
||||||
import { useLayoutStore } from "@/stores/layout";
|
import { useLayoutStore } from "@/stores/layout";
|
||||||
|
|
||||||
@@ -49,27 +52,15 @@ const components = new Map<string, any>([
|
|||||||
["discardEditorChanges", DiscardEditorChanges],
|
["discardEditorChanges", DiscardEditorChanges],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
watch(currentPromptName, (newValue) => {
|
const modal = computed(() => {
|
||||||
const modal = components.get(newValue!);
|
const modal = components.get(currentPromptName.value!);
|
||||||
if (!modal) return;
|
if (!modal) null;
|
||||||
|
|
||||||
const { open, close } = useModal({
|
return modal;
|
||||||
component: BaseModal,
|
|
||||||
slots: {
|
|
||||||
default: modal,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
layoutStore.setCloseOnPrompt(close, newValue!);
|
|
||||||
open();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener("keydown", (event) => {
|
const close = () => {
|
||||||
if (!layoutStore.currentPrompt) return;
|
if (!layoutStore.currentPrompt) return;
|
||||||
|
layoutStore.closeHovers();
|
||||||
if (event.key === "Escape") {
|
};
|
||||||
event.stopImmediatePropagation();
|
|
||||||
layoutStore.closeHovers();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
@@ -32,7 +32,8 @@ export default {
|
|||||||
ja: "日本語",
|
ja: "日本語",
|
||||||
ko: "한국어",
|
ko: "한국어",
|
||||||
no: "Norsk",
|
no: "Norsk",
|
||||||
"nl-be": "Dutch (Belgium)",
|
nl: "Nederlands (Nederland)",
|
||||||
|
"nl-be": "Nederlands (België)",
|
||||||
pl: "Polski",
|
pl: "Polski",
|
||||||
"pt-br": "Português (Brasil)",
|
"pt-br": "Português (Brasil)",
|
||||||
pt: "Português (Portugal)",
|
pt: "Português (Portugal)",
|
||||||
|
|||||||
@@ -182,6 +182,11 @@ html[dir="rtl"] .breadcrumbs a {
|
|||||||
background: var(--textSecondary) !important;
|
background: var(--textSecondary) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vfm-modal {
|
body > div[style*="z-index: 9990"] {
|
||||||
z-index: 9999999 !important;
|
z-index: 10000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#modal-background .button:focus {
|
||||||
|
outline: 1px solid #2195f32d;
|
||||||
|
outline-offset: 1px;
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
@import "normalize.css/normalize.css";
|
@import "normalize.css/normalize.css";
|
||||||
@import "vue-toastification/dist/index.css";
|
@import "vue-toastification/dist/index.css";
|
||||||
@import "vue-final-modal/style.css";
|
|
||||||
@import "./_variables.css";
|
@import "./_variables.css";
|
||||||
@import "./_buttons.css";
|
@import "./_buttons.css";
|
||||||
@import "./_inputs.css";
|
@import "./_inputs.css";
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"ok": "موافق",
|
"ok": "موافق",
|
||||||
"permalink": "الحصول على رابط دائم",
|
"permalink": "الحصول على رابط دائم",
|
||||||
"previous": "السابق",
|
"previous": "السابق",
|
||||||
"preview": "Preview",
|
"preview": "معاينة",
|
||||||
"publish": "نشر",
|
"publish": "نشر",
|
||||||
"rename": "إعادة تسمية",
|
"rename": "إعادة تسمية",
|
||||||
"replace": "استبدال",
|
"replace": "استبدال",
|
||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "تحديث",
|
"update": "تحديث",
|
||||||
"upload": "رفع",
|
"upload": "رفع",
|
||||||
"openFile": "فتح الملف",
|
"openFile": "فتح الملف",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "إلغاء التغييرات",
|
"discardChanges": "إلغاء التغييرات",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "توقف عن البحث",
|
||||||
|
"saveChanges": "حفظ التغييرات",
|
||||||
|
"editAsText": "تعديل على شكل نص",
|
||||||
|
"increaseFontSize": "زيادة حجم الخط",
|
||||||
|
"decreaseFontSize": "تصغير حجم الخط"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "تحميل الملف",
|
"downloadFile": "تحميل الملف",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "الترتيب بآخر تعديل",
|
"sortByLastModified": "الترتيب بآخر تعديل",
|
||||||
"sortByName": "الترتيب باﻹسم",
|
"sortByName": "الترتيب باﻹسم",
|
||||||
"sortBySize": "الترتيب بالحجم",
|
"sortBySize": "الترتيب بالحجم",
|
||||||
"noPreview": "لا يوجد عرض مسبق لهذا الملف."
|
"noPreview": "لا يوجد عرض مسبق لهذا الملف.",
|
||||||
|
"csvTooLarge": "حجم الملف اكبر من (<5MB), يرجى تحميل الملف للمعاينة",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "حدد الملف أو المجلد",
|
"click": "حدد الملف أو المجلد",
|
||||||
@@ -125,7 +140,7 @@
|
|||||||
"filesSelected": "تم تحديد {count} ملفات.",
|
"filesSelected": "تم تحديد {count} ملفات.",
|
||||||
"lastModified": "آخر تعديل",
|
"lastModified": "آخر تعديل",
|
||||||
"move": "نقل",
|
"move": "نقل",
|
||||||
"moveMessage": "إختر مكان جديد للملفات أو المجلدات المراد نقلها:",
|
"moveMessage": "اختر منزلاً جديداً لملفك (ملفاتك)/مجلدك (مجلداتك):",
|
||||||
"newArchetype": "إنشاء منشور من المنشور اﻷصلي. الملف سيتم انشاءه في مجلد المحتويات.",
|
"newArchetype": "إنشاء منشور من المنشور اﻷصلي. الملف سيتم انشاءه في مجلد المحتويات.",
|
||||||
"newDir": "مجلد جديد",
|
"newDir": "مجلد جديد",
|
||||||
"newDirMessage": "أدخل اسم المجلد الجديد.",
|
"newDirMessage": "أدخل اسم المجلد الجديد.",
|
||||||
@@ -176,15 +191,15 @@
|
|||||||
"commandRunner": "منفذ اﻷوامر",
|
"commandRunner": "منفذ اﻷوامر",
|
||||||
"commandRunnerHelp": "هنا بإمكانك تعيين اﻷوامر التي سيتم تنفيذها في اﻷحداث المسماة. يجب كتابة أمر واحد في كل سطر. ستكون المتغيرات البيئية (env) {0} و {1} متاحة، حيث {0} نسبي لـ {1}. لمزيد من المعلومات حول هذه الميزة و المتغيرات البيئية المتاحة، يرجى قراءة {2}.",
|
"commandRunnerHelp": "هنا بإمكانك تعيين اﻷوامر التي سيتم تنفيذها في اﻷحداث المسماة. يجب كتابة أمر واحد في كل سطر. ستكون المتغيرات البيئية (env) {0} و {1} متاحة، حيث {0} نسبي لـ {1}. لمزيد من المعلومات حول هذه الميزة و المتغيرات البيئية المتاحة، يرجى قراءة {2}.",
|
||||||
"commandsUpdated": "تم تحديث اﻷوامر",
|
"commandsUpdated": "تم تحديث اﻷوامر",
|
||||||
"createUserDir": "إنشاء مجلد المستخدم (home) تلقائياً عند إنشاء مستخدم جديد",
|
"createUserDir": "إنشاء مجلد المستخدم الرئيسي تلقائياً عند إنشاء مستخدم جديد",
|
||||||
"minimumPasswordLength": "Minimum password length",
|
"minimumPasswordLength": "Minimum password length",
|
||||||
"tusUploads": "التحميلات المتقطعة",
|
"tusUploads": "التحميلات المتقطعة",
|
||||||
"tusUploadsHelp": "يدعم متصفح الملفات تحميل الملفات المتقطعة، مما يسمح بتحميلات الملفات بشكل فعال و موثوق و قابلة للمتابغة و متقطعة حتى على الشبكات غير الموثوقة.",
|
"tusUploadsHelp": "يدعم متصفح الملفات تحميل الملفات المتقطعة، مما يسمح بتحميلات الملفات بشكل فعال و موثوق و قابلة للمتابغة و متقطعة حتى على الشبكات غير الموثوقة.",
|
||||||
"tusUploadsChunkSize": "يشير إلى الحد اﻷقصى لحجم الطلب (سيتم استخدام التحميل المباشر للتحميلات صغيرة الخحم). يمكنك إدخال عدد صحيح عادي يدل على الحجم بوحدة البايت أو نمظ مثل10MB, 1GB, إلخ.",
|
"tusUploadsChunkSize": "يشير إلى الحد اﻷقصى لحجم الطلب (سيتم استخدام التحميل المباشر للتحميلات صغيرة الخحم). يمكنك إدخال عدد صحيح عادي يدل على الحجم بوحدة البايت أو نمظ مثل10MB, 1GB, إلخ.",
|
||||||
"tusUploadsRetryCount": "عدد مرات إعادة المحاولة إذا فشلت عملية تحميل القطعة.",
|
"tusUploadsRetryCount": "عدد مرات إعادة المحاولة إذا فشلت عملية تحميل القطعة.",
|
||||||
"userHomeBasePath": "المسار الرئيسي لمجلد المستخدم (home)",
|
"userHomeBasePath": "المسار الرئيسي لمجلد المستخدم الرئيسي",
|
||||||
"userScopeGenerationPlaceholder": "سيتم تعيين نطاق المستخدم تلقائياً",
|
"userScopeGenerationPlaceholder": "سيتم تعيين نطاق المستخدم تلقائياً",
|
||||||
"createUserHomeDirectory": "إنشاء مجلد المستخدم (home)",
|
"createUserHomeDirectory": "إنشاء مجلد المستخدم الرئيسي",
|
||||||
"customStylesheet": "ستايل مخصص",
|
"customStylesheet": "ستايل مخصص",
|
||||||
"defaultUserDescription": "هذه اﻹعدادات اﻹفتراضية للمستخدمين الجدد.",
|
"defaultUserDescription": "هذه اﻹعدادات اﻹفتراضية للمستخدمين الجدد.",
|
||||||
"disableExternalLinks": "تعطيل الروابط الخارجية (بإسثناء الوثائق)",
|
"disableExternalLinks": "تعطيل الروابط الخارجية (بإسثناء الوثائق)",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "الصلاحيات",
|
"permissions": "الصلاحيات",
|
||||||
"permissionsHelp": "يمكنك تعيين المستخدم كـ \"مدير\" أو تحديد الصلاحيات بشكل منفرد.\n إذا قمت بتحديد المستخدم كـ \"مدير\"، باقي الخيارات سيتم تحديدها تلقائياً.\n إدارة المستخدمين تبقى صلاحية فريدة للـ \"مدير\" فقط.\n",
|
"permissionsHelp": "يمكنك تعيين المستخدم كـ \"مدير\" أو تحديد الصلاحيات بشكل منفرد.\n إذا قمت بتحديد المستخدم كـ \"مدير\"، باقي الخيارات سيتم تحديدها تلقائياً.\n إدارة المستخدمين تبقى صلاحية فريدة للـ \"مدير\" فقط.\n",
|
||||||
"profileSettings": "إعدادات الحساب",
|
"profileSettings": "إعدادات الحساب",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "منع الوصول إلى الملفات التي تبدأ بنقطة مثل (.git، و .gitignore) في كل مجلد.\n",
|
"ruleExample1": "منع الوصول إلى الملفات التي تبدأ بنقطة مثل (.git، و .gitignore) في كل مجلد.\n",
|
||||||
"ruleExample2": "منع الوصول إلى الملف المسمى Caddyfile في نطاق الجذر.",
|
"ruleExample2": "منع الوصول إلى الملف المسمى Caddyfile في نطاق الجذر.",
|
||||||
"rules": "المجموعات",
|
"rules": "المجموعات",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "إدارة المستخدمين",
|
"userManagement": "إدارة المستخدمين",
|
||||||
"userUpdated": "تم تعديل المستخدم",
|
"userUpdated": "تم تعديل المستخدم",
|
||||||
"username": "إسم المستخدم",
|
"username": "إسم المستخدم",
|
||||||
"users": "المستخدمين"
|
"users": "المستخدمين",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "مساعدة",
|
"help": "مساعدة",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Обнови",
|
"update": "Обнови",
|
||||||
"upload": "Качи",
|
"upload": "Качи",
|
||||||
"openFile": "Отвори файл",
|
"openFile": "Отвори файл",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Изчисти",
|
"discardChanges": "Изчисти",
|
||||||
"saveChanges": "Запиши промените"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Запиши промените",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Свали файл",
|
"downloadFile": "Свали файл",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Подредба по последна промяна",
|
"sortByLastModified": "Подредба по последна промяна",
|
||||||
"sortByName": "Подредба по име",
|
"sortByName": "Подредба по име",
|
||||||
"sortBySize": "Подредба по размер",
|
"sortBySize": "Подредба по размер",
|
||||||
"noPreview": "За този файл не е наличен преглед."
|
"noPreview": "За този файл не е наличен преглед.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "избери файл или директория",
|
"click": "избери файл или директория",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Разрешения",
|
"permissions": "Разрешения",
|
||||||
"permissionsHelp": "Можете да зададете потребител да бъде администратор или да изберете разрешения индивидуално. Ако изберете \"Администратор\" всички други опции ще бъдат автоматично отметнати. Управлението на потребителите е привилегия на администратор.\n",
|
"permissionsHelp": "Можете да зададете потребител да бъде администратор или да изберете разрешения индивидуално. Ако изберете \"Администратор\" всички други опции ще бъдат автоматично отметнати. Управлението на потребителите е привилегия на администратор.\n",
|
||||||
"profileSettings": "Настройки на Профила",
|
"profileSettings": "Настройки на Профила",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "предотвратете достъпа до всеки файл започващ с точка (като .git, .gitignore) във всяка папка.\n",
|
"ruleExample1": "предотвратете достъпа до всеки файл започващ с точка (като .git, .gitignore) във всяка папка.\n",
|
||||||
"ruleExample2": "блокира достъпа до файл именуван Caddyfile поставен в началото за обхвата.",
|
"ruleExample2": "блокира достъпа до файл именуван Caddyfile поставен в началото за обхвата.",
|
||||||
"rules": "Правила",
|
"rules": "Правила",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Управление на потребители",
|
"userManagement": "Управление на потребители",
|
||||||
"userUpdated": "Потребителя е обновен!",
|
"userUpdated": "Потребителя е обновен!",
|
||||||
"username": "Потребителско име",
|
"username": "Потребителско име",
|
||||||
"users": "Потребители"
|
"users": "Потребители",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Помощ",
|
"help": "Помощ",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Actualitzar",
|
"update": "Actualitzar",
|
||||||
"upload": "Pujar",
|
"upload": "Pujar",
|
||||||
"openFile": "Obrir fitxer",
|
"openFile": "Obrir fitxer",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Descartar",
|
"discardChanges": "Descartar",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Descarregar fitxer",
|
"downloadFile": "Descarregar fitxer",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Ordenar per última modificació",
|
"sortByLastModified": "Ordenar per última modificació",
|
||||||
"sortByName": "Ordenar per nom",
|
"sortByName": "Ordenar per nom",
|
||||||
"sortBySize": "Ordenar per mida",
|
"sortBySize": "Ordenar per mida",
|
||||||
"noPreview": "La vista prèvia no està disponible per a aquest fitxer."
|
"noPreview": "La vista prèvia no està disponible per a aquest fitxer.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "seleccionar fitxer o carpeta",
|
"click": "seleccionar fitxer o carpeta",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permisos",
|
"permissions": "Permisos",
|
||||||
"permissionsHelp": "Pots nomenar l'usuari com a administrador o triar els permisos individualment. Si selecciones \"Administrador\", totes les altres opcions s'activaran automàticament. L'administració d'usuaris és un privilegi d'administrador.\n",
|
"permissionsHelp": "Pots nomenar l'usuari com a administrador o triar els permisos individualment. Si selecciones \"Administrador\", totes les altres opcions s'activaran automàticament. L'administració d'usuaris és un privilegi d'administrador.\n",
|
||||||
"profileSettings": "Ajustos del perfil",
|
"profileSettings": "Ajustos del perfil",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "prevé l'accés a una extensió de fitxer (Com .git) en cada carpeta.\n",
|
"ruleExample1": "prevé l'accés a una extensió de fitxer (Com .git) en cada carpeta.\n",
|
||||||
"ruleExample2": "bloqueja l'accés al fitxer anomenat Caddyfile a la carpeta arrel.",
|
"ruleExample2": "bloqueja l'accés al fitxer anomenat Caddyfile a la carpeta arrel.",
|
||||||
"rules": "Regles",
|
"rules": "Regles",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Administració d'usuaris",
|
"userManagement": "Administració d'usuaris",
|
||||||
"userUpdated": "Usuari actualitzat!",
|
"userUpdated": "Usuari actualitzat!",
|
||||||
"username": "Usuari",
|
"username": "Usuari",
|
||||||
"users": "Usuaris"
|
"users": "Usuaris",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Ajuda",
|
"help": "Ajuda",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Aktualizovat",
|
"update": "Aktualizovat",
|
||||||
"upload": "Nahrát",
|
"upload": "Nahrát",
|
||||||
"openFile": "Otevřít soubor",
|
"openFile": "Otevřít soubor",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Zrušit změny",
|
"discardChanges": "Zrušit změny",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Stáhnout soubor",
|
"downloadFile": "Stáhnout soubor",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Seřadit podle poslední změny",
|
"sortByLastModified": "Seřadit podle poslední změny",
|
||||||
"sortByName": "Seřadit podle názvu",
|
"sortByName": "Seřadit podle názvu",
|
||||||
"sortBySize": "Seřadit podle velikosti",
|
"sortBySize": "Seřadit podle velikosti",
|
||||||
"noPreview": "Náhled pro tento soubor není k dispozici."
|
"noPreview": "Náhled pro tento soubor není k dispozici.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "vyberte soubor nebo adresář",
|
"click": "vyberte soubor nebo adresář",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Oprávnění",
|
"permissions": "Oprávnění",
|
||||||
"permissionsHelp": "Můžete nastavit uživatele jako administrátora nebo zvolit jednotlivá oprávnění. Pokud vyberete \"Administrátor\", všechny ostatní možnosti budou automaticky zaškrtnuty. Správa uživatelů zůstává výsadou administrátora.\n",
|
"permissionsHelp": "Můžete nastavit uživatele jako administrátora nebo zvolit jednotlivá oprávnění. Pokud vyberete \"Administrátor\", všechny ostatní možnosti budou automaticky zaškrtnuty. Správa uživatelů zůstává výsadou administrátora.\n",
|
||||||
"profileSettings": "Nastavení profilu",
|
"profileSettings": "Nastavení profilu",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "zabraňuje přístupu k jakémukoli skrytému souboru (např. .git, .gitignore) v každé složce.\n",
|
"ruleExample1": "zabraňuje přístupu k jakémukoli skrytému souboru (např. .git, .gitignore) v každé složce.\n",
|
||||||
"ruleExample2": "blokuje přístup k souboru s názvem Caddyfile v kořenovém adresáři.",
|
"ruleExample2": "blokuje přístup k souboru s názvem Caddyfile v kořenovém adresáři.",
|
||||||
"rules": "Pravidla",
|
"rules": "Pravidla",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Správa uživatelů",
|
"userManagement": "Správa uživatelů",
|
||||||
"userUpdated": "Uživatel aktualizován!",
|
"userUpdated": "Uživatel aktualizován!",
|
||||||
"username": "Uživatelské jméno",
|
"username": "Uživatelské jméno",
|
||||||
"users": "Uživatelé"
|
"users": "Uživatelé",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Nápověda",
|
"help": "Nápověda",
|
||||||
|
|||||||
+146
-129
@@ -1,251 +1,268 @@
|
|||||||
{
|
{
|
||||||
"buttons": {
|
"buttons": {
|
||||||
"cancel": "Abbrechen",
|
"cancel": "Abbrechen",
|
||||||
"clear": "Schließen",
|
"clear": "Leeren",
|
||||||
"close": "Schließen",
|
"close": "Schließen",
|
||||||
"continue": "Fortfahren",
|
"continue": "Weiter",
|
||||||
"copy": "Kopieren",
|
"copy": "Kopieren",
|
||||||
"copyFile": "Kopiere Datei",
|
"copyFile": "Datei kopieren",
|
||||||
"copyToClipboard": "In Zwischenablage kopieren",
|
"copyToClipboard": "In Zwischenablage kopieren",
|
||||||
"copyDownloadLinkToClipboard": "Download-Link in die Zwischenablage kopieren",
|
"copyDownloadLinkToClipboard": "Download-Link in Zwischenablage kopieren",
|
||||||
"create": "Neu",
|
"create": "Erstellen",
|
||||||
"delete": "Löschen",
|
"delete": "Löschen",
|
||||||
"download": "Herunterladen",
|
"download": "Herunterladen",
|
||||||
"file": "Datei",
|
"file": "Datei",
|
||||||
"folder": "Ordner",
|
"folder": "Ordner",
|
||||||
"fullScreen": "Vollbildmodus umschalten",
|
"fullScreen": "Vollbild umschalten",
|
||||||
"hideDotfiles": "Versteckte Dateien ausblenden",
|
"hideDotfiles": "Versteckte Dateien ausblenden",
|
||||||
"info": "Info",
|
"info": "Info",
|
||||||
"more": "mehr",
|
"more": "Mehr",
|
||||||
"move": "Verschieben",
|
"move": "Verschieben",
|
||||||
"moveFile": "Verschiebe Datei",
|
"moveFile": "Datei verschieben",
|
||||||
"new": "Neu",
|
"new": "Neu",
|
||||||
"next": "nächste",
|
"next": "Weiter",
|
||||||
"ok": "OK",
|
"ok": "OK",
|
||||||
"permalink": "permanenten Verweis anzeigen",
|
"permalink": "Permanentlink abrufen",
|
||||||
"previous": "vorherige",
|
"previous": "Zurück",
|
||||||
"preview": "Vorschau",
|
"preview": "Vorschau",
|
||||||
"publish": "Veröffentlichen",
|
"publish": "Veröffentlichen",
|
||||||
"rename": "umbenennen",
|
"rename": "Umbenennen",
|
||||||
"replace": "Ersetzen",
|
"replace": "Ersetzen",
|
||||||
"reportIssue": "Fehler melden",
|
"reportIssue": "Problem melden",
|
||||||
"save": "Speichern",
|
"save": "Speichern",
|
||||||
"schedule": "Planung",
|
"schedule": "Planen",
|
||||||
"search": "Suchen",
|
"search": "Suchen",
|
||||||
"select": "Auswählen",
|
"select": "Auswählen",
|
||||||
"selectMultiple": "Mehrfachauswahl",
|
"selectMultiple": "Mehrfachauswahl",
|
||||||
"share": "Teilen",
|
"share": "Teilen",
|
||||||
"shell": "Kommandozeile ein/ausschalten",
|
"shell": "Shell umschalten",
|
||||||
"submit": "Absenden",
|
"submit": "Absenden",
|
||||||
"switchView": "Ansicht wechseln",
|
"switchView": "Ansicht wechseln",
|
||||||
"toggleSidebar": "Seitenleiste anzeigen",
|
"toggleSidebar": "Seitenleiste umschalten",
|
||||||
"update": "Update",
|
"update": "Aktualisieren",
|
||||||
"upload": "Upload",
|
"upload": "Hochladen",
|
||||||
"openFile": "Datei öffnen",
|
"openFile": "Datei öffnen",
|
||||||
|
"openDirect": "Original anzeigen",
|
||||||
"discardChanges": "Verwerfen",
|
"discardChanges": "Verwerfen",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Suche beenden",
|
||||||
|
"saveChanges": "Änderungen speichern",
|
||||||
|
"editAsText": "Als Text bearbeiten",
|
||||||
|
"increaseFontSize": "Schrift vergrößern",
|
||||||
|
"decreaseFontSize": "Schrift verkleinern"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Download Datei",
|
"downloadFile": "Datei herunterladen",
|
||||||
"downloadFolder": "Download Ordner",
|
"downloadFolder": "Ordner herunterladen",
|
||||||
"downloadSelected": "Auswahl herunterladen"
|
"downloadSelected": "Auswahl herunterladen"
|
||||||
},
|
},
|
||||||
"upload": {
|
"upload": {
|
||||||
"abortUpload": "Sind Sie sicher, dass Sie den Vorgang abbrechen möchten?"
|
"abortUpload": "Upload wirklich abbrechen?"
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"forbidden": "Sie haben keine Berechtigung dies abzurufen.",
|
"forbidden": "Du hast keine Berechtigung für diesen Zugriff.",
|
||||||
"internal": "Etwas ist schiefgelaufen.",
|
"internal": "Da ist etwas schiefgelaufen.",
|
||||||
"notFound": "Dieser Ort kann nicht angezeigt werden.",
|
"notFound": "Dieser Ort ist nicht erreichbar.",
|
||||||
"connection": "Der Server ist nicht erreichbar."
|
"connection": "Der Server ist nicht erreichbar."
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"body": "Body",
|
"body": "Inhalt",
|
||||||
"closePreview": "Vorschau schließen",
|
"closePreview": "Vorschau schließen",
|
||||||
"files": "Dateien",
|
"files": "Dateien",
|
||||||
"folders": "Ordner",
|
"folders": "Ordner",
|
||||||
"home": "Home",
|
"home": "Startseite",
|
||||||
"lastModified": "zuletzt verändert",
|
"lastModified": "Zuletzt geändert",
|
||||||
"loading": "Lade...",
|
"loading": "Wird geladen …",
|
||||||
"lonely": "Hier scheint nichts zu sein...",
|
"lonely": "Hier ist es ganz schön leer …",
|
||||||
"metadata": "Metadaten",
|
"metadata": "Metadaten",
|
||||||
"multipleSelectionEnabled": "Mehrfachauswahl aktiviert",
|
"multipleSelectionEnabled": "Mehrfachauswahl aktiviert",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"size": "Größe",
|
"size": "Größe",
|
||||||
"sortByLastModified": "Nach Änderungsdatum sortieren",
|
"sortByLastModified": "Nach Änderungsdatum sortieren",
|
||||||
"sortByName": "Nach Namen sortieren",
|
"sortByName": "Nach Name sortieren",
|
||||||
"sortBySize": "Nach Größe sortieren",
|
"sortBySize": "Nach Größe sortieren",
|
||||||
"noPreview": "Für diese Datei ist keine Vorschau verfügbar."
|
"noPreview": "Für diese Datei ist keine Vorschau verfügbar.",
|
||||||
|
"csvTooLarge": "Die CSV-Datei ist zu groß für die Vorschau (> 5 MB). Bitte herunterladen, um sie anzuzeigen.",
|
||||||
|
"csvLoadFailed": "CSV-Datei konnte nicht geladen werden.",
|
||||||
|
"showingRows": "{count} Zeile(n) angezeigt",
|
||||||
|
"columnSeparator": "Spaltentrennzeichen",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Komma (,)",
|
||||||
|
"semicolon": "Semikolon (;)",
|
||||||
|
"both": "Beides (,) und (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "Dateikodierung"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "Wähle Datei oder Ordner",
|
"click": "Datei oder Verzeichnis auswählen",
|
||||||
"ctrl": {
|
"ctrl": {
|
||||||
"click": "Markiere mehrere Dateien oder Ordner",
|
"click": "mehrere Dateien oder Verzeichnisse auswählen",
|
||||||
"f": "Öffnet eine neue Suche",
|
"f": "Suche öffnen",
|
||||||
"s": "Speichert eine Datei oder einen Ordner am aktuellen Ort"
|
"s": "Datei speichern oder aktuelles Verzeichnis herunterladen"
|
||||||
},
|
},
|
||||||
"del": "Löscht die ausgewählten Elemente",
|
"del": "ausgewählte Elemente löschen",
|
||||||
"doubleClick": "Öffnet eine Datei oder einen Ordner",
|
"doubleClick": "Datei oder Verzeichnis öffnen",
|
||||||
"esc": "Auswahl zurücksetzen und/oder Dialog schließen",
|
"esc": "Auswahl aufheben und/oder Dialog schließen",
|
||||||
"f1": "Diese Informationsseite",
|
"f1": "diese Hilfe anzeigen",
|
||||||
"f2": "Datei umbenennen",
|
"f2": "Datei umbenennen",
|
||||||
"help": "Hilfe"
|
"help": "Hilfe"
|
||||||
},
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"createAnAccount": "Account erstellen",
|
"createAnAccount": "Konto erstellen",
|
||||||
"loginInstead": "Account besteht bereits",
|
"loginInstead": "Bereits ein Konto vorhanden",
|
||||||
"password": "Passwort",
|
"password": "Passwort",
|
||||||
"passwordConfirm": "Passwort Bestätigung",
|
"passwordConfirm": "Passwort bestätigen",
|
||||||
"passwordsDontMatch": "Passwörter stimmen nicht überein",
|
"passwordsDontMatch": "Passwörter stimmen nicht überein",
|
||||||
"signup": "Registrieren",
|
"signup": "Registrieren",
|
||||||
"submit": "Login",
|
"submit": "Anmelden",
|
||||||
"username": "Benutzername",
|
"username": "Benutzername",
|
||||||
"usernameTaken": "Benutzername ist bereits vergeben",
|
"usernameTaken": "Benutzername bereits vergeben",
|
||||||
"wrongCredentials": "Falsche Zugangsdaten",
|
"wrongCredentials": "Falsche Anmeldedaten",
|
||||||
"passwordTooShort": "Password must be at least {min} characters",
|
"passwordTooShort": "Passwort muss mindestens {min} Zeichen lang sein",
|
||||||
"logout_reasons": {
|
"logout_reasons": {
|
||||||
"inactivity": "You have been logged out due to inactivity."
|
"inactivity": "Du wurdest wegen Inaktivität abgemeldet."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permanent": "Permanent",
|
"permanent": "Permanent",
|
||||||
"prompts": {
|
"prompts": {
|
||||||
"copy": "Kopieren",
|
"copy": "Kopieren",
|
||||||
"copyMessage": "Wählen Sie einen Zielort zum Kopieren:",
|
"copyMessage": "Wähle den Zielort für deine Dateien:",
|
||||||
"currentlyNavigating": "Aktueller Ort:",
|
"currentlyNavigating": "Aktueller Pfad:",
|
||||||
"deleteMessageMultiple": "Sind Sie sicher, dass Sie {count} Datei(en) löschen möchten?",
|
"deleteMessageMultiple": "Möchtest du wirklich {count} Datei(en) löschen?",
|
||||||
"deleteMessageSingle": "Sind Sie sicher, dass Sie diesen Ordner/diese Datei löschen möchten?",
|
"deleteMessageSingle": "Möchtest du diese Datei/diesen Ordner wirklich löschen?",
|
||||||
"deleteMessageShare": "Sind Sie sicher, dass Sie diese Freigabe löschen möchten ({path})?",
|
"deleteMessageShare": "Möchtest du diese Freigabe ({path}) wirklich löschen?",
|
||||||
"deleteUser": "Sind Sie sicher, dass Sie diesen Benutzer löschen möchten?",
|
"deleteUser": "Möchtest du diesen Benutzer wirklich löschen?",
|
||||||
"deleteTitle": "Lösche Dateien",
|
"deleteTitle": "Dateien löschen",
|
||||||
"displayName": "Anzeigename:",
|
"displayName": "Anzeigename:",
|
||||||
"download": "Lade Dateien",
|
"download": "Dateien herunterladen",
|
||||||
"downloadMessage": "Wählen Sie ein Format zum Herunterladen aus.",
|
"downloadMessage": "Wähle das gewünschte Download-Format.",
|
||||||
"error": "Etwas ist schiefgelaufen",
|
"error": "Etwas ist schiefgelaufen",
|
||||||
"fileInfo": "Dateiinformation",
|
"fileInfo": "Dateiinformationen",
|
||||||
"filesSelected": "{count} Dateien ausgewählt.",
|
"filesSelected": "{count} Dateien ausgewählt.",
|
||||||
"lastModified": "Zuletzt geändert",
|
"lastModified": "Zuletzt geändert",
|
||||||
"move": "Verschieben",
|
"move": "Verschieben",
|
||||||
"moveMessage": "Wählen Sie einen neuen Platz für ihre Datei(en)/Ordner:",
|
"moveMessage": "Wähle den neuen Speicherort für deine Datei(en)/Ordner:",
|
||||||
"newArchetype": "Erstelle neuen Beitrag auf dem Archetyp. Ihre Datei wird im Inhalteordner erstellt.",
|
"newArchetype": "Neuen Beitrag basierend auf einem Archetyp erstellen. Die Datei wird im Content-Ordner erstellt.",
|
||||||
"newDir": "Neuer Ordner",
|
"newDir": "Neues Verzeichnis",
|
||||||
"newDirMessage": "Geben Sie den Namen des neuen Ordners an.",
|
"newDirMessage": "Gib einen Namen für das neue Verzeichnis ein.",
|
||||||
"newFile": "Neue Datei",
|
"newFile": "Neue Datei",
|
||||||
"newFileMessage": "Geben Sie den Namen der neuen Datei an.",
|
"newFileMessage": "Gib einen Namen für die neue Datei ein.",
|
||||||
"numberDirs": "Anzahl der Ordner",
|
"numberDirs": "Anzahl der Verzeichnisse",
|
||||||
"numberFiles": "Anzahl der Dateien",
|
"numberFiles": "Anzahl der Dateien",
|
||||||
"rename": "Umbenennen",
|
"rename": "Umbenennen",
|
||||||
"renameMessage": "Fügen Sie einen Namen ein für",
|
"renameMessage": "Neuen Namen eingeben für",
|
||||||
"replace": "Ersetzen",
|
"replace": "Ersetzen",
|
||||||
"replaceMessage": "Eine der Datei mit dem gleichen Namen, wie die Sie hochladen wollen, existiert bereits. Soll die vorhandene Datei übersprungen oder ersetzt werden?\n",
|
"replaceMessage": "Eine der hochzuladenden Dateien hat einen Namenskonflikt. Möchtest du diese Datei überspringen und mit dem Upload fortfahren oder die vorhandene Datei ersetzen?\n",
|
||||||
"schedule": "Plan",
|
"schedule": "Planen",
|
||||||
"scheduleMessage": "Wählen Sie ein Datum und eine Zeit für die Veröffentlichung dieses Beitrags.",
|
"scheduleMessage": "Wähle Datum und Uhrzeit für die geplante Veröffentlichung dieses Beitrags.",
|
||||||
"show": "Anzeigen",
|
"show": "Anzeigen",
|
||||||
"size": "Größe",
|
"size": "Größe",
|
||||||
"upload": "Upload",
|
"upload": "Hochladen",
|
||||||
"uploadFiles": "Upload von {files} Dateien...",
|
"uploadFiles": "{files} Dateien werden hochgeladen …",
|
||||||
"uploadMessage": "Wählen Sie eine Upload-Methode",
|
"uploadMessage": "Wähle eine Upload-Option.",
|
||||||
"optionalPassword": "Optionales Passwort",
|
"optionalPassword": "Optionales Passwort",
|
||||||
"resolution": "Auflösung",
|
"resolution": "Auflösung",
|
||||||
"discardEditorChanges": "Möchten Sie die vorgenommenen Änderungen wirklich verwerfen?"
|
"discardEditorChanges": "Möchtest du deine Änderungen wirklich verwerfen?"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"images": "Bilder",
|
"images": "Bilder",
|
||||||
"music": "Musik",
|
"music": "Musik",
|
||||||
"pdf": "PDF",
|
"pdf": "PDF",
|
||||||
"pressToSearch": "Drücken Sie Enter um zu suchen...",
|
"pressToSearch": "Eingabetaste drücken zum Suchen …",
|
||||||
"search": "Suche...",
|
"search": "Suchen …",
|
||||||
"typeToSearch": "Tippen um zu suchen...",
|
"typeToSearch": "Suchbegriff eingeben …",
|
||||||
"types": "Typen",
|
"types": "Typen",
|
||||||
"video": "Video"
|
"video": "Video"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"aceEditorTheme": "Ace editor theme",
|
"aceEditorTheme": "Ace-Editor-Theme",
|
||||||
"admin": "Admin",
|
"admin": "Admin",
|
||||||
"administrator": "Administrator",
|
"administrator": "Administrator",
|
||||||
"allowCommands": "Befehle ausführen",
|
"allowCommands": "Befehle ausführen",
|
||||||
"allowEdit": "Bearbeiten, Umbenennen und Löschen von Dateien oder Ordnern",
|
"allowEdit": "Dateien und Verzeichnisse bearbeiten, umbenennen und löschen",
|
||||||
"allowNew": "Erstellen neuer Dateien und Ordner",
|
"allowNew": "Neue Dateien und Verzeichnisse erstellen",
|
||||||
"allowPublish": "Veröffentlichen von neuen Beiträgen und Seiten",
|
"allowPublish": "Neue Beiträge und Seiten veröffentlichen",
|
||||||
"allowSignup": "Erlaube Benutzern sich zu registrieren",
|
"allowSignup": "Registrierung erlauben",
|
||||||
"hideLoginButton": "Hide the login button from public pages",
|
"hideLoginButton": "Anmelde-Button auf öffentlichen Seiten ausblenden",
|
||||||
"avoidChanges": "(leer lassen, um Änderungen zu vermeiden)",
|
"avoidChanges": "(leer lassen, um keine Änderungen vorzunehmen)",
|
||||||
"branding": "Design",
|
"branding": "Branding",
|
||||||
"brandingDirectoryPath": "Designverzeichnispfad",
|
"brandingDirectoryPath": "Branding-Verzeichnispfad",
|
||||||
"brandingHelp": "Sie können das Erscheinungsbild Ihres File Browser anpassen, in dem Sie den Namen ändern, das Logo austauschen oder eigene Stile definieren und sogar externe Links zu GitHub deaktivieren.\nUm mehr Informationen zum Anpassen des Designs zu bekommen, gehen Sie bitte zu {0}.",
|
"brandingHelp": "Du kannst das Erscheinungsbild deiner File-Browser-Instanz anpassen, indem du den Namen änderst, das Logo ersetzt, eigene Styles hinzufügst und sogar externe Links zu GitHub deaktivierst.\nWeitere Informationen zum Branding findest du in der {0}.",
|
||||||
"changePassword": "Passwort ändern",
|
"changePassword": "Passwort ändern",
|
||||||
"commandRunner": "Befehlseingabe",
|
"commandRunner": "Befehlsausführung",
|
||||||
"commandRunnerHelp": "Hier könne Sie Befehle eintragen, welche bei den benannten Aktionen ausgeführt werden. Sie müssen pro Zeile jeweils einen Befehl eingeben. Die Umgebungsvariable {0} und {1} sind verfügbar, wobei {0} relative zu {1} ist. Für mehr Informationen über diese Funktion und die verfügbaren Umgebungsvariablen lesen Sie bitte die {2}.",
|
"commandRunnerHelp": "Hier kannst du Befehle festlegen, die bei bestimmten Ereignissen ausgeführt werden. Schreibe einen Befehl pro Zeile. Die Umgebungsvariablen {0} und {1} sind verfügbar, wobei {0} relativ zu {1} ist. Weitere Informationen zu dieser Funktion und den verfügbaren Umgebungsvariablen findest du in der {2}.",
|
||||||
"commandsUpdated": "Befehle aktualisiert!",
|
"commandsUpdated": "Befehle aktualisiert!",
|
||||||
"createUserDir": "Automatisches Erstellen des Home-Verzeichnisses beim Anlegen neuer Benutzer",
|
"createUserDir": "Benutzerverzeichnis beim Erstellen neuer Benutzer automatisch anlegen",
|
||||||
"minimumPasswordLength": "Minimum password length",
|
"minimumPasswordLength": "Mindestlänge des Passworts",
|
||||||
"tusUploads": "Gestückelter Upload",
|
"tusUploads": "Uploads in Teilen",
|
||||||
"tusUploadsHelp": "File Browser unterstützt das Hochladen von gestückelten Dateien und ermöglicht so einen effizienten, zuverlässigen, fortsetzbaren und gestückelten Datei-Upload auch in unzuverlässigen Netzwerken.",
|
"tusUploadsHelp": "File Browser unterstützt das Hochladen von Dateien in Teilen. So sind effiziente, zuverlässige und fortsetzbare Uploads auch bei instabilen Netzwerkverbindungen möglich.",
|
||||||
"tusUploadsChunkSize": "Gibt die maximale Größe pro Anfrage an (direkte Uploads werden für kleinere Uploads verwendet). Bitte geben Sie eine Byte-Angabe oder eine Zeichenfolge wie 10 MB, 1 GB usw. an",
|
"tusUploadsChunkSize": "Gibt die maximale Größe einer Anfrage an (kleinere Dateien werden direkt hochgeladen). Du kannst eine Zahl in Bytes oder einen String wie 10MB, 1GB usw. eingeben.",
|
||||||
"tusUploadsRetryCount": "Anzahl der Wiederholungsversuche, wenn das Hochladen eines Stückes fehlschlägt.",
|
"tusUploadsRetryCount": "Anzahl der Wiederholungsversuche bei fehlgeschlagenem Teil-Upload.",
|
||||||
"userHomeBasePath": "Basispfad für Benutzer-Home-Verzeichnisse",
|
"userHomeBasePath": "Basispfad für Benutzerverzeichnisse",
|
||||||
"userScopeGenerationPlaceholder": "Scope wird automatisch generiert",
|
"userScopeGenerationPlaceholder": "Der Bereich wird automatisch generiert",
|
||||||
"createUserHomeDirectory": "Benutzer-Home-Verzeichnis erstellen",
|
"createUserHomeDirectory": "Benutzerverzeichnis erstellen",
|
||||||
"customStylesheet": "Individuelles Stylesheet",
|
"customStylesheet": "Eigenes Stylesheet",
|
||||||
"defaultUserDescription": "Das sind die Standardeinstellung für Benutzer",
|
"defaultUserDescription": "Dies sind die Standardeinstellungen für neue Benutzer.",
|
||||||
"disableExternalLinks": "Externe Links deaktivieren (außer Dokumentation)",
|
"disableExternalLinks": "Externe Links deaktivieren (außer Dokumentation)",
|
||||||
"disableUsedDiskPercentage": "Diagramm zur Festplattennutzung deaktivieren",
|
"disableUsedDiskPercentage": "Speicherplatzanzeige deaktivieren",
|
||||||
"documentation": "Dokumentation",
|
"documentation": "Dokumentation",
|
||||||
"examples": "Beispiele",
|
"examples": "Beispiele",
|
||||||
"executeOnShell": "In Shell ausführen",
|
"executeOnShell": "In Shell ausführen",
|
||||||
"executeOnShellDescription": "Es ist voreingestellt, dass der File Brower Befehle ausführt, indem er die Befehlsdateien direkt aufruft. Wenn Sie wollen, dass sie über einer Kommandozeile (wie Bash oder PowerShell) laufen, könne Sie diese hier definieren mit allen benötigten Argumenten und Optionen. Wenn gesetzt, wird das Kommando das ausgeführt werden soll als Parameter angehängt. Das gilt für Benutzerkommandos sowie auch für Ereignisse.",
|
"executeOnShellDescription": "Standardmäßig führt File Browser Befehle durch direkten Aufruf der Binärdateien aus. Wenn du sie stattdessen in einer Shell (wie Bash oder PowerShell) ausführen möchtest, kannst du diese hier mit den erforderlichen Argumenten und Flags angeben. Der auszuführende Befehl wird dann als Argument angehängt. Dies gilt sowohl für Benutzerbefehle als auch für Event-Hooks.",
|
||||||
"globalRules": "Das ist ein globales Set von Regeln die erlauben oder nicht erlauben. Die sind für alle Benutzer zutreffend. Es können spezielle Regeln in den Einstellungen der Benutzer definiert werden, die diese überschreiben.",
|
"globalRules": "Dies ist ein globaler Satz von Erlauben- und Verbieten-Regeln. Sie gelten für alle Benutzer. Du kannst in den Einstellungen einzelner Benutzer spezifische Regeln festlegen, um diese zu überschreiben.",
|
||||||
"globalSettings": "Globale Einstellungen",
|
"globalSettings": "Globale Einstellungen",
|
||||||
"hideDotfiles": "Versteckte Dateien ausblenden",
|
"hideDotfiles": "Versteckte Dateien ausblenden",
|
||||||
"insertPath": "Pfad einfügen",
|
"insertPath": "Pfad eingeben",
|
||||||
"insertRegex": "Regulären Ausdruck (Regex) einfügen",
|
"insertRegex": "Regulären Ausdruck eingeben",
|
||||||
"instanceName": "Instanzname",
|
"instanceName": "Instanzname",
|
||||||
"language": "Sprache",
|
"language": "Sprache",
|
||||||
"lockPassword": "Verhindere, dass der Benutzer sein Passwort ändert",
|
"lockPassword": "Benutzer daran hindern, das Passwort zu ändern",
|
||||||
"newPassword": "Ihr neues Passwort.",
|
"newPassword": "Dein neues Passwort",
|
||||||
"newPasswordConfirm": "Bestätigen Sie Ihr neues Passwort",
|
"newPasswordConfirm": "Neues Passwort bestätigen",
|
||||||
"newUser": "Neuer Benutzer",
|
"newUser": "Neuer Benutzer",
|
||||||
"password": "Passwort",
|
"password": "Passwort",
|
||||||
"passwordUpdated": "Passwort aktualisiert!",
|
"passwordUpdated": "Passwort aktualisiert!",
|
||||||
"path": "Pfad",
|
"path": "Pfad",
|
||||||
"perm": {
|
"perm": {
|
||||||
"create": "Dateien und Ordner erstellen",
|
"create": "Dateien und Verzeichnisse erstellen",
|
||||||
"delete": "Dateien und Ordner löschen",
|
"delete": "Dateien und Verzeichnisse löschen",
|
||||||
"download": "Download",
|
"download": "Herunterladen",
|
||||||
"execute": "Befehle ausführen",
|
"execute": "Befehle ausführen",
|
||||||
"modify": "Dateien editieren",
|
"modify": "Dateien bearbeiten",
|
||||||
"rename": "Umbenennen oder Verschieben von Dateien oder Ordnern",
|
"rename": "Dateien und Verzeichnisse umbenennen oder verschieben",
|
||||||
"share": "Datei teilen"
|
"share": "Dateien teilen"
|
||||||
},
|
},
|
||||||
"permissions": "Berechtigungen",
|
"permissions": "Berechtigungen",
|
||||||
"permissionsHelp": "Sie können einem Benutzer Administratorrechte einräumen oder die Berechtigungen individuell festlegen. Wenn Sie \"Administrator\" auswählen, werden alle anderen Rechte automatisch vergeben. Die Nutzerverwaltung kann nur durch einen Administrator erfolgen.\n",
|
"permissionsHelp": "Du kannst den Benutzer zum Administrator machen oder die Berechtigungen einzeln festlegen. Wenn du \"Administrator\" wählst, werden automatisch alle anderen Optionen aktiviert. Die Benutzerverwaltung bleibt ein Administratorrecht.\n",
|
||||||
"profileSettings": "Profileinstellungen",
|
"profileSettings": "Profileinstellungen",
|
||||||
"ruleExample1": "Verhindert den Zugang zu versteckten Dateien (dot-Files, wie .git, .gitignore) in allen Ordnern\n",
|
"redirectAfterCopyMove": "Nach Kopieren/Verschieben zum Ziel wechseln",
|
||||||
"ruleExample2": "blockiert den Zugang auf Dateien mit dem Namen Caddyfile in der Wurzel/Basis des Scopes.",
|
"ruleExample1": "verhindert den Zugriff auf alle versteckten Dateien (wie .git, .gitignore) in jedem Ordner.\n",
|
||||||
|
"ruleExample2": "blockiert den Zugriff auf die Datei namens Caddyfile im Stammverzeichnis des Bereichs.",
|
||||||
"rules": "Regeln",
|
"rules": "Regeln",
|
||||||
"rulesHelp": "Hier können Sie erlaubte und verbotene Aktionen für einen einzelnen Benutzer festlegen. Blockierte Dateien werden nicht im Listing angezeigt und sind nicht erreichbar für den Nutzer. Wir unterstützen reguläre Ausdrücke (Regex) und Pfade die relativ zum Benutzerordner sind. \n",
|
"rulesHelp": "Hier kannst du Erlauben- und Verbieten-Regeln für diesen Benutzer festlegen. Blockierte Dateien werden nicht in den Auflistungen angezeigt und sind für den Benutzer nicht zugänglich. Wir unterstützen Regex und Pfade relativ zum Benutzerbereich.\n",
|
||||||
"scope": "Scope",
|
"scope": "Bereich",
|
||||||
"setDateFormat": "Exaktes Datumsformat setzen",
|
"setDateFormat": "Genaues Datumsformat festlegen",
|
||||||
"settingsUpdated": "Einstellungen aktualisiert!",
|
"settingsUpdated": "Einstellungen aktualisiert!",
|
||||||
"shareDuration": "Dauer",
|
"shareDuration": "Freigabedauer",
|
||||||
"shareManagement": "Freigaben verwalten",
|
"shareManagement": "Freigabeverwaltung",
|
||||||
"shareDeleted": "Freigabe gelöscht!",
|
"shareDeleted": "Freigabe gelöscht!",
|
||||||
"singleClick": "Einfacher Klick zum Öffnen von Dateien und Ordnern",
|
"singleClick": "Einfacher Klick zum Öffnen von Dateien und Verzeichnissen",
|
||||||
"themes": {
|
"themes": {
|
||||||
"default": "Systemstandard",
|
"default": "Systemstandard",
|
||||||
"dark": "Dunkel",
|
"dark": "Dunkel",
|
||||||
"light": "Hell",
|
"light": "Hell",
|
||||||
"title": "Erscheinungsbild"
|
"title": "Design"
|
||||||
},
|
},
|
||||||
"user": "Benutzer",
|
"user": "Benutzer",
|
||||||
"userCommands": "Befehle",
|
"userCommands": "Befehle",
|
||||||
"userCommandsHelp": "Eine Liste, mit einem Leerzeichen als Trennung, mit den für diesen Nutzer verfügbaren Befehlen. Beispiel:\n",
|
"userCommandsHelp": "Eine durch Leerzeichen getrennte Liste der verfügbaren Befehle für diesen Benutzer. Beispiel:\n",
|
||||||
"userCreated": "Benutzer angelegt!",
|
"userCreated": "Benutzer erstellt!",
|
||||||
"userDefaults": "Benutzer Standard Einstellungen",
|
"userDefaults": "Standardeinstellungen für Benutzer",
|
||||||
"userDeleted": "Benutzer gelöscht!",
|
"userDeleted": "Benutzer gelöscht!",
|
||||||
"userManagement": "Benutzerverwaltung",
|
"userManagement": "Benutzerverwaltung",
|
||||||
"userUpdated": "Benutzer aktualisiert!",
|
"userUpdated": "Benutzer aktualisiert!",
|
||||||
"username": "Nutzername",
|
"username": "Benutzername",
|
||||||
"users": "Nutzer"
|
"users": "Benutzer",
|
||||||
|
"currentPassword": "Dein aktuelles Passwort"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Hilfe",
|
"help": "Hilfe",
|
||||||
@@ -258,10 +275,10 @@
|
|||||||
"preview": "Vorschau",
|
"preview": "Vorschau",
|
||||||
"settings": "Einstellungen",
|
"settings": "Einstellungen",
|
||||||
"signup": "Registrieren",
|
"signup": "Registrieren",
|
||||||
"siteSettings": "Seiteneinstellungen"
|
"siteSettings": "Website-Einstellungen"
|
||||||
},
|
},
|
||||||
"success": {
|
"success": {
|
||||||
"linkCopied": "Verweis wurde kopiert!"
|
"linkCopied": "Link kopiert!"
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"days": "Tage",
|
"days": "Tage",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Ενημέρωση",
|
"update": "Ενημέρωση",
|
||||||
"upload": "Μεταφόρτωση",
|
"upload": "Μεταφόρτωση",
|
||||||
"openFile": "Άνοιγμα αρχείου",
|
"openFile": "Άνοιγμα αρχείου",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Λήψη αρχείου",
|
"downloadFile": "Λήψη αρχείου",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Ταξινόμηση κατά πρόσφατη τροποποίηση",
|
"sortByLastModified": "Ταξινόμηση κατά πρόσφατη τροποποίηση",
|
||||||
"sortByName": "Ταξινόμηση κατά όνομα",
|
"sortByName": "Ταξινόμηση κατά όνομα",
|
||||||
"sortBySize": "Ταξινόμηση κατά μέγεθος",
|
"sortBySize": "Ταξινόμηση κατά μέγεθος",
|
||||||
"noPreview": "Η προεπισκόπηση δεν είναι διαθέσιμη για αυτό το αρχείο."
|
"noPreview": "Η προεπισκόπηση δεν είναι διαθέσιμη για αυτό το αρχείο.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "επιλέξτε αρχείο ή φάκελο",
|
"click": "επιλέξτε αρχείο ή φάκελο",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Δικαιώματα",
|
"permissions": "Δικαιώματα",
|
||||||
"permissionsHelp": "Μπορείτε να ορίσετε τον χρήστη ως διαχειριστή ή να επιλέξετε τα δικαιώματα μεμονωμένα. Αν επιλέξετε \"Διαχειριστής\", όλες οι υπόλοιπες επιλογές θα είναι αυτόματα επιλεγμένες. Η διαχείριση χρηστών παραμένει προνόμιο ενός χρήστη με τον ρόλο του διαχειριστή.\n",
|
"permissionsHelp": "Μπορείτε να ορίσετε τον χρήστη ως διαχειριστή ή να επιλέξετε τα δικαιώματα μεμονωμένα. Αν επιλέξετε \"Διαχειριστής\", όλες οι υπόλοιπες επιλογές θα είναι αυτόματα επιλεγμένες. Η διαχείριση χρηστών παραμένει προνόμιο ενός χρήστη με τον ρόλο του διαχειριστή.\n",
|
||||||
"profileSettings": "Ρυθμίσεις προφίλ",
|
"profileSettings": "Ρυθμίσεις προφίλ",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "αποκλείει την πρόσβαση σε οποιοδήποτε κρυφό αρχείο (όπως .git, .gitignore) σε κάθε φάκελο.\n",
|
"ruleExample1": "αποκλείει την πρόσβαση σε οποιοδήποτε κρυφό αρχείο (όπως .git, .gitignore) σε κάθε φάκελο.\n",
|
||||||
"ruleExample2": "αποκλείει την πρόσβαση στο αρχείο με το όνομα Caddyfile στον ριζικό φάκελο της εμβέλειας του κανόνα.",
|
"ruleExample2": "αποκλείει την πρόσβαση στο αρχείο με το όνομα Caddyfile στον ριζικό φάκελο της εμβέλειας του κανόνα.",
|
||||||
"rules": "Κανόνες",
|
"rules": "Κανόνες",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Διαχείριση χρηστών",
|
"userManagement": "Διαχείριση χρηστών",
|
||||||
"userUpdated": "Ο χρήστης ενημερώθηκε!",
|
"userUpdated": "Ο χρήστης ενημερώθηκε!",
|
||||||
"username": "Όνομα χρήστη",
|
"username": "Όνομα χρήστη",
|
||||||
"users": "Χρήστες"
|
"users": "Χρήστες",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Βοήθεια",
|
"help": "Βοήθεια",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Update",
|
"update": "Update",
|
||||||
"upload": "Upload",
|
"upload": "Upload",
|
||||||
"openFile": "Open file",
|
"openFile": "Open file",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Download File",
|
"downloadFile": "Download File",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Sort by last modified",
|
"sortByLastModified": "Sort by last modified",
|
||||||
"sortByName": "Sort by name",
|
"sortByName": "Sort by name",
|
||||||
"sortBySize": "Sort by size",
|
"sortBySize": "Sort by size",
|
||||||
"noPreview": "Preview is not available for this file."
|
"noPreview": "Preview is not available for this file.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "select file or directory",
|
"click": "select file or directory",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permissions",
|
"permissions": "Permissions",
|
||||||
"permissionsHelp": "You can set the user to be an administrator or choose the permissions individually. If you select \"Administrator\", all of the other options will be automatically checked. The management of users remains a privilege of an administrator.\n",
|
"permissionsHelp": "You can set the user to be an administrator or choose the permissions individually. If you select \"Administrator\", all of the other options will be automatically checked. The management of users remains a privilege of an administrator.\n",
|
||||||
"profileSettings": "Profile Settings",
|
"profileSettings": "Profile Settings",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "prevents the access to any dotfile (such as .git, .gitignore) in every folder.\n",
|
"ruleExample1": "prevents the access to any dotfile (such as .git, .gitignore) in every folder.\n",
|
||||||
"ruleExample2": "blocks the access to the file named Caddyfile on the root of the scope.",
|
"ruleExample2": "blocks the access to the file named Caddyfile on the root of the scope.",
|
||||||
"rules": "Rules",
|
"rules": "Rules",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "User Management",
|
"userManagement": "User Management",
|
||||||
"userUpdated": "User updated!",
|
"userUpdated": "User updated!",
|
||||||
"username": "Username",
|
"username": "Username",
|
||||||
"users": "Users"
|
"users": "Users",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Help",
|
"help": "Help",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Actualizar",
|
"update": "Actualizar",
|
||||||
"upload": "Subir",
|
"upload": "Subir",
|
||||||
"openFile": "Abrir archivo",
|
"openFile": "Abrir archivo",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Guardar cambios"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Guardar cambios",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Descargar fichero",
|
"downloadFile": "Descargar fichero",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Ordenar por última modificación",
|
"sortByLastModified": "Ordenar por última modificación",
|
||||||
"sortByName": "Ordenar por nombre",
|
"sortByName": "Ordenar por nombre",
|
||||||
"sortBySize": "Ordenar por tamaño",
|
"sortBySize": "Ordenar por tamaño",
|
||||||
"noPreview": "La vista previa no está disponible para este archivo."
|
"noPreview": "La vista previa no está disponible para este archivo.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "seleccionar archivo o carpeta",
|
"click": "seleccionar archivo o carpeta",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permisos",
|
"permissions": "Permisos",
|
||||||
"permissionsHelp": "Puedes nombrar al usuario como administrador o elegir los permisos individualmente. Si seleccionas \"Administrador\", todas las otras opciones serán activadas automáticamente. La administración de usuarios es un privilegio de administrador.\n",
|
"permissionsHelp": "Puedes nombrar al usuario como administrador o elegir los permisos individualmente. Si seleccionas \"Administrador\", todas las otras opciones serán activadas automáticamente. La administración de usuarios es un privilegio de administrador.\n",
|
||||||
"profileSettings": "Ajustes del perfil",
|
"profileSettings": "Ajustes del perfil",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "previene el acceso a una extensión de archivo (Como .git) en cada carpeta.\n",
|
"ruleExample1": "previene el acceso a una extensión de archivo (Como .git) en cada carpeta.\n",
|
||||||
"ruleExample2": "bloquea el acceso al archivo llamado Caddyfile en la carpeta raíz.",
|
"ruleExample2": "bloquea el acceso al archivo llamado Caddyfile en la carpeta raíz.",
|
||||||
"rules": "Reglas",
|
"rules": "Reglas",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Administración de usuarios",
|
"userManagement": "Administración de usuarios",
|
||||||
"userUpdated": "¡Usuario actualizado!",
|
"userUpdated": "¡Usuario actualizado!",
|
||||||
"username": "Usuario",
|
"username": "Usuario",
|
||||||
"users": "Usuarios"
|
"users": "Usuarios",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Ayuda",
|
"help": "Ayuda",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "به روز سانی",
|
"update": "به روز سانی",
|
||||||
"upload": "آپلود",
|
"upload": "آپلود",
|
||||||
"openFile": "باز کردن فایل",
|
"openFile": "باز کردن فایل",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "لغو کردن",
|
"discardChanges": "لغو کردن",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "دانلود فایل",
|
"downloadFile": "دانلود فایل",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "مرتب سازی آخرین ویرایش",
|
"sortByLastModified": "مرتب سازی آخرین ویرایش",
|
||||||
"sortByName": "مرتب سازی نام",
|
"sortByName": "مرتب سازی نام",
|
||||||
"sortBySize": "مرتب سازی اندازه",
|
"sortBySize": "مرتب سازی اندازه",
|
||||||
"noPreview": "این فایل قابل نمایش نیست"
|
"noPreview": "این فایل قابل نمایش نیست",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "انتخاب فایل یا پوشه",
|
"click": "انتخاب فایل یا پوشه",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "دسترسی ها",
|
"permissions": "دسترسی ها",
|
||||||
"permissionsHelp": "شما میتوانید کاربر را به عنوان مدیر تنظیم کنید یا دسترسیها را به صورت جداگانه انتخاب کنید. اگر \"مدیر\" را انتخاب کنید، تمام گزینههای دیگر به طور خودکار اعمال میشوند. مدیریت کاربران همچنان از اختیارات مدیر است.",
|
"permissionsHelp": "شما میتوانید کاربر را به عنوان مدیر تنظیم کنید یا دسترسیها را به صورت جداگانه انتخاب کنید. اگر \"مدیر\" را انتخاب کنید، تمام گزینههای دیگر به طور خودکار اعمال میشوند. مدیریت کاربران همچنان از اختیارات مدیر است.",
|
||||||
"profileSettings": "تنظیمات ناحیه کاربری",
|
"profileSettings": "تنظیمات ناحیه کاربری",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "از دسترسی به هرگونه فایل نقطهای (مانند .git، .gitignore) در هر پوشه جلوگیری میکند.",
|
"ruleExample1": "از دسترسی به هرگونه فایل نقطهای (مانند .git، .gitignore) در هر پوشه جلوگیری میکند.",
|
||||||
"ruleExample2": "دسترسی به فایلی به نام Caddyfile را در ریشه دامنه مسدود میکند.",
|
"ruleExample2": "دسترسی به فایلی به نام Caddyfile را در ریشه دامنه مسدود میکند.",
|
||||||
"rules": "قواعد",
|
"rules": "قواعد",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "مدیریت کاربران",
|
"userManagement": "مدیریت کاربران",
|
||||||
"userUpdated": "کاربر به روز شد!",
|
"userUpdated": "کاربر به روز شد!",
|
||||||
"username": "نام کاربری",
|
"username": "نام کاربری",
|
||||||
"users": "کاربران"
|
"users": "کاربران",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "راهنما",
|
"help": "راهنما",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Mettre à jour",
|
"update": "Mettre à jour",
|
||||||
"upload": "Importer",
|
"upload": "Importer",
|
||||||
"openFile": "Ouvrir le fichier",
|
"openFile": "Ouvrir le fichier",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Annuler",
|
"discardChanges": "Annuler",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Arrêter recherche",
|
||||||
|
"saveChanges": "Enregistrer changements",
|
||||||
|
"editAsText": "Editer comme Texte",
|
||||||
|
"increaseFontSize": "Augmenter taille police",
|
||||||
|
"decreaseFontSize": "Réduire taille police"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Télécharger le fichier",
|
"downloadFile": "Télécharger le fichier",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Trier par date de modification",
|
"sortByLastModified": "Trier par date de modification",
|
||||||
"sortByName": "Trier par nom",
|
"sortByName": "Trier par nom",
|
||||||
"sortBySize": "Trier par taille",
|
"sortBySize": "Trier par taille",
|
||||||
"noPreview": "L'aperçu n'est pas disponible pour ce fichier."
|
"noPreview": "L'aperçu n'est pas disponible pour ce fichier.",
|
||||||
|
"csvTooLarge": "Le fichier CSV est trop volumineux pour être prévisualisé (>5MB). Veuillez le télécharger pour le voir.",
|
||||||
|
"csvLoadFailed": "Impossible de charger le fichier CSV.",
|
||||||
|
"showingRows": "Affichage de {count} ligne(s)",
|
||||||
|
"columnSeparator": "Séparateur de Colonnes",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Virgule (,)",
|
||||||
|
"semicolon": "Point-virgule (;)",
|
||||||
|
"both": "Les (,) et (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "Sélectionner un fichier ou dossier",
|
"click": "Sélectionner un fichier ou dossier",
|
||||||
@@ -102,9 +117,9 @@
|
|||||||
"username": "Utilisateur·ice",
|
"username": "Utilisateur·ice",
|
||||||
"usernameTaken": "Le nom d'utilisateur·ice est déjà pris",
|
"usernameTaken": "Le nom d'utilisateur·ice est déjà pris",
|
||||||
"wrongCredentials": "Identifiants incorrects !",
|
"wrongCredentials": "Identifiants incorrects !",
|
||||||
"passwordTooShort": "Password must be at least {min} characters",
|
"passwordTooShort": "Le mot de passe doit contenir au moins {min} caractères",
|
||||||
"logout_reasons": {
|
"logout_reasons": {
|
||||||
"inactivity": "You have been logged out due to inactivity."
|
"inactivity": "Vous avez été déconnecté(e) en raison d'une inactivité prolongée."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permanent": "Permanent",
|
"permanent": "Permanent",
|
||||||
@@ -159,7 +174,7 @@
|
|||||||
"video": "Vidéo"
|
"video": "Vidéo"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"aceEditorTheme": "Ace editor theme",
|
"aceEditorTheme": "Éditeur de Thème Ace",
|
||||||
"admin": "Admin",
|
"admin": "Admin",
|
||||||
"administrator": "Administrateur·ice",
|
"administrator": "Administrateur·ice",
|
||||||
"allowCommands": "Exécuter des commandes",
|
"allowCommands": "Exécuter des commandes",
|
||||||
@@ -167,7 +182,7 @@
|
|||||||
"allowNew": "Créer de nouveaux fichiers et dossiers",
|
"allowNew": "Créer de nouveaux fichiers et dossiers",
|
||||||
"allowPublish": "Publier de nouveaux posts et pages",
|
"allowPublish": "Publier de nouveaux posts et pages",
|
||||||
"allowSignup": "Autoriser les utilisateur·ices à s'inscrire",
|
"allowSignup": "Autoriser les utilisateur·ices à s'inscrire",
|
||||||
"hideLoginButton": "Hide the login button from public pages",
|
"hideLoginButton": "Cacher le bouton d’identification sur les pages publiques",
|
||||||
"avoidChanges": "(Laisser vide pour conserver l'actuel)",
|
"avoidChanges": "(Laisser vide pour conserver l'actuel)",
|
||||||
"branding": "Image de marque",
|
"branding": "Image de marque",
|
||||||
"brandingDirectoryPath": "Chemin du dossier d'image de marque",
|
"brandingDirectoryPath": "Chemin du dossier d'image de marque",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permissions",
|
"permissions": "Permissions",
|
||||||
"permissionsHelp": "Vous pouvez définir l'utilisateur·ice comme étant administrateur·ice ou encore choisir les permissions individuellement. Si vous sélectionnez \"Administrateur·ice\", toutes les autres options seront automatiquement activées. La gestion des utilisateur·ices est un privilège que seul l'administrateur·ice possède.\n",
|
"permissionsHelp": "Vous pouvez définir l'utilisateur·ice comme étant administrateur·ice ou encore choisir les permissions individuellement. Si vous sélectionnez \"Administrateur·ice\", toutes les autres options seront automatiquement activées. La gestion des utilisateur·ices est un privilège que seul l'administrateur·ice possède.\n",
|
||||||
"profileSettings": "Paramètres du profil",
|
"profileSettings": "Paramètres du profil",
|
||||||
|
"redirectAfterCopyMove": "Rediriger vers la destination après une copie/déplacement",
|
||||||
"ruleExample1": "Bloque l'accès à tous les fichiers commençant par un point (comme par exemple .git, .gitignore) dans tous les dossiers.\n",
|
"ruleExample1": "Bloque l'accès à tous les fichiers commençant par un point (comme par exemple .git, .gitignore) dans tous les dossiers.\n",
|
||||||
"ruleExample2": "Bloque l'accès au fichier nommé \"Caddyfile\" à la racine du dossier utilisateur·ice.",
|
"ruleExample2": "Bloque l'accès au fichier nommé \"Caddyfile\" à la racine du dossier utilisateur·ice.",
|
||||||
"rules": "Règles",
|
"rules": "Règles",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Gestion des utilisateur·ices",
|
"userManagement": "Gestion des utilisateur·ices",
|
||||||
"userUpdated": "Utilisateur·ice mis à jour !",
|
"userUpdated": "Utilisateur·ice mis à jour !",
|
||||||
"username": "Nom d'utilisateur·ice",
|
"username": "Nom d'utilisateur·ice",
|
||||||
"users": "Utilisateur·ices"
|
"users": "Utilisateur·ices",
|
||||||
|
"currentPassword": "Mot de Passe Actuel"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Aide",
|
"help": "Aide",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "עדכון",
|
"update": "עדכון",
|
||||||
"upload": "העלאה",
|
"upload": "העלאה",
|
||||||
"openFile": "פתח קובץ",
|
"openFile": "פתח קובץ",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "זריקת השינויים",
|
"discardChanges": "זריקת השינויים",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "הורד קובץ",
|
"downloadFile": "הורד קובץ",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "מיין לפי השינוי האחרון",
|
"sortByLastModified": "מיין לפי השינוי האחרון",
|
||||||
"sortByName": "מיין לפי שם",
|
"sortByName": "מיין לפי שם",
|
||||||
"sortBySize": "מיין לפי גודל",
|
"sortBySize": "מיין לפי גודל",
|
||||||
"noPreview": "לא זמינה תצוגה מקדימה לקובץ זה"
|
"noPreview": "לא זמינה תצוגה מקדימה לקובץ זה",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "בחר קובץ או תיקייה",
|
"click": "בחר קובץ או תיקייה",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "הרשאות",
|
"permissions": "הרשאות",
|
||||||
"permissionsHelp": "אתה יכול להגדיר את המשתמש להיות מנהל מערכת או לבחור את ההרשאות בנפרד. אם תבחר \"מנהל מערכת\", כל ההרשאות יינתנו אוטומטית. ניהול המשתמשים נשאר הרשאה של מנהל מערכת.\n",
|
"permissionsHelp": "אתה יכול להגדיר את המשתמש להיות מנהל מערכת או לבחור את ההרשאות בנפרד. אם תבחר \"מנהל מערכת\", כל ההרשאות יינתנו אוטומטית. ניהול המשתמשים נשאר הרשאה של מנהל מערכת.\n",
|
||||||
"profileSettings": "הגדרות פרופיל",
|
"profileSettings": "הגדרות פרופיל",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "מנע גישה לקבצים נסתרים (כל קובץ/תיקייה שמתחיל בנקודה, לדוגמא .git)",
|
"ruleExample1": "מנע גישה לקבצים נסתרים (כל קובץ/תיקייה שמתחיל בנקודה, לדוגמא .git)",
|
||||||
"ruleExample2": "חסימת גישה לקובץ בשם Caddyfile בהיקף הראשי.",
|
"ruleExample2": "חסימת גישה לקובץ בשם Caddyfile בהיקף הראשי.",
|
||||||
"rules": "חוקים",
|
"rules": "חוקים",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "ניהול משתמש",
|
"userManagement": "ניהול משתמש",
|
||||||
"userUpdated": "המשתמש עודכן!",
|
"userUpdated": "המשתמש עודכן!",
|
||||||
"username": "שם משתמש",
|
"username": "שם משתמש",
|
||||||
"users": "משתמשים"
|
"users": "משתמשים",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "עזרה",
|
"help": "עזרה",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Ažuriraj",
|
"update": "Ažuriraj",
|
||||||
"upload": "Prenesi",
|
"upload": "Prenesi",
|
||||||
"openFile": "Otvori datoteku",
|
"openFile": "Otvori datoteku",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Odbaci",
|
"discardChanges": "Odbaci",
|
||||||
"saveChanges": "Spremi promjene"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Spremi promjene",
|
||||||
|
"editAsText": "Uredi kao tekst",
|
||||||
|
"increaseFontSize": "Povećaj veličinu fonta",
|
||||||
|
"decreaseFontSize": "Smanji veličinu fonta"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Preuzmi Datoteku",
|
"downloadFile": "Preuzmi Datoteku",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Sortiraj po zadnjoj izmjeni",
|
"sortByLastModified": "Sortiraj po zadnjoj izmjeni",
|
||||||
"sortByName": "Sortiraj po nazivu",
|
"sortByName": "Sortiraj po nazivu",
|
||||||
"sortBySize": "Sortiraj po veličini",
|
"sortBySize": "Sortiraj po veličini",
|
||||||
"noPreview": "Pregled nije dostupan za ovu datoteku."
|
"noPreview": "Pregled nije dostupan za ovu datoteku.",
|
||||||
|
"csvTooLarge": "CSV datoteka je prevelika za pregled (>5MB). Molimo preuzmite da bi ste ju pregledali.",
|
||||||
|
"csvLoadFailed": "Neuspješno učitavanje CSV datoteke.",
|
||||||
|
"showingRows": "Prikazuje se {count} red(ova)",
|
||||||
|
"columnSeparator": "Separator stupaca",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Zarez (,)",
|
||||||
|
"semicolon": "Točka zarez (;)",
|
||||||
|
"both": "I (,) i (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "odaberi datoteku ili mapu",
|
"click": "odaberi datoteku ili mapu",
|
||||||
@@ -102,7 +117,7 @@
|
|||||||
"username": "Korisničko ime",
|
"username": "Korisničko ime",
|
||||||
"usernameTaken": "Korisničko ime zauzeto",
|
"usernameTaken": "Korisničko ime zauzeto",
|
||||||
"wrongCredentials": "Neispravno korisničko ime/lozinka",
|
"wrongCredentials": "Neispravno korisničko ime/lozinka",
|
||||||
"passwordTooShort": "Password must be at least {min} characters",
|
"passwordTooShort": "Lozinka mora sadržavati minimalno {min} znakova",
|
||||||
"logout_reasons": {
|
"logout_reasons": {
|
||||||
"inactivity": "Odjavljeni ste zbog neaktivnosti."
|
"inactivity": "Odjavljeni ste zbog neaktivnosti."
|
||||||
}
|
}
|
||||||
@@ -167,7 +182,7 @@
|
|||||||
"allowNew": "Stvori nove datoteke i mape",
|
"allowNew": "Stvori nove datoteke i mape",
|
||||||
"allowPublish": "Objavi nove objave i stranice",
|
"allowPublish": "Objavi nove objave i stranice",
|
||||||
"allowSignup": "Dopusti registraciju korisnicima",
|
"allowSignup": "Dopusti registraciju korisnicima",
|
||||||
"hideLoginButton": "Hide the login button from public pages",
|
"hideLoginButton": "Sakrij tipku za prijavu s javnih stranica",
|
||||||
"avoidChanges": "(ostavite prazno kako biste izbjegli promjene)",
|
"avoidChanges": "(ostavite prazno kako biste izbjegli promjene)",
|
||||||
"branding": "Brendiranje",
|
"branding": "Brendiranje",
|
||||||
"brandingDirectoryPath": "Put brendiranja",
|
"brandingDirectoryPath": "Put brendiranja",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Dopuštenja",
|
"permissions": "Dopuštenja",
|
||||||
"permissionsHelp": "Korisnika možete postaviti administratorom ili odabrati dopuštenja individualno. Odabirom na \"Administrator\", sve druge opcije bit će automatski odabrane. Upravljanje korisnicima ostaje privilegija administratora.\n",
|
"permissionsHelp": "Korisnika možete postaviti administratorom ili odabrati dopuštenja individualno. Odabirom na \"Administrator\", sve druge opcije bit će automatski odabrane. Upravljanje korisnicima ostaje privilegija administratora.\n",
|
||||||
"profileSettings": "Postavke profila",
|
"profileSettings": "Postavke profila",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "onemogućava pristup svakoj datoteci koja započinje točkom (poput .git, .gitignore) u svakoj mapi.\n",
|
"ruleExample1": "onemogućava pristup svakoj datoteci koja započinje točkom (poput .git, .gitignore) u svakoj mapi.\n",
|
||||||
"ruleExample2": "blokira pristup datoteci naziva Caddyfile na korijenu opsega.",
|
"ruleExample2": "blokira pristup datoteci naziva Caddyfile na korijenu opsega.",
|
||||||
"rules": "Pravila",
|
"rules": "Pravila",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Upravljanje Korisnicima",
|
"userManagement": "Upravljanje Korisnicima",
|
||||||
"userUpdated": "Korisnik ažuriran!",
|
"userUpdated": "Korisnik ažuriran!",
|
||||||
"username": "Korisničko ime",
|
"username": "Korisničko ime",
|
||||||
"users": "Korisnici"
|
"users": "Korisnici",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Pomoć",
|
"help": "Pomoć",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Frissítés",
|
"update": "Frissítés",
|
||||||
"upload": "Feltöltés",
|
"upload": "Feltöltés",
|
||||||
"openFile": "Fájl megnyitása",
|
"openFile": "Fájl megnyitása",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Fájl letöltése",
|
"downloadFile": "Fájl letöltése",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Rendezés utolsó módosítás szerint",
|
"sortByLastModified": "Rendezés utolsó módosítás szerint",
|
||||||
"sortByName": "Rendezés név szerint",
|
"sortByName": "Rendezés név szerint",
|
||||||
"sortBySize": "Rendezés méret szerint",
|
"sortBySize": "Rendezés méret szerint",
|
||||||
"noPreview": "Ehhez a fájlhoz nincs előnézet."
|
"noPreview": "Ehhez a fájlhoz nincs előnézet.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "mappa vagy fájl kijelölése",
|
"click": "mappa vagy fájl kijelölése",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Jogosultságok",
|
"permissions": "Jogosultságok",
|
||||||
"permissionsHelp": "A felhasználót beállíthatja rendszergazdának, vagy egyénileg is kiválaszthatja a jogosultságokat. Ha a \"Rendszergazda\" lehetőséget választja, az összes többi opció automatikusan be lesz jelölve. A felhasználók kezelése továbbra is a rendszergazda kiváltsága marad.\n",
|
"permissionsHelp": "A felhasználót beállíthatja rendszergazdának, vagy egyénileg is kiválaszthatja a jogosultságokat. Ha a \"Rendszergazda\" lehetőséget választja, az összes többi opció automatikusan be lesz jelölve. A felhasználók kezelése továbbra is a rendszergazda kiváltsága marad.\n",
|
||||||
"profileSettings": "Profilbeállítások",
|
"profileSettings": "Profilbeállítások",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "megakadályozza a hozzáférést bármely rejtett fájlhoz (pl. .git, .gitignore) bármely mappában.\n",
|
"ruleExample1": "megakadályozza a hozzáférést bármely rejtett fájlhoz (pl. .git, .gitignore) bármely mappában.\n",
|
||||||
"ruleExample2": "blokkolja a hozzáférést a Caddyfile nevű fájlhoz a hatókör gyökerében.",
|
"ruleExample2": "blokkolja a hozzáférést a Caddyfile nevű fájlhoz a hatókör gyökerében.",
|
||||||
"rules": "Szabályok",
|
"rules": "Szabályok",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Felhasználókezelés",
|
"userManagement": "Felhasználókezelés",
|
||||||
"userUpdated": "Felhasználó frissítve!",
|
"userUpdated": "Felhasználó frissítve!",
|
||||||
"username": "Felhasználói név",
|
"username": "Felhasználói név",
|
||||||
"users": "Felhasználók"
|
"users": "Felhasználók",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Súgó",
|
"help": "Súgó",
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import("dayjs/locale/it");
|
|||||||
import("dayjs/locale/ja");
|
import("dayjs/locale/ja");
|
||||||
import("dayjs/locale/ko");
|
import("dayjs/locale/ko");
|
||||||
import("dayjs/locale/nb");
|
import("dayjs/locale/nb");
|
||||||
|
import("dayjs/locale/nl");
|
||||||
import("dayjs/locale/nl-be");
|
import("dayjs/locale/nl-be");
|
||||||
import("dayjs/locale/pl");
|
import("dayjs/locale/pl");
|
||||||
import("dayjs/locale/pt-br");
|
import("dayjs/locale/pt-br");
|
||||||
@@ -110,7 +111,6 @@ export function detectLocale() {
|
|||||||
case /^uk\b/.test(locale):
|
case /^uk\b/.test(locale):
|
||||||
locale = "uk";
|
locale = "uk";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case /^vi\b/.test(locale):
|
case /^vi\b/.test(locale):
|
||||||
locale = "vi";
|
locale = "vi";
|
||||||
break;
|
break;
|
||||||
@@ -118,6 +118,9 @@ export function detectLocale() {
|
|||||||
case /^sv\b/.test(locale):
|
case /^sv\b/.test(locale):
|
||||||
locale = "sv";
|
locale = "sv";
|
||||||
break;
|
break;
|
||||||
|
case /^nl\b/.test(locale):
|
||||||
|
locale = "nl";
|
||||||
|
break;
|
||||||
case /^nl-be\b/.test(locale):
|
case /^nl-be\b/.test(locale):
|
||||||
locale = "nl-be";
|
locale = "nl-be";
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Vista",
|
"update": "Vista",
|
||||||
"upload": "Hlaða upp",
|
"upload": "Hlaða upp",
|
||||||
"openFile": "Open file",
|
"openFile": "Open file",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Sækja skjal",
|
"downloadFile": "Sækja skjal",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Flokka eftir Seinast breytt",
|
"sortByLastModified": "Flokka eftir Seinast breytt",
|
||||||
"sortByName": "Flokka eftir nafni",
|
"sortByName": "Flokka eftir nafni",
|
||||||
"sortBySize": "Flokka eftir stærð",
|
"sortBySize": "Flokka eftir stærð",
|
||||||
"noPreview": "Preview is not available for this file."
|
"noPreview": "Preview is not available for this file.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "velja skjal eða möppu",
|
"click": "velja skjal eða möppu",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Heimildir",
|
"permissions": "Heimildir",
|
||||||
"permissionsHelp": "Þú getur stillt notenda sem stjórnanda eða valið einstaklingsbundnar heimildir. Ef þú velur \"Stjórnandi\", þá verða allir aðrir valmöguleikar valdir sjálfrafa. Aðgangstýring notenda er á hendi stjórnenda. \n",
|
"permissionsHelp": "Þú getur stillt notenda sem stjórnanda eða valið einstaklingsbundnar heimildir. Ef þú velur \"Stjórnandi\", þá verða allir aðrir valmöguleikar valdir sjálfrafa. Aðgangstýring notenda er á hendi stjórnenda. \n",
|
||||||
"profileSettings": "Stilla prófíl",
|
"profileSettings": "Stilla prófíl",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "kemur í veg fyrir aðgang að dot-skjali (t.d. .git, .gitignore) í öllum möppum. \n",
|
"ruleExample1": "kemur í veg fyrir aðgang að dot-skjali (t.d. .git, .gitignore) í öllum möppum. \n",
|
||||||
"ruleExample2": "kemur í veg fyrir aðgang að Caddyfile-skjalinu í root-möppu í sýn notandans. ",
|
"ruleExample2": "kemur í veg fyrir aðgang að Caddyfile-skjalinu í root-möppu í sýn notandans. ",
|
||||||
"rules": "Reglur",
|
"rules": "Reglur",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Notendastýring",
|
"userManagement": "Notendastýring",
|
||||||
"userUpdated": "Notandastillingar vistaðar!",
|
"userUpdated": "Notandastillingar vistaðar!",
|
||||||
"username": "Notendanafn",
|
"username": "Notendanafn",
|
||||||
"users": "Notendur"
|
"users": "Notendur",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Hjálp",
|
"help": "Hjálp",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Aggiorna",
|
"update": "Aggiorna",
|
||||||
"upload": "Carica",
|
"upload": "Carica",
|
||||||
"openFile": "Apri file",
|
"openFile": "Apri file",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Ignora",
|
"discardChanges": "Ignora",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Scarica file",
|
"downloadFile": "Scarica file",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Ordina per ultima modifica",
|
"sortByLastModified": "Ordina per ultima modifica",
|
||||||
"sortByName": "Ordina per nome",
|
"sortByName": "Ordina per nome",
|
||||||
"sortBySize": "Ordina per dimensione",
|
"sortBySize": "Ordina per dimensione",
|
||||||
"noPreview": "L'anteprima non è disponibile per questo file."
|
"noPreview": "L'anteprima non è disponibile per questo file.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "seleziona un file o una cartella",
|
"click": "seleziona un file o una cartella",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permessi",
|
"permissions": "Permessi",
|
||||||
"permissionsHelp": "È possibile impostare l'utente come amministratore o scegliere i permessi singolarmente. Se si seleziona \"Amministratore\", tutte le altre opzioni saranno automaticamente assegnate. La gestione degli utenti rimane un privilegio di un amministratore.\n",
|
"permissionsHelp": "È possibile impostare l'utente come amministratore o scegliere i permessi singolarmente. Se si seleziona \"Amministratore\", tutte le altre opzioni saranno automaticamente assegnate. La gestione degli utenti rimane un privilegio di un amministratore.\n",
|
||||||
"profileSettings": "Impostazioni del profilo",
|
"profileSettings": "Impostazioni del profilo",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "impedisci l'accesso a qualsiasi file avente come prefisso un punto\n (ad esempio .git, .gitignore) presente in ogni cartella.\n",
|
"ruleExample1": "impedisci l'accesso a qualsiasi file avente come prefisso un punto\n (ad esempio .git, .gitignore) presente in ogni cartella.\n",
|
||||||
"ruleExample2": "blocca l'accesso al file denominato Caddyfile nella radice del campo di applicazione.",
|
"ruleExample2": "blocca l'accesso al file denominato Caddyfile nella radice del campo di applicazione.",
|
||||||
"rules": "Regole",
|
"rules": "Regole",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Gestione degli utenti",
|
"userManagement": "Gestione degli utenti",
|
||||||
"userUpdated": "Utente aggiornato!",
|
"userUpdated": "Utente aggiornato!",
|
||||||
"username": "Nome utente",
|
"username": "Nome utente",
|
||||||
"users": "Utenti"
|
"users": "Utenti",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Aiuto",
|
"help": "Aiuto",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "更新",
|
"update": "更新",
|
||||||
"upload": "アップロード",
|
"upload": "アップロード",
|
||||||
"openFile": "ファイルを開く",
|
"openFile": "ファイルを開く",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "ファイルのダウンロード",
|
"downloadFile": "ファイルのダウンロード",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "更新日時で並べ替え",
|
"sortByLastModified": "更新日時で並べ替え",
|
||||||
"sortByName": "名前で並べ替え",
|
"sortByName": "名前で並べ替え",
|
||||||
"sortBySize": "サイズで並べ替え",
|
"sortBySize": "サイズで並べ替え",
|
||||||
"noPreview": "プレビューはこのファイルでは利用できません"
|
"noPreview": "プレビューはこのファイルでは利用できません",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "ファイルやフォルダーを選択",
|
"click": "ファイルやフォルダーを選択",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "権限",
|
"permissions": "権限",
|
||||||
"permissionsHelp": "ユーザーを管理者に設定するか、その他の権限を個別に選択することができます。「管理者」を選択すると、他のオプションはすべて自動的にチェックされます。ユーザーを管理するには管理者権限が必要です。\n",
|
"permissionsHelp": "ユーザーを管理者に設定するか、その他の権限を個別に選択することができます。「管理者」を選択すると、他のオプションはすべて自動的にチェックされます。ユーザーを管理するには管理者権限が必要です。\n",
|
||||||
"profileSettings": "プロフィール設定",
|
"profileSettings": "プロフィール設定",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": ".git や .gitignore のようなドットから始まるファイルへのアクセスを禁止します。\n",
|
"ruleExample1": ".git や .gitignore のようなドットから始まるファイルへのアクセスを禁止します。\n",
|
||||||
"ruleExample2": "スコープのルートにある Caddyfile という名前のファイルへのアクセスを禁止します。",
|
"ruleExample2": "スコープのルートにある Caddyfile という名前のファイルへのアクセスを禁止します。",
|
||||||
"rules": "ルール",
|
"rules": "ルール",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "ユーザー管理",
|
"userManagement": "ユーザー管理",
|
||||||
"userUpdated": "ユーザーを更新しました!",
|
"userUpdated": "ユーザーを更新しました!",
|
||||||
"username": "ユーザー名",
|
"username": "ユーザー名",
|
||||||
"users": "ユーザー"
|
"users": "ユーザー",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "ヘルプ",
|
"help": "ヘルプ",
|
||||||
|
|||||||
+91
-74
@@ -14,7 +14,7 @@
|
|||||||
"file": "파일",
|
"file": "파일",
|
||||||
"folder": "폴더",
|
"folder": "폴더",
|
||||||
"fullScreen": "전체 화면 전환",
|
"fullScreen": "전체 화면 전환",
|
||||||
"hideDotfiles": "숨김파일(dotfile)을 표시 안함",
|
"hideDotfiles": "숨김파일(dotfile)을 표시 안 함",
|
||||||
"info": "정보",
|
"info": "정보",
|
||||||
"more": "더보기",
|
"more": "더보기",
|
||||||
"move": "이동",
|
"move": "이동",
|
||||||
@@ -28,22 +28,27 @@
|
|||||||
"publish": "게시",
|
"publish": "게시",
|
||||||
"rename": "이름 바꾸기",
|
"rename": "이름 바꾸기",
|
||||||
"replace": "대체",
|
"replace": "대체",
|
||||||
"reportIssue": "이슈 보내기",
|
"reportIssue": "문제 보고",
|
||||||
"save": "저장",
|
"save": "저장",
|
||||||
"schedule": "일정",
|
"schedule": "일정",
|
||||||
"search": "검색",
|
"search": "검색",
|
||||||
"select": "선택",
|
"select": "선택",
|
||||||
"selectMultiple": "다중 선택",
|
"selectMultiple": "다중 선택",
|
||||||
"share": "공유",
|
"share": "공유",
|
||||||
"shell": "쉘 전환",
|
"shell": "셸 전환",
|
||||||
"submit": "제출",
|
"submit": "제출",
|
||||||
"switchView": "보기 전환",
|
"switchView": "보기 전환",
|
||||||
"toggleSidebar": "사이드바 전환",
|
"toggleSidebar": "사이드바 전환",
|
||||||
"update": "업데이트",
|
"update": "업데이트",
|
||||||
"upload": "업로드",
|
"upload": "업로드",
|
||||||
"openFile": "파일 열기",
|
"openFile": "파일 열기",
|
||||||
|
"openDirect": "원본 보기",
|
||||||
"discardChanges": "변경 사항 취소",
|
"discardChanges": "변경 사항 취소",
|
||||||
"saveChanges": "변경사항 저장"
|
"stopSearch": "검색 중단",
|
||||||
|
"saveChanges": "변경사항 저장",
|
||||||
|
"editAsText": "텍스트로 편집",
|
||||||
|
"increaseFontSize": "글꼴 크기 증가",
|
||||||
|
"decreaseFontSize": "글꼴 크기 감소"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "파일 다운로드",
|
"downloadFile": "파일 다운로드",
|
||||||
@@ -66,27 +71,37 @@
|
|||||||
"folders": "폴더",
|
"folders": "폴더",
|
||||||
"home": "홈",
|
"home": "홈",
|
||||||
"lastModified": "최종 수정",
|
"lastModified": "최종 수정",
|
||||||
"loading": "로딩중...",
|
"loading": "불러오는 중...",
|
||||||
"lonely": "폴더가 비어 있습니다...",
|
"lonely": "외로워요... (비어 있음)",
|
||||||
"metadata": "메타데이터",
|
"metadata": "메타데이터",
|
||||||
"multipleSelectionEnabled": "다중 선택 켜짐",
|
"multipleSelectionEnabled": "다중 선택 켜짐",
|
||||||
"name": "이름",
|
"name": "이름",
|
||||||
"size": "크기",
|
"size": "크기",
|
||||||
"sortByLastModified": "수정시간순 정렬",
|
"sortByLastModified": "수정 시간으로 정렬",
|
||||||
"sortByName": "이름순",
|
"sortByName": "이름으로 정렬",
|
||||||
"sortBySize": "크기순",
|
"sortBySize": "크기로 정렬",
|
||||||
"noPreview": "미리 보기가 지원되지 않는 파일 유형입니다."
|
"noPreview": "미리 볼 수 없는 파일입니다.",
|
||||||
|
"csvTooLarge": "CSV 파일이 너무 커서 미리 볼 수 없습니다(5MB 초과). 다운로드 후 보시기 바랍니다.",
|
||||||
|
"csvLoadFailed": "CSV 파일을 불러오는 데 실패했습니다.",
|
||||||
|
"showingRows": "{count}개의 행 보기",
|
||||||
|
"columnSeparator": "열 구분자",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "반점 (,)",
|
||||||
|
"semicolon": "쌍반점 (;)",
|
||||||
|
"both": "(,) 및 (;) 모두"
|
||||||
|
},
|
||||||
|
"fileEncoding": "파일 인코딩"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "파일이나 디렉토리를 선택해주세요.",
|
"click": "파일 또는 디렉터리 선택",
|
||||||
"ctrl": {
|
"ctrl": {
|
||||||
"click": "여러 개의 파일이나 디렉토리를 선택해주세요.",
|
"click": "여러 개의 파일 또는 디렉터리 선택",
|
||||||
"f": "검색창 열기",
|
"f": "검색창 열기",
|
||||||
"s": "파일 또는 디렉토리 다운로드"
|
"s": "파일을 저장하거나 디렉터리를 다운로드"
|
||||||
},
|
},
|
||||||
"del": "선택된 파일 삭제",
|
"del": "선택된 파일 삭제",
|
||||||
"doubleClick": "파일 또는 디렉토리 열기",
|
"doubleClick": "파일 또는 디렉터리 열기",
|
||||||
"esc": "선택 취소/프롬프트 닫기",
|
"esc": "선택을 취소하고/또는 프롬프트 닫기",
|
||||||
"f1": "정보",
|
"f1": "정보",
|
||||||
"f2": "파일 이름 변경",
|
"f2": "파일 이름 변경",
|
||||||
"help": "도움말"
|
"help": "도움말"
|
||||||
@@ -96,49 +111,49 @@
|
|||||||
"loginInstead": "이미 계정이 있습니다",
|
"loginInstead": "이미 계정이 있습니다",
|
||||||
"password": "비밀번호",
|
"password": "비밀번호",
|
||||||
"passwordConfirm": "비밀번호 확인",
|
"passwordConfirm": "비밀번호 확인",
|
||||||
"passwordsDontMatch": "비밀번호가 일치하지 않습니다",
|
"passwordsDontMatch": "비밀번호가 일치하지 않음",
|
||||||
"signup": "가입하기",
|
"signup": "가입하기",
|
||||||
"submit": "로그인",
|
"submit": "로그인",
|
||||||
"username": "사용자 이름",
|
"username": "사용자 이름",
|
||||||
"usernameTaken": "사용자 이름이 존재합니다",
|
"usernameTaken": "사용자 이름이 존재함",
|
||||||
"wrongCredentials": "사용자 이름 또는 비밀번호를 확인하십시오",
|
"wrongCredentials": "사용자 이름 또는 비밀번호를 확인",
|
||||||
"passwordTooShort": "Password must be at least {min} characters",
|
"passwordTooShort": "비밀번호는 최소 {min}자 이상이어야 함",
|
||||||
"logout_reasons": {
|
"logout_reasons": {
|
||||||
"inactivity": "You have been logged out due to inactivity."
|
"inactivity": "활동이 없어 로그아웃 되었습니다."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permanent": "영구",
|
"permanent": "영구",
|
||||||
"prompts": {
|
"prompts": {
|
||||||
"copy": "복사",
|
"copy": "복사",
|
||||||
"copyMessage": "복사할 디렉토리:",
|
"copyMessage": "파일을 복사할 위치:",
|
||||||
"currentlyNavigating": "현재 위치:",
|
"currentlyNavigating": "현재 위치:",
|
||||||
"deleteMessageMultiple": "{count} 개의 파일을 삭제하시겠습니까?",
|
"deleteMessageMultiple": "정말 {count}개의 파일을 삭제하시겠습니까?",
|
||||||
"deleteMessageSingle": "파일 혹은 디렉토리를 삭제하시겠습니까?",
|
"deleteMessageSingle": "파일 혹은 디렉터리를 삭제하시겠습니까?",
|
||||||
"deleteMessageShare": "이 공유({path})를 삭제하시겠습니까?",
|
"deleteMessageShare": "이 공유({path})를 삭제하시겠습니까?",
|
||||||
"deleteUser": "이 계정을 삭제하시겠습니까?",
|
"deleteUser": "이 계정을 삭제하시겠습니까?",
|
||||||
"deleteTitle": "파일 삭제",
|
"deleteTitle": "파일 삭제",
|
||||||
"displayName": "게시 이름:",
|
"displayName": "표시 이름:",
|
||||||
"download": "파일 다운로드",
|
"download": "파일 다운로드",
|
||||||
"downloadMessage": "다운로드 포맷 설정.",
|
"downloadMessage": "다운로드 할 형식을 선택하십시오.",
|
||||||
"error": "에러 발생!",
|
"error": "에러 발생",
|
||||||
"fileInfo": "파일 정보",
|
"fileInfo": "파일 정보",
|
||||||
"filesSelected": "{count} 개의 파일이 선택되었습니다.",
|
"filesSelected": "{count}개의 파일을 선택했습니다.",
|
||||||
"lastModified": "최종 수정",
|
"lastModified": "최종 수정",
|
||||||
"move": "이동",
|
"move": "이동",
|
||||||
"moveMessage": "이동할 화일 또는 디렉토리를 선택하세요:",
|
"moveMessage": "파일 및 폴더의 새로운 위치를 선택:",
|
||||||
"newArchetype": "원형을 유지하는 포스트를 생성합니다. 파일은 컨텐트 폴더에 생성됩니다.",
|
"newArchetype": "원형을 유지하는 새 포스트를 생성합니다. 파일은 콘텐츠 폴더에 생성됩니다.",
|
||||||
"newDir": "새 디렉토리",
|
"newDir": "새 디렉터리",
|
||||||
"newDirMessage": "새 디렉토리 이름을 입력해주세요.",
|
"newDirMessage": "새 디렉터리의 이름을 입력해주세요.",
|
||||||
"newFile": "새 파일",
|
"newFile": "새 파일",
|
||||||
"newFileMessage": "새 파일 이름을 입력해주세요.",
|
"newFileMessage": "새 파일의 이름을 입력해주세요.",
|
||||||
"numberDirs": "디렉토리 수",
|
"numberDirs": "디렉터리 수",
|
||||||
"numberFiles": "파일 수",
|
"numberFiles": "파일 수",
|
||||||
"rename": "이름 변경",
|
"rename": "이름 변경",
|
||||||
"renameMessage": "새로운 이름을 입력하세요.",
|
"renameMessage": "새 이름을 입력:",
|
||||||
"replace": "대체하기",
|
"replace": "대체하기",
|
||||||
"replaceMessage": "동일한 파일 이름이 존재합니다. 현재 파일을 덮어쓸까요?\n",
|
"replaceMessage": "업로드하려는 파일 중 하나의 이름이 충돌합니다. 해당 파일을 건너뛰고 계속 업로드하시겠습니까, 아니면 기존 파일을 교체하시겠습니까?\n",
|
||||||
"schedule": "일정",
|
"schedule": "일정",
|
||||||
"scheduleMessage": "이 글을 공개할 시간을 알려주세요.",
|
"scheduleMessage": "이 포스트를 공개할 날짜와 시간을 선택하십시오.",
|
||||||
"show": "보기",
|
"show": "보기",
|
||||||
"size": "크기",
|
"size": "크기",
|
||||||
"upload": "업로드",
|
"upload": "업로드",
|
||||||
@@ -152,47 +167,47 @@
|
|||||||
"images": "이미지",
|
"images": "이미지",
|
||||||
"music": "음악",
|
"music": "음악",
|
||||||
"pdf": "PDF",
|
"pdf": "PDF",
|
||||||
"pressToSearch": "검색하려면 엔터를 입력하세요",
|
"pressToSearch": "엔터를 눌러 검색...",
|
||||||
"search": "검색...",
|
"search": "검색...",
|
||||||
"typeToSearch": "검색어 입력...",
|
"typeToSearch": "검색어 입력...",
|
||||||
"types": "Types",
|
"types": "유형",
|
||||||
"video": "비디오"
|
"video": "비디오"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"aceEditorTheme": "Ace editor theme",
|
"aceEditorTheme": "ACE 편집기 테마",
|
||||||
"admin": "관리자",
|
"admin": "관리자",
|
||||||
"administrator": "관리자",
|
"administrator": "관리자",
|
||||||
"allowCommands": "명령 실행",
|
"allowCommands": "명령 실행",
|
||||||
"allowEdit": "파일/디렉토리의 수정/변경/삭제 허용",
|
"allowEdit": "파일 또는 디렉터리의 수정, 이름 변경, 삭제를 허용",
|
||||||
"allowNew": "파일/디렉토리 생성 허용",
|
"allowNew": "파일 및 디렉터리 생성 허용",
|
||||||
"allowPublish": "새 포스트/페이지 생성 허용",
|
"allowPublish": "새 포스트 및 페이지 생성 허용",
|
||||||
"allowSignup": "사용자 가입 허용",
|
"allowSignup": "사용자 가입 허용",
|
||||||
"hideLoginButton": "Hide the login button from public pages",
|
"hideLoginButton": "공개 화면에서 로그인 버튼 숨기기",
|
||||||
"avoidChanges": "(수정하지 않으면 비워두세요)",
|
"avoidChanges": "(수정하지 않으려면 비워둠)",
|
||||||
"branding": "브랜딩",
|
"branding": "브랜딩",
|
||||||
"brandingDirectoryPath": "브랜드 디렉토리 경로",
|
"brandingDirectoryPath": "브랜드 디렉터리 경로",
|
||||||
"brandingHelp": "File Browser 인스턴스는 이름, 로고, 스타일 등을 변경할 수 있습니다. 자세한 사항은 여기{0}에서 확인하세요.",
|
"brandingHelp": "File Browser의 이름을 변경하고, 로고를 바꾸고, 사용자 지정 스타일을 추가하고, GitHub에 대한 외부 링크를 비활성화 하는 등 인스턴스의 모양과 느낌을 사용자화 할 수 있습니다.\n사용자 지정 브랜딩에 대한 자세한 내용은 {0}을(를) 참조하십시오.",
|
||||||
"changePassword": "비밀번호 변경",
|
"changePassword": "비밀번호 변경",
|
||||||
"commandRunner": "명령 실행기",
|
"commandRunner": "명령 실행기",
|
||||||
"commandRunnerHelp": "이벤트에 해당하는 명령을 설정하세요. 줄당 1개의 명령을 적으세요. 환경 변수{0} 와 {1}이 사용가능하며, {0} 은 {1}에 상대 경로 입니다. 자세한 사항은 {2} 를 참조하세요.",
|
"commandRunnerHelp": "여기서는 명명된 이벤트에서 실행될 명령을 설정할 수 있습니다. 한 줄에 하나씩 작성해야 합니다. 환경 변수 {0} 및 {1}을(를) 사용할 수 있으며, {0}은(는) {1}을 기준으로 합니다. 이 기능 및 사용 가능한 환경 변수에 대한 자세한 내용은 {2}을(를) 참조하십시오.",
|
||||||
"commandsUpdated": "명령 수정됨!",
|
"commandsUpdated": "명령 수정됨!",
|
||||||
"createUserDir": "Auto create user home dir while adding new user",
|
"createUserDir": "새로운 유저를 추가할 때 사용자 홈 디렉터리 자동 생성",
|
||||||
"minimumPasswordLength": "최소 비밀번호 길이",
|
"minimumPasswordLength": "최소 비밀번호 길이",
|
||||||
"tusUploads": "분할 업로드",
|
"tusUploads": "분할 업로드",
|
||||||
"tusUploadsHelp": "File Browser는 불안정한 네트워크에서도 효율적이고 신뢰성 있는 분할 업로드를 지원합니다.",
|
"tusUploadsHelp": "File Browser는 파일의 분할 업로드를 통해 불안정한 네트워크 환경에서도 효율적이고 안정적이며, 업로드 재개가 가능하도록 합니다.",
|
||||||
"tusUploadsChunkSize": "업로드 요청의 최대 크기 (예: 10MB, 1GB)",
|
"tusUploadsChunkSize": "업로드 요청의 최대 크기를 지정합니다(보다 작은 크기의 업로드는 직접 업로드 방식을 사용합니다). 바이트 크기를 나타내는 정수 또는 10MB, 1GB 등과 같은 문자열을 입력할 수 있습니다.",
|
||||||
"tusUploadsRetryCount": "업로드 실패 시 재시도 횟수",
|
"tusUploadsRetryCount": "분할 업로드를 실패할 경우 다시 시도할 횟수입니다.",
|
||||||
"userHomeBasePath": "사용자 홈 폴더 기본 경로",
|
"userHomeBasePath": "사용자 홈 디렉터리 기본 경로",
|
||||||
"userScopeGenerationPlaceholder": "범위는 자동으로 생성됩니다.",
|
"userScopeGenerationPlaceholder": "범위는 자동 생성",
|
||||||
"createUserHomeDirectory": "사용자 홈 폴더 생성",
|
"createUserHomeDirectory": "사용자 홈 디렉터리 생성",
|
||||||
"customStylesheet": "커스텀 스타일시트",
|
"customStylesheet": "사용자 지정 스타일시트",
|
||||||
"defaultUserDescription": "아래 사항은 신규 사용자들에 대한 기본 설정입니다.",
|
"defaultUserDescription": "다음은 신규 사용자들에 대한 기본 설정입니다.",
|
||||||
"disableExternalLinks": "외부 링크 감추기",
|
"disableExternalLinks": "외부 링크 비활성화(문서 제외)",
|
||||||
"disableUsedDiskPercentage": "Disable used disk percentage graph",
|
"disableUsedDiskPercentage": "사용한 디스크 비율 그래프 비활성화",
|
||||||
"documentation": "문서",
|
"documentation": "문서",
|
||||||
"examples": "예",
|
"examples": "예시",
|
||||||
"executeOnShell": "쉘에서 실행",
|
"executeOnShell": "셸에서 실행",
|
||||||
"executeOnShellDescription": "기본적으로 File Browser 는 바이너리를 명령어로 호출하여 실행합니다. 쉘을 통해 실행하기를 원한다면, Bash 또는 PowerShell 에 필요한 인수와 플래그를 설정하세요. 사용자 명령어와 이벤트 훅에 모두 적용됩니다.",
|
"executeOnShellDescription": "기본적으로 File Browser는 명령어를 해당 바이너리 파일로 직접 실행합니다. 만약 Bash나 PowerShell과 같은 셸에서 명령어를 실행하려면, 필요한 인수와 플래그를 설정하여 셸 환경을 정의할 수 있습니다. 플래그가 설정된 경우, 실행하는 명령어가 인수로 추가됩니다. 이는 사용자 명령어와 이벤트 후크 모두에 적용됩니다.",
|
||||||
"globalRules": "규칙에 대한 전역설정으로 모든 사용자에게 적용됩니다. 지정된 규칙은 사용자 설정을 덮어쓰기 합니다.",
|
"globalRules": "규칙에 대한 전역설정으로 모든 사용자에게 적용됩니다. 지정된 규칙은 사용자 설정을 덮어쓰기 합니다.",
|
||||||
"globalSettings": "전역 설정",
|
"globalSettings": "전역 설정",
|
||||||
"hideDotfiles": "숨김파일(dotfile)을 표시하지 않습니다.",
|
"hideDotfiles": "숨김파일(dotfile)을 표시하지 않습니다.",
|
||||||
@@ -208,44 +223,46 @@
|
|||||||
"passwordUpdated": "비밀번호 수정 완료!",
|
"passwordUpdated": "비밀번호 수정 완료!",
|
||||||
"path": "경로",
|
"path": "경로",
|
||||||
"perm": {
|
"perm": {
|
||||||
"create": "파일이나 디렉토리 생성하기",
|
"create": "파일 및 디렉터리 생성하기",
|
||||||
"delete": "화일이나 디렉토리 삭제하기",
|
"delete": "파일 및 디렉터리 삭제하기",
|
||||||
"download": "다운로드",
|
"download": "다운로드",
|
||||||
"execute": "명령 실행",
|
"execute": "명령 실행",
|
||||||
"modify": "파일 편집",
|
"modify": "파일 편집",
|
||||||
"rename": "파일 이름 변경 또는 디렉토리 이동",
|
"rename": "파일 및 디렉터리의 이름 변경 또는 이동",
|
||||||
"share": "파일 공유하기"
|
"share": "파일 공유하기"
|
||||||
},
|
},
|
||||||
"permissions": "권한",
|
"permissions": "권한",
|
||||||
"permissionsHelp": "사용자를 관리자로 만들거나 권한을 부여할 수 있습니다. 관리자를 선택하면, 모든 옵션이 자동으로 선택됩니다. 사용자 관리는 현재 관리자만 할 수 있습니다.\n",
|
"permissionsHelp": "사용자를 관리자로 설정하거나 개별적으로 권한을 지정할 수 있습니다. \"관리자\"를 선택하면 다른 모든 옵션이 자동으로 선택됩니다. 사용자 관리는 관리자의 권한입니다.\n",
|
||||||
"profileSettings": "프로필 설정",
|
"profileSettings": "프로필 설정",
|
||||||
"ruleExample1": "점(.)으로 시작하는 모든 파일의 접근을 방지합니다.(예 .git, .gitignore)\n",
|
"redirectAfterCopyMove": "복사/이동 후 대상 경로로 이동",
|
||||||
|
"ruleExample1": "각 폴더에 점(.)으로 시작하는 모든 파일의 접근을 방지합니다. (예시: .git, .gitignore)\n",
|
||||||
"ruleExample2": "Caddyfile파일의 접근을 방지합니다.",
|
"ruleExample2": "Caddyfile파일의 접근을 방지합니다.",
|
||||||
"rules": "룰",
|
"rules": "규칙",
|
||||||
"rulesHelp": "사용자별로 규칙을 허용/방지를 지정할 수 있습니다. 방지된 파일은 보이지 않고 사용자들은 접근할 수 없습니다. 사용자의 접근 허용 범위와 관련해 정규표현식(regex)과 경로를 지원합니다.\n",
|
"rulesHelp": "여기에서 특정 사용자에 대한 허용 및 차단 규칙 집합을 정의할 수 있습니다. 차단된 파일은 목록에 표시되지 않으며 해당 사용자는 접근할 수 없습니다. 정규 표현식과 사용자 범위에 대한 상대 경로를 지원합니다.\n",
|
||||||
"scope": "범위",
|
"scope": "범위",
|
||||||
"setDateFormat": "날짜 형식 설정",
|
"setDateFormat": "날짜 형식 설정",
|
||||||
"settingsUpdated": "설정 수정됨!",
|
"settingsUpdated": "설정 수정됨!",
|
||||||
"shareDuration": "공유 기간",
|
"shareDuration": "공유 기간",
|
||||||
"shareManagement": "공유 내역 관리",
|
"shareManagement": "공유 내역 관리",
|
||||||
"shareDeleted": "공유 삭제됨!",
|
"shareDeleted": "공유 삭제됨!",
|
||||||
"singleClick": "한번 클릭으로 파일과 폴더를 열도록 합니다.",
|
"singleClick": "단일 클릭으로 파일 및 디렉터리 열기",
|
||||||
"themes": {
|
"themes": {
|
||||||
"default": "시스템 기본값",
|
"default": "시스템 기본값",
|
||||||
"dark": "다크테마",
|
"dark": "어두운 테마",
|
||||||
"light": "라이트테마",
|
"light": "밝은 테마",
|
||||||
"title": "테마"
|
"title": "테마"
|
||||||
},
|
},
|
||||||
"user": "사용자",
|
"user": "사용자",
|
||||||
"userCommands": "명령어",
|
"userCommands": "명령어",
|
||||||
"userCommandsHelp": "사용에게 허용할 명령어를 공백으로 구분하여 입력하세요. 예:\n",
|
"userCommandsHelp": "사용자에게 허용할 명령어를 공백으로 구분하여 입력하세요. 예:\n",
|
||||||
"userCreated": "사용자 생성됨!",
|
"userCreated": "사용자 생성됨!",
|
||||||
"userDefaults": "사용자 기본 설정",
|
"userDefaults": "사용자 기본 설정",
|
||||||
"userDeleted": "사용자 삭제됨!",
|
"userDeleted": "사용자 삭제됨!",
|
||||||
"userManagement": "사용자 관리",
|
"userManagement": "사용자 관리",
|
||||||
"userUpdated": "사용자 수정됨!",
|
"userUpdated": "사용자 수정됨!",
|
||||||
"username": "사용자 이름",
|
"username": "사용자 이름",
|
||||||
"users": "사용자"
|
"users": "사용자",
|
||||||
|
"currentPassword": "현재 비밀번호"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "도움말",
|
"help": "도움말",
|
||||||
@@ -268,6 +285,6 @@
|
|||||||
"hours": "시",
|
"hours": "시",
|
||||||
"minutes": "분",
|
"minutes": "분",
|
||||||
"seconds": "초",
|
"seconds": "초",
|
||||||
"unit": "Time Unit"
|
"unit": "시간 단위"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,290 @@
|
|||||||
|
{
|
||||||
|
"buttons": {
|
||||||
|
"cancel": "Atcelt",
|
||||||
|
"clear": "Tīrs",
|
||||||
|
"close": "Aizvērt",
|
||||||
|
"continue": "Turpināt",
|
||||||
|
"copy": "Kopēt",
|
||||||
|
"copyFile": "Kopēt failu",
|
||||||
|
"copyToClipboard": "Kopēt starpliktuvē",
|
||||||
|
"copyDownloadLinkToClipboard": "Kopēt lejupielādes saiti starpliktuvē",
|
||||||
|
"create": "Izveidot",
|
||||||
|
"delete": "Dzēst",
|
||||||
|
"download": "Lejupielādēt",
|
||||||
|
"file": "Fails",
|
||||||
|
"folder": "Mape",
|
||||||
|
"fullScreen": "Pārslēgt pilnekrāna režīmu",
|
||||||
|
"hideDotfiles": "Slēpt punktfailus",
|
||||||
|
"info": "Informācija",
|
||||||
|
"more": "Vairāk",
|
||||||
|
"move": "Pārvietot",
|
||||||
|
"moveFile": "Pārvietot failu",
|
||||||
|
"new": "Jauns",
|
||||||
|
"next": "Nākamais",
|
||||||
|
"ok": "Labi",
|
||||||
|
"permalink": "Iegūt pastāvīgo saiti",
|
||||||
|
"previous": "Iepriekšējais",
|
||||||
|
"preview": "Priekšskatījums",
|
||||||
|
"publish": "Publicēt",
|
||||||
|
"rename": "Pārdēvēt",
|
||||||
|
"replace": "Aizstāt",
|
||||||
|
"reportIssue": "Ziņot par problēmu",
|
||||||
|
"save": "Saglabāt",
|
||||||
|
"schedule": "Grafiks",
|
||||||
|
"search": "Meklēt",
|
||||||
|
"select": "Izvēlieties",
|
||||||
|
"selectMultiple": "Izvēlieties vairākus",
|
||||||
|
"share": "Dalīties",
|
||||||
|
"shell": "Pārslēgt apvalku",
|
||||||
|
"submit": "Iesniegt",
|
||||||
|
"switchView": "Pārslēgt skatu",
|
||||||
|
"toggleSidebar": "Pārslēgt sānjoslu",
|
||||||
|
"update": "Atjaunināt",
|
||||||
|
"upload": "Augšupielādēt",
|
||||||
|
"openFile": "Atvērt failu",
|
||||||
|
"openDirect": "View raw",
|
||||||
|
"discardChanges": "Izmest",
|
||||||
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Saglabāt izmaiņas",
|
||||||
|
"editAsText": "Rediģēt kā tekstu",
|
||||||
|
"increaseFontSize": "Palieliniet fonta lielumu",
|
||||||
|
"decreaseFontSize": "Samaziniet fonta lielumu"
|
||||||
|
},
|
||||||
|
"download": {
|
||||||
|
"downloadFile": "Lejupielādēt failu",
|
||||||
|
"downloadFolder": "Lejupielādēt mapi",
|
||||||
|
"downloadSelected": "Lejupielādēt atlasīto"
|
||||||
|
},
|
||||||
|
"upload": {
|
||||||
|
"abortUpload": "Vai tiešām vēlaties pārtraukt?"
|
||||||
|
},
|
||||||
|
"errors": {
|
||||||
|
"forbidden": "Jums nav atļaujas piekļūt šim.",
|
||||||
|
"internal": "Kaut kas tiešām nogāja greizi.",
|
||||||
|
"notFound": "Šo atrašanās vietu nevar sasniegt.",
|
||||||
|
"connection": "Ar serveri nevar sazināties."
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"body": "Ķermenis",
|
||||||
|
"closePreview": "Aizvērt priekšskatījumu",
|
||||||
|
"files": "Faili",
|
||||||
|
"folders": "Mapes",
|
||||||
|
"home": "Sākums",
|
||||||
|
"lastModified": "Pēdējoreiz modificēts",
|
||||||
|
"loading": "Notiek ielāde...",
|
||||||
|
"lonely": "Šeit ir tukša vieta...",
|
||||||
|
"metadata": "Metadati",
|
||||||
|
"multipleSelectionEnabled": "Vairākas atlases ir iespējotas",
|
||||||
|
"name": "Vārds",
|
||||||
|
"size": "Izmērs",
|
||||||
|
"sortByLastModified": "Kārtot pēc pēdējās modifikācijas",
|
||||||
|
"sortByName": "Kārtot pēc nosaukuma",
|
||||||
|
"sortBySize": "Kārtot pēc izmēra",
|
||||||
|
"noPreview": "Šim failam nav pieejams priekšskatījums.",
|
||||||
|
"csvTooLarge": "CSV fails ir pārāk liels priekšskatīšanai (>5 MB). Lūdzu, lejupielādējiet to, lai skatītu",
|
||||||
|
"csvLoadFailed": "Neizdevās ielādēt CSV failu.",
|
||||||
|
"showingRows": "Rāda {count} rindu(as)",
|
||||||
|
"columnSeparator": "Kolonnu atdalītājs",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Komats (,)",
|
||||||
|
"semicolon": "Semikols (;)",
|
||||||
|
"both": "Gan (,) gan (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
|
},
|
||||||
|
"help": {
|
||||||
|
"click": "atlasiet failu vai direktoriju",
|
||||||
|
"ctrl": {
|
||||||
|
"click": "atlasīt vairākus failus vai direktorijus",
|
||||||
|
"f": "atver meklēšanu",
|
||||||
|
"s": "saglabājiet failu vai lejupielādējiet direktoriju, kurā atrodaties"
|
||||||
|
},
|
||||||
|
"del": "dzēst atlasītos vienumus",
|
||||||
|
"doubleClick": "atvērt failu vai direktoriju",
|
||||||
|
"esc": "notīrīt atlasi un/vai aizvērt uzvedni",
|
||||||
|
"f1": "šo informāciju",
|
||||||
|
"f2": "pārdēvēt failu",
|
||||||
|
"help": "Palīdzība"
|
||||||
|
},
|
||||||
|
"login": {
|
||||||
|
"createAnAccount": "Izveidot kontu",
|
||||||
|
"loginInstead": "Jau ir konts",
|
||||||
|
"password": "Parole",
|
||||||
|
"passwordConfirm": "Paroles apstiprināšana",
|
||||||
|
"passwordsDontMatch": "Paroles nesakrīt",
|
||||||
|
"signup": "Reģistrēšanās",
|
||||||
|
"submit": "Pieteikties",
|
||||||
|
"username": "Lietotājvārds",
|
||||||
|
"usernameTaken": "Lietotājvārds jau aizņemts",
|
||||||
|
"wrongCredentials": "Nepareizi akreditācijas dati",
|
||||||
|
"passwordTooShort": "Parolei jābūt vismaz {min} rakstzīmju garai",
|
||||||
|
"logout_reasons": {
|
||||||
|
"inactivity": "Jūs esat atteicies no sistēmas neaktivitātes dēļ."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"permanent": "Pastāvīgs",
|
||||||
|
"prompts": {
|
||||||
|
"copy": "Kopēt",
|
||||||
|
"copyMessage": "Izvēlieties atrašanās vietu, uz kuru kopēt failus:",
|
||||||
|
"currentlyNavigating": "Pašlaik navigācija:",
|
||||||
|
"deleteMessageMultiple": "Vai tiešām vēlaties dzēst {count} failu(s)?",
|
||||||
|
"deleteMessageSingle": "Vai tiešām vēlaties dzēst šo failu/mapi?",
|
||||||
|
"deleteMessageShare": "Vai tiešām vēlaties dzēst šo koplietojumu({path})?",
|
||||||
|
"deleteUser": "Vai tiešām vēlaties dzēst šo lietotāju?",
|
||||||
|
"deleteTitle": "Dzēst failus",
|
||||||
|
"displayName": "Displeja nosaukums:",
|
||||||
|
"download": "Lejupielādēt failus",
|
||||||
|
"downloadMessage": "Izvēlieties formātu, kuru vēlaties lejupielādēt.",
|
||||||
|
"error": "Kaut kas nogāja greizi",
|
||||||
|
"fileInfo": "Informācija par failu",
|
||||||
|
"filesSelected": "{count} atlasīti faili",
|
||||||
|
"lastModified": "Pēdējās izmaiņas",
|
||||||
|
"move": "Pārvietot",
|
||||||
|
"moveMessage": "Izvēlieties jaunu mājvietu failam(iem)/mapei(ēm):",
|
||||||
|
"newArchetype": "Izveidojiet jaunu ierakstu, pamatojoties uz arhtipu. Jūsu fails tiks izveidots satura mapē.",
|
||||||
|
"newDir": "Jauna direktorija",
|
||||||
|
"newDirMessage": "Nosaukums savai jaunajai direktorijai.",
|
||||||
|
"newFile": "Jauns fails",
|
||||||
|
"newFileMessage": "Nosauciet savu jauno failu.",
|
||||||
|
"numberDirs": "Katalogu skaits",
|
||||||
|
"numberFiles": "Failu skaits",
|
||||||
|
"rename": "Pārdēvēt",
|
||||||
|
"renameMessage": "Ievietojiet jaunu nosaukumu",
|
||||||
|
"replace": "Aizstāt",
|
||||||
|
"replaceMessage": "Vienam no failiem, kurus mēģināt augšupielādēt, ir konfliktējošs nosaukums. Vai vēlaties izlaist šo failu un turpināt augšupielādi vai aizstāt esošo?\n",
|
||||||
|
"schedule": "Grafiks",
|
||||||
|
"scheduleMessage": "Izvēlieties datumu un laiku, lai ieplānotu šī ieraksta publicēšanu.",
|
||||||
|
"show": "Rādīt",
|
||||||
|
"size": "Izmērs",
|
||||||
|
"upload": "Augšupielādēt",
|
||||||
|
"uploadFiles": "Notiek {files} failu augšupielāde...",
|
||||||
|
"uploadMessage": "Atlasiet augšupielādes opciju.",
|
||||||
|
"optionalPassword": "Izvēles parole",
|
||||||
|
"resolution": "Izšķirtspēja",
|
||||||
|
"discardEditorChanges": "Vai tiešām vēlaties atmest veiktās izmaiņas?"
|
||||||
|
},
|
||||||
|
"search": {
|
||||||
|
"images": "Attēli",
|
||||||
|
"music": "Mūzika",
|
||||||
|
"pdf": "PDF",
|
||||||
|
"pressToSearch": "Nospiediet taustiņu Enter, lai meklētu...",
|
||||||
|
"search": "Meklē...",
|
||||||
|
"typeToSearch": "Ierakstiet, lai meklētu...",
|
||||||
|
"types": "Veidi",
|
||||||
|
"video": "Video"
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"aceEditorTheme": "Ace redaktora tēma",
|
||||||
|
"admin": "Admin",
|
||||||
|
"administrator": "Administrator",
|
||||||
|
"allowCommands": "Izpildīt komandas",
|
||||||
|
"allowEdit": "Rediģēt, pārdēvēt un dzēst failus vai direktorijus",
|
||||||
|
"allowNew": "Izveidojiet jaunus failus un direktorijus",
|
||||||
|
"allowPublish": "Publicēt jaunus ierakstus un lapas",
|
||||||
|
"allowSignup": "Atļaut lietotājiem reģistrēties",
|
||||||
|
"hideLoginButton": "Paslēpt pieteikšanās pogu publiskajās lapās",
|
||||||
|
"avoidChanges": "(atstājiet tukšu, lai izvairītos no izmaiņām)",
|
||||||
|
"branding": "Zīmols",
|
||||||
|
"brandingDirectoryPath": "Zīmola direktorijas ceļš",
|
||||||
|
"brandingHelp": "Jūs varat pielāgot sava failu pārlūka instances izskatu un darbību, mainot tās nosaukumu, aizstājot logotipu, pievienojot pielāgotus stilus un pat atspējojot ārējās saites uz GitHub.\nLai iegūtu plašāku informāciju par pielāgotu zīmola veidošanu, lūdzu, skatiet {0}.",
|
||||||
|
"changePassword": "Mainīt paroli",
|
||||||
|
"commandRunner": "Komandu skrējējs",
|
||||||
|
"commandRunnerHelp": "Šeit varat iestatīt komandas, kas tiek izpildītas nosauktajos notikumos. Katrā rindā jāraksta pa vienai. Būs pieejami vides mainīgie {0} un {1}, kas ir {0} relatīvi pret {1}. Lai iegūtu plašāku informāciju par šo funkciju un pieejamajiem vides mainīgajiem, lūdzu, izlasiet {2}.",
|
||||||
|
"commandsUpdated": "Komandas atjauninātas!",
|
||||||
|
"createUserDir": "Automātiski izveidot lietotāja mājas direktoriju, pievienojot jaunu lietotāju",
|
||||||
|
"minimumPasswordLength": "Minimālais paroles garums",
|
||||||
|
"tusUploads": "Sadalītas augšupielādes",
|
||||||
|
"tusUploadsHelp": "Failu pārlūks atbalsta failu augšupielādi fragmentos, ļaujot izveidot efektīvu, uzticamu, atsākamu un fragmentos sadalītu failu augšupielādi pat neuzticamos tīklos.",
|
||||||
|
"tusUploadsChunkSize": "Norāda pieprasījuma maksimālo izmēru (mazākiem augšupielādes apjomiem tiks izmantota tieša augšupielāde). Varat ievadīt vienkāršu veselu skaitli, kas apzīmē baitu izmēru, vai virkni, piemēram, 10 MB, 1 GB utt.",
|
||||||
|
"tusUploadsRetryCount": "Atkārtotu mēģinājumu skaits, kas jāveic, ja fragmenta augšupielāde neizdodas.",
|
||||||
|
"userHomeBasePath": "Lietotāja mājas direktoriju bāzes ceļš",
|
||||||
|
"userScopeGenerationPlaceholder": "Darbības joma tiks ģenerēta automātiski",
|
||||||
|
"createUserHomeDirectory": "Izveidojiet lietotāja mājas direktoriju",
|
||||||
|
"customStylesheet": "Pielāgota stila lapa",
|
||||||
|
"defaultUserDescription": "Šie ir noklusējuma iestatījumi jaunajiem lietotājiem.",
|
||||||
|
"disableExternalLinks": "Atspējot ārējās saites (izņemot dokumentāciju)",
|
||||||
|
"disableUsedDiskPercentage": "Atspējot izmantotā diska procentuālās daļas grafiku",
|
||||||
|
"documentation": "dokumentācija",
|
||||||
|
"examples": "Piemēri",
|
||||||
|
"executeOnShell": "Izpildīt uz čaulas",
|
||||||
|
"executeOnShellDescription": "Pēc noklusējuma failu pārlūks izpilda komandas, tieši izsaucot to bināros failus. Ja vēlaties tās palaist čaulā (piemēram, Bash vai PowerShell), varat to definēt šeit ar nepieciešamajiem argumentiem un karodziņiem. Ja tas ir iestatīts, izpildītā komanda tiks pievienota kā arguments. Tas attiecas gan uz lietotāja komandām, gan notikumu piesaistes rīkiem.",
|
||||||
|
"globalRules": "Šis ir globāls atļaušanas un aizliegšanas noteikumu kopums. Tie attiecas uz katru lietotāju. Katra lietotāja iestatījumos varat definēt konkrētus noteikumus, lai tos ignorētu.",
|
||||||
|
"globalSettings": "Globālie iestatījumi",
|
||||||
|
"hideDotfiles": "Slēpt punktfailus",
|
||||||
|
"insertPath": "Ievietojiet ceļu",
|
||||||
|
"insertRegex": "Ievietojiet regex izteiksmi",
|
||||||
|
"instanceName": "Gadījuma nosaukums",
|
||||||
|
"language": "Valoda",
|
||||||
|
"lockPassword": "Neļaut lietotājam mainīt paroli",
|
||||||
|
"newPassword": "Jūsu jaunā parole",
|
||||||
|
"newPasswordConfirm": "Apstipriniet savu jauno paroli",
|
||||||
|
"newUser": "Jauns lietotājs",
|
||||||
|
"password": "Parole",
|
||||||
|
"passwordUpdated": "Parole atjaunināta!",
|
||||||
|
"path": "Ceļš",
|
||||||
|
"perm": {
|
||||||
|
"create": "Izveidojiet failus un direktorijus",
|
||||||
|
"delete": "Dzēst failus un direktorijus",
|
||||||
|
"download": "Lejupielādēt",
|
||||||
|
"execute": "Izpildīt komandas",
|
||||||
|
"modify": "Rediģēt failus",
|
||||||
|
"rename": "Pārdēvēt vai pārvietot failus un direktorijus",
|
||||||
|
"share": "Kopīgojiet failus"
|
||||||
|
},
|
||||||
|
"permissions": "Atļaujas",
|
||||||
|
"permissionsHelp": "Varat iestatīt lietotāju kā administratoru vai izvēlēties atļaujas individuāli. Ja atlasīsiet “Administrators”, visas pārējās opcijas tiks automātiski atzīmētas. Lietotāju pārvaldība joprojām ir administratora privilēģija.\n",
|
||||||
|
"profileSettings": "Profila iestatījumi",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
|
"ruleExample1": "neļauj piekļūt jebkuram dotfile failam (piemēram, .git, .gitignore) katrā mapē.\n",
|
||||||
|
"ruleExample2": "bloķē piekļuvi failam ar nosaukumu Caddyfile darbības jomas saknē.",
|
||||||
|
"rules": "Noteikumi",
|
||||||
|
"rulesHelp": "Šeit varat definēt atļaušanas un aizliegšanas noteikumu kopu šim konkrētajam lietotājam. Bloķētie faili netiks rādīti sarakstos, un lietotājs tiem nevarēs piekļūt. Mēs atbalstām regulārās izteiksmes un ceļus attiecībā pret lietotāja darbības jomu.\n",
|
||||||
|
"scope": "Darbības joma",
|
||||||
|
"setDateFormat": "Iestatiet precīzu datuma formātu",
|
||||||
|
"settingsUpdated": "Iestatījumi atjaunināti!",
|
||||||
|
"shareDuration": "Kopīgošanas ilgums",
|
||||||
|
"shareManagement": "Kopīgošanas pārvaldība",
|
||||||
|
"shareDeleted": "Kopīgošana ir izdzēsta!",
|
||||||
|
"singleClick": "Failu un direktoriju atvēršanai izmantojiet vienus klikšķi",
|
||||||
|
"themes": {
|
||||||
|
"default": "Sistēmas noklusējums",
|
||||||
|
"dark": "Tumša",
|
||||||
|
"light": "Gaiša",
|
||||||
|
"title": "Tēma"
|
||||||
|
},
|
||||||
|
"user": "Lietotājs",
|
||||||
|
"userCommands": "Komandas",
|
||||||
|
"userCommandsHelp": "Ar atstarpi atdalīts saraksts ar šim lietotājam pieejamajām komandām. Piemērs:\n",
|
||||||
|
"userCreated": "Lietotājs izveidots!",
|
||||||
|
"userDefaults": "Lietotāja noklusējuma iestatījumi",
|
||||||
|
"userDeleted": "Lietotājs izdzēsts!",
|
||||||
|
"userManagement": "Lietotāju pārvaldība",
|
||||||
|
"userUpdated": "Lietotājs atjaunināts!",
|
||||||
|
"username": "Lietotājvārds",
|
||||||
|
"users": "Lietotāji",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
|
},
|
||||||
|
"sidebar": {
|
||||||
|
"help": "Palīdzība",
|
||||||
|
"hugoNew": "Hugo Jauns",
|
||||||
|
"login": "Pieteikties",
|
||||||
|
"logout": "Atteikties",
|
||||||
|
"myFiles": "Mani faili",
|
||||||
|
"newFile": "Jauns fails",
|
||||||
|
"newFolder": "Jauna mape",
|
||||||
|
"preview": "Priekšskatījums",
|
||||||
|
"settings": "Iestatījumi",
|
||||||
|
"signup": "Reģistrēties",
|
||||||
|
"siteSettings": "Vietnes iestatījumi"
|
||||||
|
},
|
||||||
|
"success": {
|
||||||
|
"linkCopied": "Saite nokopēta!"
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"days": "Dienas",
|
||||||
|
"hours": "Stundas",
|
||||||
|
"minutes": "Minūtes",
|
||||||
|
"seconds": "Sekundes",
|
||||||
|
"unit": "Laika vienība"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,290 @@
|
|||||||
|
{
|
||||||
|
"buttons": {
|
||||||
|
"cancel": "Atcelt",
|
||||||
|
"clear": "Tīrs",
|
||||||
|
"close": "Aizvērt",
|
||||||
|
"continue": "Turpināt",
|
||||||
|
"copy": "Kopēt",
|
||||||
|
"copyFile": "Kopēt failu",
|
||||||
|
"copyToClipboard": "Kopēt starpliktuvē",
|
||||||
|
"copyDownloadLinkToClipboard": "Kopēt lejupielādes saiti starpliktuvē",
|
||||||
|
"create": "Izveidot",
|
||||||
|
"delete": "Dzēst",
|
||||||
|
"download": "Lejupielādēt",
|
||||||
|
"file": "Fails",
|
||||||
|
"folder": "Mape",
|
||||||
|
"fullScreen": "Pārslēgt pilnekrāna režīmu",
|
||||||
|
"hideDotfiles": "Slēpt punktfailus",
|
||||||
|
"info": "Informācija",
|
||||||
|
"more": "Vairāk",
|
||||||
|
"move": "Pārvietot",
|
||||||
|
"moveFile": "Pārvietot failu",
|
||||||
|
"new": "Jauns",
|
||||||
|
"next": "Nākamais",
|
||||||
|
"ok": "Labi",
|
||||||
|
"permalink": "Iegūt pastāvīgo saiti",
|
||||||
|
"previous": "Iepriekšējais",
|
||||||
|
"preview": "Priekšskatījums",
|
||||||
|
"publish": "Publicēt",
|
||||||
|
"rename": "Pārdēvēt",
|
||||||
|
"replace": "Aizstāt",
|
||||||
|
"reportIssue": "Ziņot par problēmu",
|
||||||
|
"save": "Saglabāt",
|
||||||
|
"schedule": "Grafiks",
|
||||||
|
"search": "Meklēt",
|
||||||
|
"select": "Izvēlieties",
|
||||||
|
"selectMultiple": "Izvēlieties vairākus",
|
||||||
|
"share": "Dalīties",
|
||||||
|
"shell": "Pārslēgt apvalku",
|
||||||
|
"submit": "Iesniegt",
|
||||||
|
"switchView": "Pārslēgt skatu",
|
||||||
|
"toggleSidebar": "Pārslēgt sānjoslu",
|
||||||
|
"update": "Atjaunināt",
|
||||||
|
"upload": "Augšupielādēt",
|
||||||
|
"openFile": "Atvērt failu",
|
||||||
|
"openDirect": "View raw",
|
||||||
|
"discardChanges": "Izmest",
|
||||||
|
"stopSearch": "Beigt meklēšanu",
|
||||||
|
"saveChanges": "Saglabāt izmaiņas",
|
||||||
|
"editAsText": "Rediģēt kā tekstu",
|
||||||
|
"increaseFontSize": "Palieliniet fonta lielumu",
|
||||||
|
"decreaseFontSize": "Samaziniet fonta lielumu"
|
||||||
|
},
|
||||||
|
"download": {
|
||||||
|
"downloadFile": "Lejupielādēt failu",
|
||||||
|
"downloadFolder": "Lejupielādēt mapi",
|
||||||
|
"downloadSelected": "Lejupielādēt atlasīto"
|
||||||
|
},
|
||||||
|
"upload": {
|
||||||
|
"abortUpload": "Vai tiešām vēlaties pārtraukt?"
|
||||||
|
},
|
||||||
|
"errors": {
|
||||||
|
"forbidden": "Jums nav atļaujas piekļūt šim.",
|
||||||
|
"internal": "Kaut kas tiešām nogāja greizi.",
|
||||||
|
"notFound": "Šo atrašanās vietu nevar sasniegt.",
|
||||||
|
"connection": "Ar serveri nevar sazināties."
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"body": "Ķermenis",
|
||||||
|
"closePreview": "Aizvērt priekšskatījumu",
|
||||||
|
"files": "Faili",
|
||||||
|
"folders": "Mapes",
|
||||||
|
"home": "Sākums",
|
||||||
|
"lastModified": "Pēdējoreiz modificēts",
|
||||||
|
"loading": "Notiek ielāde...",
|
||||||
|
"lonely": "Šeit ir tukša vieta...",
|
||||||
|
"metadata": "Metadati",
|
||||||
|
"multipleSelectionEnabled": "Vairākas atlases ir iespējotas",
|
||||||
|
"name": "Vārds",
|
||||||
|
"size": "Izmērs",
|
||||||
|
"sortByLastModified": "Kārtot pēc pēdējās modifikācijas",
|
||||||
|
"sortByName": "Kārtot pēc nosaukuma",
|
||||||
|
"sortBySize": "Kārtot pēc izmēra",
|
||||||
|
"noPreview": "Šim failam nav pieejams priekšskatījums.",
|
||||||
|
"csvTooLarge": "CSV fails ir pārāk liels priekšskatīšanai (>5 MB). Lūdzu, lejupielādējiet to, lai skatītu",
|
||||||
|
"csvLoadFailed": "Neizdevās ielādēt CSV failu.",
|
||||||
|
"showingRows": "Rāda {count} rindu(as)",
|
||||||
|
"columnSeparator": "Kolonnu atdalītājs",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Komats (,)",
|
||||||
|
"semicolon": "Semikols (;)",
|
||||||
|
"both": "Gan (,) gan (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
|
},
|
||||||
|
"help": {
|
||||||
|
"click": "atlasiet failu vai direktoriju",
|
||||||
|
"ctrl": {
|
||||||
|
"click": "atlasīt vairākus failus vai direktorijus",
|
||||||
|
"f": "atver meklēšanu",
|
||||||
|
"s": "saglabājiet failu vai lejupielādējiet direktoriju, kurā atrodaties"
|
||||||
|
},
|
||||||
|
"del": "dzēst atlasītos vienumus",
|
||||||
|
"doubleClick": "atvērt failu vai direktoriju",
|
||||||
|
"esc": "notīrīt atlasi un/vai aizvērt uzvedni",
|
||||||
|
"f1": "šo informāciju",
|
||||||
|
"f2": "pārdēvēt failu",
|
||||||
|
"help": "Palīdzība"
|
||||||
|
},
|
||||||
|
"login": {
|
||||||
|
"createAnAccount": "Izveidot kontu",
|
||||||
|
"loginInstead": "Jau ir konts",
|
||||||
|
"password": "Parole",
|
||||||
|
"passwordConfirm": "Paroles apstiprināšana",
|
||||||
|
"passwordsDontMatch": "Paroles nesakrīt",
|
||||||
|
"signup": "Reģistrēšanās",
|
||||||
|
"submit": "Pieteikties",
|
||||||
|
"username": "Lietotājvārds",
|
||||||
|
"usernameTaken": "Lietotājvārds jau aizņemts",
|
||||||
|
"wrongCredentials": "Nepareizi akreditācijas dati",
|
||||||
|
"passwordTooShort": "Parolei jābūt vismaz {min} rakstzīmju garai",
|
||||||
|
"logout_reasons": {
|
||||||
|
"inactivity": "Jūs esat atteicies no sistēmas neaktivitātes dēļ."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"permanent": "Pastāvīgs",
|
||||||
|
"prompts": {
|
||||||
|
"copy": "Kopēt",
|
||||||
|
"copyMessage": "Izvēlieties atrašanās vietu, uz kuru kopēt failus:",
|
||||||
|
"currentlyNavigating": "Pašlaik navigācija:",
|
||||||
|
"deleteMessageMultiple": "Vai tiešām vēlaties dzēst {count} failu(s)?",
|
||||||
|
"deleteMessageSingle": "Vai tiešām vēlaties dzēst šo failu/mapi?",
|
||||||
|
"deleteMessageShare": "Vai tiešām vēlaties dzēst šo koplietojumu({path})?",
|
||||||
|
"deleteUser": "Vai tiešām vēlaties dzēst šo lietotāju?",
|
||||||
|
"deleteTitle": "Dzēst failus",
|
||||||
|
"displayName": "Displeja nosaukums:",
|
||||||
|
"download": "Lejupielādēt failus",
|
||||||
|
"downloadMessage": "Izvēlieties formātu, kuru vēlaties lejupielādēt.",
|
||||||
|
"error": "Kaut kas nogāja greizi",
|
||||||
|
"fileInfo": "Informācija par failu",
|
||||||
|
"filesSelected": "{count} atlasīti faili",
|
||||||
|
"lastModified": "Pēdējās izmaiņas",
|
||||||
|
"move": "Pārvietot",
|
||||||
|
"moveMessage": "Izvēlieties jaunu mājvietu failam(iem)/mapei(ēm):",
|
||||||
|
"newArchetype": "Izveidojiet jaunu ierakstu, pamatojoties uz arhtipu. Jūsu fails tiks izveidots satura mapē.",
|
||||||
|
"newDir": "Jauna direktorija",
|
||||||
|
"newDirMessage": "Nosaukums savai jaunajai direktorijai.",
|
||||||
|
"newFile": "Jauns fails",
|
||||||
|
"newFileMessage": "Nosauciet savu jauno failu.",
|
||||||
|
"numberDirs": "Katalogu skaits",
|
||||||
|
"numberFiles": "Failu skaits",
|
||||||
|
"rename": "Pārdēvēt",
|
||||||
|
"renameMessage": "Ievietojiet jaunu nosaukumu",
|
||||||
|
"replace": "Aizstāt",
|
||||||
|
"replaceMessage": "Vienam no failiem, kurus mēģināt augšupielādēt, ir konfliktējošs nosaukums. Vai vēlaties izlaist šo failu un turpināt augšupielādi vai aizstāt esošo?\n",
|
||||||
|
"schedule": "Grafiks",
|
||||||
|
"scheduleMessage": "Izvēlieties datumu un laiku, lai ieplānotu šī ieraksta publicēšanu.",
|
||||||
|
"show": "Rādīt",
|
||||||
|
"size": "Izmērs",
|
||||||
|
"upload": "Augšupielādēt",
|
||||||
|
"uploadFiles": "Notiek {files} failu augšupielāde...",
|
||||||
|
"uploadMessage": "Atlasiet augšupielādes opciju.",
|
||||||
|
"optionalPassword": "Izvēles parole",
|
||||||
|
"resolution": "Izšķirtspēja",
|
||||||
|
"discardEditorChanges": "Vai tiešām vēlaties atmest veiktās izmaiņas?"
|
||||||
|
},
|
||||||
|
"search": {
|
||||||
|
"images": "Attēli",
|
||||||
|
"music": "Mūzika",
|
||||||
|
"pdf": "PDF",
|
||||||
|
"pressToSearch": "Nospiediet taustiņu Enter, lai meklētu...",
|
||||||
|
"search": "Meklē...",
|
||||||
|
"typeToSearch": "Ierakstiet, lai meklētu...",
|
||||||
|
"types": "Veidi",
|
||||||
|
"video": "Video"
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"aceEditorTheme": "Ace redaktora tēma",
|
||||||
|
"admin": "Admin",
|
||||||
|
"administrator": "Administrator",
|
||||||
|
"allowCommands": "Izpildīt komandas",
|
||||||
|
"allowEdit": "Rediģēt, pārdēvēt un dzēst failus vai direktorijus",
|
||||||
|
"allowNew": "Izveidojiet jaunus failus un direktorijus",
|
||||||
|
"allowPublish": "Publicēt jaunus ierakstus un lapas",
|
||||||
|
"allowSignup": "Atļaut lietotājiem reģistrēties",
|
||||||
|
"hideLoginButton": "Paslēpt pieteikšanās pogu publiskajās lapās",
|
||||||
|
"avoidChanges": "(atstājiet tukšu, lai izvairītos no izmaiņām)",
|
||||||
|
"branding": "Zīmols",
|
||||||
|
"brandingDirectoryPath": "Zīmola direktorijas ceļš",
|
||||||
|
"brandingHelp": "Jūs varat pielāgot sava failu pārlūka instances izskatu un darbību, mainot tās nosaukumu, aizstājot logotipu, pievienojot pielāgotus stilus un pat atspējojot ārējās saites uz GitHub.\nLai iegūtu plašāku informāciju par pielāgotu zīmola veidošanu, lūdzu, skatiet {0}.",
|
||||||
|
"changePassword": "Mainīt paroli",
|
||||||
|
"commandRunner": "Komandu skrējējs",
|
||||||
|
"commandRunnerHelp": "Šeit varat iestatīt komandas, kas tiek izpildītas nosauktajos notikumos. Katrā rindā jāraksta pa vienai. Būs pieejami vides mainīgie {0} un {1}, kas ir {0} relatīvi pret {1}. Lai iegūtu plašāku informāciju par šo funkciju un pieejamajiem vides mainīgajiem, lūdzu, izlasiet {2}.",
|
||||||
|
"commandsUpdated": "Komandas atjauninātas!",
|
||||||
|
"createUserDir": "Automātiski izveidot lietotāja mājas direktoriju, pievienojot jaunu lietotāju",
|
||||||
|
"minimumPasswordLength": "Minimālais paroles garums",
|
||||||
|
"tusUploads": "Sadalītas augšupielādes",
|
||||||
|
"tusUploadsHelp": "Failu pārlūks atbalsta failu augšupielādi fragmentos, ļaujot izveidot efektīvu, uzticamu, atsākamu un fragmentos sadalītu failu augšupielādi pat neuzticamos tīklos.",
|
||||||
|
"tusUploadsChunkSize": "Norāda pieprasījuma maksimālo izmēru (mazākiem augšupielādes apjomiem tiks izmantota tieša augšupielāde). Varat ievadīt vienkāršu veselu skaitli, kas apzīmē baitu izmēru, vai virkni, piemēram, 10 MB, 1 GB utt.",
|
||||||
|
"tusUploadsRetryCount": "Atkārtotu mēģinājumu skaits, kas jāveic, ja fragmenta augšupielāde neizdodas.",
|
||||||
|
"userHomeBasePath": "Lietotāja mājas direktoriju bāzes ceļš",
|
||||||
|
"userScopeGenerationPlaceholder": "Darbības joma tiks ģenerēta automātiski",
|
||||||
|
"createUserHomeDirectory": "Izveidojiet lietotāja mājas direktoriju",
|
||||||
|
"customStylesheet": "Pielāgota stila lapa",
|
||||||
|
"defaultUserDescription": "Šie ir noklusējuma iestatījumi jaunajiem lietotājiem.",
|
||||||
|
"disableExternalLinks": "Atspējot ārējās saites (izņemot dokumentāciju)",
|
||||||
|
"disableUsedDiskPercentage": "Atspējot izmantotā diska procentuālās daļas grafiku",
|
||||||
|
"documentation": "dokumentācija",
|
||||||
|
"examples": "Piemēri",
|
||||||
|
"executeOnShell": "Izpildīt uz čaulas",
|
||||||
|
"executeOnShellDescription": "Pēc noklusējuma failu pārlūks izpilda komandas, tieši izsaucot to bināros failus. Ja vēlaties tās palaist čaulā (piemēram, Bash vai PowerShell), varat to definēt šeit ar nepieciešamajiem argumentiem un karodziņiem. Ja tas ir iestatīts, izpildītā komanda tiks pievienota kā arguments. Tas attiecas gan uz lietotāja komandām, gan notikumu piesaistes rīkiem.",
|
||||||
|
"globalRules": "Šis ir globāls atļaušanas un aizliegšanas noteikumu kopums. Tie attiecas uz katru lietotāju. Katra lietotāja iestatījumos varat definēt konkrētus noteikumus, lai tos ignorētu.",
|
||||||
|
"globalSettings": "Globālie iestatījumi",
|
||||||
|
"hideDotfiles": "Slēpt punktfailus",
|
||||||
|
"insertPath": "Ievietojiet ceļu",
|
||||||
|
"insertRegex": "Ievietojiet regex izteiksmi",
|
||||||
|
"instanceName": "Gadījuma nosaukums",
|
||||||
|
"language": "Valoda",
|
||||||
|
"lockPassword": "Neļaut lietotājam mainīt paroli",
|
||||||
|
"newPassword": "Jūsu jaunā parole",
|
||||||
|
"newPasswordConfirm": "Apstipriniet savu jauno paroli",
|
||||||
|
"newUser": "Jauns lietotājs",
|
||||||
|
"password": "Parole",
|
||||||
|
"passwordUpdated": "Parole atjaunināta!",
|
||||||
|
"path": "Ceļš",
|
||||||
|
"perm": {
|
||||||
|
"create": "Izveidojiet failus un direktorijus",
|
||||||
|
"delete": "Dzēst failus un direktorijus",
|
||||||
|
"download": "Lejupielādēt",
|
||||||
|
"execute": "Izpildīt komandas",
|
||||||
|
"modify": "Rediģēt failus",
|
||||||
|
"rename": "Pārdēvēt vai pārvietot failus un direktorijus",
|
||||||
|
"share": "Kopīgojiet failus"
|
||||||
|
},
|
||||||
|
"permissions": "Atļaujas",
|
||||||
|
"permissionsHelp": "Varat iestatīt lietotāju kā administratoru vai izvēlēties atļaujas individuāli. Ja atlasīsiet “Administrators”, visas pārējās opcijas tiks automātiski atzīmētas. Lietotāju pārvaldība joprojām ir administratora privilēģija.\n",
|
||||||
|
"profileSettings": "Profila iestatījumi",
|
||||||
|
"redirectAfterCopyMove": "Pārvirzīt uz galapunktu pēc kopēšanas/pārvietošanas",
|
||||||
|
"ruleExample1": "neļauj piekļūt jebkuram dotfile failam (piemēram, .git, .gitignore) katrā mapē.\n",
|
||||||
|
"ruleExample2": "bloķē piekļuvi failam ar nosaukumu Caddyfile darbības jomas saknē.",
|
||||||
|
"rules": "Noteikumi",
|
||||||
|
"rulesHelp": "Šeit varat definēt atļaušanas un aizliegšanas noteikumu kopu šim konkrētajam lietotājam. Bloķētie faili netiks rādīti sarakstos, un lietotājs tiem nevarēs piekļūt. Mēs atbalstām regulārās izteiksmes un ceļus attiecībā pret lietotāja darbības jomu.\n",
|
||||||
|
"scope": "Darbības joma",
|
||||||
|
"setDateFormat": "Iestatiet precīzu datuma formātu",
|
||||||
|
"settingsUpdated": "Iestatījumi atjaunināti!",
|
||||||
|
"shareDuration": "Kopīgošanas ilgums",
|
||||||
|
"shareManagement": "Kopīgošanas pārvaldība",
|
||||||
|
"shareDeleted": "Kopīgojums izdzēsts!",
|
||||||
|
"singleClick": "Failu un direktoriju atvēršanai izmantojiet vienus klikšķi",
|
||||||
|
"themes": {
|
||||||
|
"default": "Sistēmas noklusējums",
|
||||||
|
"dark": "Tumša",
|
||||||
|
"light": "Gaiša",
|
||||||
|
"title": "Tēma"
|
||||||
|
},
|
||||||
|
"user": "Lietotājs",
|
||||||
|
"userCommands": "Komandas",
|
||||||
|
"userCommandsHelp": "Ar atstarpi atdalīts saraksts ar šim lietotājam pieejamajām komandām. Piemērs:\n",
|
||||||
|
"userCreated": "Lietotājs izveidots!",
|
||||||
|
"userDefaults": "Lietotāja noklusējuma iestatījumi",
|
||||||
|
"userDeleted": "Lietotājs izdzēsts!",
|
||||||
|
"userManagement": "Lietotāju pārvaldība",
|
||||||
|
"userUpdated": "Lietotājs atjaunināts!",
|
||||||
|
"username": "Lietotājvārds",
|
||||||
|
"users": "Lietotāji",
|
||||||
|
"currentPassword": "Esošā Parole"
|
||||||
|
},
|
||||||
|
"sidebar": {
|
||||||
|
"help": "Palīdzība",
|
||||||
|
"hugoNew": "Hugo Jauns",
|
||||||
|
"login": "Pieteikties",
|
||||||
|
"logout": "Atteikties",
|
||||||
|
"myFiles": "Mani faili",
|
||||||
|
"newFile": "Jauns fails",
|
||||||
|
"newFolder": "Jauna mape",
|
||||||
|
"preview": "Priekšskatījums",
|
||||||
|
"settings": "Iestatījumi",
|
||||||
|
"signup": "Reģistrēties",
|
||||||
|
"siteSettings": "Vietnes iestatījumi"
|
||||||
|
},
|
||||||
|
"success": {
|
||||||
|
"linkCopied": "Saite nokopēta!"
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"days": "Dienas",
|
||||||
|
"hours": "Stundas",
|
||||||
|
"minutes": "Minūtes",
|
||||||
|
"seconds": "Sekundes",
|
||||||
|
"unit": "Laika vienība"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Updaten",
|
"update": "Updaten",
|
||||||
"upload": "Uploaden",
|
"upload": "Uploaden",
|
||||||
"openFile": "Open file",
|
"openFile": "Open file",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Bestand downloaden",
|
"downloadFile": "Bestand downloaden",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Sorteren op laatst bewerkt",
|
"sortByLastModified": "Sorteren op laatst bewerkt",
|
||||||
"sortByName": "Sorteren op naam",
|
"sortByName": "Sorteren op naam",
|
||||||
"sortBySize": "Sorteren op grootte",
|
"sortBySize": "Sorteren op grootte",
|
||||||
"noPreview": "Preview is not available for this file."
|
"noPreview": "Preview is not available for this file.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "selecteer bestand of map",
|
"click": "selecteer bestand of map",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permissies",
|
"permissions": "Permissies",
|
||||||
"permissionsHelp": "U kunt de gebruiker instellen als beheerder of de machtigingen afzonderlijk kiezen. Als u \"Beheerder\" selecteert, worden alle andere opties automatisch gecontroleerd. Het beheer van gebruikers blijft een privilege van een beheerder.\n",
|
"permissionsHelp": "U kunt de gebruiker instellen als beheerder of de machtigingen afzonderlijk kiezen. Als u \"Beheerder\" selecteert, worden alle andere opties automatisch gecontroleerd. Het beheer van gebruikers blijft een privilege van een beheerder.\n",
|
||||||
"profileSettings": "Profielinstellingen",
|
"profileSettings": "Profielinstellingen",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "voorkomt de toegang tot elk puntbestand (zoals .git, .gitignore) in elke map.\n",
|
"ruleExample1": "voorkomt de toegang tot elk puntbestand (zoals .git, .gitignore) in elke map.\n",
|
||||||
"ruleExample2": "blokkeert de toegang tot het bestand met de naam Caddyfile in de hoofdmap van het bereik.",
|
"ruleExample2": "blokkeert de toegang tot het bestand met de naam Caddyfile in de hoofdmap van het bereik.",
|
||||||
"rules": "Regels",
|
"rules": "Regels",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Gebruikersbeheer",
|
"userManagement": "Gebruikersbeheer",
|
||||||
"userUpdated": "Gebruiker bijgewerkt!",
|
"userUpdated": "Gebruiker bijgewerkt!",
|
||||||
"username": "Gebruikersnaam",
|
"username": "Gebruikersnaam",
|
||||||
"users": "Gebruikers"
|
"users": "Gebruikers",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Help",
|
"help": "Help",
|
||||||
|
|||||||
@@ -0,0 +1,290 @@
|
|||||||
|
{
|
||||||
|
"buttons": {
|
||||||
|
"cancel": "Annuleren",
|
||||||
|
"clear": "Wissen",
|
||||||
|
"close": "Sluiten",
|
||||||
|
"continue": "Doorgaan",
|
||||||
|
"copy": "Kopiëren",
|
||||||
|
"copyFile": "Bestand kopiëren",
|
||||||
|
"copyToClipboard": "Kopiëren naar klembord",
|
||||||
|
"copyDownloadLinkToClipboard": "Download-link kopiëren naar klembord",
|
||||||
|
"create": "Aanmaken",
|
||||||
|
"delete": "Verwijderen",
|
||||||
|
"download": "Downloaden",
|
||||||
|
"file": "Bestand",
|
||||||
|
"folder": "Map",
|
||||||
|
"fullScreen": "Volledig scherm wisselen",
|
||||||
|
"hideDotfiles": "dot-bestanden verbergen",
|
||||||
|
"info": "Info",
|
||||||
|
"more": "Meer",
|
||||||
|
"move": "Verplaatsen",
|
||||||
|
"moveFile": "Bestand verplaatsen",
|
||||||
|
"new": "Nieuw",
|
||||||
|
"next": "Volgende",
|
||||||
|
"ok": "OK",
|
||||||
|
"permalink": "Permanente link verkrijgen",
|
||||||
|
"previous": "Vorige",
|
||||||
|
"preview": "Voorbeeld",
|
||||||
|
"publish": "Publiceren",
|
||||||
|
"rename": "Hernoemen",
|
||||||
|
"replace": "Vervangen",
|
||||||
|
"reportIssue": "Probleem melden",
|
||||||
|
"save": "Opslaan",
|
||||||
|
"schedule": "Plannen",
|
||||||
|
"search": "Zoeken",
|
||||||
|
"select": "Selecteren",
|
||||||
|
"selectMultiple": "Meervoudige selectie",
|
||||||
|
"share": "Delen",
|
||||||
|
"shell": "Opdrachtvenster wisselen",
|
||||||
|
"submit": "Indienen",
|
||||||
|
"switchView": "Weergave wisselen",
|
||||||
|
"toggleSidebar": "Zijbalk wisselen",
|
||||||
|
"update": "Bijwerken",
|
||||||
|
"upload": "Uploaden",
|
||||||
|
"openFile": "Bestand openen",
|
||||||
|
"openDirect": "Raw weergeven",
|
||||||
|
"discardChanges": "Weggooien",
|
||||||
|
"stopSearch": "Stoppen met zoeken",
|
||||||
|
"saveChanges": "Wijzigingen opslaan",
|
||||||
|
"editAsText": "Als tekst bewerken",
|
||||||
|
"increaseFontSize": "Lettertype vergroten",
|
||||||
|
"decreaseFontSize": "Lettertype verkleinen"
|
||||||
|
},
|
||||||
|
"download": {
|
||||||
|
"downloadFile": "Bestand downloaden",
|
||||||
|
"downloadFolder": "Map downloaden",
|
||||||
|
"downloadSelected": "Selectie downloaden"
|
||||||
|
},
|
||||||
|
"upload": {
|
||||||
|
"abortUpload": "Weet u zeker dat u wilt afbreken?"
|
||||||
|
},
|
||||||
|
"errors": {
|
||||||
|
"forbidden": "U hebt hier geen toegangsrechten.",
|
||||||
|
"internal": "Er ging iets mis.",
|
||||||
|
"notFound": "Deze locatie kan niet worden bereikt.",
|
||||||
|
"connection": "De server kan niet worden bereikt."
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"body": "Inoud",
|
||||||
|
"closePreview": "Voorbeeld sluiten",
|
||||||
|
"files": "Bestanden",
|
||||||
|
"folders": "Mappen",
|
||||||
|
"home": "Thuis",
|
||||||
|
"lastModified": "Laatst aangepast",
|
||||||
|
"loading": "Laden...",
|
||||||
|
"lonely": "Het is hier wat leeg...",
|
||||||
|
"metadata": "Metagegevens",
|
||||||
|
"multipleSelectionEnabled": "Meervoudige selectie ingeschakeld",
|
||||||
|
"name": "Naam",
|
||||||
|
"size": "Grootte",
|
||||||
|
"sortByLastModified": "Sorteren op laatst aangepast",
|
||||||
|
"sortByName": "Sorteren op naam",
|
||||||
|
"sortBySize": "Sorteren op grootte",
|
||||||
|
"noPreview": "Geen voorbeeld beschikbaar voor dit bestand.",
|
||||||
|
"csvTooLarge": "CSV-bestand is te groot voor voorbeeld (>5MB). Download het om het te bekijken.",
|
||||||
|
"csvLoadFailed": "Laden van CSV-bestand is mislukt.",
|
||||||
|
"showingRows": "{count} rij(en) weergeven",
|
||||||
|
"columnSeparator": "Kolom-scheidingsteken",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Komma (,)",
|
||||||
|
"semicolon": "Puntkomma (;)",
|
||||||
|
"both": "Beide (,) en (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "Bestandscodering"
|
||||||
|
},
|
||||||
|
"help": {
|
||||||
|
"click": "selecteer bestand of map",
|
||||||
|
"ctrl": {
|
||||||
|
"click": "selecteer meerdere bestanden of mappen",
|
||||||
|
"f": "open zoekopdracht",
|
||||||
|
"s": "sla een bestand op of download de huidige map"
|
||||||
|
},
|
||||||
|
"del": "verwijder geselecteerde items",
|
||||||
|
"doubleClick": "open een bestand of map",
|
||||||
|
"esc": "wis de selectie en/of sluit het opdrachtvenster",
|
||||||
|
"f1": "deze informatie",
|
||||||
|
"f2": "hernoem bestand",
|
||||||
|
"help": "Hulp"
|
||||||
|
},
|
||||||
|
"login": {
|
||||||
|
"createAnAccount": "Account aanmaken",
|
||||||
|
"loginInstead": "Heeft al een account",
|
||||||
|
"password": "Wachtwoord",
|
||||||
|
"passwordConfirm": "Wachtwoord bevestigen",
|
||||||
|
"passwordsDontMatch": "Wachtwoorden komen niet overeen",
|
||||||
|
"signup": "Registeren",
|
||||||
|
"submit": "Inloggen",
|
||||||
|
"username": "Gebruikersnaam",
|
||||||
|
"usernameTaken": "Gebruikersnaam reeds in gebruik",
|
||||||
|
"wrongCredentials": "Inloggegevens zijn incorrect",
|
||||||
|
"passwordTooShort": "Wachtwoord moet minstens {min} tekens bevatten",
|
||||||
|
"logout_reasons": {
|
||||||
|
"inactivity": "U bent uitgelogd vanwege inactiviteit."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"permanent": "Permanent",
|
||||||
|
"prompts": {
|
||||||
|
"copy": "Kopiëren",
|
||||||
|
"copyMessage": "Kies een locatie om uw bestanden te kopiëren:",
|
||||||
|
"currentlyNavigating": "Navigeren op:",
|
||||||
|
"deleteMessageMultiple": "Weet u zeker dat u {count} bestand(en) wilt verwijderen?",
|
||||||
|
"deleteMessageSingle": "Weet u zeker dat u dit bestand/deze map wilt verwijderen?",
|
||||||
|
"deleteMessageShare": "Weet u zeker dat u deze gedeelde map ({path}) wilt verwijderen?",
|
||||||
|
"deleteUser": "Weet u zeker dat u deze gebruiker wilt verwijderen?",
|
||||||
|
"deleteTitle": "Bestanden verwijderen",
|
||||||
|
"displayName": "Weergavenaam:",
|
||||||
|
"download": "Bestanden downloaden",
|
||||||
|
"downloadMessage": "Kies het formaat dat u wilt downloaden.",
|
||||||
|
"error": "Er ging iets fout",
|
||||||
|
"fileInfo": "Bestandsinformatie",
|
||||||
|
"filesSelected": "{count} geselecteerde bestanden.",
|
||||||
|
"lastModified": "Laatst aangepast",
|
||||||
|
"move": "Verplaatsen",
|
||||||
|
"moveMessage": "Kies een nieuw Thuis voor uw bestand(en)/map(pen):",
|
||||||
|
"newArchetype": "Maak een nieuw bericht op basis van een archetype. Uw bestand wordt aangemaakt in de inhoudsmap.",
|
||||||
|
"newDir": "Nieuwe map",
|
||||||
|
"newDirMessage": "Voer een naam in voor de nieuwe map.",
|
||||||
|
"newFile": "Nieuw bestand",
|
||||||
|
"newFileMessage": "Voer een naam in voor het nieuwe bestand.",
|
||||||
|
"numberDirs": "Aantal mappen",
|
||||||
|
"numberFiles": "Aantal bestanden",
|
||||||
|
"rename": "Hernoemen",
|
||||||
|
"renameMessage": "Voer een nieuwe naam in voor",
|
||||||
|
"replace": "Vervangen",
|
||||||
|
"replaceMessage": "Een van de bestanden die u probeert te uploaden, geeft conflicten i.v.m. de naamgeving. Wilt u de bestaande bestanden vervangen?\n",
|
||||||
|
"schedule": "Plannen",
|
||||||
|
"scheduleMessage": "Kies een datum en tijd om de publicatie van dit bericht in te plannen.",
|
||||||
|
"show": "Weergeven",
|
||||||
|
"size": "Grootte",
|
||||||
|
"upload": "Uploaden",
|
||||||
|
"uploadFiles": "{files} bestanden uploaden...",
|
||||||
|
"uploadMessage": "Kies een optie bij de upload.",
|
||||||
|
"optionalPassword": "Optioneel wachtwoord",
|
||||||
|
"resolution": "Resolutie",
|
||||||
|
"discardEditorChanges": "Weet u zeker dat u de door u aangebrachte wijzigingen wilt weggooien?"
|
||||||
|
},
|
||||||
|
"search": {
|
||||||
|
"images": "Afbeeldingen",
|
||||||
|
"music": "Muziek",
|
||||||
|
"pdf": "PDF",
|
||||||
|
"pressToSearch": "Druk op enter om te zoeken...",
|
||||||
|
"search": "Zoeken...",
|
||||||
|
"typeToSearch": "Typ om te zoeken...",
|
||||||
|
"types": "Types",
|
||||||
|
"video": "Video"
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"aceEditorTheme": "Ace editor-thema",
|
||||||
|
"admin": "Admin",
|
||||||
|
"administrator": "Beheerder",
|
||||||
|
"allowCommands": "Opdrachten uitvoeren",
|
||||||
|
"allowEdit": "Bestanden of mappen bewerken, hernoemen of verwijderen",
|
||||||
|
"allowNew": "Nieuwe bestanden of mappen aanmaken",
|
||||||
|
"allowPublish": "Nieuwe berichten en pagina's publiceren",
|
||||||
|
"allowSignup": "Gebruikers toestaan om zich te registreren",
|
||||||
|
"hideLoginButton": "De inlogknop verbergen van openbare pagina's",
|
||||||
|
"avoidChanges": "(leeg laten om wijzigingen te voorkomen)",
|
||||||
|
"branding": "Branding",
|
||||||
|
"brandingDirectoryPath": "Pad naar map met Branding",
|
||||||
|
"brandingHelp": "U kunt het uiterlijk van uw File Browser aanpassen door de naam te wijzigen, het logo te vervangen, aangepaste stijlen toe te voegen en zelfs externe links naar GitHub uit te schakelen.\nVoor meer informatie over custom branding, bekijk {0}.",
|
||||||
|
"changePassword": "Wachtwoord wijzigen",
|
||||||
|
"commandRunner": "Opdracht uitvoeren",
|
||||||
|
"commandRunnerHelp": "Hier kunt u opdrachten instellen die worden uitgevoerd in de benoemde gebeurtenissen. Noteer één opdracht per regel. De omgevingsvariabelen {0} en {1} zijn beschikbaar, waarbij {0} relatief is ten opzichte van {1}. Raadpleeg {2} voor meer informatie over deze functie en de beschikbare omgevingsvariabelen.",
|
||||||
|
"commandsUpdated": "Opdrachten bijgewerkt!",
|
||||||
|
"createUserDir": "Maak bij het aanmaken van een nieuwe gebruiker automatisch een thuismap aan",
|
||||||
|
"minimumPasswordLength": "Minimale wachtwoordlengte",
|
||||||
|
"tusUploads": "Uploads in brokken",
|
||||||
|
"tusUploadsHelp": "File Browser ondersteunt bestandsuploads in brokken, waardoor efficiënte, betrouwbare, hervatbare bestandsuploads kunnen worden verricht, zelfs over onbetrouwbare netwerken.",
|
||||||
|
"tusUploadsChunkSize": "Geeft de maximale grootte van een verzoek aan (directe uploads worden gebruikt voor kleinere uploads). U kunt een geheel getal invoeren dat de bytegrootte aangeeft, of een tekenreeks zoals 10MB, 1GB enz.",
|
||||||
|
"tusUploadsRetryCount": "Aantal nieuwe pogingen om uit te voeren als een deel niet kan worden geüpload.",
|
||||||
|
"userHomeBasePath": "Basispad voor Thuismappen van de gebruikers",
|
||||||
|
"userScopeGenerationPlaceholder": "Het bereik wordt automatisch gegenereeerd",
|
||||||
|
"createUserHomeDirectory": "Thuismap voor de gebruiker aanmaken",
|
||||||
|
"customStylesheet": "Aangepaste stylesheet",
|
||||||
|
"defaultUserDescription": "Dit zijn de standaardinstellingen voor nieuwe gebruikers.",
|
||||||
|
"disableExternalLinks": "Externe links uitschakelen (behalve documentatie)",
|
||||||
|
"disableUsedDiskPercentage": "Grafiek van gebruikte schijfruimte uitschakelen",
|
||||||
|
"documentation": "documentatie",
|
||||||
|
"examples": "Voorbeelden",
|
||||||
|
"executeOnShell": "Uitvoeren in opdrachtvenster",
|
||||||
|
"executeOnShellDescription": "File Browser voert de opdrachten standaard uit door het rechtstreeks oproepen van hun hun binaire bestanden. Als u ze in plaats daarvan wilt uitvoeren in een opdrachtvenster (zoals Bash of PowerShell), kunt u dit hier definiëren met de vereiste argumenten en vlaggen. Zo wordt de opdracht die u uitvoert, toegevoegd als een argument. Dit is van toepassing op zowel gebruikersopdrachten als event-hooks.",
|
||||||
|
"globalRules": "Dit is een algemene reeks toestaan/niet toestaan-regels welke van toepassing zijn op alle gebruikers. U kunt voor elke gebruiker specifieke regels definiëren om deze te overschrijven.",
|
||||||
|
"globalSettings": "Algemene instellingen",
|
||||||
|
"hideDotfiles": "dot-bestanden verbergen",
|
||||||
|
"insertPath": "Pad invoegen",
|
||||||
|
"insertRegex": "Regex-expressie invoegen",
|
||||||
|
"instanceName": "Naam van de instantie",
|
||||||
|
"language": "Taal",
|
||||||
|
"lockPassword": "Voorkomen dat de gebruiker het wachtwoord wijzigt",
|
||||||
|
"newPassword": "Uw nieuwe wachtwoord",
|
||||||
|
"newPasswordConfirm": "Uw nieuwe wachtwoord bevestigen",
|
||||||
|
"newUser": "Nieuwe gebruiker",
|
||||||
|
"password": "Wachtwoord",
|
||||||
|
"passwordUpdated": "Wachtwoord bijgewerkt!",
|
||||||
|
"path": "Pad",
|
||||||
|
"perm": {
|
||||||
|
"create": "Bestanden en mappen aanmaken",
|
||||||
|
"delete": "Bestanden en mappen verwijderen",
|
||||||
|
"download": "Downloaden",
|
||||||
|
"execute": "Opdrachten uitvoeren",
|
||||||
|
"modify": "Bestanden bewerken",
|
||||||
|
"rename": "Bestanden of mappen hernoemen of verplaatsen",
|
||||||
|
"share": "Bestanden delen"
|
||||||
|
},
|
||||||
|
"permissions": "Machtigingen",
|
||||||
|
"permissionsHelp": " kunt de gebruiker instellen als beheerder of de machtigingen afzonderlijk kiezen. Als u \"Beheerder\" selecteert, worden alle overige opties automatisch ingeschakeld. Het beheer van gebruikers blijft een privilege van een beheerder.\n",
|
||||||
|
"profileSettings": "Profielinstellingen",
|
||||||
|
"redirectAfterCopyMove": "Doorverwijzen naar bestemming na kopiëren/verplaatsen",
|
||||||
|
"ruleExample1": "voorkomt de toegang tot dot-bestanden (zoals .git, .gitignore) in elke map.\n",
|
||||||
|
"ruleExample2": "blokkeert de toegang tot het bestand met de naam Caddyfile in de hoofdmap van het bereik.",
|
||||||
|
"rules": "Regels",
|
||||||
|
"rulesHelp": "Hier kunt u voor deze specifieke gebruiker een reeks toestaan/niet toestaan-regels definiëren. De geblokkeerde bestanden verschijnen niet in de lijsten en zijn niet toegankelijk voor de gebruiker. Regex wordt ondersteund en paden zijn relatief ten opzichte van het bereik van gebruikers.\n",
|
||||||
|
"scope": "Bereik",
|
||||||
|
"setDateFormat": "Exacte datumformaat instellen",
|
||||||
|
"settingsUpdated": "Instellingen bijgewerkt!",
|
||||||
|
"shareDuration": "Duur van het delen",
|
||||||
|
"shareManagement": "Beheer van gedeelde mappen en bestanden",
|
||||||
|
"shareDeleted": "Delen opheffen!",
|
||||||
|
"singleClick": "Bestanden en mappen met een enkele klik openen",
|
||||||
|
"themes": {
|
||||||
|
"default": "Systeem standaard",
|
||||||
|
"dark": "Donker",
|
||||||
|
"light": "Licht",
|
||||||
|
"title": "Thema"
|
||||||
|
},
|
||||||
|
"user": "Gebruiker",
|
||||||
|
"userCommands": "Opdrachten",
|
||||||
|
"userCommandsHelp": "Een lijst met beschikbare opdrachten voor de gebruiker gescheiden door spaties. Voorbeeld:\n",
|
||||||
|
"userCreated": "Gebruiker aangemaakt!",
|
||||||
|
"userDefaults": "Standaardinstellingen van gebruiker",
|
||||||
|
"userDeleted": "Gebruiker verwijderd!",
|
||||||
|
"userManagement": "Gebruikers beheren",
|
||||||
|
"userUpdated": "Gebruiker bijgewerkt!",
|
||||||
|
"username": "Gebruikersnaam",
|
||||||
|
"users": "Gebruikers",
|
||||||
|
"currentPassword": "Uw huidige wachtwoord"
|
||||||
|
},
|
||||||
|
"sidebar": {
|
||||||
|
"help": "Hulp",
|
||||||
|
"hugoNew": "Hugo Nieuw",
|
||||||
|
"login": "Inloggen",
|
||||||
|
"logout": "Uitloggen",
|
||||||
|
"myFiles": "Mijn bestanden",
|
||||||
|
"newFile": "Nieuw bestand",
|
||||||
|
"newFolder": "Nieuwe map",
|
||||||
|
"preview": "Voorbeeld",
|
||||||
|
"settings": "Instellingen",
|
||||||
|
"signup": "Registeren",
|
||||||
|
"siteSettings": "Site-instellingen"
|
||||||
|
},
|
||||||
|
"success": {
|
||||||
|
"linkCopied": "Link gekopieerd!"
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"days": "Dagen",
|
||||||
|
"hours": "Uren",
|
||||||
|
"minutes": "Minuten",
|
||||||
|
"seconds": "Seconden",
|
||||||
|
"unit": "Tijdseenheid"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Opptater",
|
"update": "Opptater",
|
||||||
"upload": "Last opp",
|
"upload": "Last opp",
|
||||||
"openFile": "Open file",
|
"openFile": "Open file",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Slett",
|
"discardChanges": "Slett",
|
||||||
"saveChanges": "Lagre Endringane "
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Lagre Endringane ",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Nedlast filen",
|
"downloadFile": "Nedlast filen",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Sorter etter sist endret",
|
"sortByLastModified": "Sorter etter sist endret",
|
||||||
"sortByName": "Sorter etter navn",
|
"sortByName": "Sorter etter navn",
|
||||||
"sortBySize": "Sorter etter størrelse",
|
"sortBySize": "Sorter etter størrelse",
|
||||||
"noPreview": "Forhåndsvisning er ikkje tilgjengeleg for denne filen."
|
"noPreview": "Forhåndsvisning er ikkje tilgjengeleg for denne filen.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "velg fil eller katalog",
|
"click": "velg fil eller katalog",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Tilaterser",
|
"permissions": "Tilaterser",
|
||||||
"permissionsHelp": "Du kan angi brukeren som administrator eller velge tillatelsene individuelt. Hvis du velger «Administrator», vil alle de andre alternativene bli automatisk avkrysset. Administrasjon av brukere er fortsatt et privilegium for en administrator.\n",
|
"permissionsHelp": "Du kan angi brukeren som administrator eller velge tillatelsene individuelt. Hvis du velger «Administrator», vil alle de andre alternativene bli automatisk avkrysset. Administrasjon av brukere er fortsatt et privilegium for en administrator.\n",
|
||||||
"profileSettings": "Profil Innstilinger",
|
"profileSettings": "Profil Innstilinger",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "forhindrer tilgang til noen dotfiler (som .git, .gitignore) i alle mapper.\n",
|
"ruleExample1": "forhindrer tilgang til noen dotfiler (som .git, .gitignore) i alle mapper.\n",
|
||||||
"ruleExample2": "blokkerer tilgangen til filen med navnet Caddyfile på roten av omfanget.",
|
"ruleExample2": "blokkerer tilgangen til filen med navnet Caddyfile på roten av omfanget.",
|
||||||
"rules": "Regler",
|
"rules": "Regler",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Brukeradministrasjon",
|
"userManagement": "Brukeradministrasjon",
|
||||||
"userUpdated": "Bruker opprettet!",
|
"userUpdated": "Bruker opprettet!",
|
||||||
"username": "Brukernavn",
|
"username": "Brukernavn",
|
||||||
"users": "Bruker"
|
"users": "Bruker",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Hjelp",
|
"help": "Hjelp",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Aktualizuj",
|
"update": "Aktualizuj",
|
||||||
"upload": "Wyślij",
|
"upload": "Wyślij",
|
||||||
"openFile": "Otwórz plik",
|
"openFile": "Otwórz plik",
|
||||||
|
"openDirect": "Otwórz bezpośrednio",
|
||||||
"discardChanges": "Odrzuć",
|
"discardChanges": "Odrzuć",
|
||||||
"saveChanges": "Zapisz zmiany"
|
"stopSearch": "Zatrzymaj wyszukiwanie",
|
||||||
|
"saveChanges": "Zapisz zmiany",
|
||||||
|
"editAsText": "Edytuj jako tekst",
|
||||||
|
"increaseFontSize": "Zwiększ rozmiar czcionki",
|
||||||
|
"decreaseFontSize": "Zmniejsz rozmiar czcionki"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Pobierz plik",
|
"downloadFile": "Pobierz plik",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Sortuj wg ostatniej modyfikacji",
|
"sortByLastModified": "Sortuj wg ostatniej modyfikacji",
|
||||||
"sortByName": "Sortuj wg nazwy",
|
"sortByName": "Sortuj wg nazwy",
|
||||||
"sortBySize": "Sortuj wg rozmiaru",
|
"sortBySize": "Sortuj wg rozmiaru",
|
||||||
"noPreview": "Podgląd tego pliku jest niedostępny."
|
"noPreview": "Podgląd tego pliku jest niedostępny.",
|
||||||
|
"csvTooLarge": "Plik CSV jest za duży do podglądu (>5 MB). Pobierz, aby wyświetlić.",
|
||||||
|
"csvLoadFailed": "Nie udało się załadować pliku CSV.",
|
||||||
|
"showingRows": "Wyświetlanie wierszy: {count}",
|
||||||
|
"columnSeparator": "Separator kolumn",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Przecinek (,)",
|
||||||
|
"semicolon": "Średnik (;)",
|
||||||
|
"both": "Zarówno (,), jak i (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "Kodowanie pliku"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "zaznacz plik lub folder",
|
"click": "zaznacz plik lub folder",
|
||||||
@@ -218,7 +233,8 @@
|
|||||||
},
|
},
|
||||||
"permissions": "Uprawnienia",
|
"permissions": "Uprawnienia",
|
||||||
"permissionsHelp": "Możesz ustawić użytkownika jako administratora lub wybrać uprawnienia indywidualnie. Jeśli wybierzesz „Administrator”, wszystkie pozostałe opcje zostaną automatycznie zaznaczone. Zarządzanie użytkownikami pozostaje przywilejem administratora.\n",
|
"permissionsHelp": "Możesz ustawić użytkownika jako administratora lub wybrać uprawnienia indywidualnie. Jeśli wybierzesz „Administrator”, wszystkie pozostałe opcje zostaną automatycznie zaznaczone. Zarządzanie użytkownikami pozostaje przywilejem administratora.\n",
|
||||||
"profileSettings": "Twój profil",
|
"profileSettings": "Ustawienia profilu",
|
||||||
|
"redirectAfterCopyMove": "Przekieruj do miejsca docelowego po skopiowaniu lub przeniesieniu",
|
||||||
"ruleExample1": "uniemożliwia dostęp do plików poprzedzonych kropką (takich jak .git, .gitignore) we wszystkich folderach.\n",
|
"ruleExample1": "uniemożliwia dostęp do plików poprzedzonych kropką (takich jak .git, .gitignore) we wszystkich folderach.\n",
|
||||||
"ruleExample2": "blokuje dostęp do pliku o nazwie Caddyfile w katalogu głównym zakresu.",
|
"ruleExample2": "blokuje dostęp do pliku o nazwie Caddyfile w katalogu głównym zakresu.",
|
||||||
"rules": "Uprawnienia",
|
"rules": "Uprawnienia",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Zarządzanie użytkownikami",
|
"userManagement": "Zarządzanie użytkownikami",
|
||||||
"userUpdated": "Użytkownik zapisany!",
|
"userUpdated": "Użytkownik zapisany!",
|
||||||
"username": "Nazwa użytkownika",
|
"username": "Nazwa użytkownika",
|
||||||
"users": "Użytkownicy"
|
"users": "Użytkownicy",
|
||||||
|
"currentPassword": "Twoje aktualne hasło"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Pomoc",
|
"help": "Pomoc",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Atualizar",
|
"update": "Atualizar",
|
||||||
"upload": "Enviar",
|
"upload": "Enviar",
|
||||||
"openFile": "Abrir",
|
"openFile": "Abrir",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Baixar arquivo",
|
"downloadFile": "Baixar arquivo",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Ordenar pela última modificação",
|
"sortByLastModified": "Ordenar pela última modificação",
|
||||||
"sortByName": "Ordenar pelo nome",
|
"sortByName": "Ordenar pelo nome",
|
||||||
"sortBySize": "Ordenar pelo tamanho",
|
"sortBySize": "Ordenar pelo tamanho",
|
||||||
"noPreview": "Pré-visualização não disponível para este arquivo."
|
"noPreview": "Pré-visualização não disponível para este arquivo.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "selecionar pasta ou arquivo",
|
"click": "selecionar pasta ou arquivo",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permissões",
|
"permissions": "Permissões",
|
||||||
"permissionsHelp": "Pode definir o usuário como administrador ou escolher as permissões manualmente. Se selecionar a opção \"Administrador\", todas as outras opções serão automaticamente selecionadas. A gestão dos usuários é um privilégio restringido aos administradores.\n",
|
"permissionsHelp": "Pode definir o usuário como administrador ou escolher as permissões manualmente. Se selecionar a opção \"Administrador\", todas as outras opções serão automaticamente selecionadas. A gestão dos usuários é um privilégio restringido aos administradores.\n",
|
||||||
"profileSettings": "Configurações do usuário",
|
"profileSettings": "Configurações do usuário",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "previne o acesso a qualquer \"dotfile\" (como .git, .gitignore) em qualquer pasta\n",
|
"ruleExample1": "previne o acesso a qualquer \"dotfile\" (como .git, .gitignore) em qualquer pasta\n",
|
||||||
"ruleExample2": "bloqueia o acesso ao arquivo chamado Caddyfile.",
|
"ruleExample2": "bloqueia o acesso ao arquivo chamado Caddyfile.",
|
||||||
"rules": "Regras",
|
"rules": "Regras",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Gerenciamento de usuários",
|
"userManagement": "Gerenciamento de usuários",
|
||||||
"userUpdated": "Usuário atualizado!",
|
"userUpdated": "Usuário atualizado!",
|
||||||
"username": "Nome do usuário",
|
"username": "Nome do usuário",
|
||||||
"users": "Usuários"
|
"users": "Usuários",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Ajuda",
|
"help": "Ajuda",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Atualizar",
|
"update": "Atualizar",
|
||||||
"upload": "Enviar",
|
"upload": "Enviar",
|
||||||
"openFile": "Open file",
|
"openFile": "Open file",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Descarregar ficheiro",
|
"downloadFile": "Descarregar ficheiro",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Ordenar pela última alteração",
|
"sortByLastModified": "Ordenar pela última alteração",
|
||||||
"sortByName": "Ordenar pelo nome",
|
"sortByName": "Ordenar pelo nome",
|
||||||
"sortBySize": "Ordenar pelo tamanho",
|
"sortBySize": "Ordenar pelo tamanho",
|
||||||
"noPreview": "Preview is not available for this file."
|
"noPreview": "Preview is not available for this file.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "selecionar pasta ou ficheiro",
|
"click": "selecionar pasta ou ficheiro",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permissões",
|
"permissions": "Permissões",
|
||||||
"permissionsHelp": "Pode definir o utilizador como administrador ou escolher as permissões manualmente. Se selecionar a opção \"Administrador\", todas as outras opções serão automaticamente selecionadas. A gestão dos utilizadores é um privilégio restringido aos administradores.\n",
|
"permissionsHelp": "Pode definir o utilizador como administrador ou escolher as permissões manualmente. Se selecionar a opção \"Administrador\", todas as outras opções serão automaticamente selecionadas. A gestão dos utilizadores é um privilégio restringido aos administradores.\n",
|
||||||
"profileSettings": "Configurações do utilizador",
|
"profileSettings": "Configurações do utilizador",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "previne o acesso a qualquer \"dotfile\" (como .git, .gitignore) em qualquer pasta\n",
|
"ruleExample1": "previne o acesso a qualquer \"dotfile\" (como .git, .gitignore) em qualquer pasta\n",
|
||||||
"ruleExample2": "bloqueia o acesso ao ficheiro chamado Caddyfile na raiz.",
|
"ruleExample2": "bloqueia o acesso ao ficheiro chamado Caddyfile na raiz.",
|
||||||
"rules": "Regras",
|
"rules": "Regras",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Gestão de utilizadores",
|
"userManagement": "Gestão de utilizadores",
|
||||||
"userUpdated": "Utilizador atualizado!",
|
"userUpdated": "Utilizador atualizado!",
|
||||||
"username": "Nome de utilizador",
|
"username": "Nome de utilizador",
|
||||||
"users": "Utilizadores"
|
"users": "Utilizadores",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Ajuda",
|
"help": "Ajuda",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Actualizează",
|
"update": "Actualizează",
|
||||||
"upload": "Încarcă",
|
"upload": "Încarcă",
|
||||||
"openFile": "Open file",
|
"openFile": "Open file",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Descarcă fișier",
|
"downloadFile": "Descarcă fișier",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Ordonează dup ultima modificare",
|
"sortByLastModified": "Ordonează dup ultima modificare",
|
||||||
"sortByName": "Ordonează după nume",
|
"sortByName": "Ordonează după nume",
|
||||||
"sortBySize": "Ordonează după dimensiune",
|
"sortBySize": "Ordonează după dimensiune",
|
||||||
"noPreview": "Preview is not available for this file."
|
"noPreview": "Preview is not available for this file.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "alege fișier sau director",
|
"click": "alege fișier sau director",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Permisiuni",
|
"permissions": "Permisiuni",
|
||||||
"permissionsHelp": "Poți alege ca un utilizator să fie administrator sau să-i alegi permisiunile individual. Dacă alegi \"Administrator\", toate celelalte opțiuni vor fi bifate automat. Gestionarea utilizatorilor rămâne un privilegiu exclusiv al administratorilor.\n",
|
"permissionsHelp": "Poți alege ca un utilizator să fie administrator sau să-i alegi permisiunile individual. Dacă alegi \"Administrator\", toate celelalte opțiuni vor fi bifate automat. Gestionarea utilizatorilor rămâne un privilegiu exclusiv al administratorilor.\n",
|
||||||
"profileSettings": "Setări profil",
|
"profileSettings": "Setări profil",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "împiedică accesul la fisiere cu punct in față (.), cum ar fi .git, .gitignore în orice director.\n",
|
"ruleExample1": "împiedică accesul la fisiere cu punct in față (.), cum ar fi .git, .gitignore în orice director.\n",
|
||||||
"ruleExample2": "împiedică accesul la fișierul Caddyfile din rădăcina domeniului.",
|
"ruleExample2": "împiedică accesul la fișierul Caddyfile din rădăcina domeniului.",
|
||||||
"rules": "Reguli",
|
"rules": "Reguli",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Gestionare utilizatori",
|
"userManagement": "Gestionare utilizatori",
|
||||||
"userUpdated": "Utilizator actualizat!",
|
"userUpdated": "Utilizator actualizat!",
|
||||||
"username": "Utilizator",
|
"username": "Utilizator",
|
||||||
"users": "Utilizatori"
|
"users": "Utilizatori",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Ajutor",
|
"help": "Ajutor",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Обновить",
|
"update": "Обновить",
|
||||||
"upload": "Загрузить",
|
"upload": "Загрузить",
|
||||||
"openFile": "Открыть файл",
|
"openFile": "Открыть файл",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Отказаться",
|
"discardChanges": "Отказаться",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Сохранить",
|
||||||
|
"editAsText": "Редактировать как текст",
|
||||||
|
"increaseFontSize": "Увеличить размер шрифта",
|
||||||
|
"decreaseFontSize": "Уменьшить размер шрифта"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Скачать файл",
|
"downloadFile": "Скачать файл",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Сортировка по дате изменения",
|
"sortByLastModified": "Сортировка по дате изменения",
|
||||||
"sortByName": "Сортировка по имени",
|
"sortByName": "Сортировка по имени",
|
||||||
"sortBySize": "Сортировка по размеру",
|
"sortBySize": "Сортировка по размеру",
|
||||||
"noPreview": "Предварительный просмотр для этого файла недоступен."
|
"noPreview": "Предварительный просмотр для этого файла недоступен.",
|
||||||
|
"csvTooLarge": "Этот CSV файл слишком большой для предпросмотра (>5 МБ). Скачайте и откройте его локально.",
|
||||||
|
"csvLoadFailed": "Не удалось загрузить этот CSV.",
|
||||||
|
"showingRows": "Отображается {count} строк(а)",
|
||||||
|
"columnSeparator": "Разделитель столбцов",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Запятая (,)",
|
||||||
|
"semicolon": "Точка с запятой (;)",
|
||||||
|
"both": "Оба варианта — (,) и (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "выбрать файл или каталог",
|
"click": "выбрать файл или каталог",
|
||||||
@@ -102,9 +117,9 @@
|
|||||||
"username": "Имя пользователя",
|
"username": "Имя пользователя",
|
||||||
"usernameTaken": "Данное имя пользователя уже занято",
|
"usernameTaken": "Данное имя пользователя уже занято",
|
||||||
"wrongCredentials": "Неверные данные",
|
"wrongCredentials": "Неверные данные",
|
||||||
"passwordTooShort": "Password must be at least {min} characters",
|
"passwordTooShort": "Пароль должен состоять как минимум из {min} символов",
|
||||||
"logout_reasons": {
|
"logout_reasons": {
|
||||||
"inactivity": "You have been logged out due to inactivity."
|
"inactivity": "Сессия завершена после долгого отсутствия."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permanent": "Постоянный",
|
"permanent": "Постоянный",
|
||||||
@@ -159,7 +174,7 @@
|
|||||||
"video": "Видео"
|
"video": "Видео"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"aceEditorTheme": "Ace editor theme",
|
"aceEditorTheme": "Тема редактора Ace",
|
||||||
"admin": "Админ",
|
"admin": "Админ",
|
||||||
"administrator": "Администратор",
|
"administrator": "Администратор",
|
||||||
"allowCommands": "Запуск команд",
|
"allowCommands": "Запуск команд",
|
||||||
@@ -167,7 +182,7 @@
|
|||||||
"allowNew": "Создание новых файлов или каталогов",
|
"allowNew": "Создание новых файлов или каталогов",
|
||||||
"allowPublish": "Публикация новых записей и страниц",
|
"allowPublish": "Публикация новых записей и страниц",
|
||||||
"allowSignup": "Разрешить пользователям регистрироваться",
|
"allowSignup": "Разрешить пользователям регистрироваться",
|
||||||
"hideLoginButton": "Hide the login button from public pages",
|
"hideLoginButton": "Спрятать кнопку входа с публичных страниц",
|
||||||
"avoidChanges": "(оставьте поле пустым, чтобы избежать изменений)",
|
"avoidChanges": "(оставьте поле пустым, чтобы избежать изменений)",
|
||||||
"branding": "Брендинг",
|
"branding": "Брендинг",
|
||||||
"brandingDirectoryPath": "Путь к каталогу брендов",
|
"brandingDirectoryPath": "Путь к каталогу брендов",
|
||||||
@@ -177,7 +192,7 @@
|
|||||||
"commandRunnerHelp": "Здесь вы можете установить команды, которые будут выполняться в указанных событиях. Вы должны указать по одной команде в каждой строке. Переменные среды {0} и {1} будут доступны, будучи {0} относительно {1}. Дополнительные сведения об этой функции и доступных переменных среды см. В {2}.",
|
"commandRunnerHelp": "Здесь вы можете установить команды, которые будут выполняться в указанных событиях. Вы должны указать по одной команде в каждой строке. Переменные среды {0} и {1} будут доступны, будучи {0} относительно {1}. Дополнительные сведения об этой функции и доступных переменных среды см. В {2}.",
|
||||||
"commandsUpdated": "Команды обновлены!",
|
"commandsUpdated": "Команды обновлены!",
|
||||||
"createUserDir": "Автоматическое создание домашнего каталога пользователя при добавлении нового пользователя",
|
"createUserDir": "Автоматическое создание домашнего каталога пользователя при добавлении нового пользователя",
|
||||||
"minimumPasswordLength": "Minimum password length",
|
"minimumPasswordLength": "Минимальная длина пароля",
|
||||||
"tusUploads": "Загруженные файлы",
|
"tusUploads": "Загруженные файлы",
|
||||||
"tusUploadsHelp": " File Browser поддерживает загрузку файлов по частям, что позволяет работать в сетях низкого качества.",
|
"tusUploadsHelp": " File Browser поддерживает загрузку файлов по частям, что позволяет работать в сетях низкого качества.",
|
||||||
"tusUploadsChunkSize": "Указывает максимальный размер запроса (мелкие загрузки пойдут напрямую). Вы можете ввести простое целое число, обозначающее размер ввода в байтах, или строку, например 10MB, 1GB и т. д.",
|
"tusUploadsChunkSize": "Указывает максимальный размер запроса (мелкие загрузки пойдут напрямую). Вы можете ввести простое целое число, обозначающее размер ввода в байтах, или строку, например 10MB, 1GB и т. д.",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Права доступа",
|
"permissions": "Права доступа",
|
||||||
"permissionsHelp": "Можно настроить пользователя как администратора или выбрать разрешения индивидуально. При выборе \"Администратор\", все остальные параметры будут автоматически выбраны. Управление пользователями - привилегия администратора.\n",
|
"permissionsHelp": "Можно настроить пользователя как администратора или выбрать разрешения индивидуально. При выборе \"Администратор\", все остальные параметры будут автоматически выбраны. Управление пользователями - привилегия администратора.\n",
|
||||||
"profileSettings": "Настройки профиля",
|
"profileSettings": "Настройки профиля",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "предотвратить доступ к любому скрытому файлу (например: .git, .gitignore) в каждой папке.\n",
|
"ruleExample1": "предотвратить доступ к любому скрытому файлу (например: .git, .gitignore) в каждой папке.\n",
|
||||||
"ruleExample2": "блокирует доступ к файлу с именем Caddyfile в корневой области.",
|
"ruleExample2": "блокирует доступ к файлу с именем Caddyfile в корневой области.",
|
||||||
"rules": "Права",
|
"rules": "Права",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Управление пользователями",
|
"userManagement": "Управление пользователями",
|
||||||
"userUpdated": "Пользователь изменен!",
|
"userUpdated": "Пользователь изменен!",
|
||||||
"username": "Имя пользователя",
|
"username": "Имя пользователя",
|
||||||
"users": "Пользователи"
|
"users": "Пользователи",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Помощь",
|
"help": "Помощь",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Aktualizovať",
|
"update": "Aktualizovať",
|
||||||
"upload": "Nahrať",
|
"upload": "Nahrať",
|
||||||
"openFile": "Otvoriť súbor",
|
"openFile": "Otvoriť súbor",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Zahodiť",
|
"discardChanges": "Zahodiť",
|
||||||
"saveChanges": "Uložiť zmeny"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Uložiť zmeny",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Stiahnuť súbor",
|
"downloadFile": "Stiahnuť súbor",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Zoradiť podľa dátumu",
|
"sortByLastModified": "Zoradiť podľa dátumu",
|
||||||
"sortByName": "Zoradiť podľa názvu",
|
"sortByName": "Zoradiť podľa názvu",
|
||||||
"sortBySize": "Zoradiť podľa veľkosti",
|
"sortBySize": "Zoradiť podľa veľkosti",
|
||||||
"noPreview": "Pre tento súbor nie je dostupný náhľad."
|
"noPreview": "Pre tento súbor nie je dostupný náhľad.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "vyberie súbor alebo priečinok",
|
"click": "vyberie súbor alebo priečinok",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Práva",
|
"permissions": "Práva",
|
||||||
"permissionsHelp": "Môžete nastaviť používateľa, aby bol administrátorom alebo vybrať práva jednotlivo. Ak zvolíte \"Administrator\", všetky ďalšie budú automaticky zaškrtnuté. Manažment používateľov ostáva v správe administrátora.\n",
|
"permissionsHelp": "Môžete nastaviť používateľa, aby bol administrátorom alebo vybrať práva jednotlivo. Ak zvolíte \"Administrator\", všetky ďalšie budú automaticky zaškrtnuté. Manažment používateľov ostáva v správe administrátora.\n",
|
||||||
"profileSettings": "Nastavenia profilu",
|
"profileSettings": "Nastavenia profilu",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "blokuje prístup ku všetkým súborom začínajúcim bodkou (napríklad .git, .gitignore) v každom priečinku.\n",
|
"ruleExample1": "blokuje prístup ku všetkým súborom začínajúcim bodkou (napríklad .git, .gitignore) v každom priečinku.\n",
|
||||||
"ruleExample2": "blokuje prístup k súborom s názvom Caddyfile v koreňovom priečinku.",
|
"ruleExample2": "blokuje prístup k súborom s názvom Caddyfile v koreňovom priečinku.",
|
||||||
"rules": "Pravidlá",
|
"rules": "Pravidlá",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Správa používateľov",
|
"userManagement": "Správa používateľov",
|
||||||
"userUpdated": "Používateľ upravený!",
|
"userUpdated": "Používateľ upravený!",
|
||||||
"username": "Meno používateľa",
|
"username": "Meno používateľa",
|
||||||
"users": "Používatelia"
|
"users": "Používatelia",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Pomoc",
|
"help": "Pomoc",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Uppdatera",
|
"update": "Uppdatera",
|
||||||
"upload": "Ladda upp",
|
"upload": "Ladda upp",
|
||||||
"openFile": "Öppna fil",
|
"openFile": "Öppna fil",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Förkasta",
|
"discardChanges": "Förkasta",
|
||||||
"saveChanges": "Spara ändringar"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Spara ändringar",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Ladda ner fil",
|
"downloadFile": "Ladda ner fil",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Sortera på senast ändrad",
|
"sortByLastModified": "Sortera på senast ändrad",
|
||||||
"sortByName": "Sortera på namn",
|
"sortByName": "Sortera på namn",
|
||||||
"sortBySize": "Sortera på storlek",
|
"sortBySize": "Sortera på storlek",
|
||||||
"noPreview": "Förhandsvisning är inte tillgänglig för denna fil."
|
"noPreview": "Förhandsvisning är inte tillgänglig för denna fil.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "välj fil eller mapp",
|
"click": "välj fil eller mapp",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Rättigheter",
|
"permissions": "Rättigheter",
|
||||||
"permissionsHelp": "Du kan ange att användaren ska vara administratör eller välja behörigheterna individuellt. Om du väljer \"administratör \" kommer alla andra alternativ att kontrolleras automatiskt. Hanteringen av användare är fortfarande ett privilegium för en administratör.\n",
|
"permissionsHelp": "Du kan ange att användaren ska vara administratör eller välja behörigheterna individuellt. Om du väljer \"administratör \" kommer alla andra alternativ att kontrolleras automatiskt. Hanteringen av användare är fortfarande ett privilegium för en administratör.\n",
|
||||||
"profileSettings": "Profil inställningar",
|
"profileSettings": "Profil inställningar",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "förhindrar åtkomst till en dot-fil (till exempel. git,. gitignore) i varje mapp.\n",
|
"ruleExample1": "förhindrar åtkomst till en dot-fil (till exempel. git,. gitignore) i varje mapp.\n",
|
||||||
"ruleExample2": "blockerar åtkomsten till filen som heter Caddyfilen i roten av scopet.",
|
"ruleExample2": "blockerar åtkomsten till filen som heter Caddyfilen i roten av scopet.",
|
||||||
"rules": "Regler",
|
"rules": "Regler",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Användarehantering",
|
"userManagement": "Användarehantering",
|
||||||
"userUpdated": "Användare uppdaterad!",
|
"userUpdated": "Användare uppdaterad!",
|
||||||
"username": "Användarnamn",
|
"username": "Användarnamn",
|
||||||
"users": "Användare"
|
"users": "Användare",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Hjälp",
|
"help": "Hjälp",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Güncelle",
|
"update": "Güncelle",
|
||||||
"upload": "Yükle",
|
"upload": "Yükle",
|
||||||
"openFile": "Dosyayı aç",
|
"openFile": "Dosyayı aç",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Discard",
|
"discardChanges": "Discard",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Dosyayı indir",
|
"downloadFile": "Dosyayı indir",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Güncelleme tarihine göre sırala",
|
"sortByLastModified": "Güncelleme tarihine göre sırala",
|
||||||
"sortByName": "İsme göre sırala",
|
"sortByName": "İsme göre sırala",
|
||||||
"sortBySize": "Boyuta göre sırala",
|
"sortBySize": "Boyuta göre sırala",
|
||||||
"noPreview": "Bu dosya için önizleme aktif değil"
|
"noPreview": "Bu dosya için önizleme aktif değil",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "dosya veya klasör seçin",
|
"click": "dosya veya klasör seçin",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "İzinler",
|
"permissions": "İzinler",
|
||||||
"permissionsHelp": "Kullanıcıyı yönetici olarak ayarlayabilir veya izinleri ayrı ayrı seçebilirsiniz. \"Yönetici\"yi seçerseniz, diğer tüm seçenekler otomatik olarak kontrol edilecektir. Kullanıcıların yönetimi, bir yöneticinin yetkisi olarak kalır.\n",
|
"permissionsHelp": "Kullanıcıyı yönetici olarak ayarlayabilir veya izinleri ayrı ayrı seçebilirsiniz. \"Yönetici\"yi seçerseniz, diğer tüm seçenekler otomatik olarak kontrol edilecektir. Kullanıcıların yönetimi, bir yöneticinin yetkisi olarak kalır.\n",
|
||||||
"profileSettings": "Profil ayarları",
|
"profileSettings": "Profil ayarları",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "her klasördeki herhangi bir noktalı dosyaya (.git, .gitignore gibi) erişimi engeller.\n",
|
"ruleExample1": "her klasördeki herhangi bir noktalı dosyaya (.git, .gitignore gibi) erişimi engeller.\n",
|
||||||
"ruleExample2": "Root erişimidenki CaddyFile dosyalarına erişimi engelle.",
|
"ruleExample2": "Root erişimidenki CaddyFile dosyalarına erişimi engelle.",
|
||||||
"rules": "Kurallar",
|
"rules": "Kurallar",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Kullanıcı yönetimi",
|
"userManagement": "Kullanıcı yönetimi",
|
||||||
"userUpdated": "Kullanıcı güncellendi!",
|
"userUpdated": "Kullanıcı güncellendi!",
|
||||||
"username": "Kullanıcı adı",
|
"username": "Kullanıcı adı",
|
||||||
"users": "Kullanıcılar"
|
"users": "Kullanıcılar",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Yardım",
|
"help": "Yardım",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Оновити",
|
"update": "Оновити",
|
||||||
"upload": "Вивантажити",
|
"upload": "Вивантажити",
|
||||||
"openFile": "Відкрити файл",
|
"openFile": "Відкрити файл",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Скасувати",
|
"discardChanges": "Скасувати",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Завантажити файл",
|
"downloadFile": "Завантажити файл",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Сортувати за останнім зміненням",
|
"sortByLastModified": "Сортувати за останнім зміненням",
|
||||||
"sortByName": "Сортувати за іменем",
|
"sortByName": "Сортувати за іменем",
|
||||||
"sortBySize": "Сортувати за розміром",
|
"sortBySize": "Сортувати за розміром",
|
||||||
"noPreview": "Попередній перегляд для цього файлу недоступний."
|
"noPreview": "Попередній перегляд для цього файлу недоступний.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "вибрати файл чи каталог",
|
"click": "вибрати файл чи каталог",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Дозволи",
|
"permissions": "Дозволи",
|
||||||
"permissionsHelp": "Можна налаштувати користувача як адміністратора чи вибрати індивідуальні дозволи. При виборі \"Адміністратор\" всі інші параметри будуть автоматично вибрані. Керування користувачами - привілей адміністратора.\n",
|
"permissionsHelp": "Можна налаштувати користувача як адміністратора чи вибрати індивідуальні дозволи. При виборі \"Адміністратор\" всі інші параметри будуть автоматично вибрані. Керування користувачами - привілей адміністратора.\n",
|
||||||
"profileSettings": "Налаштування профілю",
|
"profileSettings": "Налаштування профілю",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "запобігти доступу до будь-якого прихованого файлу (наприклад: .git, .gitignore) у кожній папці.\n",
|
"ruleExample1": "запобігти доступу до будь-якого прихованого файлу (наприклад: .git, .gitignore) у кожній папці.\n",
|
||||||
"ruleExample2": "блокує доступ до файлу з ім'ям Caddyfile у кореневій області.",
|
"ruleExample2": "блокує доступ до файлу з ім'ям Caddyfile у кореневій області.",
|
||||||
"rules": "Права",
|
"rules": "Права",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Керування користувачами",
|
"userManagement": "Керування користувачами",
|
||||||
"userUpdated": "Користувача змінено!",
|
"userUpdated": "Користувача змінено!",
|
||||||
"username": "Ім'я користувача",
|
"username": "Ім'я користувача",
|
||||||
"users": "Користувачі"
|
"users": "Користувачі",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Допомога",
|
"help": "Допомога",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "Cập nhật",
|
"update": "Cập nhật",
|
||||||
"upload": "Tải lên",
|
"upload": "Tải lên",
|
||||||
"openFile": "Mở tệp",
|
"openFile": "Mở tệp",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "Hủy bỏ thay đổi",
|
"discardChanges": "Hủy bỏ thay đổi",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "Tải xuống tệp tin",
|
"downloadFile": "Tải xuống tệp tin",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "Sắp xếp theo ngày sửa đổi",
|
"sortByLastModified": "Sắp xếp theo ngày sửa đổi",
|
||||||
"sortByName": "Sắp xếp theo tên",
|
"sortByName": "Sắp xếp theo tên",
|
||||||
"sortBySize": "Sắp xếp theo kích thước",
|
"sortBySize": "Sắp xếp theo kích thước",
|
||||||
"noPreview": "Không có bản xem trước cho tập tin này."
|
"noPreview": "Không có bản xem trước cho tập tin này.",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "chọn tập tin hoặc thư mục",
|
"click": "chọn tập tin hoặc thư mục",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "Quyền",
|
"permissions": "Quyền",
|
||||||
"permissionsHelp": "Bạn có thể đặt người dùng làm quản trị viên hoặc chọn quyền riêng lẻ. Nếu chọn \"Người quản trị\", tất cả các tùy chọn khác sẽ tự động được chọn. Việc quản lý người dùng vẫn là đặc quyền của quản trị viên.\n",
|
"permissionsHelp": "Bạn có thể đặt người dùng làm quản trị viên hoặc chọn quyền riêng lẻ. Nếu chọn \"Người quản trị\", tất cả các tùy chọn khác sẽ tự động được chọn. Việc quản lý người dùng vẫn là đặc quyền của quản trị viên.\n",
|
||||||
"profileSettings": "Cài đặt hồ sơ",
|
"profileSettings": "Cài đặt hồ sơ",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "ngăn truy cập vào bất kỳ tệp ẩn nào (chẳng hạn như .git, .gitignore) trong mọi thư mục.\n",
|
"ruleExample1": "ngăn truy cập vào bất kỳ tệp ẩn nào (chẳng hạn như .git, .gitignore) trong mọi thư mục.\n",
|
||||||
"ruleExample2": "chặn truy cập vào tệp có tên Caddyfile trong thư mục gốc của phạm vi.",
|
"ruleExample2": "chặn truy cập vào tệp có tên Caddyfile trong thư mục gốc của phạm vi.",
|
||||||
"rules": "Quy tắc",
|
"rules": "Quy tắc",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "Quản lý người dùng",
|
"userManagement": "Quản lý người dùng",
|
||||||
"userUpdated": "Người dùng đã được cập nhật!",
|
"userUpdated": "Người dùng đã được cập nhật!",
|
||||||
"username": "Tên người dùng",
|
"username": "Tên người dùng",
|
||||||
"users": "Người dùng"
|
"users": "Người dùng",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "Trợ giúp",
|
"help": "Trợ giúp",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "更新",
|
"update": "更新",
|
||||||
"upload": "上传",
|
"upload": "上传",
|
||||||
"openFile": "打开文件",
|
"openFile": "打开文件",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "放弃更改",
|
"discardChanges": "放弃更改",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "停止搜索",
|
||||||
|
"saveChanges": "保存更改",
|
||||||
|
"editAsText": "以文本形式编辑",
|
||||||
|
"increaseFontSize": "增大字体大小",
|
||||||
|
"decreaseFontSize": "减小字体大小"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "下载文件",
|
"downloadFile": "下载文件",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "按最后修改时间排序",
|
"sortByLastModified": "按最后修改时间排序",
|
||||||
"sortByName": "按名称排序",
|
"sortByName": "按名称排序",
|
||||||
"sortBySize": "按大小排序",
|
"sortBySize": "按大小排序",
|
||||||
"noPreview": "此文件无法预览。"
|
"noPreview": "此文件无法预览。",
|
||||||
|
"csvTooLarge": "CSV文件大到无法预览(>5MB)。请下载查看。",
|
||||||
|
"csvLoadFailed": "加载 CSV 文件失败。",
|
||||||
|
"showingRows": "正在显示 {count} 行",
|
||||||
|
"columnSeparator": "列分隔符",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "逗号 (,)",
|
||||||
|
"semicolon": "分号 (;)",
|
||||||
|
"both": "逗号 (,) 和分号 (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "选择文件或文件夹",
|
"click": "选择文件或文件夹",
|
||||||
@@ -102,9 +117,9 @@
|
|||||||
"username": "用户名",
|
"username": "用户名",
|
||||||
"usernameTaken": "用户名已经被使用",
|
"usernameTaken": "用户名已经被使用",
|
||||||
"wrongCredentials": "用户名或密码错误",
|
"wrongCredentials": "用户名或密码错误",
|
||||||
"passwordTooShort": "Password must be at least {min} characters",
|
"passwordTooShort": "密码必须至少包含 {min} 个字符",
|
||||||
"logout_reasons": {
|
"logout_reasons": {
|
||||||
"inactivity": "You have been logged out due to inactivity."
|
"inactivity": "由于未活动,您已登出。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permanent": "永久",
|
"permanent": "永久",
|
||||||
@@ -159,7 +174,7 @@
|
|||||||
"video": "视频"
|
"video": "视频"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"aceEditorTheme": "Ace editor theme",
|
"aceEditorTheme": "Ace编辑器主题",
|
||||||
"admin": "管理员",
|
"admin": "管理员",
|
||||||
"administrator": "管理员",
|
"administrator": "管理员",
|
||||||
"allowCommands": "执行命令(Shell 命令)",
|
"allowCommands": "执行命令(Shell 命令)",
|
||||||
@@ -167,7 +182,7 @@
|
|||||||
"allowNew": "创建新文件和文件夹",
|
"allowNew": "创建新文件和文件夹",
|
||||||
"allowPublish": "发布新的帖子与页面",
|
"allowPublish": "发布新的帖子与页面",
|
||||||
"allowSignup": "允许用户注册",
|
"allowSignup": "允许用户注册",
|
||||||
"hideLoginButton": "Hide the login button from public pages",
|
"hideLoginButton": "从公开页面隐藏登录按钮",
|
||||||
"avoidChanges": "(留空以避免更改)",
|
"avoidChanges": "(留空以避免更改)",
|
||||||
"branding": "品牌",
|
"branding": "品牌",
|
||||||
"brandingDirectoryPath": "品牌信息文件夹路径",
|
"brandingDirectoryPath": "品牌信息文件夹路径",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "权限",
|
"permissions": "权限",
|
||||||
"permissionsHelp": "你可以将该用户设置为管理员或单独选择各项权限。如果你选择了“管理员”,则其他的选项会被自动选中,同时该用户可以管理其他用户。\n",
|
"permissionsHelp": "你可以将该用户设置为管理员或单独选择各项权限。如果你选择了“管理员”,则其他的选项会被自动选中,同时该用户可以管理其他用户。\n",
|
||||||
"profileSettings": "个人设置",
|
"profileSettings": "个人设置",
|
||||||
|
"redirectAfterCopyMove": "复制/移动后转到目标位置",
|
||||||
"ruleExample1": "阻止用户访问所有文件夹下任何以 . 开头的文件(隐藏文件, 例如: .git, .gitignore)。\n",
|
"ruleExample1": "阻止用户访问所有文件夹下任何以 . 开头的文件(隐藏文件, 例如: .git, .gitignore)。\n",
|
||||||
"ruleExample2": "阻止用户访问其目录范围的根目录下名为 Caddyfile 的文件。",
|
"ruleExample2": "阻止用户访问其目录范围的根目录下名为 Caddyfile 的文件。",
|
||||||
"rules": "规则",
|
"rules": "规则",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "用户管理",
|
"userManagement": "用户管理",
|
||||||
"userUpdated": "用户已更新!",
|
"userUpdated": "用户已更新!",
|
||||||
"username": "用户名",
|
"username": "用户名",
|
||||||
"users": "用户"
|
"users": "用户",
|
||||||
|
"currentPassword": "您当前的密码"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "帮助",
|
"help": "帮助",
|
||||||
|
|||||||
@@ -42,8 +42,13 @@
|
|||||||
"update": "更新",
|
"update": "更新",
|
||||||
"upload": "上傳",
|
"upload": "上傳",
|
||||||
"openFile": "開啟檔案",
|
"openFile": "開啟檔案",
|
||||||
|
"openDirect": "View raw",
|
||||||
"discardChanges": "放棄變更",
|
"discardChanges": "放棄變更",
|
||||||
"saveChanges": "Save changes"
|
"stopSearch": "Stop searching",
|
||||||
|
"saveChanges": "Save changes",
|
||||||
|
"editAsText": "Edit as Text",
|
||||||
|
"increaseFontSize": "Increase font size",
|
||||||
|
"decreaseFontSize": "Decrease font size"
|
||||||
},
|
},
|
||||||
"download": {
|
"download": {
|
||||||
"downloadFile": "下載檔案",
|
"downloadFile": "下載檔案",
|
||||||
@@ -75,7 +80,17 @@
|
|||||||
"sortByLastModified": "按最後修改時間排序",
|
"sortByLastModified": "按最後修改時間排序",
|
||||||
"sortByName": "按名稱排序",
|
"sortByName": "按名稱排序",
|
||||||
"sortBySize": "按大小排序",
|
"sortBySize": "按大小排序",
|
||||||
"noPreview": "此檔案無法預覽。"
|
"noPreview": "此檔案無法預覽。",
|
||||||
|
"csvTooLarge": "CSV file is too large for preview (>5MB). Please download to view.",
|
||||||
|
"csvLoadFailed": "Failed to load CSV file.",
|
||||||
|
"showingRows": "Showing {count} row(s)",
|
||||||
|
"columnSeparator": "Column Separator",
|
||||||
|
"csvSeparators": {
|
||||||
|
"comma": "Comma (,)",
|
||||||
|
"semicolon": "Semicolon (;)",
|
||||||
|
"both": "Both (,) and (;)"
|
||||||
|
},
|
||||||
|
"fileEncoding": "File Encoding"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"click": "選擇檔案或目錄",
|
"click": "選擇檔案或目錄",
|
||||||
@@ -219,6 +234,7 @@
|
|||||||
"permissions": "權限",
|
"permissions": "權限",
|
||||||
"permissionsHelp": "您可以將該使用者設置為管理員,也可以單獨選擇各項權限。如果選擇了“管理員”,則其他的選項會被自動勾上,同時該使用者可以管理其他使用者。",
|
"permissionsHelp": "您可以將該使用者設置為管理員,也可以單獨選擇各項權限。如果選擇了“管理員”,則其他的選項會被自動勾上,同時該使用者可以管理其他使用者。",
|
||||||
"profileSettings": "個人設定",
|
"profileSettings": "個人設定",
|
||||||
|
"redirectAfterCopyMove": "Redirect to destination after copy/move",
|
||||||
"ruleExample1": "封鎖使用者存取所有資料夾下任何以 . 開頭的檔案(隱藏文件, 例如: .git, .gitignore)。",
|
"ruleExample1": "封鎖使用者存取所有資料夾下任何以 . 開頭的檔案(隱藏文件, 例如: .git, .gitignore)。",
|
||||||
"ruleExample2": "封鎖使用者存取其目錄範圍的根目錄下名為 Caddyfile 的檔案。",
|
"ruleExample2": "封鎖使用者存取其目錄範圍的根目錄下名為 Caddyfile 的檔案。",
|
||||||
"rules": "規則",
|
"rules": "規則",
|
||||||
@@ -245,7 +261,8 @@
|
|||||||
"userManagement": "使用者管理",
|
"userManagement": "使用者管理",
|
||||||
"userUpdated": "使用者已更新!",
|
"userUpdated": "使用者已更新!",
|
||||||
"username": "使用者名稱",
|
"username": "使用者名稱",
|
||||||
"users": "使用者"
|
"users": "使用者",
|
||||||
|
"currentPassword": "Your Current Password"
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"help": "幫助",
|
"help": "幫助",
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import { disableExternal } from "@/utils/constants";
|
|||||||
import { createApp } from "vue";
|
import { createApp } from "vue";
|
||||||
import VueNumberInput from "@chenfengyuan/vue-number-input";
|
import VueNumberInput from "@chenfengyuan/vue-number-input";
|
||||||
import VueLazyload from "vue-lazyload";
|
import VueLazyload from "vue-lazyload";
|
||||||
import { createVfm } from "vue-final-modal";
|
|
||||||
import Toast, { POSITION, useToast } from "vue-toastification";
|
import Toast, { POSITION, useToast } from "vue-toastification";
|
||||||
import type {
|
import type {
|
||||||
ToastOptions,
|
ToastOptions,
|
||||||
@@ -27,7 +26,6 @@ dayjs.extend(relativeTime);
|
|||||||
dayjs.extend(duration);
|
dayjs.extend(duration);
|
||||||
|
|
||||||
const pinia = createPinia(router);
|
const pinia = createPinia(router);
|
||||||
const vfm = createVfm();
|
|
||||||
|
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
|
|
||||||
@@ -39,7 +37,6 @@ app.use(Toast, {
|
|||||||
newestOnTop: true,
|
newestOnTop: true,
|
||||||
} satisfies PluginOptions);
|
} satisfies PluginOptions);
|
||||||
|
|
||||||
app.use(vfm);
|
|
||||||
app.use(i18n);
|
app.use(i18n);
|
||||||
app.use(pinia);
|
app.use(pinia);
|
||||||
app.use(router);
|
app.use(router);
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ export const useLayoutStore = defineStore("layout", {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
closeHovers() {
|
closeHovers() {
|
||||||
this.prompts.shift()?.close?.();
|
this.prompts.pop()?.close?.();
|
||||||
},
|
},
|
||||||
// easily reset state using `$reset`
|
// easily reset state using `$reset`
|
||||||
clearLayout() {
|
clearLayout() {
|
||||||
|
|||||||
Vendored
+6
@@ -21,6 +21,7 @@ interface Resource extends ResourceBase {
|
|||||||
index: number;
|
index: number;
|
||||||
subtitles?: string[];
|
subtitles?: string[];
|
||||||
content?: string;
|
content?: string;
|
||||||
|
rawContent?: ArrayBuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ResourceItem extends ResourceBase {
|
interface ResourceItem extends ResourceBase {
|
||||||
@@ -57,3 +58,8 @@ interface BreadCrumb {
|
|||||||
name: string;
|
name: string;
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface CsvData {
|
||||||
|
headers: string[];
|
||||||
|
rows: string[][];
|
||||||
|
}
|
||||||
Vendored
+2
@@ -5,6 +5,7 @@ interface ISettings {
|
|||||||
minimumPasswordLength: number;
|
minimumPasswordLength: number;
|
||||||
userHomeBasePath: string;
|
userHomeBasePath: string;
|
||||||
defaults: SettingsDefaults;
|
defaults: SettingsDefaults;
|
||||||
|
authMethod: string;
|
||||||
rules: any[];
|
rules: any[];
|
||||||
branding: SettingsBranding;
|
branding: SettingsBranding;
|
||||||
tus: SettingsTus;
|
tus: SettingsTus;
|
||||||
@@ -17,6 +18,7 @@ interface SettingsDefaults {
|
|||||||
locale: string;
|
locale: string;
|
||||||
viewMode: ViewModeType;
|
viewMode: ViewModeType;
|
||||||
singleClick: boolean;
|
singleClick: boolean;
|
||||||
|
redirectAfterCopyMove: boolean;
|
||||||
sorting: Sorting;
|
sorting: Sorting;
|
||||||
perm: Permissions;
|
perm: Permissions;
|
||||||
commands: any[];
|
commands: any[];
|
||||||
|
|||||||
Vendored
+2
@@ -10,6 +10,7 @@ interface IUser {
|
|||||||
lockPassword: boolean;
|
lockPassword: boolean;
|
||||||
hideDotfiles: boolean;
|
hideDotfiles: boolean;
|
||||||
singleClick: boolean;
|
singleClick: boolean;
|
||||||
|
redirectAfterCopyMove: boolean;
|
||||||
dateFormat: boolean;
|
dateFormat: boolean;
|
||||||
viewMode: ViewModeType;
|
viewMode: ViewModeType;
|
||||||
sorting?: Sorting;
|
sorting?: Sorting;
|
||||||
@@ -30,6 +31,7 @@ interface IUserForm {
|
|||||||
lockPassword?: boolean;
|
lockPassword?: boolean;
|
||||||
hideDotfiles?: boolean;
|
hideDotfiles?: boolean;
|
||||||
singleClick?: boolean;
|
singleClick?: boolean;
|
||||||
|
redirectAfterCopyMove?: boolean;
|
||||||
dateFormat?: boolean;
|
dateFormat?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { useAuthStore } from "@/stores/auth";
|
|||||||
import router from "@/router";
|
import router from "@/router";
|
||||||
import type { JwtPayload } from "jwt-decode";
|
import type { JwtPayload } from "jwt-decode";
|
||||||
import { jwtDecode } from "jwt-decode";
|
import { jwtDecode } from "jwt-decode";
|
||||||
import { baseURL, noAuth } from "./constants";
|
import { authMethod, baseURL, noAuth, logoutPage } from "./constants";
|
||||||
import { StatusError } from "@/api/utils";
|
import { StatusError } from "@/api/utils";
|
||||||
import { setSafeTimeout } from "@/api/utils";
|
import { setSafeTimeout } from "@/api/utils";
|
||||||
|
|
||||||
@@ -18,6 +18,12 @@ export function parseToken(token: string) {
|
|||||||
authStore.jwt = token;
|
authStore.jwt = token;
|
||||||
authStore.setUser(data.user);
|
authStore.setUser(data.user);
|
||||||
|
|
||||||
|
// proxy auth with custom logout subject to unknown external timeout
|
||||||
|
if (logoutPage !== "/login" && authMethod === "proxy") {
|
||||||
|
console.warn("idle timeout disabled with proxy auth and custom logout");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (authStore.logoutTimer) {
|
if (authStore.logoutTimer) {
|
||||||
clearTimeout(authStore.logoutTimer);
|
clearTimeout(authStore.logoutTimer);
|
||||||
}
|
}
|
||||||
@@ -118,6 +124,8 @@ export function logout(reason?: string) {
|
|||||||
localStorage.setItem("jwt", "");
|
localStorage.setItem("jwt", "");
|
||||||
if (noAuth) {
|
if (noAuth) {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
|
} else if (logoutPage !== "/login") {
|
||||||
|
document.location.href = `${logoutPage}`;
|
||||||
} else {
|
} else {
|
||||||
if (typeof reason === "string" && reason.trim() !== "") {
|
if (typeof reason === "string" && reason.trim() !== "") {
|
||||||
router.push({
|
router.push({
|
||||||
|
|||||||
@@ -51,6 +51,20 @@ export function copy(data: ClipboardArgs, opts?: ClipboardOpts) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function read() {
|
||||||
|
return new Promise<string>((resolve, reject) => {
|
||||||
|
if (
|
||||||
|
// Clipboard API requires secure context
|
||||||
|
window.isSecureContext &&
|
||||||
|
typeof navigator.clipboard !== "undefined"
|
||||||
|
) {
|
||||||
|
navigator.clipboard.readText().then(resolve).catch(reject);
|
||||||
|
} else {
|
||||||
|
reject();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function getPermission(name: string) {
|
function getPermission(name: string) {
|
||||||
return new Promise<void>((resolve, reject) => {
|
return new Promise<void>((resolve, reject) => {
|
||||||
typeof navigator.permissions !== "undefined" &&
|
typeof navigator.permissions !== "undefined" &&
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ const version: string = window.FileBrowser.Version;
|
|||||||
const logoURL = `${staticURL}/img/logo.svg`;
|
const logoURL = `${staticURL}/img/logo.svg`;
|
||||||
const noAuth: boolean = window.FileBrowser.NoAuth;
|
const noAuth: boolean = window.FileBrowser.NoAuth;
|
||||||
const authMethod = window.FileBrowser.AuthMethod;
|
const authMethod = window.FileBrowser.AuthMethod;
|
||||||
|
const logoutPage: string = window.FileBrowser.LogoutPage;
|
||||||
const loginPage: boolean = window.FileBrowser.LoginPage;
|
const loginPage: boolean = window.FileBrowser.LoginPage;
|
||||||
const theme: UserTheme = window.FileBrowser.Theme;
|
const theme: UserTheme = window.FileBrowser.Theme;
|
||||||
const enableThumbs: boolean = window.FileBrowser.EnableThumbs;
|
const enableThumbs: boolean = window.FileBrowser.EnableThumbs;
|
||||||
@@ -32,6 +33,7 @@ export {
|
|||||||
version,
|
version,
|
||||||
noAuth,
|
noAuth,
|
||||||
authMethod,
|
authMethod,
|
||||||
|
logoutPage,
|
||||||
loginPage,
|
loginPage,
|
||||||
theme,
|
theme,
|
||||||
enableThumbs,
|
enableThumbs,
|
||||||
|
|||||||
@@ -0,0 +1,95 @@
|
|||||||
|
export const availableEncodings = [
|
||||||
|
"utf-8",
|
||||||
|
"ibm866",
|
||||||
|
"iso-8859-2",
|
||||||
|
"iso-8859-3",
|
||||||
|
"iso-8859-4",
|
||||||
|
"iso-8859-5",
|
||||||
|
"iso-8859-6",
|
||||||
|
"iso-8859-7",
|
||||||
|
"iso-8859-8",
|
||||||
|
"iso-8859-8-i",
|
||||||
|
"iso-8859-10",
|
||||||
|
"iso-8859-13",
|
||||||
|
"iso-8859-14",
|
||||||
|
"iso-8859-15",
|
||||||
|
"iso-8859-16",
|
||||||
|
"koi8-r",
|
||||||
|
"koi8-u",
|
||||||
|
"macintosh",
|
||||||
|
"windows-874",
|
||||||
|
"windows-1250",
|
||||||
|
"windows-1251",
|
||||||
|
"windows-1252",
|
||||||
|
"windows-1253",
|
||||||
|
"windows-1254",
|
||||||
|
"windows-1255",
|
||||||
|
"windows-1256",
|
||||||
|
"windows-1257",
|
||||||
|
"windows-1258",
|
||||||
|
"x-mac-cyrillic",
|
||||||
|
"gbk",
|
||||||
|
"gb18030",
|
||||||
|
"big5",
|
||||||
|
"euc-jp",
|
||||||
|
"iso-2022-jp",
|
||||||
|
"shift_jis",
|
||||||
|
"euc-kr",
|
||||||
|
"utf-16be",
|
||||||
|
"utf-16le",
|
||||||
|
];
|
||||||
|
|
||||||
|
export function decode(content: ArrayBuffer, encoding: string): string {
|
||||||
|
const decoder = new TextDecoder(encoding);
|
||||||
|
return decoder.decode(content);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function isEncodableResponse(url: string): boolean {
|
||||||
|
const extensions = [".csv"];
|
||||||
|
|
||||||
|
if (typeof TextDecoder === "undefined") {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (const extension of extensions) {
|
||||||
|
if (url.endsWith(extension)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function makeRawResource(
|
||||||
|
res: Response,
|
||||||
|
url: string
|
||||||
|
): Promise<Resource> {
|
||||||
|
const buffer = await res.arrayBuffer();
|
||||||
|
return {
|
||||||
|
items: [],
|
||||||
|
numDirs: 0,
|
||||||
|
numFiles: 0,
|
||||||
|
sorting: {} as Sorting,
|
||||||
|
index: 0,
|
||||||
|
extension: getExtension(url),
|
||||||
|
isDir: false,
|
||||||
|
isSymlink: false,
|
||||||
|
path: url,
|
||||||
|
size: buffer.byteLength,
|
||||||
|
modified: new Date().toISOString(),
|
||||||
|
name: url.split("/").pop() || "",
|
||||||
|
type: "text",
|
||||||
|
mode: 0,
|
||||||
|
url: `/files${url}`,
|
||||||
|
rawContent: buffer,
|
||||||
|
content: decode(buffer, "utf-8"),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
function getExtension(url: string): string {
|
||||||
|
const lastDotIndex = url.lastIndexOf(".");
|
||||||
|
if (lastDotIndex === -1) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
return url.substring(lastDotIndex);
|
||||||
|
}
|
||||||
@@ -69,6 +69,12 @@ const currentView = computed(() => {
|
|||||||
|
|
||||||
if (fileStore.req.isDir) {
|
if (fileStore.req.isDir) {
|
||||||
return FileListing;
|
return FileListing;
|
||||||
|
} else if (fileStore.req.extension.toLowerCase() === ".csv") {
|
||||||
|
// CSV files use Preview for table view, unless ?edit=true
|
||||||
|
if (route.query.edit === "true") {
|
||||||
|
return Editor;
|
||||||
|
}
|
||||||
|
return Preview;
|
||||||
} else if (
|
} else if (
|
||||||
fileStore.req.type === "text" ||
|
fileStore.req.type === "text" ||
|
||||||
fileStore.req.type === "textImmutable"
|
fileStore.req.type === "textImmutable"
|
||||||
|
|||||||
@@ -41,7 +41,30 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<Breadcrumbs base="/files" noLink />
|
<div class="editor-header">
|
||||||
|
<Breadcrumbs base="/files" noLink />
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<button
|
||||||
|
:disabled="isSelectionEmpty"
|
||||||
|
@click="executeEditorCommand('copy')"
|
||||||
|
>
|
||||||
|
<span><i class="material-icons">content_copy</i></span>
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
:disabled="isSelectionEmpty"
|
||||||
|
@click="executeEditorCommand('cut')"
|
||||||
|
>
|
||||||
|
<span><i class="material-icons">content_cut</i></span>
|
||||||
|
</button>
|
||||||
|
<button @click="executeEditorCommand('paste')">
|
||||||
|
<span><i class="material-icons">content_paste</i></span>
|
||||||
|
</button>
|
||||||
|
<button @click="executeEditorCommand('openCommandPalette')">
|
||||||
|
<span><i class="material-icons">more_vert</i></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-show="isPreview && isMarkdownFile"
|
v-show="isPreview && isMarkdownFile"
|
||||||
@@ -71,9 +94,11 @@ import { useFileStore } from "@/stores/file";
|
|||||||
import { useLayoutStore } from "@/stores/layout";
|
import { useLayoutStore } from "@/stores/layout";
|
||||||
import { getEditorTheme } from "@/utils/theme";
|
import { getEditorTheme } from "@/utils/theme";
|
||||||
import { marked } from "marked";
|
import { marked } from "marked";
|
||||||
|
import markedKatex from "marked-katex-extension";
|
||||||
import { inject, onBeforeUnmount, onMounted, ref, watchEffect } from "vue";
|
import { inject, onBeforeUnmount, onMounted, ref, watchEffect } from "vue";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { onBeforeRouteUpdate, useRoute, useRouter } from "vue-router";
|
import { onBeforeRouteUpdate, useRoute, useRouter } from "vue-router";
|
||||||
|
import { read, copy } from "@/utils/clipboard";
|
||||||
|
|
||||||
const $showError = inject<IToastError>("$showError")!;
|
const $showError = inject<IToastError>("$showError")!;
|
||||||
|
|
||||||
@@ -94,6 +119,40 @@ const previewContent = ref("");
|
|||||||
const isMarkdownFile =
|
const isMarkdownFile =
|
||||||
fileStore.req?.name.endsWith(".md") ||
|
fileStore.req?.name.endsWith(".md") ||
|
||||||
fileStore.req?.name.endsWith(".markdown");
|
fileStore.req?.name.endsWith(".markdown");
|
||||||
|
const katexOptions = {
|
||||||
|
output: "mathml" as const,
|
||||||
|
throwOnError: false,
|
||||||
|
};
|
||||||
|
marked.use(markedKatex(katexOptions));
|
||||||
|
|
||||||
|
const isSelectionEmpty = ref(true);
|
||||||
|
|
||||||
|
const executeEditorCommand = (name: string) => {
|
||||||
|
if (name == "paste") {
|
||||||
|
read()
|
||||||
|
.then((data) => {
|
||||||
|
editor.value?.execCommand("paste", {
|
||||||
|
text: data,
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.catch((e) => {
|
||||||
|
if (
|
||||||
|
document.queryCommandSupported &&
|
||||||
|
document.queryCommandSupported("paste")
|
||||||
|
) {
|
||||||
|
document.execCommand("paste");
|
||||||
|
} else {
|
||||||
|
console.warn("the clipboard api is not supported", e);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (name == "copy" || name == "cut") {
|
||||||
|
const selectedText = editor.value?.getCopyText();
|
||||||
|
copy({ text: selectedText });
|
||||||
|
}
|
||||||
|
editor.value?.execCommand(name);
|
||||||
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
window.addEventListener("keydown", keyEvent);
|
window.addEventListener("keydown", keyEvent);
|
||||||
@@ -118,20 +177,19 @@ onMounted(() => {
|
|||||||
`https://cdn.jsdelivr.net/npm/ace-builds@${ace_version}/src-min-noconflict/`
|
`https://cdn.jsdelivr.net/npm/ace-builds@${ace_version}/src-min-noconflict/`
|
||||||
);
|
);
|
||||||
|
|
||||||
editor.value = ace.edit("editor", {
|
if (!layoutStore.loading) {
|
||||||
value: fileContent,
|
initEditor(fileContent);
|
||||||
showPrintMargin: false,
|
} else {
|
||||||
readOnly: fileStore.req?.type === "textImmutable",
|
const unwatch = watchEffect(() => {
|
||||||
theme: getEditorTheme(authStore.user?.aceEditorTheme ?? ""),
|
// Initialize editor when layout is loaded
|
||||||
mode: modelist.getModeForPath(fileStore.req!.name).mode,
|
if (!layoutStore.loading) {
|
||||||
wrap: true,
|
setTimeout(() => {
|
||||||
enableBasicAutocompletion: true,
|
initEditor(fileContent);
|
||||||
enableLiveAutocompletion: true,
|
unwatch();
|
||||||
enableSnippets: true,
|
}, 50);
|
||||||
});
|
}
|
||||||
|
});
|
||||||
editor.value.setFontSize(fontSize.value);
|
}
|
||||||
editor.value.focus();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
@@ -160,6 +218,28 @@ onBeforeRouteUpdate((to, from, next) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const initEditor = (fileContent: string) => {
|
||||||
|
editor.value = ace.edit("editor", {
|
||||||
|
value: fileContent,
|
||||||
|
showPrintMargin: false,
|
||||||
|
readOnly: fileStore.req?.type === "textImmutable",
|
||||||
|
theme: getEditorTheme(authStore.user?.aceEditorTheme ?? ""),
|
||||||
|
mode: modelist.getModeForPath(fileStore.req!.name).mode,
|
||||||
|
wrap: true,
|
||||||
|
enableBasicAutocompletion: true,
|
||||||
|
enableLiveAutocompletion: true,
|
||||||
|
enableSnippets: true,
|
||||||
|
});
|
||||||
|
|
||||||
|
editor.value.setFontSize(fontSize.value);
|
||||||
|
editor.value.focus();
|
||||||
|
|
||||||
|
const selection = editor.value?.getSelection();
|
||||||
|
selection.on("changeSelection", function () {
|
||||||
|
isSelectionEmpty.value = selection.isEmpty();
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
const keyEvent = (event: KeyboardEvent) => {
|
const keyEvent = (event: KeyboardEvent) => {
|
||||||
if (event.code === "Escape") {
|
if (event.code === "Escape") {
|
||||||
close();
|
close();
|
||||||
@@ -186,7 +266,7 @@ const handlePageChange = (event: BeforeUnloadEvent) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const save = async () => {
|
const save = async (throwError?: boolean) => {
|
||||||
const button = "save";
|
const button = "save";
|
||||||
buttons.loading("save");
|
buttons.loading("save");
|
||||||
|
|
||||||
@@ -197,6 +277,7 @@ const save = async () => {
|
|||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
buttons.done(button);
|
buttons.done(button);
|
||||||
$showError(e);
|
$showError(e);
|
||||||
|
if (throwError) throw e;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -220,11 +301,14 @@ const close = () => {
|
|||||||
prompt: "discardEditorChanges",
|
prompt: "discardEditorChanges",
|
||||||
confirm: (event: Event) => {
|
confirm: (event: Event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
editor.value?.session.getUndoManager().reset();
|
||||||
finishClose();
|
finishClose();
|
||||||
},
|
},
|
||||||
saveAction: async () => {
|
saveAction: async () => {
|
||||||
await save();
|
try {
|
||||||
finishClose();
|
await save(true);
|
||||||
|
finishClose();
|
||||||
|
} catch {}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
@@ -233,7 +317,6 @@ const close = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const finishClose = () => {
|
const finishClose = () => {
|
||||||
fileStore.updateRequest(null);
|
|
||||||
const uri = url.removeLastDir(route.path) + "/";
|
const uri = url.removeLastDir(route.path) + "/";
|
||||||
router.push({ path: uri });
|
router.push({ path: uri });
|
||||||
};
|
};
|
||||||
@@ -248,4 +331,32 @@ const preview = () => {
|
|||||||
margin: 0 0.5em;
|
margin: 0 0.5em;
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-header > div > button {
|
||||||
|
background: transparent;
|
||||||
|
color: var(--action);
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
opacity: 0.8;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-header > div > button:hover:not(:disabled) {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-header > div > button:disabled {
|
||||||
|
opacity: 0.5;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-header > div > button > span > i {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -81,7 +81,13 @@
|
|||||||
</template>
|
</template>
|
||||||
</header-bar>
|
</header-bar>
|
||||||
|
|
||||||
<div v-if="isMobile" id="file-selection">
|
<div
|
||||||
|
v-if="isMobile"
|
||||||
|
id="file-selection"
|
||||||
|
:class="{
|
||||||
|
'file-selection-margin-bottom': fileStore.multiple,
|
||||||
|
}"
|
||||||
|
>
|
||||||
<span v-if="fileStore.selectedCount > 0">
|
<span v-if="fileStore.selectedCount > 0">
|
||||||
{{ t("prompts.filesSelected", fileStore.selectedCount) }}
|
{{ t("prompts.filesSelected", fileStore.selectedCount) }}
|
||||||
</span>
|
</span>
|
||||||
@@ -158,7 +164,9 @@
|
|||||||
id="listing"
|
id="listing"
|
||||||
ref="listing"
|
ref="listing"
|
||||||
class="file-icons"
|
class="file-icons"
|
||||||
|
data-clear-on-click="true"
|
||||||
:class="authStore.user?.viewMode ?? ''"
|
:class="authStore.user?.viewMode ?? ''"
|
||||||
|
@click="handleEmptyAreaClick"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<div class="item header">
|
<div class="item header">
|
||||||
@@ -204,11 +212,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 v-if="fileStore.req?.numDirs ?? false">
|
<h2 data-clear-on-click="true" v-if="fileStore.req?.numDirs ?? false">
|
||||||
{{ t("files.folders") }}
|
{{ t("files.folders") }}
|
||||||
</h2>
|
</h2>
|
||||||
<div
|
<div
|
||||||
v-if="fileStore.req?.numDirs ?? false"
|
v-if="fileStore.req?.numDirs ?? false"
|
||||||
|
data-clear-on-click="true"
|
||||||
@contextmenu="showContextMenu"
|
@contextmenu="showContextMenu"
|
||||||
>
|
>
|
||||||
<item
|
<item
|
||||||
@@ -226,11 +235,12 @@
|
|||||||
</item>
|
</item>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 v-if="fileStore.req?.numFiles ?? false">
|
<h2 data-clear-on-click="true" v-if="fileStore.req?.numFiles ?? false">
|
||||||
{{ t("files.files") }}
|
{{ t("files.files") }}
|
||||||
</h2>
|
</h2>
|
||||||
<div
|
<div
|
||||||
v-if="fileStore.req?.numFiles ?? false"
|
v-if="fileStore.req?.numFiles ?? false"
|
||||||
|
data-clear-on-click="true"
|
||||||
@contextmenu="showContextMenu"
|
@contextmenu="showContextMenu"
|
||||||
>
|
>
|
||||||
<item
|
<item
|
||||||
@@ -356,7 +366,7 @@ import {
|
|||||||
ref,
|
ref,
|
||||||
watch,
|
watch,
|
||||||
} from "vue";
|
} from "vue";
|
||||||
import { useRoute } from "vue-router";
|
import { useRoute, onBeforeRouteUpdate } from "vue-router";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { storeToRefs } from "pinia";
|
import { storeToRefs } from "pinia";
|
||||||
import { removePrefix } from "@/api/utils";
|
import { removePrefix } from "@/api/utils";
|
||||||
@@ -379,6 +389,9 @@ const layoutStore = useLayoutStore();
|
|||||||
const { req } = storeToRefs(fileStore);
|
const { req } = storeToRefs(fileStore);
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
onBeforeRouteUpdate(() => {
|
||||||
|
hideContextMenu();
|
||||||
|
});
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
@@ -1048,4 +1061,22 @@ const showContextMenu = (event: MouseEvent) => {
|
|||||||
const hideContextMenu = () => {
|
const hideContextMenu = () => {
|
||||||
isContextMenuVisible.value = false;
|
isContextMenuVisible.value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const handleEmptyAreaClick = (e: MouseEvent) => {
|
||||||
|
const target = e.target;
|
||||||
|
if (!(target instanceof HTMLElement)) return;
|
||||||
|
|
||||||
|
if (target.dataset.clearOnClick === "true") {
|
||||||
|
fileStore.selected = [];
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
#listing {
|
||||||
|
min-height: calc(100vh - 8rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
.file-selection-margin-bottom {
|
||||||
|
margin-bottom: 3.5rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
@mousemove="toggleNavigation"
|
@mousemove="toggleNavigation"
|
||||||
@touchstart="toggleNavigation"
|
@touchstart="toggleNavigation"
|
||||||
>
|
>
|
||||||
<header-bar v-if="isPdf || isEpub || showNav">
|
<header-bar v-if="isPdf || isEpub || isCsv || showNav">
|
||||||
<action icon="close" :label="$t('buttons.close')" @action="close()" />
|
<action icon="close" :label="$t('buttons.close')" @action="close()" />
|
||||||
<title>{{ name }}</title>
|
<title>{{ name }}</title>
|
||||||
<action
|
<action
|
||||||
@@ -24,6 +24,13 @@
|
|||||||
:label="$t('buttons.rename')"
|
:label="$t('buttons.rename')"
|
||||||
show="rename"
|
show="rename"
|
||||||
/>
|
/>
|
||||||
|
<action
|
||||||
|
:disabled="layoutStore.loading"
|
||||||
|
v-if="isCsv && authStore.user?.perm.modify"
|
||||||
|
icon="edit_note"
|
||||||
|
:label="t('buttons.editAsText')"
|
||||||
|
@action="editAsText"
|
||||||
|
/>
|
||||||
<action
|
<action
|
||||||
:disabled="layoutStore.loading"
|
:disabled="layoutStore.loading"
|
||||||
v-if="authStore.user?.perm.delete"
|
v-if="authStore.user?.perm.delete"
|
||||||
@@ -39,6 +46,16 @@
|
|||||||
:label="$t('buttons.download')"
|
:label="$t('buttons.download')"
|
||||||
@action="download"
|
@action="download"
|
||||||
/>
|
/>
|
||||||
|
<action
|
||||||
|
:disabled="layoutStore.loading"
|
||||||
|
v-if="
|
||||||
|
['image', 'audio', 'video'].includes(fileStore.req?.type || '') &&
|
||||||
|
authStore.user?.perm.download
|
||||||
|
"
|
||||||
|
icon="open_in_new"
|
||||||
|
:label="t('buttons.openDirect')"
|
||||||
|
@action="openDirect"
|
||||||
|
/>
|
||||||
<action
|
<action
|
||||||
:disabled="layoutStore.loading"
|
:disabled="layoutStore.loading"
|
||||||
icon="info"
|
icon="info"
|
||||||
@@ -87,6 +104,7 @@
|
|||||||
<span>{{ size }}%</span>
|
<span>{{ size }}%</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<CsvViewer v-else-if="isCsv" :content="csvContent" :error="csvError" />
|
||||||
<ExtendedImage
|
<ExtendedImage
|
||||||
v-else-if="fileStore.req?.type == 'image'"
|
v-else-if="fileStore.req?.type == 'image'"
|
||||||
:src="previewUrl"
|
:src="previewUrl"
|
||||||
@@ -176,11 +194,17 @@ import HeaderBar from "@/components/header/HeaderBar.vue";
|
|||||||
import Action from "@/components/header/Action.vue";
|
import Action from "@/components/header/Action.vue";
|
||||||
import ExtendedImage from "@/components/files/ExtendedImage.vue";
|
import ExtendedImage from "@/components/files/ExtendedImage.vue";
|
||||||
import VideoPlayer from "@/components/files/VideoPlayer.vue";
|
import VideoPlayer from "@/components/files/VideoPlayer.vue";
|
||||||
|
import CsvViewer from "@/components/files/CsvViewer.vue";
|
||||||
import { VueReader } from "vue-reader";
|
import { VueReader } from "vue-reader";
|
||||||
import { computed, inject, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
import { computed, inject, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
import type { Rendition } from "epubjs";
|
import type { Rendition } from "epubjs";
|
||||||
import { getTheme } from "@/utils/theme";
|
import { getTheme } from "@/utils/theme";
|
||||||
|
import { useI18n } from "vue-i18n";
|
||||||
|
|
||||||
|
// CSV file size limit for preview (5MB)
|
||||||
|
// Prevents browser memory issues with large files
|
||||||
|
const CSV_MAX_SIZE = 5 * 1024 * 1024;
|
||||||
|
|
||||||
const location = useStorage("book-progress", 0, undefined, {
|
const location = useStorage("book-progress", 0, undefined, {
|
||||||
serializer: {
|
serializer: {
|
||||||
@@ -239,6 +263,8 @@ const hoverNav = ref<boolean>(false);
|
|||||||
const autoPlay = ref<boolean>(false);
|
const autoPlay = ref<boolean>(false);
|
||||||
const previousRaw = ref<string>("");
|
const previousRaw = ref<string>("");
|
||||||
const nextRaw = ref<string>("");
|
const nextRaw = ref<string>("");
|
||||||
|
const csvContent = ref<ArrayBuffer | string>("");
|
||||||
|
const csvError = ref<string>("");
|
||||||
|
|
||||||
const player = ref<HTMLVideoElement | HTMLAudioElement | null>(null);
|
const player = ref<HTMLVideoElement | HTMLAudioElement | null>(null);
|
||||||
|
|
||||||
@@ -248,6 +274,8 @@ const authStore = useAuthStore();
|
|||||||
const fileStore = useFileStore();
|
const fileStore = useFileStore();
|
||||||
const layoutStore = useLayoutStore();
|
const layoutStore = useLayoutStore();
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
@@ -259,6 +287,10 @@ const downloadUrl = computed(() =>
|
|||||||
fileStore.req ? api.getDownloadURL(fileStore.req, false) : ""
|
fileStore.req ? api.getDownloadURL(fileStore.req, false) : ""
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const directUrl = computed(() =>
|
||||||
|
fileStore.req ? api.getDownloadURL(fileStore.req, true) : ""
|
||||||
|
);
|
||||||
|
|
||||||
const previewUrl = computed(() => {
|
const previewUrl = computed(() => {
|
||||||
if (!fileStore.req) {
|
if (!fileStore.req) {
|
||||||
return "";
|
return "";
|
||||||
@@ -279,6 +311,7 @@ const isPdf = computed(() => fileStore.req?.extension.toLowerCase() == ".pdf");
|
|||||||
const isEpub = computed(
|
const isEpub = computed(
|
||||||
() => fileStore.req?.extension.toLowerCase() == ".epub"
|
() => fileStore.req?.extension.toLowerCase() == ".epub"
|
||||||
);
|
);
|
||||||
|
const isCsv = computed(() => fileStore.req?.extension.toLowerCase() == ".csv");
|
||||||
|
|
||||||
const isResizeEnabled = computed(() => resizePreview);
|
const isResizeEnabled = computed(() => resizePreview);
|
||||||
|
|
||||||
@@ -366,6 +399,22 @@ const updatePreview = async () => {
|
|||||||
const dirs = route.fullPath.split("/");
|
const dirs = route.fullPath.split("/");
|
||||||
name.value = decodeURIComponent(dirs[dirs.length - 1]);
|
name.value = decodeURIComponent(dirs[dirs.length - 1]);
|
||||||
|
|
||||||
|
// Load CSV content if it's a CSV file
|
||||||
|
if (isCsv.value && fileStore.req) {
|
||||||
|
csvContent.value = "";
|
||||||
|
csvError.value = "";
|
||||||
|
|
||||||
|
if (fileStore.req.size > CSV_MAX_SIZE) {
|
||||||
|
csvError.value = t("files.csvTooLarge");
|
||||||
|
} else {
|
||||||
|
if (fileStore.req.rawContent != null) {
|
||||||
|
csvContent.value = fileStore.req.rawContent;
|
||||||
|
} else {
|
||||||
|
csvContent.value = fileStore.req.content ?? "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!listing.value) {
|
if (!listing.value) {
|
||||||
try {
|
try {
|
||||||
const path = url.removeLastDir(route.path);
|
const path = url.removeLastDir(route.path);
|
||||||
@@ -435,4 +484,9 @@ const close = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const download = () => window.open(downloadUrl.value);
|
const download = () => window.open(downloadUrl.value);
|
||||||
|
const openDirect = () => window.open(directUrl.value);
|
||||||
|
|
||||||
|
const editAsText = () => {
|
||||||
|
router.push({ path: route.path, query: { edit: "true" } });
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
@@ -15,6 +15,14 @@
|
|||||||
<input type="checkbox" name="singleClick" v-model="singleClick" />
|
<input type="checkbox" name="singleClick" v-model="singleClick" />
|
||||||
{{ t("settings.singleClick") }}
|
{{ t("settings.singleClick") }}
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
name="redirectAfterCopyMove"
|
||||||
|
v-model="redirectAfterCopyMove"
|
||||||
|
/>
|
||||||
|
{{ t("settings.redirectAfterCopyMove") }}
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<input type="checkbox" name="dateFormat" v-model="dateFormat" />
|
<input type="checkbox" name="dateFormat" v-model="dateFormat" />
|
||||||
{{ t("settings.setDateFormat") }}
|
{{ t("settings.setDateFormat") }}
|
||||||
@@ -44,7 +52,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="column">
|
<div v-if="!noAuth" class="column">
|
||||||
<form
|
<form
|
||||||
class="card"
|
class="card"
|
||||||
v-if="!authStore.user?.lockPassword"
|
v-if="!authStore.user?.lockPassword"
|
||||||
@@ -69,6 +77,15 @@
|
|||||||
v-model="passwordConf"
|
v-model="passwordConf"
|
||||||
name="passwordConf"
|
name="passwordConf"
|
||||||
/>
|
/>
|
||||||
|
<input
|
||||||
|
v-if="isCurrentPasswordRequired"
|
||||||
|
:class="passwordClass"
|
||||||
|
type="password"
|
||||||
|
:placeholder="t('settings.currentPassword')"
|
||||||
|
v-model="currentPassword"
|
||||||
|
name="current_password"
|
||||||
|
autocomplete="current-password"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-action">
|
<div class="card-action">
|
||||||
@@ -92,6 +109,7 @@ import AceEditorTheme from "@/components/settings/AceEditorTheme.vue";
|
|||||||
import Languages from "@/components/settings/Languages.vue";
|
import Languages from "@/components/settings/Languages.vue";
|
||||||
import { computed, inject, onMounted, ref } from "vue";
|
import { computed, inject, onMounted, ref } from "vue";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
|
import { authMethod, noAuth } from "@/utils/constants";
|
||||||
|
|
||||||
const layoutStore = useLayoutStore();
|
const layoutStore = useLayoutStore();
|
||||||
const authStore = useAuthStore();
|
const authStore = useAuthStore();
|
||||||
@@ -102,8 +120,11 @@ const $showError = inject<IToastError>("$showError")!;
|
|||||||
|
|
||||||
const password = ref<string>("");
|
const password = ref<string>("");
|
||||||
const passwordConf = ref<string>("");
|
const passwordConf = ref<string>("");
|
||||||
|
const currentPassword = ref<string>("");
|
||||||
|
const isCurrentPasswordRequired = ref<boolean>(false);
|
||||||
const hideDotfiles = ref<boolean>(false);
|
const hideDotfiles = ref<boolean>(false);
|
||||||
const singleClick = ref<boolean>(false);
|
const singleClick = ref<boolean>(false);
|
||||||
|
const redirectAfterCopyMove = ref<boolean>(false);
|
||||||
const dateFormat = ref<boolean>(false);
|
const dateFormat = ref<boolean>(false);
|
||||||
const locale = ref<string>("");
|
const locale = ref<string>("");
|
||||||
const aceEditorTheme = ref<string>("");
|
const aceEditorTheme = ref<string>("");
|
||||||
@@ -128,9 +149,12 @@ onMounted(async () => {
|
|||||||
locale.value = authStore.user.locale;
|
locale.value = authStore.user.locale;
|
||||||
hideDotfiles.value = authStore.user.hideDotfiles;
|
hideDotfiles.value = authStore.user.hideDotfiles;
|
||||||
singleClick.value = authStore.user.singleClick;
|
singleClick.value = authStore.user.singleClick;
|
||||||
|
redirectAfterCopyMove.value = authStore.user.redirectAfterCopyMove;
|
||||||
dateFormat.value = authStore.user.dateFormat;
|
dateFormat.value = authStore.user.dateFormat;
|
||||||
aceEditorTheme.value = authStore.user.aceEditorTheme;
|
aceEditorTheme.value = authStore.user.aceEditorTheme;
|
||||||
layoutStore.loading = false;
|
layoutStore.loading = false;
|
||||||
|
isCurrentPasswordRequired.value = authMethod == "json";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -140,6 +164,7 @@ const updatePassword = async (event: Event) => {
|
|||||||
if (
|
if (
|
||||||
password.value !== passwordConf.value ||
|
password.value !== passwordConf.value ||
|
||||||
password.value === "" ||
|
password.value === "" ||
|
||||||
|
currentPassword.value === "" ||
|
||||||
authStore.user === null
|
authStore.user === null
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
@@ -151,7 +176,7 @@ const updatePassword = async (event: Event) => {
|
|||||||
id: authStore.user.id,
|
id: authStore.user.id,
|
||||||
password: password.value,
|
password: password.value,
|
||||||
};
|
};
|
||||||
await api.update(data, ["password"]);
|
await api.update(data, ["password"], currentPassword.value);
|
||||||
authStore.updateUser(data);
|
authStore.updateUser(data);
|
||||||
$showSuccess(t("settings.passwordUpdated"));
|
$showSuccess(t("settings.passwordUpdated"));
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
@@ -172,6 +197,7 @@ const updateSettings = async (event: Event) => {
|
|||||||
locale: locale.value,
|
locale: locale.value,
|
||||||
hideDotfiles: hideDotfiles.value,
|
hideDotfiles: hideDotfiles.value,
|
||||||
singleClick: singleClick.value,
|
singleClick: singleClick.value,
|
||||||
|
redirectAfterCopyMove: redirectAfterCopyMove.value,
|
||||||
dateFormat: dateFormat.value,
|
dateFormat: dateFormat.value,
|
||||||
aceEditorTheme: aceEditorTheme.value,
|
aceEditorTheme: aceEditorTheme.value,
|
||||||
};
|
};
|
||||||
@@ -180,6 +206,7 @@ const updateSettings = async (event: Event) => {
|
|||||||
"locale",
|
"locale",
|
||||||
"hideDotfiles",
|
"hideDotfiles",
|
||||||
"singleClick",
|
"singleClick",
|
||||||
|
"redirectAfterCopyMove",
|
||||||
"dateFormat",
|
"dateFormat",
|
||||||
"aceEditorTheme",
|
"aceEditorTheme",
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -15,6 +15,19 @@
|
|||||||
:isDefault="false"
|
:isDefault="false"
|
||||||
:isNew="isNew"
|
:isNew="isNew"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<p v-if="isCurrentPasswordRequired">
|
||||||
|
<label for="currentPassword">{{
|
||||||
|
t("settings.currentPassword")
|
||||||
|
}}</label>
|
||||||
|
<input
|
||||||
|
class="input input--block"
|
||||||
|
type="password"
|
||||||
|
v-model="currentPassword"
|
||||||
|
id="currentPassword"
|
||||||
|
autocomplete="current-password"
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-action">
|
<div class="card-action">
|
||||||
@@ -58,11 +71,14 @@ import { computed, inject, onMounted, ref, watch } from "vue";
|
|||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { StatusError } from "@/api/utils";
|
import { StatusError } from "@/api/utils";
|
||||||
|
import { authMethod } from "@/utils/constants";
|
||||||
|
|
||||||
const error = ref<StatusError>();
|
const error = ref<StatusError>();
|
||||||
const originalUser = ref<IUser>();
|
const originalUser = ref<IUser>();
|
||||||
const user = ref<IUser>();
|
const user = ref<IUser>();
|
||||||
const createUserDir = ref<boolean>(false);
|
const createUserDir = ref<boolean>(false);
|
||||||
|
const currentPassword = ref<string>("");
|
||||||
|
const isCurrentPasswordRequired = ref<boolean>(false);
|
||||||
|
|
||||||
const $showError = inject<IToastError>("$showError")!;
|
const $showError = inject<IToastError>("$showError")!;
|
||||||
const $showSuccess = inject<IToastSuccess>("$showSuccess")!;
|
const $showSuccess = inject<IToastSuccess>("$showSuccess")!;
|
||||||
@@ -91,6 +107,7 @@ const fetchData = async () => {
|
|||||||
try {
|
try {
|
||||||
if (isNew.value) {
|
if (isNew.value) {
|
||||||
const { defaults, createUserDir: _createUserDir } = await settings.get();
|
const { defaults, createUserDir: _createUserDir } = await settings.get();
|
||||||
|
isCurrentPasswordRequired.value = authMethod == "json";
|
||||||
createUserDir.value = _createUserDir;
|
createUserDir.value = _createUserDir;
|
||||||
user.value = {
|
user.value = {
|
||||||
...defaults,
|
...defaults,
|
||||||
@@ -101,6 +118,8 @@ const fetchData = async () => {
|
|||||||
id: 0,
|
id: 0,
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
const { authMethod } = await settings.get();
|
||||||
|
isCurrentPasswordRequired.value = authMethod == "json";
|
||||||
const id = Array.isArray(route.params.id)
|
const id = Array.isArray(route.params.id)
|
||||||
? route.params.id.join("")
|
? route.params.id.join("")
|
||||||
: route.params.id;
|
: route.params.id;
|
||||||
@@ -124,7 +143,7 @@ const deleteUser = async (e: Event) => {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await api.remove(user.value.id);
|
await api.remove(user.value.id, currentPassword.value);
|
||||||
router.push({ path: "/settings/users" });
|
router.push({ path: "/settings/users" });
|
||||||
$showSuccess(t("settings.userDeleted"));
|
$showSuccess(t("settings.userDeleted"));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@@ -151,11 +170,11 @@ const save = async (event: Event) => {
|
|||||||
...user.value,
|
...user.value,
|
||||||
};
|
};
|
||||||
|
|
||||||
const loc = await api.create(newUser);
|
const loc = await api.create(newUser, currentPassword.value);
|
||||||
router.push({ path: loc || "/settings/users" });
|
router.push({ path: loc || "/settings/users" });
|
||||||
$showSuccess(t("settings.userCreated"));
|
$showSuccess(t("settings.userCreated"));
|
||||||
} else {
|
} else {
|
||||||
await api.update(user.value);
|
await api.update(user.value, ["all"], currentPassword.value);
|
||||||
|
|
||||||
if (user.value.id === authStore.user?.id) {
|
if (user.value.id === authStore.user?.id) {
|
||||||
authStore.updateUser(user.value);
|
authStore.updateUser(user.value);
|
||||||
|
|||||||
@@ -8,25 +8,26 @@ require (
|
|||||||
github.com/disintegration/imaging v1.6.2
|
github.com/disintegration/imaging v1.6.2
|
||||||
github.com/dsoprea/go-exif/v3 v3.0.1
|
github.com/dsoprea/go-exif/v3 v3.0.1
|
||||||
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
|
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
|
||||||
github.com/golang-jwt/jwt/v5 v5.3.0
|
github.com/golang-jwt/jwt/v5 v5.3.1
|
||||||
github.com/gorilla/mux v1.8.1
|
github.com/gorilla/mux v1.8.1
|
||||||
github.com/gorilla/websocket v1.5.3
|
github.com/gorilla/websocket v1.5.3
|
||||||
github.com/jellydator/ttlcache/v3 v3.4.0
|
github.com/jellydator/ttlcache/v3 v3.4.0
|
||||||
github.com/maruel/natural v1.2.1
|
github.com/maruel/natural v1.3.0
|
||||||
github.com/marusama/semaphore/v2 v2.5.0
|
github.com/marusama/semaphore/v2 v2.5.0
|
||||||
github.com/mholt/archives v0.1.5
|
github.com/mholt/archives v0.1.5
|
||||||
github.com/mitchellh/go-homedir v1.1.0
|
github.com/mitchellh/go-homedir v1.1.0
|
||||||
|
github.com/redis/go-redis/v9 v9.18.0
|
||||||
github.com/samber/lo v1.52.0
|
github.com/samber/lo v1.52.0
|
||||||
github.com/shirou/gopsutil/v4 v4.25.10
|
github.com/shirou/gopsutil/v4 v4.26.1
|
||||||
github.com/spf13/afero v1.15.0
|
github.com/spf13/afero v1.15.0
|
||||||
github.com/spf13/cobra v1.10.1
|
github.com/spf13/cobra v1.10.2
|
||||||
github.com/spf13/pflag v1.0.10
|
github.com/spf13/pflag v1.0.10
|
||||||
github.com/spf13/viper v1.21.0
|
github.com/spf13/viper v1.21.0
|
||||||
github.com/stretchr/testify v1.11.1
|
github.com/stretchr/testify v1.11.1
|
||||||
github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce
|
github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce
|
||||||
golang.org/x/crypto v0.45.0
|
golang.org/x/crypto v0.48.0
|
||||||
golang.org/x/image v0.33.0
|
golang.org/x/image v0.36.0
|
||||||
golang.org/x/text v0.31.0
|
golang.org/x/text v0.34.0
|
||||||
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
||||||
gopkg.in/yaml.v3 v3.0.1
|
gopkg.in/yaml.v3 v3.0.1
|
||||||
)
|
)
|
||||||
@@ -39,12 +40,14 @@ require (
|
|||||||
github.com/bodgit/plumbing v1.3.0 // indirect
|
github.com/bodgit/plumbing v1.3.0 // indirect
|
||||||
github.com/bodgit/sevenzip v1.6.1 // indirect
|
github.com/bodgit/sevenzip v1.6.1 // indirect
|
||||||
github.com/bodgit/windows v1.0.1 // indirect
|
github.com/bodgit/windows v1.0.1 // indirect
|
||||||
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
|
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
||||||
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
||||||
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
|
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
|
||||||
github.com/dsoprea/go-logging v0.0.0-20200710184922-b02d349568dd // indirect
|
github.com/dsoprea/go-logging v0.0.0-20200710184922-b02d349568dd // indirect
|
||||||
github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349 // indirect
|
github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349 // indirect
|
||||||
github.com/ebitengine/purego v0.9.0 // indirect
|
github.com/ebitengine/purego v0.9.1 // indirect
|
||||||
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
||||||
github.com/go-errors/errors v1.5.1 // indirect
|
github.com/go-errors/errors v1.5.1 // indirect
|
||||||
github.com/go-ole/go-ole v1.3.0 // indirect
|
github.com/go-ole/go-ole v1.3.0 // indirect
|
||||||
@@ -71,11 +74,12 @@ require (
|
|||||||
github.com/ulikunitz/xz v0.5.15 // indirect
|
github.com/ulikunitz/xz v0.5.15 // indirect
|
||||||
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
||||||
go.etcd.io/bbolt v1.4.3 // indirect
|
go.etcd.io/bbolt v1.4.3 // indirect
|
||||||
|
go.uber.org/atomic v1.11.0 // indirect
|
||||||
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
||||||
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
|
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
|
||||||
golang.org/x/net v0.47.0 // indirect
|
golang.org/x/net v0.49.0 // indirect
|
||||||
golang.org/x/sync v0.18.0 // indirect
|
golang.org/x/sync v0.19.0 // indirect
|
||||||
golang.org/x/sys v0.38.0 // indirect
|
golang.org/x/sys v0.41.0 // indirect
|
||||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
||||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||||
)
|
)
|
||||||
@@ -42,7 +42,13 @@ github.com/bodgit/sevenzip v1.6.1 h1:kikg2pUMYC9ljU7W9SaqHXhym5HyKm8/M/jd31fYan4
|
|||||||
github.com/bodgit/sevenzip v1.6.1/go.mod h1:GVoYQbEVbOGT8n2pfqCIMRUaRjQ8F9oSqoBEqZh5fQ8=
|
github.com/bodgit/sevenzip v1.6.1/go.mod h1:GVoYQbEVbOGT8n2pfqCIMRUaRjQ8F9oSqoBEqZh5fQ8=
|
||||||
github.com/bodgit/windows v1.0.1 h1:tF7K6KOluPYygXa3Z2594zxlkbKPAOvqr97etrGNIz4=
|
github.com/bodgit/windows v1.0.1 h1:tF7K6KOluPYygXa3Z2594zxlkbKPAOvqr97etrGNIz4=
|
||||||
github.com/bodgit/windows v1.0.1/go.mod h1:a6JLwrB4KrTR5hBpp8FI9/9W9jJfeQ2h4XDXU74ZCdM=
|
github.com/bodgit/windows v1.0.1/go.mod h1:a6JLwrB4KrTR5hBpp8FI9/9W9jJfeQ2h4XDXU74ZCdM=
|
||||||
|
github.com/bsm/ginkgo/v2 v2.12.0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs=
|
||||||
|
github.com/bsm/ginkgo/v2 v2.12.0/go.mod h1:SwYbGRRDovPVboqFv0tPTcG1sN61LM1Z4ARdbAV9g4c=
|
||||||
|
github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA=
|
||||||
|
github.com/bsm/gomega v1.27.10/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0=
|
||||||
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
||||||
|
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
|
||||||
|
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
|
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
|
||||||
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
|
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
|
||||||
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
|
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
|
||||||
@@ -53,6 +59,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
|
|||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
|
||||||
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
|
||||||
github.com/disintegration/imaging v1.6.2 h1:w1LecBlG2Lnp8B3jk5zSuNqd7b4DXhcjwek1ei82L+c=
|
github.com/disintegration/imaging v1.6.2 h1:w1LecBlG2Lnp8B3jk5zSuNqd7b4DXhcjwek1ei82L+c=
|
||||||
github.com/disintegration/imaging v1.6.2/go.mod h1:44/5580QXChDfwIclfc/PCwrr44amcmDAg8hxG0Ewe4=
|
github.com/disintegration/imaging v1.6.2/go.mod h1:44/5580QXChDfwIclfc/PCwrr44amcmDAg8hxG0Ewe4=
|
||||||
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 h1:2tV76y6Q9BB+NEBasnqvs7e49aEBFI8ejC89PSnWH+4=
|
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 h1:2tV76y6Q9BB+NEBasnqvs7e49aEBFI8ejC89PSnWH+4=
|
||||||
@@ -75,8 +83,8 @@ github.com/dsoprea/go-utility/v2 v2.0.0-20221003142440-7a1927d49d9d/go.mod h1:LV
|
|||||||
github.com/dsoprea/go-utility/v2 v2.0.0-20221003160719-7bc88537c05e/go.mod h1:VZ7cB0pTjm1ADBWhJUOHESu4ZYy9JN+ZPqjfiW09EPU=
|
github.com/dsoprea/go-utility/v2 v2.0.0-20221003160719-7bc88537c05e/go.mod h1:VZ7cB0pTjm1ADBWhJUOHESu4ZYy9JN+ZPqjfiW09EPU=
|
||||||
github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349 h1:DilThiXje0z+3UQ5YjYiSRRzVdtamFpvBQXKwMglWqw=
|
github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349 h1:DilThiXje0z+3UQ5YjYiSRRzVdtamFpvBQXKwMglWqw=
|
||||||
github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349/go.mod h1:4GC5sXji84i/p+irqghpPFZBF8tRN/Q7+700G0/DLe8=
|
github.com/dsoprea/go-utility/v2 v2.0.0-20221003172846-a3e1774ef349/go.mod h1:4GC5sXji84i/p+irqghpPFZBF8tRN/Q7+700G0/DLe8=
|
||||||
github.com/ebitengine/purego v0.9.0 h1:mh0zpKBIXDceC63hpvPuGLiJ8ZAa3DfrFTudmfi8A4k=
|
github.com/ebitengine/purego v0.9.1 h1:a/k2f2HQU3Pi399RPW1MOaZyhKJL9w/xFpKAg4q1s0A=
|
||||||
github.com/ebitengine/purego v0.9.0/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
|
github.com/ebitengine/purego v0.9.1/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
|
||||||
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
||||||
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
|
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
|
||||||
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=
|
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=
|
||||||
@@ -98,8 +106,8 @@ github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
|
|||||||
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
|
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
|
||||||
github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
|
github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
|
||||||
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
|
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
|
||||||
github.com/golang-jwt/jwt/v5 v5.3.0 h1:pv4AsKCKKZuqlgs5sUmn4x8UlGa0kEVt/puTpKx9vvo=
|
github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY=
|
||||||
github.com/golang-jwt/jwt/v5 v5.3.0/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
|
github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
|
||||||
github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
||||||
github.com/golang/geo v0.0.0-20200319012246-673a6f80352d/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
github.com/golang/geo v0.0.0-20200319012246-673a6f80352d/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
||||||
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
||||||
@@ -158,7 +166,10 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o
|
|||||||
github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
|
github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
|
||||||
github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
|
github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
|
||||||
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
|
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
|
||||||
|
github.com/klauspost/cpuid v1.2.0 h1:NMpwD2G9JSFOE1/TJjGSo5zG7Yb2bTe7eq1jH+irmeE=
|
||||||
github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
|
github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
|
||||||
|
github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4=
|
||||||
|
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
|
||||||
github.com/klauspost/pgzip v1.2.6 h1:8RXeL5crjEUFnR2/Sn6GJNWtSQ3Dk8pq4CL3jvdDyjU=
|
github.com/klauspost/pgzip v1.2.6 h1:8RXeL5crjEUFnR2/Sn6GJNWtSQ3Dk8pq4CL3jvdDyjU=
|
||||||
github.com/klauspost/pgzip v1.2.6/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs=
|
github.com/klauspost/pgzip v1.2.6/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs=
|
||||||
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
||||||
@@ -169,8 +180,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
|||||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||||
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
||||||
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||||
github.com/maruel/natural v1.2.1 h1:G/y4pwtTA07lbQsMefvsmEO0VN0NfqpxprxXDM4R/4o=
|
github.com/maruel/natural v1.3.0 h1:VsmCsBmEyrR46RomtgHs5hbKADGRVtliHTyCOLFBpsg=
|
||||||
github.com/maruel/natural v1.2.1/go.mod h1:v+Rfd79xlw1AgVBjbO0BEQmptqb5HvL/k9GRHB7ZKEg=
|
github.com/maruel/natural v1.3.0/go.mod h1:v+Rfd79xlw1AgVBjbO0BEQmptqb5HvL/k9GRHB7ZKEg=
|
||||||
github.com/marusama/semaphore/v2 v2.5.0 h1:o/1QJD9DBYOWRnDhPwDVAXQn6mQYD0gZaS1Tpx6DJGM=
|
github.com/marusama/semaphore/v2 v2.5.0 h1:o/1QJD9DBYOWRnDhPwDVAXQn6mQYD0gZaS1Tpx6DJGM=
|
||||||
github.com/marusama/semaphore/v2 v2.5.0/go.mod h1:z9nMiNUekt/LTpTUQdpp+4sJeYqUGpwMHfW0Z8V8fnQ=
|
github.com/marusama/semaphore/v2 v2.5.0/go.mod h1:z9nMiNUekt/LTpTUQdpp+4sJeYqUGpwMHfW0Z8V8fnQ=
|
||||||
github.com/mholt/archives v0.1.5 h1:Fh2hl1j7VEhc6DZs2DLMgiBNChUux154a1G+2esNvzQ=
|
github.com/mholt/archives v0.1.5 h1:Fh2hl1j7VEhc6DZs2DLMgiBNChUux154a1G+2esNvzQ=
|
||||||
@@ -194,6 +205,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH
|
|||||||
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=
|
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=
|
||||||
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
|
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
|
||||||
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
||||||
|
github.com/redis/go-redis/v9 v9.18.0 h1:pMkxYPkEbMPwRdenAzUNyFNrDgHx9U+DrBabWNfSRQs=
|
||||||
|
github.com/redis/go-redis/v9 v9.18.0/go.mod h1:k3ufPphLU5YXwNTUcCRXGxUoF1fqxnhFQmscfkCoDA0=
|
||||||
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
|
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
|
||||||
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
|
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
|
||||||
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
|
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
|
||||||
@@ -204,8 +217,8 @@ github.com/sagikazarmark/locafero v0.11.0 h1:1iurJgmM9G3PA/I+wWYIOw/5SyBtxapeHDc
|
|||||||
github.com/sagikazarmark/locafero v0.11.0/go.mod h1:nVIGvgyzw595SUSUE6tvCp3YYTeHs15MvlmU87WwIik=
|
github.com/sagikazarmark/locafero v0.11.0/go.mod h1:nVIGvgyzw595SUSUE6tvCp3YYTeHs15MvlmU87WwIik=
|
||||||
github.com/samber/lo v1.52.0 h1:Rvi+3BFHES3A8meP33VPAxiBZX/Aws5RxrschYGjomw=
|
github.com/samber/lo v1.52.0 h1:Rvi+3BFHES3A8meP33VPAxiBZX/Aws5RxrschYGjomw=
|
||||||
github.com/samber/lo v1.52.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0=
|
github.com/samber/lo v1.52.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0=
|
||||||
github.com/shirou/gopsutil/v4 v4.25.10 h1:at8lk/5T1OgtuCp+AwrDofFRjnvosn0nkN2OLQ6g8tA=
|
github.com/shirou/gopsutil/v4 v4.26.1 h1:TOkEyriIXk2HX9d4isZJtbjXbEjf5qyKPAzbzY0JWSo=
|
||||||
github.com/shirou/gopsutil/v4 v4.25.10/go.mod h1:+kSwyC8DRUD9XXEHCAFjK+0nuArFJM0lva+StQAcskM=
|
github.com/shirou/gopsutil/v4 v4.26.1/go.mod h1:medLI9/UNAb0dOI9Q3/7yWSqKkj00u+1tgY8nvv41pc=
|
||||||
github.com/sorairolake/lzip-go v0.3.8 h1:j5Q2313INdTA80ureWYRhX+1K78mUXfMoPZCw/ivWik=
|
github.com/sorairolake/lzip-go v0.3.8 h1:j5Q2313INdTA80ureWYRhX+1K78mUXfMoPZCw/ivWik=
|
||||||
github.com/sorairolake/lzip-go v0.3.8/go.mod h1:JcBqGMV0frlxwrsE9sMWXDjqn3EeVf0/54YPsw66qkU=
|
github.com/sorairolake/lzip-go v0.3.8/go.mod h1:JcBqGMV0frlxwrsE9sMWXDjqn3EeVf0/54YPsw66qkU=
|
||||||
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 h1:+jumHNA0Wrelhe64i8F6HNlS8pkoyMv5sreGx2Ry5Rw=
|
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 h1:+jumHNA0Wrelhe64i8F6HNlS8pkoyMv5sreGx2Ry5Rw=
|
||||||
@@ -214,8 +227,8 @@ github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I=
|
|||||||
github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg=
|
github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg=
|
||||||
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
|
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
|
||||||
github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
|
github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
|
||||||
github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s=
|
github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU=
|
||||||
github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0=
|
github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=
|
||||||
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||||
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
|
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
|
||||||
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||||
@@ -247,6 +260,8 @@ github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3i
|
|||||||
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
|
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
|
||||||
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
|
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
|
||||||
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
|
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
|
||||||
|
github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0=
|
||||||
|
github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA=
|
||||||
go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
|
go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
|
||||||
go.etcd.io/bbolt v1.4.3 h1:dEadXpI6G79deX5prL3QRNP6JB8UxVkqo4UPnHaNXJo=
|
go.etcd.io/bbolt v1.4.3 h1:dEadXpI6G79deX5prL3QRNP6JB8UxVkqo4UPnHaNXJo=
|
||||||
go.etcd.io/bbolt v1.4.3/go.mod h1:tKQlpPaYCVFctUIgFKFnAlvbmB3tpy1vkTnDWohtc0E=
|
go.etcd.io/bbolt v1.4.3/go.mod h1:tKQlpPaYCVFctUIgFKFnAlvbmB3tpy1vkTnDWohtc0E=
|
||||||
@@ -254,6 +269,8 @@ go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
|
|||||||
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
|
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
|
||||||
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||||
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||||
|
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
|
||||||
|
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
||||||
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
|
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
|
||||||
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
|
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
|
||||||
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
|
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
|
||||||
@@ -266,8 +283,8 @@ golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8U
|
|||||||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
||||||
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
|
golang.org/x/crypto v0.48.0 h1:/VRzVqiRSggnhY7gNRxPauEQ5Drw9haKdM0jqfcCFts=
|
||||||
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
|
golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos=
|
||||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||||
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||||
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
|
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
|
||||||
@@ -279,8 +296,8 @@ golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EH
|
|||||||
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
|
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
|
||||||
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||||
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||||
golang.org/x/image v0.33.0 h1:LXRZRnv1+zGd5XBUVRFmYEphyyKJjQjCRiOuAP3sZfQ=
|
golang.org/x/image v0.36.0 h1:Iknbfm1afbgtwPTmHnS2gTM/6PPZfH+z2EFuOkSbqwc=
|
||||||
golang.org/x/image v0.33.0/go.mod h1:DD3OsTYT9chzuzTQt+zMcOlBHgfoKQb1gry8p76Y1sc=
|
golang.org/x/image v0.36.0/go.mod h1:YsWD2TyyGKiIX1kZlu9QfKIsQ4nAAK9bdgdrIsE7xy4=
|
||||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||||
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
|
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
|
||||||
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||||
@@ -319,8 +336,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v
|
|||||||
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
|
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
|
||||||
golang.org/x/net v0.0.0-20221002022538-bcab6841153b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
|
golang.org/x/net v0.0.0-20221002022538-bcab6841153b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
|
||||||
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
||||||
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
|
golang.org/x/net v0.49.0 h1:eeHFmOGUTtaaPSGNmjBKpbng9MulQsJURQUAfUwY++o=
|
||||||
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
|
golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8=
|
||||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
@@ -333,8 +350,8 @@ golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJ
|
|||||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I=
|
golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4=
|
||||||
golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
|
golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
|
||||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
@@ -360,8 +377,8 @@ golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBc
|
|||||||
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
|
golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k=
|
||||||
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
|
golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||||
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
|
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
|
||||||
@@ -372,8 +389,8 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
|||||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||||
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||||
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
|
golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk=
|
||||||
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
|
golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA=
|
||||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
|
|||||||
+48
-32
@@ -1,4 +1,4 @@
|
|||||||
package http
|
package fbhttp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
@@ -12,7 +12,9 @@ import (
|
|||||||
"github.com/golang-jwt/jwt/v5"
|
"github.com/golang-jwt/jwt/v5"
|
||||||
"github.com/golang-jwt/jwt/v5/request"
|
"github.com/golang-jwt/jwt/v5/request"
|
||||||
|
|
||||||
fbErrors "github.com/filebrowser/filebrowser/v2/errors"
|
fbAuth "github.com/filebrowser/filebrowser/v2/auth"
|
||||||
|
fberrors "github.com/filebrowser/filebrowser/v2/errors"
|
||||||
|
"github.com/filebrowser/filebrowser/v2/settings"
|
||||||
"github.com/filebrowser/filebrowser/v2/users"
|
"github.com/filebrowser/filebrowser/v2/users"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -21,17 +23,18 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type userInfo struct {
|
type userInfo struct {
|
||||||
ID uint `json:"id"`
|
ID uint `json:"id"`
|
||||||
Locale string `json:"locale"`
|
Locale string `json:"locale"`
|
||||||
ViewMode users.ViewMode `json:"viewMode"`
|
ViewMode users.ViewMode `json:"viewMode"`
|
||||||
SingleClick bool `json:"singleClick"`
|
SingleClick bool `json:"singleClick"`
|
||||||
Perm users.Permissions `json:"perm"`
|
RedirectAfterCopyMove bool `json:"redirectAfterCopyMove"`
|
||||||
Commands []string `json:"commands"`
|
Perm users.Permissions `json:"perm"`
|
||||||
LockPassword bool `json:"lockPassword"`
|
Commands []string `json:"commands"`
|
||||||
HideDotfiles bool `json:"hideDotfiles"`
|
LockPassword bool `json:"lockPassword"`
|
||||||
DateFormat bool `json:"dateFormat"`
|
HideDotfiles bool `json:"hideDotfiles"`
|
||||||
Username string `json:"username"`
|
DateFormat bool `json:"dateFormat"`
|
||||||
AceEditorTheme string `json:"aceEditorTheme"`
|
Username string `json:"username"`
|
||||||
|
AceEditorTheme string `json:"aceEditorTheme"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type authToken struct {
|
type authToken struct {
|
||||||
@@ -61,6 +64,22 @@ func (e extractor) ExtractToken(r *http.Request) (string, error) {
|
|||||||
return "", request.ErrNoTokenInRequest
|
return "", request.ErrNoTokenInRequest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func renewableErr(err error, d *data) bool {
|
||||||
|
if d.settings.AuthMethod != fbAuth.MethodProxyAuth || err == nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
if d.settings.LogoutPage == settings.DefaultLogoutPage {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
if !errors.Is(err, jwt.ErrTokenExpired) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
func withUser(fn handleFunc) handleFunc {
|
func withUser(fn handleFunc) handleFunc {
|
||||||
return func(w http.ResponseWriter, r *http.Request, d *data) (int, error) {
|
return func(w http.ResponseWriter, r *http.Request, d *data) (int, error) {
|
||||||
keyFunc := func(_ *jwt.Token) (interface{}, error) {
|
keyFunc := func(_ *jwt.Token) (interface{}, error) {
|
||||||
@@ -68,13 +87,9 @@ func withUser(fn handleFunc) handleFunc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var tk authToken
|
var tk authToken
|
||||||
token, err := request.ParseFromRequest(r, &extractor{}, keyFunc, request.WithClaims(&tk))
|
p := jwt.NewParser(jwt.WithValidMethods([]string{jwt.SigningMethodHS256.Alg()}), jwt.WithExpirationRequired())
|
||||||
if err != nil || !token.Valid {
|
token, err := request.ParseFromRequest(r, &extractor{}, keyFunc, request.WithClaims(&tk), request.WithParser(p))
|
||||||
return http.StatusUnauthorized, nil
|
if (err != nil || !token.Valid) && !renewableErr(err, d) {
|
||||||
}
|
|
||||||
|
|
||||||
err = jwt.NewValidator(jwt.WithExpirationRequired()).Validate(tk)
|
|
||||||
if err != nil {
|
|
||||||
return http.StatusUnauthorized, nil
|
return http.StatusUnauthorized, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,7 +186,7 @@ var signupHandler = func(_ http.ResponseWriter, r *http.Request, d *data) (int,
|
|||||||
log.Printf("new user: %s, home dir: [%s].", user.Username, userHome)
|
log.Printf("new user: %s, home dir: [%s].", user.Username, userHome)
|
||||||
|
|
||||||
err = d.store.Users.Save(user)
|
err = d.store.Users.Save(user)
|
||||||
if errors.Is(err, fbErrors.ErrExist) {
|
if errors.Is(err, fberrors.ErrExist) {
|
||||||
return http.StatusConflict, err
|
return http.StatusConflict, err
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
return http.StatusInternalServerError, err
|
return http.StatusInternalServerError, err
|
||||||
@@ -190,17 +205,18 @@ func renewHandler(tokenExpireTime time.Duration) handleFunc {
|
|||||||
func printToken(w http.ResponseWriter, _ *http.Request, d *data, user *users.User, tokenExpirationTime time.Duration) (int, error) {
|
func printToken(w http.ResponseWriter, _ *http.Request, d *data, user *users.User, tokenExpirationTime time.Duration) (int, error) {
|
||||||
claims := &authToken{
|
claims := &authToken{
|
||||||
User: userInfo{
|
User: userInfo{
|
||||||
ID: user.ID,
|
ID: user.ID,
|
||||||
Locale: user.Locale,
|
Locale: user.Locale,
|
||||||
ViewMode: user.ViewMode,
|
ViewMode: user.ViewMode,
|
||||||
SingleClick: user.SingleClick,
|
SingleClick: user.SingleClick,
|
||||||
Perm: user.Perm,
|
RedirectAfterCopyMove: user.RedirectAfterCopyMove,
|
||||||
LockPassword: user.LockPassword,
|
Perm: user.Perm,
|
||||||
Commands: user.Commands,
|
LockPassword: user.LockPassword,
|
||||||
HideDotfiles: user.HideDotfiles,
|
Commands: user.Commands,
|
||||||
DateFormat: user.DateFormat,
|
HideDotfiles: user.HideDotfiles,
|
||||||
Username: user.Username,
|
DateFormat: user.DateFormat,
|
||||||
AceEditorTheme: user.AceEditorTheme,
|
Username: user.Username,
|
||||||
|
AceEditorTheme: user.AceEditorTheme,
|
||||||
},
|
},
|
||||||
RegisteredClaims: jwt.RegisteredClaims{
|
RegisteredClaims: jwt.RegisteredClaims{
|
||||||
IssuedAt: jwt.NewNumericDate(time.Now()),
|
IssuedAt: jwt.NewNumericDate(time.Now()),
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package http
|
package fbhttp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package http
|
package fbhttp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
//go:build !dev
|
//go:build !dev
|
||||||
|
|
||||||
package http
|
package fbhttp
|
||||||
|
|
||||||
// global headers to append to every response
|
// global headers to append to every response
|
||||||
var globalHeaders = map[string]string{
|
var globalHeaders = map[string]string{
|
||||||
|
|||||||
+9
-12
@@ -1,4 +1,4 @@
|
|||||||
package http
|
package fbhttp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io/fs"
|
"io/fs"
|
||||||
@@ -11,13 +11,15 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type modifyRequest struct {
|
type modifyRequest struct {
|
||||||
What string `json:"what"` // Answer to: what data type?
|
What string `json:"what"` // Answer to: what data type?
|
||||||
Which []string `json:"which"` // Answer to: which fields?
|
Which []string `json:"which"` // Answer to: which fields?
|
||||||
|
CurrentPassword string `json:"current_password"` // Answer to: user logged password
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewHandler(
|
func NewHandler(
|
||||||
imgSvc ImgService,
|
imgSvc ImgService,
|
||||||
fileCache FileCache,
|
fileCache FileCache,
|
||||||
|
uploadCache UploadCache,
|
||||||
store *storage.Storage,
|
store *storage.Storage,
|
||||||
server *settings.Server,
|
server *settings.Server,
|
||||||
assetsFs fs.FS,
|
assetsFs fs.FS,
|
||||||
@@ -33,11 +35,6 @@ func NewHandler(
|
|||||||
})
|
})
|
||||||
index, static := getStaticHandlers(store, server, assetsFs)
|
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 {
|
monkey := func(fn handleFunc, prefix string) http.Handler {
|
||||||
return handle(fn, prefix, store, server)
|
return handle(fn, prefix, store, server)
|
||||||
}
|
}
|
||||||
@@ -66,10 +63,10 @@ func NewHandler(
|
|||||||
api.PathPrefix("/resources").Handler(monkey(resourcePutHandler, "/api/resources")).Methods("PUT")
|
api.PathPrefix("/resources").Handler(monkey(resourcePutHandler, "/api/resources")).Methods("PUT")
|
||||||
api.PathPrefix("/resources").Handler(monkey(resourcePatchHandler(fileCache), "/api/resources")).Methods("PATCH")
|
api.PathPrefix("/resources").Handler(monkey(resourcePatchHandler(fileCache), "/api/resources")).Methods("PATCH")
|
||||||
|
|
||||||
api.PathPrefix("/tus").Handler(monkey(tusPostHandler(), "/api/tus")).Methods("POST")
|
api.PathPrefix("/tus").Handler(monkey(tusPostHandler(uploadCache), "/api/tus")).Methods("POST")
|
||||||
api.PathPrefix("/tus").Handler(monkey(tusHeadHandler(), "/api/tus")).Methods("HEAD", "GET")
|
api.PathPrefix("/tus").Handler(monkey(tusHeadHandler(uploadCache), "/api/tus")).Methods("HEAD", "GET")
|
||||||
api.PathPrefix("/tus").Handler(monkey(tusPatchHandler(), "/api/tus")).Methods("PATCH")
|
api.PathPrefix("/tus").Handler(monkey(tusPatchHandler(uploadCache), "/api/tus")).Methods("PATCH")
|
||||||
api.PathPrefix("/tus").Handler(monkey(tusDeleteHandler(), "/api/tus")).Methods("DELETE")
|
api.PathPrefix("/tus").Handler(monkey(tusDeleteHandler(uploadCache), "/api/tus")).Methods("DELETE")
|
||||||
|
|
||||||
api.PathPrefix("/usage").Handler(monkey(diskUsage, "/api/usage")).Methods("GET")
|
api.PathPrefix("/usage").Handler(monkey(diskUsage, "/api/usage")).Methods("GET")
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
//go:generate go-enum --sql --marshal --names --file $GOFILE
|
//go:generate go-enum --sql --marshal --names --file $GOFILE
|
||||||
package http
|
package fbhttp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Code generated by go-enum
|
// Code generated by go-enum
|
||||||
// DO NOT EDIT!
|
// DO NOT EDIT!
|
||||||
|
|
||||||
package http
|
package fbhttp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"database/sql/driver"
|
"database/sql/driver"
|
||||||
|
|||||||
+8
-1
@@ -1,4 +1,4 @@
|
|||||||
package http
|
package fbhttp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
@@ -41,6 +41,7 @@ var withHashFile = func(fn handleFunc) handleFunc {
|
|||||||
Modify: d.user.Perm.Modify,
|
Modify: d.user.Perm.Modify,
|
||||||
Expand: false,
|
Expand: false,
|
||||||
ReadHeader: d.server.TypeDetectionByHeader,
|
ReadHeader: d.server.TypeDetectionByHeader,
|
||||||
|
CalcImgRes: d.server.TypeDetectionByHeader,
|
||||||
Checker: d,
|
Checker: d,
|
||||||
Token: link.Token,
|
Token: link.Token,
|
||||||
})
|
})
|
||||||
@@ -74,6 +75,12 @@ var withHashFile = func(fn handleFunc) handleFunc {
|
|||||||
return errToStatus(err), err
|
return errToStatus(err), err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if file.IsDir {
|
||||||
|
// extract name from the last directory in the path
|
||||||
|
name := filepath.Base(strings.TrimRight(link.Path, string(filepath.Separator)))
|
||||||
|
file.Name = name
|
||||||
|
}
|
||||||
|
|
||||||
d.raw = file
|
d.raw = file
|
||||||
return fn(w, r, d)
|
return fn(w, r, d)
|
||||||
}
|
}
|
||||||
|
|||||||
Loaded 100 of 133 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user