Commit Graph

685 Commits

Author SHA1 Message Date
Dieter Eickstaedt
ebef5cdaf0
feat(keyup): Configure SearchMode for KeyUp invocation #1216 (#1224)
* feat(keyup): Configure SearchMode for KeyUp invocation #1216

* docs: adjusted search mode documentation

* feat: setting search mode on engine

* chore: cargo fmt

* chore: removed redundant field name
2023-09-17 19:30:13 +01:00
Ellie Huxtable
15abf42984
Fix selecting complex fish commands (#1237)
This was failing for commands that spanned multiple lines, and contained
a backslash.

Thanks to @saulrh for suggesting the fix! I just tested and pushed it.

Resolves #1211
Resolves #1232
2023-09-17 17:46:49 +01:00
Dieter Eickstaedt
8b815e4b39
docs: document the available format options of History list command (#1234) 2023-09-17 15:57:10 +00:00
Matheus Martins
c091f2f95a
config.md: invert mode detailed options (#1225) 2023-09-14 21:04:29 +00:00
Matheus Martins
0c2d5ce07b
Update config.toml: List inverted mode (#1226) 2023-09-14 21:04:13 +00:00
dependabot[bot]
47ea974f54
Bump ratatui from 0.22.0 to 0.23.0 (#1221)
Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.22.0 to 0.23.0.
- [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.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: ratatui
  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>
2023-09-13 07:59:33 +00:00
dependabot[bot]
93bb5a9609
Bump shellexpand from 2.1.2 to 3.1.0 (#1186)
Bumps [shellexpand](https://gitlab.com/ijackson/rust-shellexpand) from 2.1.2 to 3.1.0.
- [Commits](https://gitlab.com/ijackson/rust-shellexpand/compare/shellexpand/2.1.2...shellexpand-3.1.0)

---
updated-dependencies:
- dependency-name: shellexpand
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 08:45:08 +01:00
dependabot[bot]
8c0103dfff
Bump tower-http from 0.3.5 to 0.4.4 (#1210)
Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.3.5 to 0.4.4.
- [Release notes](https://github.com/tower-rs/tower-http/releases)
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.3.5...tower-http-0.4.4)

---
updated-dependencies:
- dependency-name: tower-http
  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>
2023-09-13 08:44:59 +01:00
dependabot[bot]
4fbede5a54
Bump debian from bullseye-20230814-slim to bullseye-20230904-slim (#1213)
Bumps debian from bullseye-20230814-slim to bullseye-20230904-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 08:44:44 +01:00
dependabot[bot]
9dba3d014b
Bump crossterm from 0.26.1 to 0.27.0 (#1222)
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.26.1 to 0.27.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/compare/0.26.1...0.27.0)

---
updated-dependencies:
- dependency-name: crossterm
  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>
2023-09-13 08:44:34 +01:00
dependabot[bot]
b87159d990
Bump itertools from 0.10.5 to 0.11.0 (#1223)
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.5 to 0.11.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.5...v0.11.0)

---
updated-dependencies:
- dependency-name: itertools
  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>
2023-09-13 08:44:19 +01:00
Vlad Stepanov
dd6f998a14
Move contributors to be a top-level file (#931) 2023-09-11 10:00:30 +01:00
Ellie Huxtable
1f3348d789
Run cargo update (#1218) 2023-09-11 09:58:55 +01:00
Conrad Ludgate
f90c01f702
replace chrono with time (#806)
* replace chrono with time

* Fix test chrono usage

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2023-09-11 09:26:05 +01:00
mentalisttraceur
2342a33923
Use case for Linux distro choice in install.sh (#1200) 2023-09-11 09:16:08 +01:00
Ellie Huxtable
b7481993e3
Update issue templates 2023-09-11 09:03:28 +01:00
YummyOreo
34654adece
feat: mouse selection support (#1209)
* feat: mouse selection support

* refactor: don't import self
2023-09-11 08:49:06 +01:00
Ellie Huxtable
6d3b14b123
Update docker.md 2023-09-01 15:21:06 +01:00
Jinna Kiisuo
fc2c473c6c
Explicitly use buster image for cargo-chef, mitigates #1204 (#1205)
Co-authored-by: Jinna Kiisuo <jinna+git@nocturnal.fi>
2023-08-31 14:03:02 +01:00
dependabot[bot]
14f07da741
Bump lukemathwalker/cargo-chef (#1196)
Bumps lukemathwalker/cargo-chef from latest-rust-1.71.1 to latest-rust-1.72.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 21:40:39 +00:00
Ellie Huxtable
dead8f3645
Run formatting (#1202) 2023-08-30 22:37:15 +01:00
Ellie Huxtable
340b9d8a2b
Update shell-completions.md 2023-08-30 22:25:02 +01:00
Ellie Huxtable
64c1054765
Update config.md 2023-08-28 23:22:49 +01:00
Ellie Huxtable
df7430f0bf
Remove fig from README (#1197) 2023-08-28 23:19:08 +01:00
Ellie Huxtable
73bd8015c3
Automatically filter out secrets (#1182)
I'd like to extend the regex list here very soon, but start off by
automatically filtering out secrets. Do not store them in history!

I've included regex for:

1. AWS key id
2. Github pat (old and new)
3. Slack oauth tokens (bot, user)
4. Slack webhooks
5. Stripe live/test keys

Will need updating after #806
2023-08-19 12:28:39 +01:00
Conrad Ludgate
aa8e5f5c04
Update dependencies (#1181) 2023-08-18 20:45:29 +00:00
Ellie Huxtable
69a772d1ca
Add kv map builder and list function (#1179)
* Add kv map builder and list function

1. BREAKING - default namespace is now called "default"
2. Build an in-memory hashmap from the kv store
3. Allow listing

I need to cache the hashmap next, probs with a write-through to avoid
constant rebuilds.

Also check if BTreeMap is suitable. Sorted is useful for listing but
there's probs a better ds to use.

* Allow pure kv set, no filesystem
2023-08-18 08:36:55 +01:00
Jinn Koriech
fbbe24da75
fix(ubuntu/arm*): detect non amd64 ubuntu and handle (#1131)
If we're running Ubuntu on non-amd64 we get an install error.  As there's
no ARM package yet we can offer the user the option to install via cargo
rather than install something that won't work.
2023-08-17 20:53:18 +00:00
Edward Loveall
0a3680f54c
Fix keybinding link in README (#1173) 2023-08-17 20:42:57 +00:00
dependabot[bot]
85177a4ca3
Bump debian from bullseye-20230703-slim to bullseye-20230814-slim (#1176)
Bumps debian from bullseye-20230703-slim to bullseye-20230814-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 21:41:44 +01:00
Thomas Buckley-Houston
243557cb7b
docs: update workspace config key to workspaces (#1174) 2023-08-17 20:38:13 +00:00
Ellie Huxtable
72c6b17ac7
Only setup shell plugin if it's not already there (#1178) 2023-08-16 09:15:35 +01:00
Ellie Huxtable
e356ffaeba
Remove terminal mode switching (#1170)
This was initially in place for when we used a different terminal
backend. That backend required that the terminal be in a specific mode,
or otherwise key modifiers would not be correctly recognized. It was
super frustrating.

Since the move to crossterm, we automatically switch to raw mode: b48de9bd9d/atuin/src/command/client/search/interactive.rs (L528)

Should resolve #987, #650, #909, #492

Should also supercede #1149
2023-08-14 09:59:18 +01:00
Ellie Huxtable
cd6c44cfe7
Update to ratatui 0.22 (#1168) 2023-08-14 09:59:08 +01:00
Ellie Huxtable
f3e9f27456
Fix nix build (#1171)
I forgot nix builds in a sandbox, so my laziness earlier meant that the
nix build fails - sandbox has no git!
2023-08-14 09:58:57 +01:00
Tobias Genannt
b48de9bd9d
Run test build for client-only feature set (#1167) 2023-08-14 08:27:35 +00:00
Ellie Huxtable
b207d0d9a5
Include revision in status (#1166) 2023-08-14 09:24:05 +01:00
Ellie Huxtable
925bf0efaa
Fix index tail leak (#1159) 2023-08-09 23:47:31 +01:00
dependabot[bot]
5fd49d4da2
Bump lukemathwalker/cargo-chef (#1154)
Bumps lukemathwalker/cargo-chef from latest-rust-1.71.0 to latest-rust-1.71.1.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 23:21:25 +01:00
Emanuele Panzeri
8080a172af
Update(docs) Add workspace to config.toml and config.md (#1157) 2023-08-09 23:06:27 +01:00
Ellie Huxtable
613218f0d8
Fix client-only builds (#1155) 2023-08-07 12:06:48 +01:00
Ellie Huxtable
0d5332a87f
Prepare release v16.0.0 (#1143)
* Prepare release v16.0.0

* Remove debug output

* Fix kv dupes if the store already exists

* Add limit in frontend as well as sync backend
2023-08-07 11:18:39 +01:00
LeoniePhiline
2b1d39e270
fix(docs): Correct command overview paths (#1145) 2023-08-02 22:09:51 +00:00
Conrad Ludgate
af14366a2e
encode paseto payloads as json (#1146) 2023-08-02 21:46:07 +00:00
dependabot[bot]
1013246eda
Bump futures-util from 0.3.24 to 0.3.28 (#1129)
Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.24 to 0.3.28.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.24...0.3.28)

---
updated-dependencies:
- dependency-name: futures-util
  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>
2023-08-01 22:11:27 +01:00
LeoniePhiline
a9a1d0d398
fix(docs): List all presently documented commands (#1140) 2023-08-01 20:38:17 +00:00
Richard Jones
d7f8929656
Add support for max_preview_height setting (#1088) 2023-07-31 18:36:58 +01:00
LeoniePhiline
8b05b15355
fix: nushell empty hooks (#1138)
Co-authored-by: Andrea Jemmett <1787979+acidghost@users.noreply.github.com>
2023-07-31 17:19:21 +00:00
LeoniePhiline
73da97666f
fix(server): Teapot is a cup of coffee (#1137) 2023-07-31 17:17:33 +00:00
Ellie Huxtable
2a41768afa
Split integration and unit tests, use runner for unit (#1134)
* Split integration and unit tests, use runner for unit

* Probs does not need cache as network is slow
2023-07-31 09:16:29 +01:00