Commit Graph

1267 Commits

Author SHA1 Message Date
dependabot[bot]
68749cefef
chore(deps): bump metrics-exporter-prometheus from 0.12.2 to 0.16.0
Bumps [metrics-exporter-prometheus](https://github.com/metrics-rs/metrics) from 0.12.2 to 0.16.0.
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml)
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-exporter-prometheus-v0.12.2...metrics-exporter-prometheus-v0.16.0)

---
updated-dependencies:
- dependency-name: metrics-exporter-prometheus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 06:20:42 +00:00
P T Weir
4c2d8201dc
feat: Ultracompact Mode (search-only) (#2357)
* feat: add always_show_tabs setting

* feat(ultracompact): extra-compact options

* feat(ultracompact): enable via auto_hide_height

* feat(ultracompact): clarify comment

* fix(theming): minor tidyup to theming comment

* chore: rustfmt/clippy corrections

* chore: testing if CI issue was transient
2024-10-07 08:54:07 -07:00
Ellie Huxtable
5651036d8f
fix(deps): pin tiny_bip to 1.0.0 until breaking change resolved (#2412) 2024-10-07 08:45:34 -07:00
Jeremy Cline
80e950c648
fix(daemon): Add context to error when unable to connect (#2394)
Recently, it seems, the socket location for the daemon moved and this
caused me to scratch my head briefly since I saw errors from the client
connecting to the daemon, but the daemon was clearly running and the
socket seemed to exist.

This patch includes more context when the client fails to connect to the
daemon. The path is included to help the user understand where the
client was looking, and `wrap_err_with()` is used to show the user the
cause of the error. This changes the error message from:

Error: failed to connect to local atuin daemon. Is it running?

to:

Error: failed to connect to local atuin daemon at /run/user/1001/atuin.sock. Is it running?

Caused by:
   0: transport error
   1: No such file or directory (os error 2)
   2: No such file or directory (os error 2)
2024-10-02 17:44:22 -07:00
Jeremy Cline
a1a157cc97
fix(tui): don't panic when search result is empty and up is pressed (#2395)
In the event there are no results and up is pressed, saturating_sub()
should be used to avoid underflowing the usize. This was already present
on scroll_down().

fixes #2393
2024-10-02 17:43:19 -07:00
Ellie Huxtable
c7447e84da
fix: disable mail by default, resolve #2404 (#2405) 2024-10-02 17:40:37 -07:00
dependabot[bot]
28c7026aec
chore(deps): bump tonic from 0.12.1 to 0.12.2 in the cargo group (#2403)
Bumps the cargo group with 1 update: [tonic](https://github.com/hyperium/tonic).


Updates `tonic` from 0.12.1 to 0.12.2
- [Release notes](https://github.com/hyperium/tonic/releases)
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.1...v0.12.2)

---
updated-dependencies:
- dependency-name: tonic
  dependency-type: direct:production
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 17:36:19 -07:00
dependabot[bot]
d4a7fe5f70
chore(deps): bump debian (#2401)
Bumps debian from bookworm-20240904-slim to bookworm-20240926-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>
2024-10-02 17:36:04 -07:00
github-actions[bot]
a8a17959af
flake.lock: Update (#2402)
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/0df8ceddac0e11b695fd622e18908724cc478552?narHash=sha256-0BQ6BZPaDq8rtEIdTduF2OPlQUKEkImKI8oysym9EVM%3D' (2024-08-31)
  → 'github:nix-community/fenix/db7af3238117cb215b7096bd4cf1e9970e9a405b?narHash=sha256-jZr%2B8ZwMLlNab3qwfhsuAZyT9DfQ3d%2B18Sg9wXWXPIU%3D' (2024-09-30)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/9fd70519507b673fae250f84b0990e7e8155ca98?narHash=sha256-h8Pn1th2bss7yXvxs1uR1kXYMTNej1L6Qy/GgsR4t3A%3D' (2024-08-30)
  → 'github:rust-lang/rust-analyzer/822644d97d7f64e1bdff25b1d636e366a29facc4?narHash=sha256-iJTCG7vtECll27sxDElL4SuIY/kRhamJf0DDYCW6fb4%3D' (2024-09-29)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a?narHash=sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ%3D' (2024-09-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5629520edecb69630a3f4d17d3d33fc96c13f6fe?narHash=sha256-CHgumPZaC7z%2BWYx72WgaLt2XF0yUVzJS60rO4GZ7ytY%3D' (2024-08-31)
  → 'github:NixOS/nixpkgs/ef7226d68ba45b2de3e428e5d4bb4532caffec7b?narHash=sha256-RG%2B429Uv2W%2BX5vdZ8mAngtfC1ppzu28rCWw5R7JC3k0%3D' (2024-09-30)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-02 17:35:56 -07:00
dependabot[bot]
6e15286f0c
chore(deps): bump the cargo group with 2 updates (#2380)
Bumps the cargo group with 2 updates: [sqlx](https://github.com/launchbadge/sqlx) and [quinn-proto](https://github.com/quinn-rs/quinn).


Updates `sqlx` from 0.8.0 to 0.8.1
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.8.0...v0.8.1)

Updates `quinn-proto` from 0.11.6 to 0.11.8
- [Release notes](https://github.com/quinn-rs/quinn/releases)
- [Commits](https://github.com/quinn-rs/quinn/compare/quinn-proto-0.11.6...quinn-proto-0.11.8)

---
updated-dependencies:
- dependency-name: sqlx
  dependency-type: direct:production
  dependency-group: cargo
- dependency-name: quinn-proto
  dependency-type: indirect
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 20:42:30 +01:00
github-actions[bot]
e7ec311311
flake.lock: Update (#2378)
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/296d44c440302980824c5f3b67e477cf0522e0c1?narHash=sha256-FaXZZLLDW1D%2Bpj7UgrIslDS8XjMMG3Pus5gAvUYWQS0%3D' (2024-08-13)
  → 'github:nix-community/fenix/0df8ceddac0e11b695fd622e18908724cc478552?narHash=sha256-0BQ6BZPaDq8rtEIdTduF2OPlQUKEkImKI8oysym9EVM%3D' (2024-08-31)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/32a86cb1dad2b208e8f36f1bb50c2e4806b0371f?narHash=sha256-Ls0e6R4FmGUFXZlUcm6ZQaVNJ4Yj/nua4SSctXIopao%3D' (2024-08-12)
  → 'github:rust-lang/rust-analyzer/9fd70519507b673fae250f84b0990e7e8155ca98?narHash=sha256-h8Pn1th2bss7yXvxs1uR1kXYMTNej1L6Qy/GgsR4t3A%3D' (2024-08-30)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4877ea239f4d02410c3516101faf35a81af0c30e?narHash=sha256-LrmeqqHdPgAJsVKIJja8jGgRG/CA2y6SGT2TjX5Do68%3D' (2024-08-13)
  → 'github:NixOS/nixpkgs/5629520edecb69630a3f4d17d3d33fc96c13f6fe?narHash=sha256-CHgumPZaC7z%2BWYx72WgaLt2XF0yUVzJS60rO4GZ7ytY%3D' (2024-08-31)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-09 20:42:07 +01:00
dependabot[bot]
e87162becd
chore(deps): bump lukemathwalker/cargo-chef (#2383)
Bumps lukemathwalker/cargo-chef from latest-rust-1.80.1-slim-bookworm to latest-rust-1.81.0-slim-bookworm.

---
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>
2024-09-09 20:41:01 +01:00
dependabot[bot]
41e66abf61
chore(deps): bump debian (#2384)
Bumps debian from bookworm-20240812-slim to bookworm-20240904-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>
2024-09-09 20:40:54 +01:00
Tobias Genannt
51650ff999
chore(deps): Update rustls and axum-server (#2382) 2024-09-09 20:40:19 +01:00
Ellie Huxtable
5ed36b79bf
chore: enable inline height and compact by default (#2249) 2024-08-27 15:17:13 +01:00
CULT PONY
00ef69f2a4
fix(docker): Update Dockerfile (#2369)
The runtime needs to use the same debian release as the build environment, otherwise this just crashes on startup
2024-08-27 15:14:25 +01:00
TymanWasTaken
72a562a38e
fix: remove dbg! macro (#2355) 2024-08-14 12:37:28 +01:00
Ethan Brierley
d264840b38
chore: update rust to 1.80.1 (#2362)
fixes #2360

https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html

`1.80.1` fixes a fairly nasty miscompilation, but that's not my motivation for opening this PR.

If I'm understanding correctly, because the rust patch version was not specified in `rust-toolchain.toml`, nix automatically upgraded to the new version. This broke the hash in `flake.nix` causing the flake to fail to build. Making this upgrade to `1.80.1` explicit, fixes this issue.
2024-08-14 12:35:36 +01:00
Ellie Huxtable
ea991d5f45
chore(deps): update to debian bookworm, rust 1.80 (#2354) 2024-08-07 22:27:44 +01:00
Ellie Huxtable
b764ee327d
chore: update to rust 1.80 (#2344) 2024-08-07 21:07:34 +01:00
Ellie Huxtable
58c904996d
fix(mail): enable correct tls features for postmark client (#2347) 2024-08-06 15:00:34 +01:00
Ellie Huxtable
2811e5631b
fix(mail): incorrect alias and error logs (#2346) 2024-08-06 14:31:41 +01:00
Jax Young
90e7d28173
test: add env ATUIN_TEST_LOCAL_TIMEOUT to control test timeout of SQLite (#2337)
* test: add env ATUIN_TEST_LOCAL_TIMEOUT to control test timeout of SQLite

This make it possible to control the timeout of SQLite operations in
test. And ATUIN_TEST_LOCAL_TIMEOUT defaults to the default local_timeout,
which is actually used in the client. Instead of a small timeout (0.1),
this change makes the test less likely to fail and better imitate the
default behavior.

SQLite operation timeout was first introduced from #1590, including
connection and store timeout. The env ATUIN_TEST_SQLITE_STORE_TIMEOUT
which added by #1703 only specify the store timeout. This commit doesn't
deprecate ATUIN_TEST_SQLITE_STORE_TIMEOUT, but control it by setting its
default to the new env ATUIN_TEST_LOCAL_TIMEOUT.

* test!: replace ATUIN_TEST_SQLITE_STORE_TIMEOUT with ATUIN_TEST_LOCAL_TIMEOUT

This deprecate ATUIN_TEST_SQLITE_STORE_TIMEOUT for simplicity as the new
env ATUIN_TEST_LOCAL_TIMEOUT can control both connection and store
timeout of SQLite in test. Details see 4d88611.

Revert: #1703.
2024-08-05 14:22:40 +01:00
P T Weir
f94a284df4
fix(theme): Restore original colours (#2339)
* fix(theme): restore ratatui colors

* chore: fix up rustfmt

* typo: correct spelling in comment
2024-08-05 14:12:18 +01:00
dependabot[bot]
fe9832997a
chore(deps): bump env_logger from 0.11.3 to 0.11.5 (#2341)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.3 to 0.11.5.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.3...v0.11.5)

---
updated-dependencies:
- dependency-name: env_logger
  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>
2024-08-05 14:11:15 +01:00
Ellie Huxtable
ac6802e43c
chore(deps): update to sqlx 0.8 (#2343) 2024-08-05 14:11:01 +01:00
github-actions[bot]
2ce1a06f95
chore(deps): flake.lock (#2335)
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/2c06f54eb102f325f88472a9713f6d779726c2f7?narHash=sha256-TW68WegsA2KLjQMHTaP2//tLgXSaFiRdZKxKUc7vEtY%3D' (2024-06-30)
  → 'github:nix-community/fenix/0900ff903f376cc822ca637fef58c1ca4f44fab5?narHash=sha256-%2BxR0ZqooQvAjxcpoDBCqiUCKrBK8/RGVffRzlKH7urw%3D' (2024-07-31)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/9463d9eea4b87e651e7d8ed8425a9c92f23b1cdf?narHash=sha256-YzF4P6YVInAjcR5eJHWefkKEu5t70KYVZMvdLODv8CM%3D' (2024-06-28)
  → 'github:rust-lang/rust-analyzer/4feec4b0c1d5aad7aba34e0397fe7bd984c9a634?narHash=sha256-Myc%2BUnbLDQccueeO1q5CF0sNiGebQo1N%2BcdOpDMhNsg%3D' (2024-07-30)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d?narHash=sha256-vN5xJAZ4UGREEglh3lfbbkIj%2BMPEYMuqewMn4atZFaQ%3D' (2024-06-27)
  → 'github:NixOS/nixpkgs/c3392ad349a5227f4a3464dce87bcc5046692fce?narHash=sha256-5US0/pgxbMksF92k1%2BeOa8arJTJiPvsdZj9Dl%2BvJkM4%3D' (2024-07-31)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-01 18:22:13 +01:00
dependabot[bot]
6d1ef57c4d
chore(deps): bump tonic-build from 0.12.0 to 0.12.1 (#2331)
Bumps [tonic-build](https://github.com/hyperium/tonic) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/hyperium/tonic/releases)
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: tonic-build
  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>
2024-07-30 17:10:46 +01:00
Ellie Huxtable
537426b888
chore(ci): codespell again (#2332) 2024-07-30 17:10:37 +01:00
Ellie Huxtable
538ccbc748
fix: codespell config still references the ui (#2330) 2024-07-30 16:55:21 +01:00
Ellie Huxtable
808138de63
chore: remove ui directory (#2329)
This is still in development, but rather than clutter the commit history
and issues with an unreleased project I've split the UI into its own
repo.

Once ready for release, I'll either merge the ui code back in, or just
make the repo public.
2024-07-30 16:54:10 +01:00
dependabot[bot]
dee8ece263
chore(deps): bump debian (#2320)
Bumps debian from bullseye-20240701-slim to bullseye-20240722-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>
2024-07-30 16:47:24 +01:00
dependabot[bot]
18a34772ee
chore(deps): bump tonic from 0.12.0 to 0.12.1 (#2322)
Bumps [tonic](https://github.com/hyperium/tonic) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/hyperium/tonic/releases)
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: tonic
  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>
2024-07-30 16:47:10 +01:00
YummyOreo
db2d6c3d83
fix: windows build error (#2321)
* fix: windows build

* refactor: cargo fmt

refactor: cargo fmt
2024-07-29 15:10:49 +01:00
Jakub Panek
8cb5983a53
fix: atuin-daemon optional dependency (#2306) 2024-07-29 11:55:56 +01:00
Ellie Huxtable
0b01d93083
fix(gui): random ts errors (#2316) 2024-07-26 19:08:49 +01:00
Ellie Huxtable
a34efd6c6b
feat(gui): folder select dialogue for directory block (#2315) 2024-07-26 12:51:15 +01:00
Ellie Huxtable
c32bbcc7ed
feat(gui): directory block, re-org of some code (#2314) 2024-07-25 23:31:38 +01:00
Ellie Huxtable
5ba185e7d8
feat(gui): allow interacting with the embedded terminal (#2312) 2024-07-25 16:54:27 +01:00
Ellie Huxtable
74d084305c
fix(gui): cursor positioning on new doc creation (#2310) 2024-07-25 16:23:56 +01:00
Ellie Huxtable
c408465549
fix(gui): double return on mac/linux (#2311) 2024-07-25 16:08:53 +01:00
Ellie Huxtable
128891f53e
fix(gui): do not hardcode db path (#2309)
* feat(gui/backend): add cli_settings tauri command

* chore(gui/backend): overdue cargo fmt

* fix(gui): use configured db path, not hardcoded
2024-07-25 13:40:04 +01:00
Ellie Huxtable
3cf52990e4
chore(release): prepare for release v18.4.0-beta.3 (#2305) 2024-07-23 13:38:41 +01:00
Ellie Huxtable
f8c963c7d6
feat(gui): clean up home page, fix a few bugs (#2304)
* wip home screen changes

* more

* adjust

* fixes and things

* patch runbook pty check
2024-07-23 13:18:54 +01:00
P T Weir
17ed668aac
fix(themes): Restore default theme, refactor (#2294)
* fix(theme): let the base colour remain unchanged

* fix(theme): split out default

* fix(theme): make base theme 'default' not an empty string

* wip(theme): return styles, not colors

* wip(theme): tidy up module structure a little

* wip(theme): removed unhandled references to foreground_color

* chore: fix cargo fmt

* feat(theme): allow crossterm-deserializable colors
2024-07-23 12:03:00 +01:00
Ellie Huxtable
95cef71490
feat(gui): background terminals and more (#2303)
* fixes & allow for background terminals to stay running

* status indicators etc
2024-07-22 16:31:12 +01:00
dependabot[bot]
fde86d3899
chore(deps): bump highlight.js from 11.9.0 to 11.10.0 in /ui (#2298)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 11.9.0 to 11.10.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/11.9.0...11.10.0)

---
updated-dependencies:
- dependency-name: highlight.js
  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>
2024-07-22 11:58:18 +01:00
dependabot[bot]
d2a06b9cf3
chore(deps): bump @tauri-apps/plugin-http in /ui (#2299)
Bumps @tauri-apps/plugin-http from 2.0.0-beta.5 to 2.0.0-beta.8.

---
updated-dependencies:
- dependency-name: "@tauri-apps/plugin-http"
  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>
2024-07-22 11:58:04 +01:00
dependabot[bot]
0831b99306
chore(deps): bump @blocknote/mantine from 0.15.0 to 0.15.3 in /ui (#2300)
Bumps [@blocknote/mantine](https://github.com/TypeCellOS/BlockNote) from 0.15.0 to 0.15.3.
- [Release notes](https://github.com/TypeCellOS/BlockNote/releases)
- [Commits](https://github.com/TypeCellOS/BlockNote/compare/v0.15.0...v0.15.3)

---
updated-dependencies:
- dependency-name: "@blocknote/mantine"
  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>
2024-07-22 11:57:45 +01:00
dependabot[bot]
179180b998
chore(deps-dev): bump tailwindcss from 3.4.4 to 3.4.6 in /ui (#2301)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.4 to 3.4.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.6/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.4...v3.4.6)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  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>
2024-07-22 11:57:19 +01:00