Commit Graph

1189 Commits

Author SHA1 Message Date
dependabot[bot]
c19205abe2
chore(deps): bump thiserror from 1.0.61 to 1.0.62 (#2258)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62)

---
updated-dependencies:
- dependency-name: thiserror
  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:20:16 +01:00
dependabot[bot]
273015b9ef
chore(deps): bump @blocknote/core from 0.14.2 to 0.14.5 in /ui (#2263)
Bumps [@blocknote/core](https://github.com/TypeCellOS/BlockNote) from 0.14.2 to 0.14.5.
- [Release notes](https://github.com/TypeCellOS/BlockNote/releases)
- [Commits](https://github.com/TypeCellOS/BlockNote/compare/v0.14.2...v0.14.5)

---
updated-dependencies:
- dependency-name: "@blocknote/core"
  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:19:30 +01:00
P T Weir
61c6e5e46a
feat(tui): Customizable Themes (#2236)
* wip: add theme

* feat(theme): basic theming approach

* feat(theme): adds theming support

* fix: split out palette without compact inspector

* fix(theme): tidy up implementation

* fix(theme): correct yaml to toml

* fix(theme): typo in comments

* chore: cheer up clippy

* fix(themes): ensure tests cannot hit real loading directory

* chore: rustfmt

* chore: rebase

* feat(themes): add rgb hexcode support

* fix(theme): add tests

* fix(theme): use builtin log levels and correct debug test

* feat(theme): adds the ability to derive from a non-base theme

* fix(theme): warn if the in-file name of a theme does not match the filename

* chore: tidy for rustfmt and clippy

* chore: tidy for rustfmt and clippy
2024-07-15 10:18:46 +01:00
dependabot[bot]
44d8f6dffd
chore(deps): bump @tauri-apps/api in /ui (#2265)
Bumps [@tauri-apps/api](https://github.com/tauri-apps/tauri) from 2.0.0-beta.13 to 2.0.0-beta.15.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/api-v2.0.0-beta.13...@tauri-apps/api-v2.0.0-beta.15)

---
updated-dependencies:
- dependency-name: "@tauri-apps/api"
  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:05:48 +01:00
Ellie Huxtable
8f5af526d3
chore: enable record sync by default (#2255)
I'm now pretty confident in the automatic migration. Let's cut people over so they have a better experience
2024-07-11 17:02:59 +01:00
YummyOreo
256a81a17a
fix(gui): add \r for windows (shouldn't effect unix bc they should ignore it) (#2253) 2024-07-10 18:43:18 +01:00
Cristian Le
33925e3302
chore(deps): Replace cli-clipboard with arboard (#2067) 2024-07-10 16:20:30 +00:00
Ellie Huxtable
69def05f75
fix(gui): weekInfo call on Edge (#2252) 2024-07-10 17:11:34 +01:00
Ellie Huxtable
35bbaea0e4
chore(deps): update prost-types (#2251) 2024-07-10 16:52:48 +01:00
Ellie Huxtable
8d9f677c4e
feat(gui): use fancy new side nav (#2243)
* feat(gui): use fancy new side nav

* compact only sidebar, no expand-collapse

* custom drag region, remove titlebar

* add user popup

* wire up login/logout/register, move user button to bottom and add menu

* link help and feedback to forum
2024-07-10 15:56:33 +01:00
Ellie Huxtable
353981e794
chore(deps): update to tonic 0.12, prost 0.13 (#2250)
Resolve #2248
2024-07-10 15:46:51 +01:00
dependabot[bot]
eb5dae9c5d
chore(deps): bump react-spinners from 0.13.8 to 0.14.1 in /ui (#2220)
Bumps [react-spinners](https://github.com/davidhu2000/react-spinners) from 0.13.8 to 0.14.1.
- [Release notes](https://github.com/davidhu2000/react-spinners/releases)
- [Changelog](https://github.com/davidhu2000/react-spinners/blob/main/CHANGELOG.md)
- [Commits](https://github.com/davidhu2000/react-spinners/compare/v0.13.8...0.14.1)

---
updated-dependencies:
- dependency-name: react-spinners
  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-10 14:41:47 +01:00
dependabot[bot]
830e1e733a
chore(deps): bump @tanstack/react-virtual from 3.5.1 to 3.8.1 in /ui (#2221)
Bumps [@tanstack/react-virtual](https://github.com/tanstack/virtual) from 3.5.1 to 3.8.1.
- [Release notes](https://github.com/tanstack/virtual/releases)
- [Commits](https://github.com/tanstack/virtual/compare/v3.5.1...v3.8.1)

---
updated-dependencies:
- dependency-name: "@tanstack/react-virtual"
  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-10 14:41:39 +01:00
eth3lbert
e45979c9af
fix(tui): Press ctrl-a twice should jump to beginning of line (#2246) 2024-07-10 08:49:58 +01:00
dependabot[bot]
6d254c6946
chore(deps): bump @radix-ui/react-toast from 1.1.5 to 1.2.1 in /ui (#2222)
Bumps [@radix-ui/react-toast](https://github.com/radix-ui/primitives) from 1.1.5 to 1.2.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-toast"
  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-08 12:27:41 +01:00
dependabot[bot]
e6384e7e9c
chore(deps): bump @tanstack/react-table from 8.17.3 to 8.19.2 in /ui (#2240)
Bumps [@tanstack/react-table](https://github.com/TanStack/table/tree/HEAD/packages/react-table) from 8.17.3 to 8.19.2.
- [Release notes](https://github.com/TanStack/table/releases)
- [Commits](https://github.com/TanStack/table/commits/v8.19.2/packages/react-table)

---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
  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-08 12:27:31 +01:00
dependabot[bot]
705d099156
chore(deps): bump lucide-react from 0.396.0 to 0.402.0 in /ui (#2242)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.396.0 to 0.402.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.402.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  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-08 11:19:20 +01:00
dependabot[bot]
78cf3e939d
chore(deps): bump debian (#2239)
Bumps debian from bullseye-20240612-slim to bullseye-20240701-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-08 11:18:24 +01:00
Ellie Huxtable
5b38448733
feat(gui): runbooks that run (#2233)
* add initial runbooks frontend

* fix buttons, scroll, add shell support to editor

* work

* some tweaks

* wip - run crate

* functioning executable blocks

* handle resizing, killing ptys

* clear properly on stop

* move terminal to its own component, handle lifecycle better

* fix all build issues

* ffs codespelll

* update lockfile

* clippy is needy once more

* only build pty stuff on mac/linux

* vendor pty handling into desktop

* update lockfile
2024-07-08 11:17:47 +01:00
Koichi Murase
f56a66add9
feat(bash/blesh): hook into BLE_ONLOAD to resolve loading order issue (#2234) 2024-07-05 14:32:47 +01:00
Ellie Huxtable
a67cfc82fe
fix: ambiguous column name (#2232) 2024-07-03 08:24:05 +01:00
Ellie Huxtable
5fe8ae05e5
fix: idx cache inconsistency (#2231) 2024-07-03 08:10:12 +01:00
Ellie Huxtable
c3723aaf27
feat: monitor idx cache consistency before switching (#2229) 2024-07-02 14:47:41 +01:00
Ellie Huxtable
255a7bccb6
feat: allow advertising a fake version to clients (#2228)
* feat: allow advertising a fake version to clients

The server usually runs unstable Atuin, and is well monitored. But let's
not advertised the unstable version to clients, as they will notify
users there is an update available.

* fix test build
2024-07-02 14:13:45 +01:00
Ellie Huxtable
884d97d55e
fix: add idx cache unique index (#2226) 2024-07-02 11:36:22 +01:00
Ellie Huxtable
0def653484
perf: write to the idx cache (#2225) 2024-07-02 11:14:37 +01:00
Ellie Huxtable
8b17690359
perf: create idx cache table (#2140)
* perf: add idx cache

* Update crates/atuin-server-postgres/migrations/20240614104159_idx-cache.sql

* indentation

* remove trigger - for each row is too much, should be once per transaction
2024-07-01 13:49:46 +01:00
dependabot[bot]
f09be74e78
chore(deps): bump @headlessui/react from 2.1.0 to 2.1.1 in /ui (#2218)
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.1.1/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/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-01 12:57:56 +01:00
dependabot[bot]
d8dabd2049
chore(deps): bump serde_json from 1.0.117 to 1.0.119 (#2216)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.117 to 1.0.119.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.119)

---
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>
2024-07-01 12:57:37 +01:00
dependabot[bot]
2f68b6e36b
chore(deps): bump postmark from 0.10.0 to 0.10.1 (#2217)
Bumps [postmark](https://github.com/pastjean/postmark-rs) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/pastjean/postmark-rs/releases)
- [Changelog](https://github.com/pastjean/postmark-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pastjean/postmark-rs/compare/v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: postmark
  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-01 12:57:13 +01:00
Julien P
1b0dad0b98
feat: Add npm, Netlify and Pulumi tokens to secret patterns (#2210) 2024-07-01 12:07:52 +01:00
github-actions[bot]
dfb6314634
flake.lock: Update (#2213)
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/ab655c627777ab5f9964652fe23bbb1dfbd687a8?narHash=sha256-ixopuTeTouxqTxfMuzs6IaRttbT8JqRW5C9Q/57WxQw%3D' (2024-06-08)
  → 'github:nix-community/fenix/2c06f54eb102f325f88472a9713f6d779726c2f7?narHash=sha256-TW68WegsA2KLjQMHTaP2//tLgXSaFiRdZKxKUc7vEtY%3D' (2024-06-30)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/48bbdd6a74f3176987d5c809894ac33957000d19?narHash=sha256-%2BlRAmz92CNUxorqWusgJbL9VE1eKCnQQojglRemzwkw%3D' (2024-06-05)
  → 'github:rust-lang/rust-analyzer/9463d9eea4b87e651e7d8ed8425a9c92f23b1cdf?narHash=sha256-YzF4P6YVInAjcR5eJHWefkKEu5t70KYVZMvdLODv8CM%3D' (2024-06-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4a4ecb0ab415c9fccfb005567a215e6a9564cdf5?narHash=sha256-eCWaE/q1VItpFAxxLVt171MdtDcjEnwi6QB/yuF73JU%3D' (2024-06-03)
  → 'github:NixOS/nixpkgs/1e3deb3d8a86a870d925760db1a5adecc64d329d?narHash=sha256-vN5xJAZ4UGREEglh3lfbbkIj%2BMPEYMuqewMn4atZFaQ%3D' (2024-06-27)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-01 11:52:19 +01:00
Helmut K. C. Tessarek
8eab351fca
docs(README): fix broken link (#2206) 2024-06-26 22:54:40 +01:00
Ellie Huxtable
c107b4e4ec
docs: update quickstart install command (#2205) 2024-06-26 18:08:58 +01:00
Ellie Huxtable
8d5fac2a1f
chore(install): use posix sh, not bash (#2204) 2024-06-26 16:24:05 +01:00
Ellie Huxtable
b07a03574b
chore: do not use package managers in installer (#2201) 2024-06-26 16:05:32 +01:00
Ellie Huxtable
cdd9a8034d
docs: streamline readme (#2203) 2024-06-26 15:59:54 +01:00
Ellie Huxtable
1201caee5c
perf(search): benchmark smart sort (#2202) 2024-06-26 12:40:17 +01:00
Chris Rose
fd3aca7cb3
feat: add several other GitHub access token patterns (#2200)
- OAuth access tokens
- refresh token
- app installation token
- PAT v2

Additionally, added support for having >1 value for testing, for cases
where the pattern for a secret has alternative formats (GitHub PAT v2
does this)
2024-06-25 21:24:31 +01:00
David Jack Wange Olrik
a223fcb718
feat: Add GitLab PAT to secret patterns (#2196) 2024-06-25 14:32:45 +01:00
Ellie Huxtable
c8b3e418a1
chore(release): prepare for release v18.4.0-beta.1 (#2195)
* chore(release): prepare for release v18.4.0-beta.1

* remove full release test
2024-06-25 12:35:12 +01:00
Ellie Huxtable
05d1d9b136
chore(deps): update ratatui to 0.27 (#2193) 2024-06-25 09:43:42 +01:00
Ellie Huxtable
9e36f63c6e
fix: ensure we cleanup all tables when deleting (#2191) 2024-06-24 16:46:19 +01:00
Ellie Huxtable
67d64ec4b3
feat: add user account verification (#2190)
* add verified column to users table

* add database functions to check if verified, or to verify

* getting there

* verification check

* use base64 urlsafe no pad

* add verification client

* clippy

* correct docs

* fix integration tests
2024-06-24 14:54:54 +01:00
Matheus Martins
8956142cc5
fix: Some --help comments didn't show properly (#2176)
* FIX: Some --help comments didn't show properly (#3)

* FIX: Some --help comments didn't show properly

* FIX: Some --help comments didn't show properly

* FIX: Some --help comments didn't show properly

* FIX: Some --help comments didn't show properly

* Update crates/atuin/src/command/client.rs

grammatical sentence

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>

* Update crates/atuin/src/command/client.rs

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2024-06-24 07:23:29 +00:00
Ellie Huxtable
a9e766f990
chore(ci): do not run current ci for ui (#2189) 2024-06-24 08:18:37 +01:00
dependabot[bot]
a616ba4eab
chore(deps): bump @radix-ui/react-dialog from 1.0.5 to 1.1.1 in /ui (#2188)
Bumps [@radix-ui/react-dialog](https://github.com/radix-ui/primitives) from 1.0.5 to 1.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-dialog"
  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-06-24 08:09:18 +01:00
dependabot[bot]
653aa9b9fa
chore(deps): bump @headlessui/react from 2.0.4 to 2.1.0 in /ui (#2187)
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 2.0.4 to 2.1.0.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.1.0/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  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-06-24 08:09:10 +01:00
dependabot[bot]
4b29aa8428
chore(deps): bump @radix-ui/react-slot from 1.0.2 to 1.1.0 in /ui (#2186)
Bumps [@radix-ui/react-slot](https://github.com/radix-ui/primitives) from 1.0.2 to 1.1.0.
- [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-slot"
  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-06-24 08:05:31 +01:00
dependabot[bot]
5238d71e66
chore(deps): bump url from 2.5.1 to 2.5.2 (#2182)
Bumps [url](https://github.com/servo/rust-url) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.5.1...v2.5.2)

---
updated-dependencies:
- dependency-name: url
  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-06-24 08:04:47 +01:00