Commit Graph

746 Commits

Author SHA1 Message Date
rishikanthc
f035a42b3c style: improve documentation tables and callouts 2025-12-17 11:11:50 -08:00
rishikanthc
423c6934a7 build: add remark-gfm for GFM support (tables) in MDX 2025-12-17 11:09:10 -08:00
rishikanthc
b65b536d89 docs: fix missing images in usage guide by moving them to public directory 2025-12-17 10:29:28 -08:00
rishikanthc
2dc2d484c3 build: add ffmpeg and deno to homebrew dependencies 2025-12-17 10:28:09 -08:00
Rishikanth Chandrasekaran
d95d2f3a3a Revise machine learning models in README
Updated the description of machine learning models used in Scriberr.
2025-12-17 10:16:34 -08:00
Rishikanth Chandrasekaran
86be14a99e Enhance installation section with Docker details
Updated installation instructions to include Docker usage and added environment variable configurations.
2025-12-17 10:13:47 -08:00
Rishikanth Chandrasekaran
cf7ce29ce5 Adjust logo height in README.md
Reduced logo image height for better alignment.
2025-12-17 10:05:55 -08:00
rishikanthc
d56a9e9ca7 Changing hero image 2025-12-17 10:01:57 -08:00
rishikanthc
235d5b3fbd adjusting logo 2025-12-17 09:57:18 -08:00
rishikanthc
dff0cbd288 fix: logo 2025-12-17 09:43:09 -08:00
rishikanthc
d728faf2a7 fix: add backk donation links 2025-12-17 09:36:04 -08:00
rishikanthc
d1dd3afa5d fix: readme for release 2025-12-17 09:32:50 -08:00
rishikanthc
3307349c13 fix: update yt-dlp url to download arch independent binary 2025-12-16 20:25:51 -08:00
rishikanthc
83a44c0478 fix: dialogues causing elements to shift 2025-12-16 19:17:44 -08:00
rishikanthc
69fdcaa604 fix: my tomfoolery 2025-12-16 19:08:35 -08:00
rishikanthc
913063eb49 refactor: Switch yt-dlp to standalone binary & cleanup UV config
- Dockerfiles: Install yt-dlp binary from GitHub releases to /usr/local/bin
- Go: Execute yt-dlp binary directly, removing uv python wrapper
- Config: Remove unused UVPath configuration and findUVPath function
- Entrypoint: Remove yt-dlp init logic (still initializes whisperx env if needed)
2025-12-16 19:07:29 -08:00
rishikanthc
88166cbf6c fix: set correct internal path for whisperx-env 2025-12-16 18:38:51 -08:00
rishikanthc
f99087b2bd fix: Resolve mobile audio playback permission issues
- Change cookie SameSite policy from Strict to Lax (Strict blocks media subresources on mobile)
- Decouple Secure cookie flag from APP_ENV:
  - Add SECURE_COOKIES config (defaults to true in prod, but can be overridden)
  - Allows testing production builds over HTTP (home network)
- Increase gocyclo threshold to 25 to accommodate complex handlers
2025-12-16 18:21:36 -08:00
rishikanthc
11434b9f1b feat: Add production security configuration for CORS and cookie handling
- Fix refresh token cookie Secure flag bug (was hardcoded to false)
- Wire up AllowedOrigins config in CORS middleware (router, handlers, chat, SSE)
- Add APP_ENV=production to Dockerfile and Dockerfile.cuda
- Update all docker-compose files with APP_ENV and ALLOWED_ORIGINS examples
- CORS now validates origins in production, allows all in development
- Increase gocyclo threshold from 20 to 25 for complex handlers
2025-12-16 18:21:36 -08:00
rishikanthc
c44de7858b refactor: Complete repository pattern migration for all remaining files (Phases 5-7)
Phase 5: Refactor queue.go (10 DB calls removed)
- Added JobRepository to TaskQueue struct and constructor
- Added UpdateStatus, UpdateError, FindByStatus, CountByStatus methods to JobRepository
- Replaced all database.DB calls with repository methods

Phase 6: Refactor chat_handlers.go and summarize_handlers.go (6 DB calls removed)
- Added GetMessageCountsBySessionIDs and GetLastMessagesBySessionIDs to ChatRepository
- Added UpdateSummary to JobRepository
- Replaced batch queries and update calls with repository methods
- Removed database import from both files

Phase 7: Refactor quick_transcription.go (3 DB calls removed)
- Added JobRepository injection to QuickTranscriptionService
- Updated constructor and all callers

Summary: 46+ database.DB calls replaced with repository methods across 7 phases.
All tests pass, build succeeds.
2025-12-16 18:21:36 -08:00
rishikanthc
86add0037d refactor: Replace direct database.DB calls with repository pattern in handlers, dropzone, and multitrack_processor
Phase 1: Define interfaces
- Created internal/interfaces/ package with AuthServiceInterface, TaskQueueInterface, JobProcessorInterface

Phase 2: Refactor handlers.go (21 DB calls removed)
- Replaced all database.DB calls with repository methods
- Added RefreshTokenRepository for token management
- Added new repository methods: Count, FindActiveTrackJobs, FindLatestCompletedExecution, FindByName

Phase 3: Refactor dropzone.go (3 DB calls removed)
- Added CountWithAutoTranscription to UserRepository
- Injected JobRepository and UserRepository into Service

Phase 4: Refactor multitrack_processor.go
- Changed constructor to accept *gorm.DB and JobRepository
- Updated Handler to inject MultiTrackProcessor

Updated all test files with new dependencies and mock implementations.
2025-12-16 18:21:36 -08:00
rishikanthc
7fc7619ee6 fix: tests for upstream changes
fix: new tests for chat and user management flows

fix: resolve lint errors

fix: configured lefthook to check entire project
2025-12-16 18:21:36 -08:00
rishikanthc
9146fa075f fix: configure lefthook for go lint checks 2025-12-16 18:21:36 -08:00
rishikanthc
658a1a5c49 fix: lint errors in go code 2025-12-16 18:21:36 -08:00
rishikanthc
839231b576 chore: formatting updates from previous hook runs 2025-12-15 22:29:41 -08:00
rishikanthc
a5ce460949 chore: add type checking to lefthook and fix prettier deps 2025-12-15 22:29:41 -08:00
rishikanthc
5097ca1037 chore(lint): enforce strict linting rules and fix violations 2025-12-15 22:29:41 -08:00
rishikanthc
4de2b41870 chore: setup lefthook for frontend linting and formatting 2025-12-15 22:29:41 -08:00
rishikanthc
f3ac62b8d4 fix: resolve remaining lint errors in Transcription feature 2025-12-15 22:29:41 -08:00
rishikanthc
d0479f937d fix: resolve lexical declaration error in SpeakerRenameDialog 2025-12-15 22:29:41 -08:00
rishikanthc
ec37d939b0 fix: resolve lint errors in Settings feature 2025-12-15 22:29:41 -08:00
rishikanthc
80276fb257 fix: resolve lint errors in Auth feature 2025-12-15 22:29:41 -08:00
rishikanthc
4008007958 fix: resolve lint errors in Contexts 2025-12-15 22:29:41 -08:00
rishikanthc
4b66b96e42 fix: resolve lint errors in ChatInterface, AudioRecorder and ChatSessionsSidebar 2025-12-15 22:29:41 -08:00
rishikanthc
1b6c62b36f fix: resolve useEffect dependencies in TranscribeDDialog 2025-12-15 22:29:41 -08:00
rishikanthc
4c0ce0f4e2 fix: resolve lint warnings in audio components 2025-12-15 22:29:41 -08:00
rishikanthc
7df90246d5 fix: resolve hooks violation and lint errors in TranscriptView 2025-12-15 22:29:41 -08:00
rishikanthc
0b58628201 chore: configure eslint with relaxed rules and clean up UI components 2025-12-15 22:29:41 -08:00
rishikanthc
25b2f610fd fix: corrections in docs 2025-12-15 22:29:41 -08:00
rishikanthc
1e0d0dc98b fix: site icon for docs 2025-12-15 13:50:48 -08:00
rishikanthc
bfab616dca fix: build errors in docs 2025-12-15 13:47:25 -08:00
rishikanthc
fe773c6c23 fix: path duplication in docs ci/cd 2025-12-15 13:45:33 -08:00
rishikanthc
13488efbd8 fix: update ci/cd to publish new docs site 2025-12-15 13:43:42 -08:00
rishikanthc
3bbcbcfd63 fix: responsive design 2025-12-15 13:36:12 -08:00
rishikanthc
aba5562624 fix(docs): improve auth section UI and fix swagger generation paths 2025-12-15 13:36:12 -08:00
rishikanthc
9dd95d0435 feat: implement API documentation site with Swagger integration and branding 2025-12-15 13:36:12 -08:00
rishikanthc
11cc5b5aa4 feat: Add documentation website with layout, features, usage text, and screenshots 2025-12-15 13:36:12 -08:00
rishikanthc
fe2f0fcf58 fix: PWA icon bg color 2025-12-14 19:09:52 -08:00
rishikanthc
0f0b23b2ee feat: update pwa icons and favicon 2025-12-14 19:09:52 -08:00
rishikanthc
56b9eda843 feat: redesign icon logo and implement independent dev workflow 2025-12-14 19:09:52 -08:00