aboutsummaryrefslogtreecommitdiffstats
path: root/crates (follow)
Commit message (Collapse)AuthorAge
* chore(deps): bump memchr from 2.7.2 to 2.7.4 (#2151)dependabot[bot]2024-06-17
| | | | | | | | | | | | | | Bumps [memchr](https://github.com/BurntSushi/memchr) from 2.7.2 to 2.7.4. - [Commits](https://github.com/BurntSushi/memchr/compare/2.7.2...2.7.4) --- updated-dependencies: - dependency-name: memchr dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: unitless sync_frequence = 0 not parsed by humantime (#2154)Ellie Huxtable2024-06-17
| | | Resolve #2147
* chore(deps): bump regex from 1.10.4 to 1.10.5 (#2132)dependabot[bot]2024-06-13
| | | | | | | | | | | | | | | | Bumps [regex](https://github.com/rust-lang/regex) from 1.10.4 to 1.10.5. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.10.4...1.10.5) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(build): compile protobufs with protox (#2122)Remo Senekowitsch2024-06-12
| | | | | | | | | | | | | | | | | | | * chore(build): compile protobufs with protox protox is a pure-rust implementation of the protobuf compiler. Therefore, it can be managed by cargo. This removes the implicit dependency on protoc being available in the environment for the build. * fix(build): replace copypasta in build script The paths passed to `compile` aren't actually used by the build. `skip_protoc_run` prevents that. That's why a clean build succeeds even with this mistake. However, the paths are passed to a `cargo:rerun-if-changed` directive. So this mistake would've caused a failed incremental build if the protobuf definitions were changed.
* chore: remove unnecessary proto import (#2120)Ellie Huxtable2024-06-12
|
* fix: cargo binstall config (#2112)Ellie Huxtable2024-06-10
|
* chore(deps): bump clap_complete from 4.5.2 to 4.5.3 (#2100)dependabot[bot]2024-06-10
| | | | | | | | | | | | | | | | Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.5.2 to 4.5.3. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.2...clap_complete-v4.5.3) --- updated-dependencies: - dependency-name: clap_complete dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(crate): add description to daemon crate (#2107)Ellie Huxtable2024-06-10
| | | `cargo publish --dry-run` should really catch this.
* fix(crate): add missing description (#2106)Ellie Huxtable2024-06-10
|
* chore(deps): bump clap_complete_nushell from 4.5.1 to 4.5.2 (#2101)dependabot[bot]2024-06-10
| | | | | | | | | | | | | | | | Bumps [clap_complete_nushell](https://github.com/clap-rs/clap) from 4.5.1 to 4.5.2. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.5.1...clap_complete_nushell-v4.5.2) --- updated-dependencies: - dependency-name: clap_complete_nushell dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(release): prepare for release v18.3.0 (#2105)Ellie Huxtable2024-06-10
| | | | | | | | | * chore(release): prepare for release v18.3.0 * build full release * Revert "build full release" This reverts commit 65e7718b51927ca6cb03a411cce781b81cb64eaa.
* docs: add docs for store subcommand (#2097)Ellie Huxtable2024-06-07
| | | Closes #2095
* chore: update email, gitignore, tweak ui (#2094)Ellie Huxtable2024-06-06
|
* chore(release): v18.3.0-prerelease.1 (#2090)Ellie Huxtable2024-06-05
| | | | | | | * chore(release): v18.3.0-prerelease.1 * update contributors * changelog, plan only on prs
* fix: Replace serde_yaml::to_string with serde_json::to_string_yaml (#2087)Hesam Pakdaman2024-06-04
|
* chore(deps): bump serde_yaml from 0.9.32 to 0.9.34+deprecated (#2078)dependabot[bot]2024-06-03
| | | | | | | | | | | | | | | Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.32 to 0.9.34+deprecated. - [Release notes](https://github.com/dtolnay/serde-yaml/releases) - [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.32...0.9.34) --- updated-dependencies: - dependency-name: serde_yaml dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(client): better error reporting on login/registration (#2076)Xavier Vello2024-06-03
|
* feat(doctor): report sqlite version (#2075)Xavier Vello2024-06-03
|
* chore(deps): bump rmp from 0.8.12 to 0.8.14 (#2079)dependabot[bot]2024-06-03
| | | | | | | | | | | | | | | Bumps [rmp](https://github.com/3Hren/msgpack-rust) from 0.8.12 to 0.8.14. - [Release notes](https://github.com/3Hren/msgpack-rust/releases) - [Commits](https://github.com/3Hren/msgpack-rust/commits/rmp/v0.8.14) --- updated-dependencies: - dependency-name: rmp dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(deps): replace parse_duration with humantime (#2074)Blair Noctis2024-06-03
| | | | The former is no longer maintained, with a long standing security advisory (RUSTSEC-2021-0041).
* chore(deps): relax sqlx and argon2 dependencies (#2065)Cristian Le2024-05-31
| | | | | * Bump sqlx dependency * Relax dependencies for Fedora
* fix(bash): fix a workaround for bash-5.2 keybindings (#2060)Koichi Murase2024-05-30
|
* fix(stats): generation for commands starting with a pipe (#2058)Sandro2024-05-30
| | | Closes #1882
* chore: handle rate limited responses (#2057)Ellie Huxtable2024-05-30
| | | | | | 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.
* feat(ui): add login/register dialog (#2056)Ellie Huxtable2024-05-30
|
* chore(deps): bump rusty_paseto and rusty_paserk (#2054)Conrad Ludgate2024-05-29
|
* feat: support systemd socket activation for daemon (#2039)Nemo1572024-05-25
| | | | | 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.
* perf: only open the database for commands if strictly required (#2043)Ellie Huxtable2024-05-25
| | | | | | | | | | The client commands would open sqlite, even if not 100% required Remove this for 1. history start/end 2. shell init Init seems to be around 2ms faster on my system, with this change.
* feat: support importing from replxx history files (#2024)Amos Bird2024-05-21
| | | | | | | | | * Support importing from replxx history files * Fix clippy error. Also Remove auto-detect for replxx which makes no sense. * Add some tests
* fix(daemon): do not try to sync if logged out (#2037)Ellie Huxtable2024-05-21
| | | | | | | | * 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
* fix: redact password in database URI when logging (#2032)Jeremy Cline2024-05-21
| | | | | | | | | | | | | | | | | Previously, in the event that there was a configuration issue and the atuin server failed to connect to PostgreSQL, it would log the password. For example, if the password authentication failed the following log message would be printed: Error: failed to connect to db: PostgresSettings { db_uri: "postgres://atuin:definitelymypassword@db.example.com/atuin" } This change sets the password to "****" when printing it via Debug: Error: failed to connect to db: PostgresSettings { db_uri: "postgres://atuin:****@db.example.com/atuin" } Hopefully few people use **** as the actual password.
* fix: save sync time in daemon (#2029)Ellie Huxtable2024-05-18
|
* chore: clarify default config file (#2026)Ellie Huxtable2024-05-17
|
* fix: bogus error message wording (#1283)Caleb Maclennan2024-05-16
|
* fix: alias enable/enabled in settings (#2021)Ellie Huxtable2024-05-14
|
* feat(daemon): add support for daemon on windows (#2014)YummyOreo2024-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix: add incremental rebuild to daemon loop (#2010)Ellie Huxtable2024-05-08
|
* feat: add background daemon (#2006)Ellie Huxtable2024-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix(config): add quotes for strategy value in comment (#1993)Helmut K. C. Tessarek2024-05-06
|
* fix: adapt help to `enter_accept` config (#2001)Poliorcetics2024-05-06
|
* feat(ui): scroll history infinitely (#1999)Ellie Huxtable2024-05-06
| | | | | | | | | | | * wip, history scrolls right! * wip * virtual scroll fucking worksssss * paging works :) * scroll search results now too
* chore(deps): bump serde_with from 3.7.0 to 3.8.1 (#2002)dependabot[bot]2024-05-06
| | | | | | | | | | | | | | | Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.7.0 to 3.8.1. - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.7.0...v3.8.1) --- updated-dependencies: - dependency-name: serde_with dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(dotfiles): allow clearing aliases, disable import (#1995)Ellie Huxtable2024-05-02
| | | | | | | | | | | | | | | | * 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
* refactor: preview_auto to use enum and different option (#1991)Helmut K. C. Tessarek2024-05-01
| | | | | * refactor: preview_auto to use enum and different option * fix: typo
* feat(history): create atuin-history, add stats to it (#1990)Ellie Huxtable2024-04-30
| | | | | | | | | | * 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
* perf(nushell): use version.(major|minor|patch) if available (#1963)Poliorcetics2024-04-26
|
* chore: add some more debug logs (#1979)Ellie Huxtable2024-04-25
| | | | | | | | | | | | P99 is usually <100ms which is excellent, but occasionally has big spikes to 1000ms. This is only on the record index. I don't want this to get out of hand. I've ran a few test queries and they all complete very fast, and are purely index scans. Hopefully this helps figure out if it's a specific user with tonnes of stores or something? Otherwise there could be something up with my db. I should probably also figure out some proper log levels or tracing lol.
* feat(dotfiles): support syncing shell/env vars (#1977)Ellie Huxtable2024-04-25
| | | | | | | | | | | | | | | | There's a bunch of duplication here! I'd also like to support syncing shell "snippets", aka just bits of shell config that don't fit into the structure here. Potentially special handling for PATH too. Rather than come up with some abstraction in the beginning, which inevitably will not fit future uses, I'm duplicating code _for now_. Once all the functionality is there, I can tidy things up and sort a proper abstraction out. Something in atuin-client for map/list style synced structures would probably work best.
* fix(dotfiles): unquote aliases before quoting (#1976)Ellie Huxtable2024-04-23
| | | | | * fix(dotfiles): unquote aliases before quoting * tests
* chore(deps): Fix ratatui update (#1975)Tobias Genannt2024-04-22
| | | | | | | | | | | | | | | | | | | | | | | | * chore(deps): bump ratatui from 0.25.0 to 0.26.2 Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.25.0 to 0.26.2. - [Release notes](https://github.com/ratatui-org/ratatui/releases) - [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md) - [Commits](https://github.com/ratatui-org/ratatui/compare/v0.25.0...v0.26.2) --- updated-dependencies: - dependency-name: ratatui dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix build with ratatuin 0.26.2 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>