# 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`

---
