Commit Graph

722 Commits

Author SHA1 Message Date
Ed Ive
e695693d83
Make volume path absolute (#1009)
* Make volume path absolute

* Update docs/docs/self-hosting/docker.md
2023-05-27 16:27:42 +00:00
Per Modin
6118da2ee2
Fix typo in config.toml (#1006)
Typo in config key `filter_mode_shell_up_key_binding` that's fixed by
this commit, and while at it fix a minor typo in a comment.

Co-authored-by: Per Modin <per@wgtwo.com>
2023-05-24 22:00:01 +00:00
Hilmar Wiegand
d21b691bcf
Add option to completely disable help row (#993)
* Add option to completely disable help row

* Pass full settings object to draw command

* Add documentation for show_help
2023-05-22 11:10:11 +00:00
Ellie Huxtable
5b5e4eaa86
Input bar at the top if we are in inline mode (#866)
* Put input chunk at the top in inline mode

* Invert the search results if bar is at top

* fix styling on reversed rendering

* add setting

* settings

---------

Co-authored-by: Patrick Decat <pdecat@gmail.com>
Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
2023-05-21 17:42:44 +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
Ellie Huxtable
ca263834e9
Restructure account commands to account subcommand (#984)
* Stop running triggers on history delete

* Move to account management dir

* Alter trigger function to only run for inserts

* wip

* Add atuin account subcommands, and re-org delete

* Clarify docs

* Delete silly dupe migration

* Um where did this come from

* Oops, insert only plz
2023-05-17 21:28:37 +01:00
Conrad Ludgate
7d5a82df14
validate usernames on registration (#982)
improve login password incorrect error message

update docs for registration with passwords
2023-05-16 22:03:53 +01:00
Yannick Ulrich
7b9dea72e3
feat: add delete account option (attempt 2) (#980)
* Added DELETE register endpoint

* Added remove function to database

* Added unregister to client

* Updated docs

* Renamed functions

* Reformatting

* Used execute instead of fetch in delete_user
2023-05-16 22:00:59 +01:00
Ellie Huxtable
dc523416f6
Include bash preexec warning (#983) 2023-05-16 21:58:05 +01:00
Ellie Huxtable
b53ca357cd
Fix key regression introduced (#974) 2023-05-11 20:18:20 +00:00
Ellie Huxtable
bf7432f392
Patch bash history import regression (#970)
* At least patch this on the server side so we don't loop forever

* Postgres doesn't support <microsecond precision

Use millis - almost everything should support them and they are still
faster than a human can reasonably spam a button.
2023-05-10 13:02:35 +00:00
dependabot[bot]
4a9a626e17
Bump debian from bullseye-20230320-slim to bullseye-20230502-slim (#930)
Bumps debian from bullseye-20230320-slim to bullseye-20230502-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>
2023-05-09 18:17:41 -04:00
Aleks Bunin
1bdb470f69
Update README.md: Disable update check for offline mode (#960) 2023-05-09 11:18:04 +00:00
Niklas Hambüchen
89eecc99ea
website: Fix participle "be ran" -> "be run" (#939) 2023-05-08 13:18:42 +00:00
Steve Kemp
fab5412e84
Correct typos in website (#946)
This commit fixes the spelling of "variables" in a couple of places.
2023-05-07 08:15:22 +00:00
Richard de Boer
a38fc6e898
docs: fix "From source" cd command (#937)
Cloning does not automatically cd to the new directory,
and we need to cd to "atuin" *inside* the cloned repository.
2023-05-06 14:35:24 +00:00
VuiMuich
5a0e63370a
Add command flag for inline_height (#905)
* add a command flag for `inline_height`

* docs

* docs: better formating for short command flags
2023-05-02 09:00:52 +01:00
Kjetil Jørgensen
244a501cbb
cwd_filter: much like history_filter, only it applies to cwd (#904)
* cwd_filter: much like history_filter, only it applies to cwd

* appease clippy
2023-05-02 02:55:54 +00:00
VuiMuich
e222b59812
add nu section to keybind docs (#881) 2023-05-02 02:52:33 +00:00
Qiming Xu
b2fb5e6604
docs: Fix broken links in README.md (#920) 2023-05-02 02:43:30 +00:00
Conrad Ludgate
20845a5cf5
fix broken pipe on history list (#927)
* fix #626

* slightly refactor
2023-05-01 22:31:25 -04:00
Robin Millette
50e2770f37
Fix fig plugin link (#924) 2023-04-28 13:25:04 +00:00
Ellie Huxtable
c65e7528f4
Copy license for cargo-deb (#901) 2023-04-20 01:14:49 +01:00
Ellie Huxtable
beadc95926
Upload tar before building deb (#898) 2023-04-19 09:04:31 +01:00
Ellie Huxtable
d5cc25531d
Add symlink (#897) 2023-04-18 22:38:16 +01:00
Ellie Huxtable
0feee3d189
Allow specifying tag to build for workflow_dispatch (#896) 2023-04-18 21:51:39 +01:00
Ellie Huxtable
cc5b167f92
Add package param to cargo deb (#895) 2023-04-18 21:43:17 +01:00
Ben J
281aa092b2
Re-added package name to workspace.package (#894) 2023-04-18 20:38:16 +00:00
Maxim Uvarov
7cc893d67d
Add keyboard shortcuts to the Config/Keybinding chapter. (#875)
* Added Shortcuts section to keybinings

* Removed obvious shortcuts

* Update docs/docs/config/key-binding.md

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

* Update docs/docs/config/key-binding.md

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>

* replaced cursor keys with emojis

* got back to utf symbols

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
2023-04-17 21:24:25 +01: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
678323b543
Add workflow dispatch for release (#888) 2023-04-17 20:45:06 +01:00
Ellie Huxtable
83ed195d27
Fix release workflow (#885) 2023-04-16 12:52:06 +01:00
Ellie Huxtable
7c079070c5
Release v14.0.1 (#883) 2023-04-16 11:25:48 +00:00
Ellie Huxtable
d18e1b59ef
Make the homepage prettier (#880) 2023-04-15 22:38:23 +01:00
Ellie Huxtable
512a6bda9c
Add footer (#879) 2023-04-15 18:04:19 +01:00
Ellie Huxtable
d5515f5bcd
Avoid accidentally deleting all history, but allow it if intended (#878)
* Avoid accidentally deleting all history, but allow it if intended

* docs
2023-04-15 10:24:59 +01:00
postmath
64671a17c1
Improve error message for issue #850. (#876)
* Improve error message for issue #850.

* Applied cargo fmt, doh.
2023-04-14 19:48:45 +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
Brian Kung
301296fae5
Add additional detail to search documentation (#860) 2023-04-11 11:25:02 +01:00
Tom Cammann
e149a0a6e9
Add --reverse to atuin search (#862)
Add `-r/--reverse` flag to `atuin search` to allow searching by oldest
results first.

Example to find the oldest `cargo` command:
```
atuin search --limit 1 --reverse cargo
```
2023-04-11 09:39:23 +01:00
Gokul
e0c4ec5498
Atuin stats with day, month, week and year filter (#858)
* atuin stats with day, month and year

* fixed stats for week

* review suggestions

* rust formatted
2023-04-10 16:50:25 +01:00
Jan Larres
bca1e64dd3
Add some emacs movement keys (#857) 2023-04-09 15:40:40 +00:00
János Illés
04044c4146
Use XDG data directory for fish import (#851)
* Use XDG data directory for fish import

On MacOS, atuin was looking for fish history under "$HOME/Library/Application Support".

Now atuin honors XDG_DATA_HOME, if set, and otherwise uses "$HOME/.local/share".

* cargo fmt

---------

Co-authored-by: Charles Gould <charles@gould.dev>
2023-04-08 10:53:32 +01:00
Sandro
a72bf07453
Fix --delete description (#853) 2023-04-07 23:20:25 +01:00
WindSoilder
b85b603a99
update str substring usage to use range parameter (#840) 2023-04-05 08:42:14 +00:00
cyqsimon
188117dfae
Handle empty lines when importing from Bash (#845)
* Handle empty lines

* Fix insufficient accuracy in timestamp tests

* Use nanoseconds
2023-04-05 09:37:27 +01:00
cyqsimon
6671f72d1b
Updated client config docs (#839)
* Updated client config docs

- Example `config.toml` now includes all the newest options
- `settings.rs`, `config.toml`, and `config.md` now have uniform option order

* Remove trailing space
2023-04-05 09:32:26 +01:00
Ellie Huxtable
400544738b
Fix deleting history that doesn't exist yet (#844)
This can occur if history has been added + then deleted on a machine
before it has a chance to be synced to a new one.
2023-04-05 09:23:09 +01:00
Ellie Huxtable
f2a496848a Clarify in docs 2023-04-01 18:45:19 +01:00