Commit graph

700 commits

Author SHA1 Message Date
Chandra Kiran G
504400673f
add --reverse to history list (#1252)
* wip: add --reverse to history list

* fix: remove print_list being called twice when reverse=true

* chore: update documentation

* feat: Avoid unneeded reverse by iterate forward or backward instead

* feat: Make sure to only iterate once and avoid unneeded reverse call

* feat: It used to be reverse by default. So make it default true here to be backwards compatible

* fix clap

---------

Co-authored-by: Dieter Eickstädt <eickstaedt@deicon.de>
2023-09-29 14:23:09 +01:00
Ellie Huxtable
865f0e65f1 Fix support template 2023-09-28 19:37:28 -07:00
Conrad Ludgate
7067d772bc
fix sync timestamps (#1258)
* fix timestamp

* add sync test

* skip all sync tests
2023-09-28 18:56:40 -07:00
Ellie Huxtable
71fd31ed4f
Update support.yml (#1268) 2023-09-28 18:40:24 -07:00
Ellie Huxtable
52e1389ca0
Update support.yml 2023-09-28 18:37:28 -07:00
Ellie Huxtable
ffc24c3c29
Add support template (#1267) 2023-09-28 18:35:58 -07:00
Ellie Huxtable
33f009efad Correct issue templates 2023-09-28 18:12:59 -07:00
Ellie Huxtable
26b9423049 Adjust issue templates 2023-09-28 18:07:04 -07:00
Ellie Huxtable
54dc78fc49
Create support.md
I'm testing some structuring out
2023-09-28 18:04:14 -07:00
Orhun Parmaksız
f0a0cdc58b
feat(installer): try installing via paru for the AUR (#1262) 2023-09-28 11:22:06 +01:00
Conrad Ludgate
fc1a48a4f2
handle missing entries (fixes #1236) (#1253)
* fix #1236

* lints
2023-09-26 14:52:45 +01:00
Conrad Ludgate
bdba88c11f
better sync error messages (#1254) 2023-09-26 14:44:56 +01:00
Dieter Eickstaedt
fbed2862fd
refactor: Duplications reduced in order to align implementations of reading history files (#1247) 2023-09-23 08:56:55 +00:00
dependabot[bot]
cea68660fd
Bump debian from bullseye-20230904-slim to bullseye-20230919-slim (#1242) 2023-09-20 07:58:54 +01:00
Ellie Huxtable
351b3e8a57
Add connect timeout and overall timeout (#1238)
* Add connect timeout and overall timeout

* Make it configurable

* Fix test

* Add docs
2023-09-18 08:39:19 +01:00
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