Commit graph

13 commits

Author SHA1 Message Date
Ellie Huxtable
e7819d258a
chore: update to rust 1.88 (#2815)
* chore: update to rust 1.88

* clippy + fmt

* update ci version

* update flake
2025-07-22 16:03:20 +02:00
Ellie Huxtable
14ec768b45
chore: migrate to rust 2024 (#2635)
* chore: upgrade to 2024 edition

* ugh unsafe

* format

* nixxxxxxxxxxx why
2025-03-19 12:44:20 +00:00
James Trew
c05b8f6879
fix: improve broken symlink error handling (#2589)
Check atuin setting paths (eg. `db_path`) for broken symlinks on
initialization and disable all shell hooks + print error message.

sqlite doesn't create db files even with `.create_if_missing` when the
db files are a broken symlink. This would cause sqlite to error and
atuin to panic on every single keypress.

Also improves related error handling when calling atuin client commands
directly.
2025-03-09 22:34:49 +00:00
Ellie Huxtable
231d87c47e
chore: update rust toolchain to 1.85 (#2618)
* chore: update rust toolchain to 1.85

* nix things

* make clippy happy

I've replaced a bunch of &Option<String> with Option<String>.

They were not in hot loops, so a single clone is really no big deal +
keeps things simpler.

* fmt
2025-03-09 22:27:38 +00:00
Andrew Aylett
80c41841a9
chore: Remove unneeded dependencies (#2523)
These dependencies are unused in actual code, and the test I've removed
is a remnant from a move to use an external library -- it was useful to
show that the mechanical transformation was correct, but it's only
testing that library nowadays.
2025-01-07 20:04:48 +00:00
Ellie Huxtable
ac6802e43c
chore(deps): update to sqlx 0.8 (#2343) 2024-08-05 14:11:01 +01:00
Ellie Huxtable
67d64ec4b3
feat: add user account verification (#2190)
* 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-24 14:54:54 +01:00
Ellie Huxtable
9b82bba53f
feat(daemon): follow XDG_RUNTIME_DIR if set (#2171)
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-20 10:28:00 +01:00
YummyOreo
5f66fb6a03
fix(gui): add support for checking if the cli is installed on windows (#2162)
* fix(windows): add support for checking if the cli is installed on windows

* refactor: remove debugging info

* refactor: cargo fmt
2024-06-19 11:55:03 +01:00
Ellie Huxtable
88633b8994
feat(gui): automatically install and setup the cli/shell (#2139)
* feat(gui): automatically install and setup the cli/shell

* add shell config and toasts
2024-06-17 15:36:38 +01:00
Ellie Huxtable
bf88b42cec
fix(dotfiles): unquote aliases before quoting (#1976)
* fix(dotfiles): unquote aliases before quoting

* tests
2024-04-23 14:45:07 +01:00
Ellie Huxtable
98350f52df
fix: support not-mac for default shell (#1960) 2024-04-19 09:58:25 +01:00
Ellie Huxtable
95cc472037
chore: move crates into crates/ dir (#1958)
I'd like to tidy up the root a little, and it's nice to have all the
rust crates in one place
2024-04-18 16:41:28 +01:00