Commit Graph

1248 Commits

Author SHA1 Message Date
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Jeff Gould
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
Tobias Genannt
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
Ellie Huxtable
39824db32a
fix(gui): kill child on block stop (#2288) 2024-07-16 20:32:18 +01:00
Ellie Huxtable
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
2024-07-16 15:19:33 +01:00
Ellie Huxtable
97d978c267
fix(gui): terminal resize overflow (#2285) 2024-07-16 11:32:14 +01:00
Ellie Huxtable
93db7578e9
docs(gui): update README (#2283) 2024-07-15 20:18:58 +01:00
Ellie Huxtable
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
dependabot[bot]
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
dependabot[bot]
75fa887bfb
chore(deps): bump clap_complete from 4.5.7 to 4.5.8 (#2273)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.5.7 to 4.5.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.7...clap_complete-v4.5.8)

---
updated-dependencies:
- dependency-name: clap_complete
  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-15 10:46:46 +01:00
dependabot[bot]
567482c1f7
chore(deps): bump @tanstack/react-table from 8.19.2 to 8.19.3 in /ui (#2279)
Bumps [@tanstack/react-table](https://github.com/TanStack/table/tree/HEAD/packages/react-table) from 8.19.2 to 8.19.3.
- [Release notes](https://github.com/TanStack/table/releases)
- [Commits](https://github.com/TanStack/table/commits/v8.19.3/packages/react-table)

---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
  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-15 10:46:34 +01:00
dependabot[bot]
53936bf0b3
chore(deps): bump @tauri-apps/plugin-shell in /ui (#2274)
Bumps @tauri-apps/plugin-shell from 2.0.0-beta.6 to 2.0.0-beta.8.

---
updated-dependencies:
- dependency-name: "@tauri-apps/plugin-shell"
  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-15 10:46:14 +01:00
dependabot[bot]
54f9e345cf
chore(deps): bump @radix-ui/react-dropdown-menu in /ui (#2275)
Bumps [@radix-ui/react-dropdown-menu](https://github.com/radix-ui/primitives) from 2.0.6 to 2.1.1.
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

---
updated-dependencies:
- dependency-name: "@radix-ui/react-dropdown-menu"
  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-15 10:45:58 +01:00
dependabot[bot]
ccc0a80273
chore(deps): bump @blocknote/react from 0.14.2 to 0.14.6 in /ui (#2276)
Bumps [@blocknote/react](https://github.com/TypeCellOS/BlockNote) from 0.14.2 to 0.14.6.
- [Release notes](https://github.com/TypeCellOS/BlockNote/releases)
- [Commits](https://github.com/TypeCellOS/BlockNote/compare/v0.14.2...v0.14.6)

---
updated-dependencies:
- dependency-name: "@blocknote/react"
  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-15 10:45:37 +01:00
dependabot[bot]
08ae38d1b5
chore(deps-dev): bump @tauri-apps/cli in /ui (#2277)
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 2.0.0-beta.20 to 2.0.0-beta.22.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v2.0.0-beta.20...@tauri-apps/cli-v2.0.0-beta.22)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  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-15 10:45:25 +01:00
dependabot[bot]
b91dd43bd6
chore(deps): bump @uiw/react-codemirror from 4.22.2 to 4.23.0 in /ui (#2278)
Bumps [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror) from 4.22.2 to 4.23.0.
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.22.2...v4.23.0)

---
updated-dependencies:
- dependency-name: "@uiw/react-codemirror"
  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-15 10:45:17 +01:00