Implement critical security improvements for authentication #45

Merged
cameron merged 6 commits from feature/security-improvements into master 2026-01-02 22:01:40 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 54e23a29b3 - Show all commits

View File

@@ -855,7 +855,7 @@ mod tests {
} }
} }
fn move_file<P: AsRef<Path>>(&self, from: P, destination: P) -> anyhow::Result<()> { fn move_file<P: AsRef<Path>>(&self, _from: P, _destination: P) -> anyhow::Result<()> {
todo!() todo!()
} }
} }
@@ -997,7 +997,6 @@ mod tests {
testhelpers::BodyReader, testhelpers::BodyReader,
}; };
use crate::database::SqliteExifDao;
use crate::database::test::in_memory_db_connection; use crate::database::test::in_memory_db_connection;
use crate::tags::SqliteTagDao; use crate::tags::SqliteTagDao;
use actix_web::test::TestRequest; use actix_web::test::TestRequest;

View File

@@ -918,7 +918,7 @@ mod tests {
} }
} }
#[derive(QueryableByName, Debug, Clone)] #[derive(QueryableByName, Debug, Clone)]
pub(crate) struct FileWithTagCount { pub struct FileWithTagCount {
#[diesel(sql_type = Text)] #[diesel(sql_type = Text)]
pub(crate) file_name: String, pub(crate) file_name: String,
#[diesel(sql_type = BigInt)] #[diesel(sql_type = BigInt)]