Commit Graph

525 Commits

Author SHA1 Message Date
YummyOreo
e9c5e1d85c
Windows support (#754)
* adds support for getting home dir in windows

* fixes bug

* adds windows server support + build for linux ^| todo: test server on linux

* improvements to redability

* removes comment

* returns if windows when importing auto

* this should be here, to prevent double inputs

* adds explanation to why we have to throw away 1 event in the tui

* better message when running atuin import on windows + spell fix
2023-03-05 19:00:59 +00:00
dependabot[bot]
df16a03cb6
Bump debian from bullseye-20230208-slim to bullseye-20230227-slim (#744)
Bumps debian from bullseye-20230208-slim to bullseye-20230227-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-03-05 18:53:12 +00:00
Steven Xu
2e79e73af3
feat: add common default keybindings (#719)
* feat: add common default keybindings

* feat: add `WORD_SEPARATORS` to config as `word_chars`, as this is what *Zsh* calls it

* feat: add option for *Emacs* word jumping

* feat: scroll with `PageUp` and `PageDown`, cf #374
2023-03-05 18:49:09 +00:00
Ellie Huxtable
3eb50a8383
Up arrow filter_mode setting default to global filter mode (#758)
Resolves #756
2023-03-05 18:43:03 +00:00
Patrick Decat
24388033a5
Show preview of selected command (#643)
* Only show help if terminal strictly has more than one line

* There is no border around the input line in compact mode

* Add command preview

* Dynamic preview height

* Avoid extra allocations

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

* Address clippy error

* Merge normal and compact views code

* Add show_preview setting, disabled by default

* Convert `bool` to `int` with `if` for legibility

---------

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
2023-03-05 18:36:35 +00:00
Krithic Kumar
9e05d747ea
docs(README): fix activity graph link (#753) 2023-03-02 22:52:37 +00:00
cyqsimon
63c572104b
Rework Bash import (#747)
* Rework Bash import

Closes #745
- Imported history is now ordered correctly
- Timestamps (when `HISTTIMEFORMAT` is set) are handled correctly

* Timestamp tests test for strict sorting
2023-03-02 10:05:19 +00:00
cyqsimon
a033890506
Fix race condition in directory tests (#748) 2023-03-02 09:39:15 +00:00
0x4A6F
e6ff051430
nix: add flake-compat (#743) 2023-03-01 19:51:31 +00:00
Patrick Jackson
55d8b36b67
Update flake.lock to Rust 1.67 (#749) 2023-03-01 18:23:11 +00:00
Ellie Huxtable
d46e3ad47d Add hachyderm to home 2023-02-28 22:37:42 +00:00
Ellie Huxtable
3e90031c0e Add verification 2023-02-28 22:29:34 +00:00
Ellie Huxtable
b40383fc90
Add Hachyderm links (#742) 2023-02-28 22:27:06 +00:00
Ellie Huxtable
e4fde80acc
Patch release v13.0.1 (#741)
* Patch release v13.0.1

* Update blog post
2023-02-28 21:44:39 +00:00
Conrad Ludgate
fe67dbb96c
fix registration (#740) 2023-02-28 15:46:24 +00:00
cyqsimon
b80f91c6a2
Disable 2 tests that shouldn't run in release mode (#736)
These tests expect `debug_assert!` to panic:
- `pos_of_panics_on_out_of_bounds`
- `index_of_panics_on_out_of_bounds`
2023-02-27 16:31:27 +00:00
Maurice Escher
f3bc646f24
[docs] fix some links between config and commands (#733) 2023-02-27 08:12:00 +00:00
Alpha Chen
df9b3b0541
Fix link to self-hosting (#731) 2023-02-27 07:12:26 +00:00
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