aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-client/src (unfollow)
Commit message (Collapse)Author
2024-11-19feat(client): add filter mode enablement and ordering configuration (#2430)Pavel Ivanov
2024-10-07feat: Ultracompact Mode (search-only) (#2357)P T Weir
* feat: add always_show_tabs setting * feat(ultracompact): extra-compact options * feat(ultracompact): enable via auto_hide_height * feat(ultracompact): clarify comment * fix(theming): minor tidyup to theming comment * chore: rustfmt/clippy corrections * chore: testing if CI issue was transient
2024-08-27chore: enable inline height and compact by default (#2249)Ellie Huxtable
2024-08-14fix: remove dbg! macro (#2355)TymanWasTaken
2024-08-05test: add env ATUIN_TEST_LOCAL_TIMEOUT to control test timeout of SQLite (#2337)Jax Young
* test: add env ATUIN_TEST_LOCAL_TIMEOUT to control test timeout of SQLite This make it possible to control the timeout of SQLite operations in test. And ATUIN_TEST_LOCAL_TIMEOUT defaults to the default local_timeout, which is actually used in the client. Instead of a small timeout (0.1), this change makes the test less likely to fail and better imitate the default behavior. SQLite operation timeout was first introduced from #1590, including connection and store timeout. The env ATUIN_TEST_SQLITE_STORE_TIMEOUT which added by #1703 only specify the store timeout. This commit doesn't deprecate ATUIN_TEST_SQLITE_STORE_TIMEOUT, but control it by setting its default to the new env ATUIN_TEST_LOCAL_TIMEOUT. * test!: replace ATUIN_TEST_SQLITE_STORE_TIMEOUT with ATUIN_TEST_LOCAL_TIMEOUT This deprecate ATUIN_TEST_SQLITE_STORE_TIMEOUT for simplicity as the new env ATUIN_TEST_LOCAL_TIMEOUT can control both connection and store timeout of SQLite in test. Details see 4d88611. Revert: #1703.
2024-08-05fix(theme): Restore original colours (#2339)P T Weir
* fix(theme): restore ratatui colors * chore: fix up rustfmt * typo: correct spelling in comment
2024-07-23fix(themes): Restore default theme, refactor (#2294)P T Weir
* fix(theme): let the base colour remain unchanged * fix(theme): split out default * fix(theme): make base theme 'default' not an empty string * wip(theme): return styles, not colors * wip(theme): tidy up module structure a little * wip(theme): removed unhandled references to foreground_color * chore: fix cargo fmt * feat(theme): allow crossterm-deserializable colors
2024-07-17feat(tui): Fixed preview height option (#2286)Tobias Genannt
* Added "fixed" to preview strategy Uses max_preview_height as a fixed value to prevent the list from "jumping". * Added test for new setting
2024-07-15feat(tui): Customizable Themes (#2236)P T Weir
* wip: add theme * feat(theme): basic theming approach * feat(theme): adds theming support * fix: split out palette without compact inspector * fix(theme): tidy up implementation * fix(theme): correct yaml to toml * fix(theme): typo in comments * chore: cheer up clippy * fix(themes): ensure tests cannot hit real loading directory * chore: rustfmt * chore: rebase * feat(themes): add rgb hexcode support * fix(theme): add tests * fix(theme): use builtin log levels and correct debug test * feat(theme): adds the ability to derive from a non-base theme * fix(theme): warn if the in-file name of a theme does not match the filename * chore: tidy for rustfmt and clippy * chore: tidy for rustfmt and clippy
2024-07-11chore: enable record sync by default (#2255)Ellie Huxtable
I'm now pretty confident in the automatic migration. Let's cut people over so they have a better experience
2024-07-10feat(gui): use fancy new side nav (#2243)Ellie Huxtable
* feat(gui): use fancy new side nav * compact only sidebar, no expand-collapse * custom drag region, remove titlebar * add user popup * wire up login/logout/register, move user button to bottom and add menu * link help and feedback to forum
2024-07-03fix: idx cache inconsistency (#2231)Ellie Huxtable
2024-07-01feat: Add npm, Netlify and Pulumi tokens to secret patterns (#2210)Julien P
2024-06-25feat: add several other GitHub access token patterns (#2200)Chris Rose
- OAuth access tokens - refresh token - app installation token - PAT v2 Additionally, added support for having >1 value for testing, for cases where the pattern for a secret has alternative formats (GitHub PAT v2 does this)
2024-06-25feat: Add GitLab PAT to secret patterns (#2196)David Jack Wange Olrik
2024-06-24feat: add user account verification (#2190)Ellie Huxtable
* add verified column to users table * add database functions to check if verified, or to verify * getting there * verification check * use base64 urlsafe no pad * add verification client * clippy * correct docs * fix integration tests
2024-06-20feat(history): filter out various environment variables containing potential ↵David
secrets (#2174)
2024-06-20feat(daemon): follow XDG_RUNTIME_DIR if set (#2171)Ellie Huxtable
If XDG_RUNTIME_DIR is set, put the socket file there. If not, default to storing it in our data dir. We cannot default to a path such as /run/user/$UID/ because it does not exist on all systems. Any system running systemd will set this var by default, and ensure that the directory it points to is correctly setup.
2024-06-18feat(tui): configurable prefix character (#2157)Ellie Huxtable
* feat(tui): configurable prefix character * string not char because toml/json lol
2024-06-17fix: unitless sync_frequence = 0 not parsed by humantime (#2154)Ellie Huxtable
Resolve #2147
2024-06-03fix(client): better error reporting on login/registration (#2076)Xavier Vello
2024-06-03feat(doctor): report sqlite version (#2075)Xavier Vello
2024-06-03fix(deps): replace parse_duration with humantime (#2074)Blair Noctis
The former is no longer maintained, with a long standing security advisory (RUSTSEC-2021-0041).
2024-05-30chore: handle rate limited responses (#2057)Ellie Huxtable
For Atuin Cloud, we rate limit login attempts (and a few other endpoints). Ensure that the user gets a descriptive response For self hosted users, if you wish to rate limit, I'd suggest configuring this with your reverse proxy.
2024-05-30feat(ui): add login/register dialog (#2056)Ellie Huxtable
2024-05-25feat: support systemd socket activation for daemon (#2039)Nemo157
This avoids issues with clients attempting to connect to the daemon while it's starting, systemd creates the socket early and will queue connections up until the daemon is ready to accept them.
2024-05-21feat: support importing from replxx history files (#2024)Amos Bird
* Support importing from replxx history files * Fix clippy error. Also Remove auto-detect for replxx which makes no sense. * Add some tests
2024-05-21fix(daemon): do not try to sync if logged out (#2037)Ellie Huxtable
* fix(daemon): do not try to sync if logged out I've also added Settings::logged_in, as there are a few places where we switch on login state. * make session_token a function
2024-05-16fix: bogus error message wording (#1283)Caleb Maclennan
2024-05-14fix: alias enable/enabled in settings (#2021)Ellie Huxtable
2024-05-13feat(daemon): add support for daemon on windows (#2014)YummyOreo
* fix: gracefully exit on windows * feat(daemon): tcp support for windows * feat(daemon): add tcp port configuration * fix: logging and fix compiler error * docs: add build dependency to the readme fix(docs): move a line up * fix: missing field error * docs: adds the daemon section to the default config * fix: clippy and fmt * feat: Update README.md Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com> * refactor: changes tcp port and other stuff as per request * fix(config): update default tcp port in example config * fix: complier error on unix * refactor: make the cfg stuff look better --------- Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2024-05-08fix: add incremental rebuild to daemon loop (#2010)Ellie Huxtable
2024-05-08feat: add background daemon (#2006)Ellie Huxtable
* init daemon crate * wip * minimal functioning daemon, needs cleanup for sure * better errors * add signal cleanup * logging * things * add sync worker * move daemon crate * 30s -> 5mins * make clippy happy * fix stuff maybe? * fmt * trim packages * rate limit fix * more protoc huh * this makes no sense, why linux why * can it install literally just curl * windows in ci is slow, and all the newer things will not work there. disable the daemon feature and it will build * add daemon feature * maybe this * ok wut where is protoc * try setting protoc * hm * try copying protoc * remove optional * add cross config * idk nix * does nix want this? * some random pkg I found does this * uh oh * hack, be gone! * update contributing
2024-05-02fix(dotfiles): allow clearing aliases, disable import (#1995)Ellie Huxtable
* fix(dotfiles): allow clearing aliases, disable import At the moment there are far too many edge cases to handle importing aliases. 1. We need an interactive shell to print aliases. Without it, most shells won't report much. 2. Many people have their shells print things on startup (graphics, fortunes, etc). This could be detected as an attempt to set an alias. Rather than spend the next year finding import edge cases, I'm disabling it for now. There's probably a better way we can do this? * clippy
2024-05-01refactor: preview_auto to use enum and different option (#1991)Helmut K. C. Tessarek
* refactor: preview_auto to use enum and different option * fix: typo
2024-04-30feat(history): create atuin-history, add stats to it (#1990)Ellie Huxtable
* feat(history): create atuin-history, add stats to it I'd like to eventually pull all the history stuff into this crate. Stats are a nice start, as I'd like to use them from the UI anyways. * lock * clippy
2024-04-18chore: move crates into crates/ dir (#1958)Ellie Huxtable
I'd like to tidy up the root a little, and it's nice to have all the rust crates in one place