BlueGit

timfa filemanager

Files

filemanager / .github / tests.md

tests.md

tests.md 2.7 KiB Download Raw

Test Index

> Auto-generated by scripts/generate-tests-md.js. Do not edit by hand. > Run node scripts/generate-tests-md.js to regenerate.

---

test/admin.routes.test.js

  • GET /api/admin/users
  • POST /api/admin/users
  • PATCH /api/admin/users/:id
  • DELETE /api/admin/users/:id
  • GET /api/admin/orphan-userfolders
  • GET /api/admin/config
  • GET /api/admin/debug/stream-stats
  • PUT /api/admin/config
  • POST /api/admin/shutdown
  • GET /api/admin/update-status

---

test/api.v1.test.js

  • OAuth authorization code + PKCE
  • Access management (web session)
  • Scopes and isolation
  • Files: upload, download, conflicts
  • Resumable uploads
  • Delta feed

---

test/auth.routes.test.js

  • GET /api/auth/server-key
  • GET /api/auth/setup-needed
  • POST /api/auth/setup
  • POST /api/auth/login
  • session lifecycle
  • POST /api/auth/change-password
  • auth session cleanup

---

test/config.test.js

  • getEffectivePaths
  • getAllowedRoot

---

test/crypto.test.js

  • hybrid encrypt / decrypt round-trip

---

test/file-hash-queue.test.js

  • file hash queue

---

test/files.routes.test.js

  • POST /api/files/upload
  • POST /api/files/move
  • root alias endpoints
  • last visited folder persistence
  • GET /api/files/preview-image
  • GET /api/files/thumbnail
  • GET /api/files/root-access
  • orphaned user folder access
  • list access chmod
  • subtitle debug cache access
  • folder icon endpoints
  • file search endpoint
  • image search endpoint
  • global favicon endpoints
  • GET /api/files/download-zip
  • video streaming routes
  • SHA-256 hashing and duplicate detection

---

test/image-subtitles.test.js

  • image subtitle option parsing
  • subtitle cache directory management

---

test/page.load.test.js

  • page load smoke test

---

test/public-url.test.js

  • normalizePublicUrl
  • trustProxySetting
  • URLs in OAuth metadata, redirects and OpenAPI
  • Main UI links to the connected apps page

---

test/search-index.test.js

  • search index

---

test/share.page.load.test.js

  • share page video preview

---

test/share.routes.test.js

  • POST /api/share/create
  • GET /api/share/info/:token
  • GET /api/share/preview/:token
  • GET /api/share/video-stream/:token
  • GET /api/share/download/:token
  • pruneZipCache
  • purgeExpiredShareTokens
  • buildShareOpenGraphPage

---

test/shared-video-player.test.js

  • shared image subtitle prefetching

---

test/subtitle-debug-log.test.js

  • subtitle debug log writer

---

test/thumbnail-cache.test.js

  • thumbnail cache worker

---

test/video-stream.test.js

  • video stream bootstrap
  • text subtitle editor-note sanitization

---

Source
1# Test Index
2
3> Auto-generated by `scripts/generate-tests-md.js`. Do not edit by hand.
4> Run `node scripts/generate-tests-md.js` to regenerate.
5
6---
7
8## `test/admin.routes.test.js`
9- `GET /api/admin/users`
10- `POST /api/admin/users`
11- `PATCH /api/admin/users/:id`
12- `DELETE /api/admin/users/:id`
13- `GET /api/admin/orphan-userfolders`
14- `GET /api/admin/config`
15- `GET /api/admin/debug/stream-stats`
16- `PUT /api/admin/config`
17- `POST /api/admin/shutdown`
18- `GET /api/admin/update-status`
19
20---
21
22## `test/api.v1.test.js`
23- `OAuth authorization code + PKCE`
24- `Access management (web session)`
25- `Scopes and isolation`
26- `Files: upload, download, conflicts`
27- `Resumable uploads`
28- `Delta feed`
29
30---
31
32## `test/auth.routes.test.js`
33- `GET /api/auth/server-key`
34- `GET /api/auth/setup-needed`
35- `POST /api/auth/setup`
36- `POST /api/auth/login`
37- `session lifecycle`
38- `POST /api/auth/change-password`
39- `auth session cleanup`
40
41---
42
43## `test/config.test.js`
44- `getEffectivePaths`
45- `getAllowedRoot`
46
47---
48
49## `test/crypto.test.js`
50- `hybrid encrypt / decrypt round-trip`
51
52---
53
54## `test/file-hash-queue.test.js`
55- `file hash queue`
56
57---
58
59## `test/files.routes.test.js`
60- `POST /api/files/upload`
61- `POST /api/files/move`
62- `root alias endpoints`
63- `last visited folder persistence`
64- `GET /api/files/preview-image`
65- `GET /api/files/thumbnail`
66- `GET /api/files/root-access`
67- `orphaned user folder access`
68- `list access chmod`
69- `subtitle debug cache access`
70- `folder icon endpoints`
71- `file search endpoint`
72- `image search endpoint`
73- `global favicon endpoints`
74- `GET /api/files/download-zip`
75- `video streaming routes`
76- `SHA-256 hashing and duplicate detection`
77
78---
79
80## `test/image-subtitles.test.js`
81- `image subtitle option parsing`
82- `subtitle cache directory management`
83
84---
85
86## `test/page.load.test.js`
87- `page load smoke test`
88
89---
90
91## `test/public-url.test.js`
92- `normalizePublicUrl`
93- `trustProxySetting`
94- `URLs in OAuth metadata, redirects and OpenAPI`
95- `Main UI links to the connected apps page`
96
97---
98
99## `test/search-index.test.js`
100- `search index`
101
102---
103
104## `test/share.page.load.test.js`
105- `share page video preview`
106
107---
108
109## `test/share.routes.test.js`
110- `POST /api/share/create`
111- `GET /api/share/info/:token`
112- `GET /api/share/preview/:token`
113- `GET /api/share/video-stream/:token`
114- `GET /api/share/download/:token`
115- `pruneZipCache`
116- `purgeExpiredShareTokens`
117- `buildShareOpenGraphPage`
118
119---
120
121## `test/shared-video-player.test.js`
122- `shared image subtitle prefetching`
123
124---
125
126## `test/subtitle-debug-log.test.js`
127- `subtitle debug log writer`
128
129---
130
131## `test/thumbnail-cache.test.js`
132- `thumbnail cache worker`
133
134---
135
136## `test/video-stream.test.js`
137- `video stream bootstrap`
138- `text subtitle editor-note sanitization`
139
140---