Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@
# Retention (days) for the whitecircle_checks audit log; 0 disables the cleanup worker.
# WHITECIRCLE_CHECKS_RETENTION_DAYS=30
# Privacy-preserving ads (server-side only; disabled by default).
# Advertising is restricted to the initiating user's private chat with the bot.
# These switches never enable advertising in groups or channels.
# GRADIUS_ENABLED=false
# GRADIUS_UTILITY_IMAGE_ENABLED=false
# GRADIUS_UTILITY_RATES_ENABLED=false
Expand Down
167 changes: 4 additions & 163 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ serde = "1.0.228"
serde_json = "1.0"
sha1 = "0.10.6"
sha2 = "0.10.9"
sqlx = { version = "0.9.0", default-features = false }
sqlx-core = { version = "0.9.0", default-features = false }
sqlx-postgres = { version = "0.9.0", default-features = false }
thiserror = "2.0.18"
time = "0.3"
tokio = "1.52.3"
Expand Down
1 change: 0 additions & 1 deletion crates/openplotva-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
sha1.workspace = true
sha2.workspace = true
sqlx = { workspace = true, features = ["json", "postgres", "runtime-tokio", "time"] }
thiserror.workspace = true
time = { workspace = true, features = ["formatting", "parsing"] }
tokio = { workspace = true, features = ["macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
Expand Down
1 change: 1 addition & 0 deletions crates/openplotva-app/src/checkin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2766,6 +2766,7 @@ mod tests {
TelegramFileMetadataStoreFuture, UpdateHandler, UpdateStateStore, UpdateStateStoreFuture,
process_update_with_state_store_at,
};
use openplotva_storage::database as sqlx;
use openplotva_taskman::{JobPayload, JobType, control_job_params_from_stateless_job};
use openplotva_telegram::{
CallbackHandlerKind, DispatcherConfig, DispatcherQueue, TelegramOutboundMethodKind,
Expand Down
1 change: 1 addition & 0 deletions crates/openplotva-app/src/dialog_messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2536,6 +2536,7 @@ const OBSCENIFY_VOWELS: &str = "ауоыиэяюёе";
#[cfg(test)]
mod tests {
use crate::dialog_tools::DrawImageScheduleRequest;
use openplotva_storage::database as sqlx;
use openplotva_telegram::TELEGRAM_PARSE_MODE_HTML;
use std::{
collections::VecDeque,
Expand Down
2 changes: 2 additions & 0 deletions crates/openplotva-app/src/dialog_turn/ledger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//! `RuntimeLlmObserver` pattern in `runtime_llm.rs`. One record per dialog
//! worker tick that dequeued a job.

use openplotva_storage::database as sqlx;
use std::sync::{
Arc, Mutex,
atomic::{AtomicI64, Ordering},
Expand Down Expand Up @@ -443,6 +444,7 @@ pub async fn delete_old_turn_outcomes_batch(
#[cfg(test)]
mod tests {
use super::*;
use openplotva_storage::database as sqlx;
use sqlx::Execute;

fn sample_record(job_id: i64, outcome: &str) -> DialogTurnOutcomeRecord {
Expand Down
Loading
Loading