openreader/src/lib/server
Richard R deaacbd6f0 feat(auth): add conditional GitHub authentication support
Implement a check for GitHub OAuth credentials to conditionally render
the GitHub sign-in button. This ensures the UI accurately reflects
available authentication methods based on environment configuration.

- Add `isGithubAuthEnabled` utility to verify server-side credentials
- Propagate GitHub auth status through context providers to the UI
- Conditionally display the GitHub sign-in button in the sign-in page
- Update documentation and examples to use hex encoding for `AUTH_SECRET`
- Add unit tests for the new GitHub authentication configuration logic
2026-02-16 14:21:25 -07:00
..
audiobook-prune.ts refactor(documents): migrate from IndexedDB to server-backed storage with caching 2026-02-08 11:15:57 -07:00
audiobook-scope.ts feat(auth): implement session gatekeeping and architectural reorganization 2026-02-15 11:12:42 -07:00
audiobook.ts refactor(audio): replace ffprobe with ffmpeg for metadata extraction 2026-02-15 12:13:29 -07:00
audiobooks-blobstore.ts refactor(audiobooks): migrate audiobook pipeline to object storage 2026-02-11 02:44:34 -07:00
auth-config.ts feat(auth): add conditional GitHub authentication support 2026-02-16 14:21:25 -07:00
auth.ts feat(db): add system user seeding and storage cleanup 2026-02-15 14:00:35 -07:00
claim-data.ts feat: add user preferences and document progress syncing 2026-02-11 13:58:16 -07:00
device-id.ts update(auth): enhance rate limiting with device/IP backstops and improve UI 2026-01-25 14:38:31 -07:00
docstore.ts refactor(audiobooks): migrate audiobook pipeline to object storage 2026-02-11 02:44:34 -07:00
document-previews-blobstore.ts feat(previews): implement document preview generation and caching 2026-02-12 16:05:03 -07:00
document-previews-render.ts feat(previews): implement document preview generation and caching 2026-02-12 16:05:03 -07:00
document-previews.ts feat(previews): implement document preview generation and caching 2026-02-12 16:05:03 -07:00
documents-blobstore.ts feat(previews): implement document preview generation and caching 2026-02-12 16:05:03 -07:00
documents-utils.ts feat(storage): implement S3/SeaweedFS blob storage for documents 2026-02-10 12:29:15 -07:00
ffmpeg-bin.ts refactor(audio): replace ffprobe with ffmpeg for metadata extraction 2026-02-15 12:13:29 -07:00
library.ts feat(docs): add configurable rate limiting and external docs 2026-02-10 15:11:37 -07:00
rate-limiter.ts feat(docs): add configurable rate limiting and external docs 2026-02-10 15:11:37 -07:00
request-ip.ts update(auth): enhance rate limiting with device/IP backstops and improve UI 2026-01-25 14:38:31 -07:00
s3.ts feat(storage): implement S3/SeaweedFS blob storage for documents 2026-02-10 12:29:15 -07:00
test-namespace.ts feat(db): add system user seeding and storage cleanup 2026-02-15 14:00:35 -07:00
user-data-cleanup.ts feat(db): add system user seeding and storage cleanup 2026-02-15 14:00:35 -07:00
user-state-scope.ts feat: add user preferences and document progress syncing 2026-02-11 13:58:16 -07:00