Commit Graph

93 Commits

Author SHA1 Message Date
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
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
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]
6592b87aad
chore(deps): bump tracing-tree from 0.3.1 to 0.4.0 (#2259)
Bumps [tracing-tree](https://github.com/davidbarsky/tracing-tree) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/davidbarsky/tracing-tree/releases)
- [Commits](https://github.com/davidbarsky/tracing-tree/commits/v0.4.0)

---
updated-dependencies:
- dependency-name: tracing-tree
  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:20:40 +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
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
Cristian Le
33925e3302
chore(deps): Replace cli-clipboard with arboard (#2067) 2024-07-10 16:20:30 +00: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
eth3lbert
e45979c9af
fix(tui): Press ctrl-a twice should jump to beginning of line (#2246) 2024-07-10 08:49:58 +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]
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
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
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
David
b06b7b509a
feat(history): filter out various environment variables containing potential secrets (#2174) 2024-06-20 16:50:29 +01:00
Ellie Huxtable
9b82bba53f
feat(daemon): follow XDG_RUNTIME_DIR if set (#2171)
If XDG_RUNTIME_DIR is set, put the socket file there.

If not, default to storing it in our data dir. We cannot default to a
path such as /run/user/$UID/ because it does not exist on all systems.
Any system running systemd will set this var by default, and ensure that
the directory it points to is correctly setup.
2024-06-20 10:28:00 +01:00
YummyOreo
5f66fb6a03
fix(gui): add support for checking if the cli is installed on windows (#2162)
* fix(windows): add support for checking if the cli is installed on windows

* refactor: remove debugging info

* refactor: cargo fmt
2024-06-19 11:55:03 +01:00
Justin Su
33ef734116
Fix scroll_exits default in config.toml (#2166) 2024-06-19 11:38:39 +01:00
Ellie Huxtable
7984f9ef0c
feat(tui): configurable prefix character (#2157)
* feat(tui): configurable prefix character

* string not char because toml/json lol
2024-06-18 10:24:43 +01:00
Ellie Huxtable
88633b8994
feat(gui): automatically install and setup the cli/shell (#2139)
* feat(gui): automatically install and setup the cli/shell

* add shell config and toasts
2024-06-17 15:36:38 +01:00
dependabot[bot]
f06408f4f7
chore(deps): bump memchr from 2.7.2 to 2.7.4 (#2151)
Bumps [memchr](https://github.com/BurntSushi/memchr) from 2.7.2 to 2.7.4.
- [Commits](https://github.com/BurntSushi/memchr/compare/2.7.2...2.7.4)

---
updated-dependencies:
- dependency-name: memchr
  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-17 09:12:37 +01:00
Ellie Huxtable
0a6bfbba3e
fix: unitless sync_frequence = 0 not parsed by humantime (#2154)
Resolve #2147
2024-06-17 08:44:25 +01:00
dependabot[bot]
768bd2f66c
chore(deps): bump regex from 1.10.4 to 1.10.5 (#2132)
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.4 to 1.10.5.
- [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.10.4...1.10.5)

---
updated-dependencies:
- dependency-name: regex
  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-13 14:33:49 +01:00
Remo Senekowitsch
9fa223eaaf
chore(build): compile protobufs with protox (#2122)
* chore(build): compile protobufs with protox

protox is a pure-rust implementation of the protobuf compiler.
Therefore, it can be managed by cargo.

This removes the implicit dependency on protoc being available
in the environment for the build.

* fix(build): replace copypasta in build script

The paths passed to `compile` aren't actually used by the build.
`skip_protoc_run` prevents that.
That's why a clean build succeeds even with this mistake.

However, the paths are passed to a `cargo:rerun-if-changed` directive.
So this mistake would've caused a failed incremental build if the
protobuf definitions were changed.
2024-06-12 16:45:38 +01:00
Ellie Huxtable
511db8dcce
chore: remove unnecessary proto import (#2120) 2024-06-12 16:07:41 +01:00
Ellie Huxtable
55a2fe50f7
fix: cargo binstall config (#2112) 2024-06-10 20:33:10 +01:00
dependabot[bot]
758ba930eb
chore(deps): bump clap_complete from 4.5.2 to 4.5.3 (#2100)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.5.2 to 4.5.3.
- [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.2...clap_complete-v4.5.3)

---
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-06-10 18:02:34 +01:00
Ellie Huxtable
1ea10b0a08
fix(crate): add description to daemon crate (#2107)
`cargo publish --dry-run` should really catch this.
2024-06-10 15:25:21 +01:00
Ellie Huxtable
92c2b6b69d
fix(crate): add missing description (#2106) 2024-06-10 15:14:06 +01:00
dependabot[bot]
fc1fecbd2e
chore(deps): bump clap_complete_nushell from 4.5.1 to 4.5.2 (#2101)
Bumps [clap_complete_nushell](https://github.com/clap-rs/clap) from 4.5.1 to 4.5.2.
- [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_nushell-v4.5.1...clap_complete_nushell-v4.5.2)

---
updated-dependencies:
- dependency-name: clap_complete_nushell
  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-10 14:57:08 +01:00
Ellie Huxtable
9be49e434e
chore(release): prepare for release v18.3.0 (#2105)
* chore(release): prepare for release v18.3.0

* build full release

* Revert "build full release"

This reverts commit 65e7718b51.
2024-06-10 14:42:32 +01:00
Ellie Huxtable
85aa88abab
docs: add docs for store subcommand (#2097)
Closes #2095
2024-06-07 17:18:55 +01:00
Ellie Huxtable
eb4a5ab4cd
chore: update email, gitignore, tweak ui (#2094) 2024-06-06 15:03:43 +01:00
Ellie Huxtable
c102851e29
chore(release): v18.3.0-prerelease.1 (#2090)
* chore(release): v18.3.0-prerelease.1

* update contributors

* changelog, plan only on prs
2024-06-05 14:56:10 +01:00