Commit Graph

622 Commits

Author SHA1 Message Date
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
2342a33923 Use case for Linux distro choice in install.sh (#1200) 2023-09-11 09:16:08 +01:00
b7481993e3 Update issue templates 2023-09-11 09:03:28 +01:00
34654adece feat: mouse selection support (#1209)
* feat: mouse selection support

* refactor: don't import self
2023-09-11 08:49:06 +01:00
6d3b14b123 Update docker.md 2023-09-01 15:21:06 +01:00
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
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
dead8f3645 Run formatting (#1202) 2023-08-30 22:37:15 +01:00
340b9d8a2b Update shell-completions.md 2023-08-30 22:25:02 +01:00
64c1054765 Update config.md 2023-08-28 23:22:49 +01:00
df7430f0bf Remove fig from README (#1197) 2023-08-28 23:19:08 +01:00
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
aa8e5f5c04 Update dependencies (#1181) 2023-08-18 20:45:29 +00:00
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
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
0a3680f54c Fix keybinding link in README (#1173) 2023-08-17 20:42:57 +00:00
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
243557cb7b docs: update workspace config key to workspaces (#1174) 2023-08-17 20:38:13 +00:00
72c6b17ac7 Only setup shell plugin if it's not already there (#1178) 2023-08-16 09:15:35 +01:00
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
cd6c44cfe7 Update to ratatui 0.22 (#1168) 2023-08-14 09:59:08 +01:00
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
b48de9bd9d Run test build for client-only feature set (#1167) 2023-08-14 08:27:35 +00:00
b207d0d9a5 Include revision in status (#1166) 2023-08-14 09:24:05 +01:00
925bf0efaa Fix index tail leak (#1159) 2023-08-09 23:47:31 +01:00
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
8080a172af Update(docs) Add workspace to config.toml and config.md (#1157) 2023-08-09 23:06:27 +01:00
613218f0d8 Fix client-only builds (#1155) 2023-08-07 12:06:48 +01:00
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
v16.0.0
2023-08-07 11:18:39 +01:00
2b1d39e270 fix(docs): Correct command overview paths (#1145) 2023-08-02 22:09:51 +00:00
af14366a2e encode paseto payloads as json (#1146) 2023-08-02 21:46:07 +00:00
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
a9a1d0d398 fix(docs): List all presently documented commands (#1140) 2023-08-01 20:38:17 +00:00
d7f8929656 Add support for max_preview_height setting (#1088) 2023-07-31 18:36:58 +01:00
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
73da97666f fix(server): Teapot is a cup of coffee (#1137) 2023-07-31 17:17:33 +00:00
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
43afb2d702 Add self hosted runner (#1133) 2023-07-30 23:16:01 +01:00
1fb7caa2d6 Move all references to the old repo (#1132)
The repo now lives on an org! Move all references to the old path.
2023-07-30 23:08:00 +01:00
5a457d6b3b Drop default sync frequency to 10m (#1130) 2023-07-28 08:55:19 +01:00
4d1e6bc8fc Disable server tests in the nix build (#1123)
* Update deps used for the nix build

* Disable server tests in nix build
2023-07-28 08:49:42 +01:00
c10ba684e0 some simple server tests (#1096)
* some simple server tests

* fmt

* logging in server test

* log server errors

* fix postgres uri

* postgres ports

* localhost again?

* Rebase fixes

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2023-07-27 09:34:13 +01:00
c0449955e3 use Ctrl-n instead of Alt-n on macOS (#1106)
* use Ctrl-n instead of Alt-n on macOS

* make ctrl-n instead of alt-n configurable
2023-07-27 08:10:40 +00:00
9c7501bbd3 Bump config from 0.13.2 to 0.13.3 (#646)
Bumps [config](https://github.com/mehcode/config-rs) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/mehcode/config-rs/releases)
- [Changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mehcode/config-rs/compare/0.13.2...0.13.3)

---
updated-dependencies:
- dependency-name: config
  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-07-27 08:55:03 +01:00
67b7452d4d Bump h2 from 0.3.14 to 0.3.17 (#873)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.14 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.14...v0.3.17)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 08:54:40 +01:00
f22c1375a6 Bump indicatif from 0.17.3 to 0.17.5 (#1050)
Bumps [indicatif](https://github.com/console-rs/indicatif) from 0.17.3 to 0.17.5.
- [Release notes](https://github.com/console-rs/indicatif/releases)
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.3...0.17.5)

---
updated-dependencies:
- dependency-name: indicatif
  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-07-27 08:54:06 +01:00
d151f8fd6d Bump serde_json from 1.0.86 to 1.0.99 (#1075)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.86 to 1.0.99.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.86...v1.0.99)

---
updated-dependencies:
- dependency-name: serde_json
  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-07-27 08:53:55 +01:00
26d42f85bd Bump debian from bullseye-20230612-slim to bullseye-20230703-slim (#1084)
Bumps debian from bullseye-20230612-slim to bullseye-20230703-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-07-27 08:53:39 +01:00
0a41a9c12f Bump lukemathwalker/cargo-chef (#1109)
Bumps lukemathwalker/cargo-chef from latest-rust-1.70.0 to latest-rust-1.71.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-07-27 08:52:56 +01:00
c0e85756dd Bump colored from 2.0.0 to 2.0.4 (#1110)
Bumps [colored](https://github.com/mackwic/colored) from 2.0.0 to 2.0.4.
- [Release notes](https://github.com/mackwic/colored/releases)
- [Changelog](https://github.com/colored-rs/colored/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mackwic/colored/compare/v2.0.0...v2.0.4)

---
updated-dependencies:
- dependency-name: colored
  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-07-27 08:52:45 +01:00