BlueGit

timfa filemanager

Files

filemanager / .github / tests.md

tests.md

Add uptime cleanup loops
timfa Tim Falken · pushed by timfa · 5 months ago
7a0f5d00 History
tests.md 2.1 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/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/files.routes.test.js

  • POST /api/files/upload
  • POST /api/files/move
  • root alias endpoints
  • last visited folder persistence
  • 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/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

---

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/auth.routes.test.js`
23- `GET /api/auth/server-key`
24- `GET /api/auth/setup-needed`
25- `POST /api/auth/setup`
26- `POST /api/auth/login`
27- `session lifecycle`
28- `POST /api/auth/change-password`
29- `auth session cleanup`
30
31---
32
33## `test/config.test.js`
34- `getEffectivePaths`
35- `getAllowedRoot`
36
37---
38
39## `test/crypto.test.js`
40- `hybrid encrypt / decrypt round-trip`
41
42---
43
44## `test/files.routes.test.js`
45- `POST /api/files/upload`
46- `POST /api/files/move`
47- `root alias endpoints`
48- `last visited folder persistence`
49- `GET /api/files/thumbnail`
50- `GET /api/files/root-access`
51- `orphaned user folder access`
52- `list access chmod`
53- `subtitle debug cache access`
54- `folder icon endpoints`
55- `file search endpoint`
56- `image search endpoint`
57- `global favicon endpoints`
58- `GET /api/files/download-zip`
59- `video streaming routes`
60- `SHA-256 hashing and duplicate detection`
61
62---
63
64## `test/image-subtitles.test.js`
65- `image subtitle option parsing`
66- `subtitle cache directory management`
67
68---
69
70## `test/page.load.test.js`
71- `page load smoke test`
72
73---
74
75## `test/share.page.load.test.js`
76- `share page video preview`
77
78---
79
80## `test/share.routes.test.js`
81- `POST /api/share/create`
82- `GET /api/share/info/:token`
83- `GET /api/share/preview/:token`
84- `GET /api/share/video-stream/:token`
85- `GET /api/share/download/:token`
86- `pruneZipCache`
87- `purgeExpiredShareTokens`
88- `buildShareOpenGraphPage`
89
90---
91
92## `test/shared-video-player.test.js`
93- `shared image subtitle prefetching`
94
95---
96
97## `test/subtitle-debug-log.test.js`
98- `subtitle debug log writer`
99
100---
101
102## `test/thumbnail-cache.test.js`
103- `thumbnail cache worker`
104
105---
106
107## `test/video-stream.test.js`
108- `video stream bootstrap`
109
110---