Commit graph

603 commits

Author SHA1 Message Date
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
Tobias Genannt
b48de9bd9d
Run test build for client-only feature set (#1167) 2023-08-14 08:27:35 +00:00
Ellie Huxtable
b207d0d9a5
Include revision in status (#1166) 2023-08-14 09:24:05 +01:00
Ellie Huxtable
925bf0efaa
Fix index tail leak (#1159) 2023-08-09 23:47:31 +01:00
dependabot[bot]
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
Emanuele Panzeri
8080a172af
Update(docs) Add workspace to config.toml and config.md (#1157) 2023-08-09 23:06:27 +01:00
Ellie Huxtable
613218f0d8
Fix client-only builds (#1155) 2023-08-07 12:06:48 +01:00
Ellie Huxtable
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
2023-08-07 11:18:39 +01:00
LeoniePhiline
2b1d39e270
fix(docs): Correct command overview paths (#1145) 2023-08-02 22:09:51 +00:00
Conrad Ludgate
af14366a2e
encode paseto payloads as json (#1146) 2023-08-02 21:46:07 +00:00
dependabot[bot]
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
LeoniePhiline
a9a1d0d398
fix(docs): List all presently documented commands (#1140) 2023-08-01 20:38:17 +00:00
Richard Jones
d7f8929656
Add support for max_preview_height setting (#1088) 2023-07-31 18:36:58 +01:00
LeoniePhiline
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
LeoniePhiline
73da97666f
fix(server): Teapot is a cup of coffee (#1137) 2023-07-31 17:17:33 +00:00
Ellie Huxtable
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
Ellie Huxtable
43afb2d702
Add self hosted runner (#1133) 2023-07-30 23:16:01 +01:00
Ellie Huxtable
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
Ellie Huxtable
5a457d6b3b
Drop default sync frequency to 10m (#1130) 2023-07-28 08:55:19 +01:00
Patrick Jackson
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
Conrad Ludgate
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
Richard Turner
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Ellie Huxtable
a184afeecd
Tidy up docs (#1120) 2023-07-26 09:47:45 +01:00
Ellie Huxtable
9ca26e5764
Remove vercel config (#1119) 2023-07-26 08:44:14 +01:00
Ellie Huxtable
c96ba31894
Try adjusting docs root (#1118) 2023-07-26 08:41:41 +01:00
Ellie Huxtable
79edc4ce99
Serve docusaurus on /docs/ (#1117) 2023-07-26 08:25:53 +01:00
Conrad Ludgate
a0f95ad7b1
skim: fix filtering aggregates (#1114)
* skim: fix filtering aggregates

* comments
2023-07-24 19:47:50 +01:00
Ellie Huxtable
f3e707542c
Unvendor ratatui (#1101) 2023-07-17 23:16:37 +01:00
Ellie Huxtable
465faca6d1
Add workspace mode, enable if in git repo (#1053)
* Add workspace mode, enable if in git repo

* Fix tests

* Should now be good

* Page filter modes correctly if in workspace
2023-07-14 19:58:20 +00:00
Ellie Huxtable
5d26d3f47a
Delete the count cache row when a user is deleted (#1103) 2023-07-14 20:45:10 +01:00
Ellie Huxtable
5786155969
Add total history count to the index API (#1102)
Thought it would be fun to collect some cool stats, maybe put them on
atuin.sh.
2023-07-14 20:44:47 +01:00
Ellie Huxtable
97e24d0d41
Add new sync (#1093)
* Add record migration

* Add database functions for inserting history

No real tests yet :( I would like to avoid running postgres lol

* Add index handler, use UUIDs not strings

* Fix a bunch of tests, remove Option<Uuid>

* Add tests, all passing

* Working upload sync

* Record downloading works

* Sync download works

* Don't waste requests

* Use a page size for uploads, make it variable later

* Aaaaaand they're encrypted now too

* Add cek

* Allow reading tail across hosts

* Revert "Allow reading tail across hosts"

Not like that

This reverts commit 7b0c72e7e050c358172f9b53cbd21b9e44cf4931.

* Handle multiple shards properly

* format

* Format and make clippy happy

* use some fancy types (#1098)

* use some fancy types

* fmt

* Goodbye horrible tuple

* Update atuin-server-postgres/migrations/20230623070418_records.sql

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

* fmt

* Sort tests too because time sucks

* fix features

---------

Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-07-14 20:44:08 +01:00
dependabot[bot]
3d4302ded1
Bump semver from 5.7.1 to 5.7.2 in /docs (#1100)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  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-14 19:59:47 +01:00
dependabot[bot]
abccab0790
Bump regex from 1.7.2 to 1.9.1 (#1094)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.2 to 1.9.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.2...1.9.1)

---
updated-dependencies:
- dependency-name: regex
  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-07-14 19:41:20 +01:00
Conrad Ludgate
db83d9598f
write some key tests (#1095) 2023-07-14 07:50:28 +01:00
Ellie Huxtable
491433afd5
Add OG image (#1097)
* Add OG image

* Fix

* byebye
2023-07-11 12:28:48 +01:00
Conrad Ludgate
58d53a662f
atuin crypto blog post (#1079) 2023-07-11 08:28:11 +01:00
DS/Charlie
998bd5be89
fix for zsh no-unset environments (#921) 2023-07-10 09:34:24 +00:00
Ellie Huxtable
6c6f5f8187
Update docusaurus.config.js 2023-07-09 14:39:11 +01:00
Simon
a6c4f2c23e
Update config.toml path default comments (#1092)
- Updates outdated mac db_path default
- Adds windows db_path default
- Adds windows, mac, linux defaults for key_path and session_path
- Changes example session_path to be different to example key_path
2023-07-08 22:46:12 +00:00
Conrad Ludgate
8c94d798c6
fix key encodings again (#1089) 2023-07-08 21:11:25 +01:00