aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src/database.rs (follow)
Commit message (Collapse)AuthorAge
* Try to make clippy happy 🥺 (#686)Ellie Huxtable2023-02-06
| | | | | | | * Try to make clippy happy 🥺 * Fmt * I missed one (can't run clippy locally on airport wifi...)
* Improve error message when $AUTIN_SESSION is not set. (#654)Jamie Quigley2022-12-27
| | | Closes #653
* Switch to using ATUIN_LOG instead of RUST_LOG (#642)Ellie Huxtable2022-12-16
| | | | | | | * Switch to using ATUIN_LOG instead of RUST_LOG * Stop clippy complaining * I should know better - clippy is never happy :(
* Add local event log storage (#390)Ellie Huxtable2022-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add event data structures This adds the data structures required to start syncing events, rather than syncing history directly. Adjust event Fix Add event data structure to client * Add server event table sql * Add client event table migration Adjust migration * Insert into event table from client * Add event merge function Right now this just ensures we have the right amount of events given the history we have BUT it will also be used to merge CREATE/DELETE events, resulting in history being deleted :) * Make CI happy * Adjust * we don't limit history length any more * Update atuin-client/src/database.rs Co-authored-by: Conrad Ludgate <conradludgate@gmail.com> * fix usage * Fix typo * New Rust, new clippy stuff Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
* better cursor search (#473)Conrad Ludgate2022-09-11
| | | | | | | | | | | | | | | * improve cursor code * proper unicode support * refactor and test * fmt * clippy * move methods to state * refactor search modules
* Importer V3 (#395)Conrad Ludgate2022-05-09
| | | | | | | | | * start of importer refactor * fish * resh * zsh
* ignore JetBrains IDEs, tidy-up imports (#348)Jakub Panek2022-04-28
| | | | | | | * ignore JB IDEs * tidy-up imports * add rustfmt config
* fix db range query (#351)Conrad Ludgate2022-04-26
|
* sql builder (#333)Conrad Ludgate2022-04-23
| | | | | | | * start * clean up * refactor globs
* Fix empty queries with filters (#332)Ellie Huxtable2022-04-22
|
* History filter (#329)Ellie Huxtable2022-04-22
| | | | | | | | | | | | | | * Add history filters, and hotkey toggle Switch between different search modes to narrow down the history you want - global search for all history, host for all history from your current machine, session for the current shell session, and directory for the current directory The default can be configured via `filter_mode` * Update docs * Add context
* A few minor tweaks (#314)Conrad Ludgate2022-04-21
| | | | | | | | | * use bail macro replace client database errors remove dead code * fix test
* provide better error messages (#300)Conrad Ludgate2022-04-13
|
* Improve fuzzy search (#279)Patrick2022-03-18
| | | | | | | | | | | | | | | | | | | | | * Add SearchMode fzf. Add a new search mode "fzf" that tries to mimic the search syntax of https://github.com/junegunn/fzf#search-syntax This search mode splits the query into terms where each term is matched individually. Terms can have operators like prefix, suffix, exact match only and can be inverted. Additionally, smart-case matching is performed: if a term contains a non-lowercase letter the match will be case-sensitive. * PR feedback. - Use SearchMode::Fuzzy instead of SearchMode::Fzf - update docs - re-order tests so previous fuzzy tests come first, add more tests for each operator * PR comments: remove named arguments, match expression * PR comments: macro -> async func
* Fix `history list --cwd` errors (#278)Lucas Burns2022-03-13
|
* use sqlite grouping rather than subquery (#181)Mark Wotton2021-12-19
|
* Reordered fuzzy search (#179)Mark Wotton2021-09-09
| | | | | | | | * add test demonstrating problem * add a reordered fuzzy-search mode that presents shorter matches first, rather than using strict chronological ordering. * fix warnings, refactor interface to minspan slightly
* Add fuzzy text search mode (#142)Frank Hamand2021-06-01
|
* Support fulltext search of commands (#75)Yuvi Panda2021-05-09
|
* Pre release polishing (#42)Ellie Huxtable2021-04-26
| | | | | | | | | | | | | * Improve readme * Add demo gif * Update readme * Add mac build * Amend release config * Update gif
* Revert to storing history as nanosEllie Huxtable2021-04-25
|
* Update docs, unify on SQLx, bugfixes (#40)Ellie Huxtable2021-04-25
| | | | | | | | | * Begin moving to sqlx for local too * Stupid scanners should just have a nice cup of tea Random internet shit searching for /.env or whatever * Remove diesel and rusqlite fully
* Bugfixes, show time ago, perf improvementsEllie Huxtable2021-04-21
| | | | Also allow unique listing and more ergonomic cwd usage
* Use cargo workspaces (#37)Ellie Huxtable2021-04-20
* Switch to Cargo workspaces Breaking things into "client", "server" and "common" makes managing the codebase much easier! client - anything running on a user's machine for adding history server - handles storing/syncing history and running a HTTP server common - request/response API definitions, common utils, etc * Update dockerfile