Commit Graph

1255 Commits

Author SHA1 Message Date
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
51650ff999 chore(deps): Update rustls and axum-server (#2382) 2024-09-09 20:40:19 +01:00
5ed36b79bf chore: enable inline height and compact by default (#2249) 2024-08-27 15:17:13 +01:00
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
72a562a38e fix: remove dbg! macro (#2355) 2024-08-14 12:37:28 +01:00
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
ea991d5f45 chore(deps): update to debian bookworm, rust 1.80 (#2354) 2024-08-07 22:27:44 +01:00
b764ee327d chore: update to rust 1.80 (#2344) 2024-08-07 21:07:34 +01:00
58c904996d fix(mail): enable correct tls features for postmark client (#2347) 2024-08-06 15:00:34 +01:00
2811e5631b fix(mail): incorrect alias and error logs (#2346) 2024-08-06 14:31:41 +01:00
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
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
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
ac6802e43c chore(deps): update to sqlx 0.8 (#2343) 2024-08-05 14:11:01 +01:00
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
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
537426b888 chore(ci): codespell again (#2332) 2024-07-30 17:10:37 +01:00
538ccbc748 fix: codespell config still references the ui (#2330) 2024-07-30 16:55:21 +01:00
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
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
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
db2d6c3d83 fix: windows build error (#2321)
* fix: windows build

* refactor: cargo fmt

refactor: cargo fmt
2024-07-29 15:10:49 +01:00
8cb5983a53 fix: atuin-daemon optional dependency (#2306) 2024-07-29 11:55:56 +01:00
0b01d93083 fix(gui): random ts errors (#2316) 2024-07-26 19:08:49 +01:00
a34efd6c6b feat(gui): folder select dialogue for directory block (#2315) 2024-07-26 12:51:15 +01:00
c32bbcc7ed feat(gui): directory block, re-org of some code (#2314) 2024-07-25 23:31:38 +01:00
5ba185e7d8 feat(gui): allow interacting with the embedded terminal (#2312) 2024-07-25 16:54:27 +01:00
74d084305c fix(gui): cursor positioning on new doc creation (#2310) 2024-07-25 16:23:56 +01:00
c408465549 fix(gui): double return on mac/linux (#2311) 2024-07-25 16:08:53 +01:00
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
3cf52990e4 chore(release): prepare for release v18.4.0-beta.3 (#2305) v18.4.0-beta.3 2024-07-23 13:38:41 +01:00
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
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
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
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
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
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
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
50e21d450e chore(deps): bump docker/setup-buildx-action from 2 to 3 (#2295)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 11:53:06 +01:00
6811137b19 chore(deps): bump docker/build-push-action from 4 to 6 (#2296)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 11:52:53 +01:00
36726492e3 chore(deps): bump itertools from 0.12.1 to 0.13.0 (#2297)
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.12.1 to 0.13.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.1...v0.13.0)

---
updated-dependencies:
- dependency-name: itertools
  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:52:25 +01:00
5621d709a7 chore(deps): bump zustand from 4.5.2 to 4.5.4 in /ui (#2302)
Bumps [zustand](https://github.com/pmndrs/zustand) from 4.5.2 to 4.5.4.
- [Release notes](https://github.com/pmndrs/zustand/releases)
- [Commits](https://github.com/pmndrs/zustand/compare/v4.5.2...v4.5.4)

---
updated-dependencies:
- dependency-name: zustand
  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:51:45 +01:00
62f3807dcb fix(history): logic for store_failed=false (#2284)
* chore: ignore .envrc

* fix(history): Check passed exit param instead of not-yet set h.exit
2024-07-17 15:22:53 +01:00
06c8ebd310 feat(tui): Fixed preview height option (#2286)
* Added "fixed" to preview strategy

Uses max_preview_height as a fixed value to prevent the list from
"jumping".

* Added test for new setting
2024-07-17 15:19:11 +01:00
39824db32a fix(gui): kill child on block stop (#2288) 2024-07-16 20:32:18 +01:00
0e7f9b29d2 chore(release): prepare for release v18.4.0-beta.2 (#2287)
* feat(gui): add runbook list, ability to create and delete, sql storage (#2282)

* wip

* saving works :))

* functioning delete button

* persist selection properly

* update contributors

* update changelog
v18.4.0-beta.2
2024-07-16 15:19:33 +01:00
97d978c267 fix(gui): terminal resize overflow (#2285) 2024-07-16 11:32:14 +01:00
93db7578e9 docs(gui): update README (#2283) 2024-07-15 20:18:58 +01:00
7eb985b616 feat(gui): add runbook list, ability to create and delete, sql storage (#2282)
* wip

* saving works :))

* functioning delete button

* persist selection properly
2024-07-15 19:12:01 +01:00
947305fc7f chore(deps): bump cachix/install-nix-action from 20 to 27 (#2268)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 10:52:40 +01:00