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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- History IPC surface: queries `history_list(dateFrom, dateTo, hostname, sortField, sortDirection, limit, offset)`, `history_search(q)`, `history_get_by_id(id)` and commands `history_export(format, path)` (CSV RFC 4180 with spreadsheet-formula guard, or JSON pretty-printed), `history_delete_entry(id)`, `history_clear`, `history_purge_older_than(days)` — `days == 0` is rejected to avoid a full-table wipe. Results are capped at 500 rows per request; `list` supports `offset` for pagination. `HistoryViewDto` exposes the primary key as `entryId` so the frontend can target individual rows. The `HistoryRepository` port gained `list` (with date range + exact hostname match against the URL host), `search` (case-insensitive over file name / URL / destination), `find_by_id`, `delete_by_id` and `delete_all`, implemented by `SqliteHistoryRepo`. (task 01)
- `useTauriMutation` now accepts `silentError` (opt-out of the default toast) and `errorMessage` (remap the error message before toasting) options. (#74)

### Changed
Expand Down
2 changes: 0 additions & 2 deletions src-tauri/src/adapters/driven/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ pub mod network;
pub mod notification;
pub mod plugin;
pub mod sqlite;
#[cfg(test)]
pub mod stats;
pub mod tray;
2 changes: 1 addition & 1 deletion src-tauri/src/adapters/driven/plugin/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,6 @@ mod tests {
registry.insert("plug-a".to_string(), make_loaded("plug-a"));

let result = registry.function_exists("plug-a", "extract_links");
assert_eq!(result.unwrap(), false);
assert!(!result.unwrap());
}
}
Loading
Loading