Commit Graph

557 Commits

Author SHA1 Message Date
Alpha Chen
ff4606b63a
Fix editURL for docs (#732) 2023-02-27 07:10:52 +00:00
Ellie Huxtable
79a2053340
Revert "Re-enable arm docker builds (#616)" (#730)
Docker builds are failing on ARM, let's see if they work on AMD.

Might be worth waiting until we have less C that needs building

This reverts commit f3894ef9c0.
2023-02-26 23:01:40 +00:00
Ellie Huxtable
1ee66b5816
Enable RUST_BACKTRACE for docker builds (#729)
They're failing on ARM atm, maybe this will help
2023-02-26 22:13:31 +00:00
Ellie Huxtable
fe5f728aa6
Release v13 (#727)
* Write release blog post

* Bump versions

* Update contributors
2023-02-26 21:22:29 +00:00
Ellie Huxtable
8a2fa44b01 Docs index page 2023-02-26 00:15:14 +00:00
Ellie Huxtable
e660a4d4fe More fixes :) 2023-02-25 23:55:39 +00:00
Ellie Huxtable
89d3e02931 I think the link checker gets it wrong sometimes 2023-02-25 23:36:06 +00:00
Ellie Huxtable
7ed0df49d6 Fix website build 2023-02-25 23:34:14 +00:00
Ellie Huxtable
c558da5beb
Add fancy web docs (#725)
* Add initial site

* WIP again

* Replace docs with web docs

* Bring back translations

* Update README.md

* remove images
2023-02-25 23:29:59 +00:00
Ellie Huxtable
5f2db5b93e
Revert "Remove shortcut numbers (#708)" (#724)
This reverts commit 3fdd4f4591.
2023-02-24 15:49:05 +00:00
Ellie Huxtable
3fdd4f4591
Remove shortcut numbers (#708)
* Remove shortcut numbers

I was also going to remove the offset so scrolling only happens at the
top. But tbh, I quite like it this way.

* Remove key binding
2023-02-15 09:08:39 +00:00
dependabot[bot]
c5f96ad8b8
Bump lukemathwalker/cargo-chef (#715)
Bumps lukemathwalker/cargo-chef from latest-rust-1.67.0 to latest-rust-1.67.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-02-15 09:06:37 +00:00
Jamie Quigley
b2a0986ca6
Add nix files and install instructions (#477) 2023-02-15 09:04:07 +00:00
Erwin Kroon
dcfad9a90d
Add support for generic database in AppState (#711) 2023-02-15 08:54:09 +00:00
Tobias Hunger
7e7dd63966
fish: Fix atuin init for the fish shell (#699) 2023-02-14 22:21:22 +00:00
Ellie Huxtable
1f7d3a34e7
Check before unwrapping in stats (#717)
Should fix the error @pdecat found!
2023-02-14 09:45:55 +00:00
Johannes Baiter
5cb43772dc
Add history_filter cfg to exclude commands from history (#515) (#716)
Adds a new `history_filter` setting through which users can specify a
list of regular expressions that match commands that should not be
recorded in the history.
2023-02-14 07:14:05 +00:00
frukto
ae2124a69c
Make the install script more robust (#692)
Dont't fail is a Linux system does not provide lsb_release,
try to read the distro from /etc/os-release in this case.
2023-02-10 19:38:18 +00:00
Trygve Aaberge
2cec7ba677
Allow using existing key file on login (#688)
* Allow logging in without overwriting existing key file

If the given key on login in empty, keep the existing key file rather
than overwriting it with an empty file. This is useful if you log out
and want to log in again and still use the same key, or if you have
copied over the key file rather than providing it as input.

* Refuse logging in if key is empty

Before the previous commit, an empty key file would be created if key
wasn't specified, and after the previous commit, the key file would not
be created if the key wasn't specified and stay empty if it was empty.

Now the log command checks the key file if a key is not specified and
exits with an error message if either the key file couldn't be opened or
is empty. If a key is specified, the key file is just created with it as
before.

* Validate the key on login, create new if no exists

After reading the key either from an existing key file, or from the user
input, validate that the provided key is valid (rather than just
checking that it isn't empty). If no key file exists, create a new key
instead of erroring out.
2023-02-10 19:35:38 +00:00
Eric Ripa
78b54662cd
docs(README): add static activity graph example (#680)
resolves ellie/atuin#678
2023-02-10 19:33:52 +00:00
dependabot[bot]
2d62499619
Bump bumpalo from 3.11.0 to 3.12.0 (#668)
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.11.0...3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-10 19:30:35 +00:00
dependabot[bot]
dbbc904a3c
Bump tokio from 1.21.2 to 1.25.0 (#679)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  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-02-10 19:30:15 +00:00
Conrad Ludgate
deb7c19093
stats (#707) 2023-02-10 18:58:02 +00:00
Ellie Huxtable
2672f78dda
make update_needed check lazy (#706) 2023-02-10 18:14:48 +00:00
Conrad Ludgate
edda1b741a
crossterm support (#331)
* crossterm v2

* patch crossterm

* fix-version

* no more tui dependency

* lints
2023-02-10 17:25:43 +00:00
dependabot[bot]
a22ff76be5
Bump debian from bullseye-20221205-slim to bullseye-20230208-slim (#701)
Bumps debian from bullseye-20221205-slim to bullseye-20230208-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-02-10 09:47:27 +00:00
Conrad Ludgate
0acdb99eb3
axum6 with typesafe state (#674) 2023-02-10 09:45:20 +00:00
dependabot[bot]
ec24437735
Bump fs-err from 2.8.1 to 2.9.0 (#604)
Bumps [fs-err](https://github.com/andrewhickman/fs-err) from 2.8.1 to 2.9.0.
- [Release notes](https://github.com/andrewhickman/fs-err/releases)
- [Changelog](https://github.com/andrewhickman/fs-err/blob/main/CHANGELOG.md)
- [Commits](https://github.com/andrewhickman/fs-err/compare/2.8.1...2.9.0)

---
updated-dependencies:
- dependency-name: fs-err
  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-02-10 09:34:50 +00:00
Ellie Huxtable
936e51eb56
Update README.md (#704) 2023-02-10 09:08:42 +00:00
dependabot[bot]
ffca02926c
Bump lukemathwalker/cargo-chef (#681)
Bumps lukemathwalker/cargo-chef from latest-rust-1.64.0 to latest-rust-1.67.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-02-07 10:42:58 +00:00
Evan Purkhiser
5d6aff3536
Fix missing - in key-binding.md (#698) 2023-02-07 09:11:55 +00:00
Evan Purkhiser
6ae2abf09f
Remove whitespace in template client config.tom (#697) 2023-02-07 09:10:57 +00:00
Conrad Ludgate
5611bc59f5
display mnemonic key (#694) 2023-02-06 19:22:58 +00:00
Ellie Huxtable
3abc96fafe
Try to make clippy happy 🥺 (#686)
* Try to make clippy happy 🥺

* Fmt

* I missed one (can't run clippy locally on airport wifi...)
2023-02-06 11:59:01 +00:00
Martin Junghanns
4aa2011e0e
Fix CI build badge (#683)
see https://github.com/badges/shields/issues/8671

also, nice talk at FOSDEM :)
2023-02-05 16:56:09 +01:00
Baptiste
893a395f12
feat(history): Add new flag to allow custom output format (#662)
* feat(history): Add new flag to allow custom output format

* more efficient formatting

* add user and host

* docs

Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
2023-01-26 10:57:52 +00:00
Ellie Huxtable
a8ed8f1325
Update contributors.rs
sorry @conradludgate 😭
2023-01-24 19:50:51 +00:00
Yolo
028f404b56
docs: Fix typo in zh-CN/README.md (#666) 2023-01-15 15:39:40 +00:00
Baptiste
62f001898a
docs: Remove human short flag from docs, duplicate of help -h (#663) 2023-01-11 21:36:51 +00:00
Baptiste
582189336d
chore(#621): Exit atuin when pressing down arrow on most recent entry (#659)
Signed-off-by: Baptiste Roux <arte.but.posix@gmail.com>

Signed-off-by: Baptiste Roux <arte.but.posix@gmail.com>
2023-01-10 22:46:33 +00:00
Jamie Quigley
b01d9f81b0
Improve error message when $AUTIN_SESSION is not set. (#654)
Closes #653
2022-12-27 12:44:00 +00:00
Jamie Quigley
a5616aea8f
Rework atuin init (#652)
* Rework `atuin init`

This allows users to disable the CTRL-R and Up Arrow bindings,
independently from one another

* Document --disable-{ctrl-r,up-arrow}

* Apply suggestions from code review

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2022-12-24 17:18:44 +00:00
Patrick Decat
ed394afa82
Allow overriding filter and search modes from CLI (#635)
* Allow overriding filter and search modes from CLI arguments

* Use session filter mode for bash up key binding

* We precisely do not want to add quotes here so that all arguments are properly passed

* Add --shell-up-key-binding hidden command argument and filter_mode_shell_up_key_binding configuration option to allow customizing the filter mode used when atuin is invoked from a shell up-key binding

* Correct up binding for zsh

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2022-12-18 18:26:09 +00:00
dependabot[bot]
dcbe84b9af
Bump debian from bullseye-20221024-slim to bullseye-20221205-slim (#638)
Bumps debian from bullseye-20221024-slim to bullseye-20221205-slim.

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-18 17:56:28 +00:00
dependabot[bot]
d1e29cbcae
Bump base64 from 0.13.0 to 0.20.0 (#641)
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.13.0 to 0.20.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases)
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.0...v0.20.0)

---
updated-dependencies:
- dependency-name: base64
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-18 17:53:36 +00:00
Ellie Huxtable
4c6a287f4d
Switch to using ATUIN_LOG instead of RUST_LOG (#642)
* Switch to using ATUIN_LOG instead of RUST_LOG

* Stop clippy complaining

* I should know better - clippy is never happy :(
2022-12-16 18:37:45 +00:00
Patrick Jackson
5b22f29329
Fix session history (#620) 2022-12-16 17:15:27 +00:00
Patrick Jackson
25a2732817
install.sh: Fallback to using cargo (#639) 2022-12-16 17:11:58 +00:00
Patrick Decat
1d9ce94f96
Add support for some additional keys in interactive mode (#634)
* Ignore tab key in interactive mode

* Support home and end keys in interactive mode

* Support delete key in interactive mode
2022-12-03 10:51:15 +00:00
Patrick Jackson
478af1fa0f
Handle multiline commands in fish shell (#623) 2022-11-19 21:05:25 +00:00