Files
call-recorder/crates/core/src/lib.rs
T
haukeandClaude Opus 5.5 58e96a2954 feat #14740: admin backend client and transcript upload text
recorder-core side of linking the app to the euvino admin backend:
- backend: BackendClient (create a key with the admin's session cookie,
  check a key, upload a transcript; redirects never followed), German
  error messages, the login-window decision (LoginStep) and the upload
  flow with login, one retry after a refused key and no loop
- call_view: the upload text (header + merged, renamed lines) and the
  upload fields on the call
- store: schema v3 with crm_transcript_id and uploaded_at
- settings: backend_url (validated https), the app-managed login fields,
  kept on edit and cleared when the backend URL changes
- secrets: Service::Backend; http: per-request follow_redirects;
  FakeTransport can script transport errors

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-06 14:52:50 +01:00

33 lines
648 B
Rust

//! Core domain logic for the Gesprächsrekorder call recorder.
//!
//! Call detection, recording orchestration and transcription, kept
//! independent of the Tauri application shell so it can be unit-tested
//! without a GUI or network.
pub mod audio;
pub mod backend;
pub mod call_view;
pub mod capture;
pub mod detect;
pub mod http;
pub mod merge;
pub mod model;
pub mod pipeline;
pub mod recorder;
pub mod retention;
pub mod secrets;
pub mod settings;
pub mod store;
pub mod transcribe;
#[cfg(any(test, feature = "test-util"))]
pub mod testing;
#[cfg(test)]
mod tests {
#[test]
fn it_builds() {
assert_eq!(2 + 2, 4);
}
}