Commit Graph

1018 Commits

Author SHA1 Message Date
Ellie Huxtable
b530d39c3f
docs: new stats config (#1412) 2023-11-23 09:59:56 +00:00
Ellie Huxtable
0c9d7367c6
feat: allow configuring stats prefix (#1411) 2023-11-23 09:48:43 +00:00
Felix Yan
fbaa245439
docs: Update Arch Linux package URL in advanced-install.md (#1407)
The old URL returns 404 now.
2023-11-23 08:10:33 +00:00
镜面王子
4375fa36e0
docs: Update sync.md (#1409)
Linux name correction
2023-11-22 08:42:52 +00:00
Ellie Huxtable
c83e548baa
Update CONTRIBUTING.md 2023-11-19 20:35:46 +00:00
Ellie Huxtable
7575a83fa7
feat: add some metrics related to Atuin as an app (#1399) 2023-11-18 18:07:23 +00:00
Ellie Huxtable
15d214e237
feat: add metrics server and http metrics (#1394)
* feat: add metrics server and http metrics

* setup metrics

* update default config

* fix tests
2023-11-16 23:18:13 +00:00
Ellie Huxtable
7c03efd7bc
fix: new clippy lints (#1395) 2023-11-16 23:16:34 +00:00
Dom Rodriguez
acf6a355fd
fix: Make atuin account delete void session + key (#1393)
When I deleted my Atuin.sh account, I found the command did not delete
the key or session files.

This caused `bail!`s from Atuin when querying the session status, or
synchronising.

Of course, one shouldn't expect Atuin to be able to synchronise or query
with the server when the account is deleted, but the relevant files were
still present, so the behaviour was different to what we'd expect.

I discussed this with @ellie on Discord, and we came to the conclusion
that I should open a PR, and submit a patch.

I'm not sure how well this PR fits in with the borrow checker, but I've
run tests, a Nix build, and a Cargo build - all goes well. I have not
tested on macOS or Windows; only NixOS.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2023-11-16 22:10:46 +00:00
Ellie Huxtable
db70e8c52a
Disable enter-accept for bash (#1385)
* Disable enter-accept for bash

* pretty sure ignoring those lints is correct
2023-11-11 16:51:03 +00:00
Patrick Jackson
31653ed996
Bash enter_accept best effort fixes (#1384)
* fix(bash): Rewrite the enter_accept integration

* docs(bash): Update bash installation instructions with warnings
2023-11-10 23:58:05 +00:00
Patrick Jackson
3531853b2c
fix(fish): use fish builtins for enter_accept (#1373) 2023-11-03 19:15:58 +00:00
Patrick Jackson
891e8e548b
fix(fish): clean up the fish script options (#1370) 2023-11-03 09:48:10 +00:00
Ellie Huxtable
61d05d04e9
Update docs (#1367) 2023-11-01 19:25:04 +00:00
dependabot[bot]
8ac090a810
Bump debian from bullseye-20231009-slim to bullseye-20231030-slim (#1366) 2023-11-01 09:01:20 +00:00
Patrick Jackson
e83bc6d632
fix(zsh): Only trigger up-arrow on first line (#1359)
* fix(zsh): Only trigger up-arrow on first line

* fix(zsh): only trigger up-key if the buffer is 1 line
2023-10-31 07:50:11 +00:00
Patrick Jackson
a1799af567
fix(zsh): bind in the most popular modes (#1360) 2023-10-30 08:24:24 +00:00
Patrick Jackson
74c78ac2d7
fix(nix): Add Appkit to the package build (#1358) 2023-10-30 08:18:26 +00:00
Patrick Jackson
21f3f64ad5
feat(nix): Add a nixpkgs overlay (#1357) 2023-10-29 18:27:52 +00:00
Ellie Huxtable
57a8db13c2
fix: initial list of history in workspace mode (#1356)
The initial list didn't correctly show all history while in workspace
mode, while it worked totally as expected while searching. Fix this.
2023-10-29 18:03:34 +00:00
Ellie Huxtable
bb438d8d59
Add Kris Nova to X-Clacks-Overhead (#1355)
Rest in peace 😔

https://nivenly.org/memorials/krisnova/
2023-10-28 21:18:16 +01:00
Ellie Huxtable
2959891f58
Release v17.0.1 (#1354) 2023-10-28 19:19:10 +00:00
Patrick Jackson
6b20f89191
fix(enter_accept): clear old cmd snippet (#1350) 2023-10-28 19:57:08 +01:00
Tobias Genannt
2066778780
Fix for breaking change in ratatui 0.24.0 (#1352) 2023-10-28 13:30:02 +01:00
Patrick Jackson
fa7caf430a
fix(bash): improve output of enter_accept (#1342) 2023-10-27 08:46:22 +01:00
Patrick Jackson
a57baffa91
fix(fish): improve output for enter_accept (#1341)
Fixes 2 issues with the fish shell prompt when using `enter_accept`
1. Runs pre/post exec so the command is added to the atuin history.
2. Adds padding so that the repainting of the shell prompt doesn't overwrite the output.

This adds 2 lines of padding to account for prompts up to 2 lines tall, larger prompts will still cause repainting problems and smaller prompts will be getting an extra line.
2023-10-27 08:45:36 +01:00
Ellie Huxtable
4096bb8d17
update support template (#1340) 2023-10-26 20:35:30 +01:00
Michael Vincent
6bf35071dd
Remove duplicate "invert" in default config (#1338) 2023-10-26 17:32:00 +00:00
Ellie Huxtable
5ca346b40c
Silence fish string match (#1336)
Oops. `string match` is a bit too noisy, make it quiet. Also print the
match before executing it.

Resolve #1335
2023-10-26 18:29:25 +01:00
Ellie Huxtable
b7adf1d797
Fix cargo deb usage (#1337)
v2.0.0 of cargo deb added the revision number. I'd rather not change the
output name of our file, so force cargo-deb to stick to the "old"
behaviour
2023-10-26 16:13:54 +01:00
Ellie Huxtable
eec750f049
Add release blog post and update docs (#1332)
* Add release blog post and update docs

* I forgot I moved the blog lmao

* Fix images
2023-10-26 09:13:05 +01:00
Patrick Jackson
1a20afe245
fix(nu): disable the up-arrow keybinding for Nushell (#1329) 2023-10-26 07:42:46 +01:00
Ellie Huxtable
ce4573c5ee
Fix deleted history count (#1328) 2023-10-25 20:54:20 +01:00
Ellie Huxtable
0b22d06ad3
Prepare release v17.0.0 (#1327) 2023-10-25 18:06:59 +00:00
Ellie Huxtable
e5fae4dd76
Correct some secrets filter regex (#1326) 2023-10-25 18:31:28 +01:00
Ellie Huxtable
9f25ce581a
Revert "Revert "Revert "Use github runners for unit tests (for now) (#1279)" (#1294)" (#1295)" (#1325)
This reverts commit 089cb6847c.
2023-10-25 09:25:43 +01:00
Patrick Jackson
b74ed756e2
fix(nushell): Ignore stderr messages (#1320) 2023-10-23 21:35:01 +01:00
Nemo157
7a914221a7
Document that the self-hosted port is TCP (#1317) 2023-10-21 15:01:00 +00:00
Ellie Huxtable
08a01e037c
Add bash support to enter_accept (#1316) 2023-10-21 12:34:23 +01:00
Conrad Ludgate
d202afeaf5
allow binding server to hostname (#1318) 2023-10-21 12:30:56 +01:00
Ellie Huxtable
2f9df9350d
Add fish support for enter_accept (#1315)
* Add fish support for `enter_accept`

Also fixes shell detection. Who trusted me to write jetlagged code last
night huh?

* Document
2023-10-20 07:57:29 +01:00
Ellie Huxtable
88f3e2a04f
Add enter_accept to immediately execute an accepted command (#1311)
* make enter execute the command, tab copy it

* Add config for enter_accept

enter_accept will make Atuin immediately accept an execute a command
when selected. It defaults to false in our binary, but the default
config enables it.

This means that users who already use atuin will not default to the new
behaviour unless they opt in, but new users will have it by default.

Thanks to @davidhewitt for the patch and bulk of this implementation!
Currently we have it just for zsh, but I'll follow up with other shells
(unless anyone beats me to it :D)

* Add docs

* we need to tidy up the ui code anyway

* Check if using zsh

* Update docs/docs/config/config.md

Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>

---------

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-10-20 07:16:54 +01:00
Ellie Huxtable
ad4868567e
Checkout repo so the manifest publish step can read git (#1314) 2023-10-19 22:21:24 +01:00
Ellie Huxtable
62994ca264
use the short sha to tag images (#1313) 2023-10-19 22:07:24 +01:00
Ellie Huxtable
fef5986e9a Use ubuntu for x86, oops 2023-10-19 21:45:58 +01:00
Ellie Huxtable
ce114b1f37 Fix events 2023-10-19 21:41:14 +01:00
Ellie Huxtable
5a353d5ed1
Switch to Actuated for docker builds (#1312) 2023-10-19 21:39:40 +01:00
Ellie Huxtable
427d4bd873
Delete CHANGELOG.md
We don't generally keep this up to date. With the release page, and the blog, I'm not sure a third place makes sense.
2023-10-17 20:04:57 -07:00
dependabot[bot]
37a90b83d0
Bump @babel/traverse from 7.21.2 to 7.23.2 in /docs (#1309)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 15:51:24 -07:00
dependabot[bot]
cfd7032d84
Bump lukemathwalker/cargo-chef (#1297)
Bumps lukemathwalker/cargo-chef from latest-rust-1.72.0-buster to latest-rust-1.73.0-buster.

---
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-10-17 15:39:55 -07:00