Ellie Huxtable
2959891f58
Release v17.0.1 ( #1354 )
2023-10-28 19:19:10 +00:00
Tobias Genannt
2066778780
Fix for breaking change in ratatui 0.24.0 ( #1352 )
2023-10-28 13:30:02 +01:00
Ellie Huxtable
0b22d06ad3
Prepare release v17.0.0 ( #1327 )
2023-10-25 18:06:59 +00:00
dependabot[bot]
ad6cae4dac
Bump semver from 1.0.18 to 1.0.20 ( #1299 )
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.18 to 1.0.20.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.18...1.0.20 )
---
updated-dependencies:
- dependency-name: semver
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>
2023-10-17 15:39:47 -07:00
YummyOreo
da2221a87f
feat: copy to clipboard ( #1249 )
...
* feat: adds clipboard as a dep
* feat: add copy if you press ctl+y
* docs: add copy to clipboard to docs
2023-09-30 01:04:26 +00:00
dependabot[bot]
47ea974f54
Bump ratatui from 0.22.0 to 0.23.0 ( #1221 )
...
Bumps [ratatui](https://github.com/ratatui-org/ratatui ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/ratatui-org/ratatui/releases )
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ratatui-org/ratatui/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: ratatui
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>
2023-09-13 07:59:33 +00:00
dependabot[bot]
93bb5a9609
Bump shellexpand from 2.1.2 to 3.1.0 ( #1186 )
...
Bumps [shellexpand](https://gitlab.com/ijackson/rust-shellexpand ) from 2.1.2 to 3.1.0.
- [Commits](https://gitlab.com/ijackson/rust-shellexpand/compare/shellexpand/2.1.2...shellexpand-3.1.0 )
---
updated-dependencies:
- dependency-name: shellexpand
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>
2023-09-13 08:45:08 +01:00
dependabot[bot]
8c0103dfff
Bump tower-http from 0.3.5 to 0.4.4 ( #1210 )
...
Bumps [tower-http](https://github.com/tower-rs/tower-http ) from 0.3.5 to 0.4.4.
- [Release notes](https://github.com/tower-rs/tower-http/releases )
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.3.5...tower-http-0.4.4 )
---
updated-dependencies:
- dependency-name: tower-http
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>
2023-09-13 08:44:59 +01:00
dependabot[bot]
9dba3d014b
Bump crossterm from 0.26.1 to 0.27.0 ( #1222 )
...
Bumps [crossterm](https://github.com/crossterm-rs/crossterm ) from 0.26.1 to 0.27.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases )
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossterm-rs/crossterm/compare/0.26.1...0.27.0 )
---
updated-dependencies:
- dependency-name: crossterm
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>
2023-09-13 08:44:34 +01:00
dependabot[bot]
b87159d990
Bump itertools from 0.10.5 to 0.11.0 ( #1223 )
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.10.5 to 0.11.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.5...v0.11.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>
2023-09-13 08:44:19 +01:00
Ellie Huxtable
1f3348d789
Run cargo update
( #1218 )
2023-09-11 09:58:55 +01:00
Conrad Ludgate
f90c01f702
replace chrono with time ( #806 )
...
* replace chrono with time
* Fix test chrono usage
---------
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2023-09-11 09:26:05 +01:00
Conrad Ludgate
aa8e5f5c04
Update dependencies ( #1181 )
2023-08-18 20:45:29 +00:00
Ellie Huxtable
cd6c44cfe7
Update to ratatui 0.22 ( #1168 )
2023-08-14 09:59:08 +01:00
Ellie Huxtable
0d5332a87f
Prepare release v16.0.0 ( #1143 )
...
* Prepare release v16.0.0
* Remove debug output
* Fix kv dupes if the store already exists
* Add limit in frontend as well as sync backend
2023-08-07 11:18:39 +01:00
dependabot[bot]
1013246eda
Bump futures-util from 0.3.24 to 0.3.28 ( #1129 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.24 to 0.3.28.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.24...0.3.28 )
---
updated-dependencies:
- dependency-name: futures-util
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>
2023-08-01 22:11:27 +01:00
Conrad Ludgate
c10ba684e0
some simple server tests ( #1096 )
...
* some simple server tests
* fmt
* logging in server test
* log server errors
* fix postgres uri
* postgres ports
* localhost again?
* Rebase fixes
---------
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2023-07-27 09:34:13 +01:00
dependabot[bot]
9c7501bbd3
Bump config from 0.13.2 to 0.13.3 ( #646 )
...
Bumps [config](https://github.com/mehcode/config-rs ) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/mehcode/config-rs/releases )
- [Changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mehcode/config-rs/compare/0.13.2...0.13.3 )
---
updated-dependencies:
- dependency-name: config
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>
2023-07-27 08:55:03 +01:00
dependabot[bot]
67b7452d4d
Bump h2 from 0.3.14 to 0.3.17 ( #873 )
...
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.14 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.14...v0.3.17 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 08:54:40 +01:00
dependabot[bot]
f22c1375a6
Bump indicatif from 0.17.3 to 0.17.5 ( #1050 )
...
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.3 to 0.17.5.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.3...0.17.5 )
---
updated-dependencies:
- dependency-name: indicatif
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>
2023-07-27 08:54:06 +01:00
dependabot[bot]
d151f8fd6d
Bump serde_json from 1.0.86 to 1.0.99 ( #1075 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.86 to 1.0.99.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.86...v1.0.99 )
---
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>
2023-07-27 08:53:55 +01:00
dependabot[bot]
c0e85756dd
Bump colored from 2.0.0 to 2.0.4 ( #1110 )
...
Bumps [colored](https://github.com/mackwic/colored ) from 2.0.0 to 2.0.4.
- [Release notes](https://github.com/mackwic/colored/releases )
- [Changelog](https://github.com/colored-rs/colored/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mackwic/colored/compare/v2.0.0...v2.0.4 )
---
updated-dependencies:
- dependency-name: colored
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>
2023-07-27 08:52:45 +01:00
Ellie Huxtable
f3e707542c
Unvendor ratatui ( #1101 )
2023-07-17 23:16:37 +01:00
Ellie Huxtable
97e24d0d41
Add new sync ( #1093 )
...
* Add record migration
* Add database functions for inserting history
No real tests yet :( I would like to avoid running postgres lol
* Add index handler, use UUIDs not strings
* Fix a bunch of tests, remove Option<Uuid>
* Add tests, all passing
* Working upload sync
* Record downloading works
* Sync download works
* Don't waste requests
* Use a page size for uploads, make it variable later
* Aaaaaand they're encrypted now too
* Add cek
* Allow reading tail across hosts
* Revert "Allow reading tail across hosts"
Not like that
This reverts commit 7b0c72e7e0
.
* Handle multiple shards properly
* format
* Format and make clippy happy
* use some fancy types (#1098 )
* use some fancy types
* fmt
* Goodbye horrible tuple
* Update atuin-server-postgres/migrations/20230623070418_records.sql
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
* fmt
* Sort tests too because time sucks
* fix features
---------
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-07-14 20:44:08 +01:00
dependabot[bot]
abccab0790
Bump regex from 1.7.2 to 1.9.1 ( #1094 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.2 to 1.9.1.
- [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.7.2...1.9.1 )
---
updated-dependencies:
- dependency-name: regex
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>
2023-07-14 19:41:20 +01:00
Conrad Ludgate
6c53242b64
record encryption ( #1058 )
...
* record encryption
* move paserk impl
* implicit assertions
* move wrapped cek
* add another test
* use host
* undo stray change
* more tests and docs
* fmt
* Update atuin-client/src/record/encryption.rs
Co-authored-by: Matteo Martellini <matteo@mercxry.me>
* Update atuin-client/src/record/encryption.rs
Co-authored-by: Matteo Martellini <matteo@mercxry.me>
* typo
---------
Co-authored-by: Matteo Martellini <matteo@mercxry.me>
2023-06-26 07:52:37 +01:00
Ellie Huxtable
9558fec211
Add RecordIndex data structure ( #1059 )
...
* Add RecordIndex data structure
This allows us to compare two sets of record stores, and return a list
of diffs.
With these diffs, we should be able to sync the two stores
* Remove server handler, will follow up with this
* Make clippy happy
* Add tests and docs for diffs in both directions
* Update atuin-common/src/record.rs
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
---------
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-06-19 09:02:15 +01:00
Conrad Ludgate
b8b57c86af
remove rmp-serde ( #1057 )
...
* remove rmp-serde
* use version info
2023-06-18 12:33:55 +01:00
Vlad Stepanov
4077c33adf
Builder interface for History objects ( #933 )
...
* [feature] store env variables in History records
WIP: remove `HistoryWithoutDelete`, add some docstrings, tests
* Create History objects through builders.
Assure in compile-time that all required fields
are set for the given construction scenario
* (from #882 ) split Cmd::run into subfns
* Update `History` doc
* remove rmp-serde from history
* update warning
---------
Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
2023-06-15 10:29:40 +00:00
Ellie Huxtable
ae1709dafd
Key values ( #1038 )
...
* wip
* Start testing
* Store host IDs, not hostnames
Why? Hostnames can change a lot, and therefore host filtering can be
funky. Really, all we want is a unique ID per machine + do not care what
it might be.
* Mostly just write a fuckload of tests
* Add a v0 kv store I can push to
* Appending works
* Add next() and iterate, test the pointer chain
* Fix sig
* Make clippy happy and thaw the ICE
* Fix tests'
* Fix tests
* typed builder and cleaner db trait
---------
Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
2023-06-14 21:18:24 +01:00
J. Emiliano Deustua
79f7b1d81c
Fix --delete-it-all
and --delete
commands ( #913 )
...
* Add `delete_at` is null condition during search
Since entries are searched everytime a delete process ends, the
--delete-it-all command will enter an infinite loop if searching the
whole history.
* Remove command blanking
Command blanking may violate the `unique(timestamp, cwd, command)`
condition.
* Overwrite command with random string when deleting
* Add rand dependency to client crate
---------
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2023-06-13 07:43:06 +00:00
dependabot[bot]
b231b82bdd
Bump uuid from 1.2.1 to 1.3.4 ( #1046 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.2.1 to 1.3.4.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.2.1...1.3.4 )
---
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>
2023-06-13 08:39:31 +01:00
Conrad Ludgate
8655c93853
refactor server to allow pluggable db and tracing ( #1036 )
...
* refactor server to allow pluggable db and tracing
* clean up
* fix descriptions
* remove dependencies
2023-06-12 09:04:35 +01:00
Ellie Huxtable
9e3fa8b88a
Release v15.0.0 ( #995 )
...
* Release v15.0.0
* Draft post
* Update contributors
2023-05-28 19:39:45 +01:00
Ellie Huxtable
d2240e1163
Allow server configured page size ( #994 )
...
* Allow server configured page size
* Backwards compat via semver checks
* Correct header name
2023-05-21 15:21:51 +00:00
Conrad Ludgate
20845a5cf5
fix broken pipe on history list ( #927 )
...
* fix #626
* slightly refactor
2023-05-01 22:31:25 -04:00
Conrad Ludgate
c7d89c1703
chore: uuhhhhhh crypto lol ( #805 )
...
* chore: uuhhhhhh crypto lol
* remove dead code
* fix key decoding
* use inplace encryption
2023-04-17 21:12:02 +01:00
Ellie Huxtable
7c079070c5
Release v14.0.1 ( #883 )
2023-04-16 11:25:48 +00:00
Vladislav Stepanov
c05d285042
Workspace reorder ( #868 )
...
* Try different workspace structure
Move main crate (atuin) to be on the same level with other crates in
this workspace
* extract common dependencies to the workspace definition
* fix base64 v0.21 deprecation warning
* questionable: update deps & fix chrono deprecations
possible panic sites are unchanged, they're just more visible now
* Revert "questionable: update deps & fix chrono deprecations"
This reverts commit 993e60f8de
.
2023-04-14 20:18:58 +01:00
Ellie Huxtable
03dd3ddf8b
Switch to uuidv7 ( #864 )
...
* Add uuid_v7
* Actually use the new uuid
* Add a test to ensure all uuids are unique, even in a tight loop
* Make clippy happy
2023-04-11 16:26:16 +01:00
Ellie Huxtable
4e4fdb9f8e
Release Atuin v14 ( #836 )
...
* Bump versions
* Write release notes
* add link
2023-04-01 18:17:38 +01:00
Ellie Huxtable
a515b06bcb
Vendor ratatui temporarily ( #835 )
...
* Vendor ratatui temporarily
Once https://github.com/tui-rs-revival/ratatui/pull/114 has been merged,
we can undo this! But otherwise we can't publish to crates.io with a git
dependency.
* make tests pass
* Shush.
* these literally just fail in nix, nowhere else
idk how to work with nix properly, and they're also not our tests
2023-03-31 22:57:37 +01:00
Ellie Huxtable
0d16a113c5
Add atuin status
( #830 )
...
Useful for debugging, checking the state of things, and for if you
forget your username!
2023-03-30 06:45:49 +01:00
Conrad Ludgate
bb7f00dbef
chore: use fork of skim ( #803 )
...
* use fuzzy-matcher instead of skim
switch to a search-engine abstraction
* fmt
* fix deprecated warnings
2023-03-26 15:47:38 +01:00
Patrick Decat
13ce5f746c
feat: add an inline view mode ( #648 )
...
* add inline viewport
* Add inline_height setting. Zero disables inline mode (the default)
2023-03-25 17:27:20 +00:00
Conrad Ludgate
ba1d615f5e
chore: remove tui vendoring ( #804 )
2023-03-23 09:19:29 +00:00
Conrad Ludgate
edcd477153
skim-demo ( #695 )
...
* skim-demo
* skim some more
* Weight first word match higher (#712 )
* some improvements
* make skim opt-in
---------
Co-authored-by: Frank Hamand <frankhamand@gmail.com>
2023-03-19 20:49:57 +00:00
Ellie Huxtable
b978f9a4de
Add register notification webhook ( #764 )
...
I find it super motivating when people use my stuff, so this makes it
_even easier_ to know when someone new signs up!
2023-03-07 22:09:19 +00:00
Ellie Huxtable
e4fde80acc
Patch release v13.0.1 ( #741 )
...
* Patch release v13.0.1
* Update blog post
2023-02-28 21:44:39 +00:00
Ellie Huxtable
fe5f728aa6
Release v13 ( #727 )
...
* Write release blog post
* Bump versions
* Update contributors
2023-02-26 21:22:29 +00:00