Commit Graph

1137 Commits

Author SHA1 Message Date
dependabot[bot]
657a7a6f51
chore(deps): bump uuid from 1.8.0 to 1.9.0 (#2181)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.8.0...1.9.0)

---
updated-dependencies:
- dependency-name: uuid
  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 07:38:48 +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
12738895ff
feat(gui): toast with prompt for cli install, rather than auto (#2173) 2024-06-20 15:54:45 +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
Ellie Huxtable
80d28ea2da
feat(gui): cache zustand store in localstorage (#2168)
* fix(gui): use the store to cache week start

* feat(gui): cache zustand store in localStorage

This means that before we've loaded any data, we can still display
something up-to-date. Avoid flashing!

I'll probably want to switch this to the tauri sqlite plugin later
2024-06-19 15:46:53 +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
dependabot[bot]
bb24f02264
chore(deps): bump curve25519-dalek in the cargo group (#2164) 2024-06-19 00:11:15 +01:00
Ellie Huxtable
b8be23ee99
feat(gui): add activity calendar to the homepage (#2160)
* feat(gui): add activity calendar to the homepage

* localise week start
2024-06-18 17:11:24 +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
4dd76d84ed
chore: update to cargo-dist 0.16, enable attestations (#2156) 2024-06-18 09:18:04 +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]
39b424f3b1
chore(deps): bump lucide-react from 0.394.0 to 0.395.0 in /ui (#2148)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.394.0 to 0.395.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.395.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-06-17 09:13:20 +01:00
dependabot[bot]
238452b2a2
chore(deps): bump @tauri-apps/plugin-sql in /ui (#2149)
Bumps @tauri-apps/plugin-sql from 2.0.0-beta.2 to 2.0.0-beta.5.

---
updated-dependencies:
- dependency-name: "@tauri-apps/plugin-sql"
  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:13:02 +01:00
dependabot[bot]
d7adc225c3
chore(deps-dev): bump vite from 5.2.13 to 5.3.1 in /ui (#2150)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.13 to 5.3.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  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-17 09:12:49 +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]
55840bddf5
chore(deps): bump lukemathwalker/cargo-chef (#2146)
Bumps lukemathwalker/cargo-chef from latest-rust-1.78.0-buster to latest-rust-1.79.0-buster.

---
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-06-17 07:54:30 +01:00
Ellie Huxtable
efcb5dbd97
chore: update to rust 1.79 (#2138) 2024-06-13 17:48:24 +01:00
Ellie Huxtable
91bda421c5
chore: cargo and pnpm update (#2127) 2024-06-13 14:37:01 +01:00
dependabot[bot]
69893f7cd4
chore(deps): bump @tauri-apps/api in /ui (#2130)
Bumps [@tauri-apps/api](https://github.com/tauri-apps/tauri) from 2.0.0-beta.7 to 2.0.0-beta.13.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/api-v2.0.0-beta.7...@tauri-apps/api-v2.0.0-beta.13)

---
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-06-13 14:36:34 +01:00
dependabot[bot]
9b19d83fcb
chore(deps): bump debian (#2129)
Bumps debian from bullseye-20240513-slim to bullseye-20240612-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-06-13 14:35:24 +01:00
dependabot[bot]
95c4b177eb
chore(deps): bump @headlessui/react from 1.7.19 to 2.0.4 in /ui (#2131)
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 1.7.19 to 2.0.4.
- [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.0.4/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  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-06-13 14:34: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
dependabot[bot]
f1dd709fd1
chore(deps): bump lucide-react from 0.367.0 to 0.394.0 in /ui (#2133)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.367.0 to 0.394.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.394.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-06-13 14:33:38 +01:00
dependabot[bot]
b82e75e842
chore(deps): bump clap from 4.5.4 to 4.5.7 (#2134)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.7.
- [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.4...v4.5.7)

---
updated-dependencies:
- dependency-name: clap
  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:23 +01:00
dependabot[bot]
f9fbb212e1
chore(deps-dev): bump @tauri-apps/cli in /ui (#2135)
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 2.0.0-beta.2 to 2.0.0-beta.20.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v2.0.0-beta.2...@tauri-apps/cli-v2.0.0-beta.20)

---
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-06-13 14:31:24 +01:00
dependabot[bot]
75896420c4
chore(deps): bump @tauri-apps/plugin-http in /ui (#2136)
Bumps @tauri-apps/plugin-http from 2.0.0-beta.3 to 2.0.0-beta.5.

---
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-06-13 14:31:13 +01:00
Ellie Huxtable
52aee8d96d
chore: setup dependabot for the ui (#2128)
* chore: setup dependabot for the ui

* cargo update the backend too
2024-06-13 13:30:40 +01:00
Ellie Huxtable
41b93fbb8b
chore: add audit config, ignore RUSTSEC-2023-0071 (#2126) 2024-06-13 12:37:43 +01:00
Ellie Huxtable
5f2df6584d chore: update to rust 1.78 2024-06-13 11:18:32 +00:00
Jamie Quigley
4ee7db5c54
chore(nix): De-couple atuin nix build from nixpkgs rustc version (#2123) 2024-06-13 12:10:44 +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
3f7d550e98
chore(deps): update frontend deps (#2118) 2024-06-11 15:30:21 +01:00
Ellie Huxtable
7c9f376cf7
fix(gui): update deps (#2116) 2024-06-11 15:26:33 +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
279f57b6d7
chore: add installer e2e tests (#2110)
* chore: add installer e2e tests

* only run if edited or main
2024-06-10 17:01:00 +01:00
Ellie Huxtable
b88c42f3f9
feat: use cargo-dist installer from our install script (#2108)
* feat: use cargo-dist installer from our install script

* shellcheck
2024-06-10 16:36:10 +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
c0d2c96177
chore: show scope in changelog (#2102) 2024-06-10 08:11:46 +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
d7f77ebfe1
feat(ui): setup single-instance (#2093) 2024-06-06 10:36:39 +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
Ellie Huxtable
7ec002ba44
chore: switch to cargo dist for releases (#2085)
* chore: switch to cargo dist for releases

From https://axo.dev

cargo-dist handles building releases far better than we can, and do so
for several large projects now.

We will need to change our install script to use the cargo-dist
installer.

Historically, we have used the system package manager wherever possible.
Once switched to the new installer, this will no longer be the case. If
the user wishes to use their package manager, and Atuin is maintained
there, then they can choose to do so.

This way, we can ensure that users are running a known build, can easily
uninstall (just delete the atuin dir), easily update, etc. Builds will
use our lockfile, and can have their checksum verified. Later, I'd like
to introduce build signing.

As Axo are focused on release engineering, they will likely have
resolved many more issues than we have - libc versions, etc.

I'm not particularly happy with our response of "just use your package
manager", as many users seem to have difficulty there. It's unclear what
our installer has done, as this behaviour varies massively across
systems. It's also unclear how some package maintainers may have patched
things

I'm hoping that some better release tooling will lead to more confidence
in the process, and therefore more frequent releases.

Uninstall clarity: #111, #372, #640, #1485, #1546, #2049, #1529

* config

* add protobuf

* test build

* use native arm mac

* lol

* add toolchain

* use 1.78, 2vcpu

* nix flake update

* 1.77
2024-06-05 13:25:01 +01:00