Commit Graph

131 Commits

Author SHA1 Message Date
2ef5169357 feat(zsh): update widget names (#1631)
The current widget names for Zsh start with "_", which gives an
impression to users that those widgets are internal API and should not
be bound by the users.  However, we actually instruct users to set up
custom keybindings by specifying them to bindkey.

In other shells, a separate namespace for widgets are not prepared, so
we want to prefix "_" to shell function names to tell the users that
these are not the commands that are supposed to be called from the
command line.  However, the widget names are separated in their own
namespace in Zsh, so we do not have to isolate them by prefixing "_".
In fact, other frameworks such as `fzf` define widgets with names not
starting with "_".

In this patch, we update the widget names to have the form "atuin-*".
The old widget names that existed in the release version <= 17.2.1 are
left for compatibility.
2024-01-29 10:35:34 +00:00
ed33f63cce docs: remove old docusaurus (#1581) 2024-01-16 18:27:47 +00:00
a56085f059 feat(ui): vim mode (#1553)
* feat(config): add vim option to config

* feat(ui): simple vim mode

* fix(windows): windows sadly doesn't support the stuff

* feat(ui): blinking

* fix(merge)

* revert: reverts some debugging stuff

* feat(ui): changes the defaut to insert, don't know what should be the default

* feat(ui): implements some vim parity

* doc: adds this to the docs

* docs(keybindings): adds vim mode keybindsings to the list of keybindings

* refactor: rustfmt and remove the docs for pr in own repo

* refactor: use execute!

* Update atuin/src/command/client/search/interactive.rs

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2024-01-13 17:15:49 +00:00
21e934a23d docs: refer to image with multi-arch support (#1513) 2024-01-08 09:43:15 +00:00
915bff6d28 feat: include atuin login in secret patterns (#1518)
* include atuin login in secret patterns

* doc catchup
2024-01-08 09:37:42 +00:00
434e8238d8 feat(bash): provide auto-complete source for ble.sh (#1487)
* feat(bash): provide auto-complete source for ble.sh

* docs(integration): mention the auto-complete source for ble.sh
2024-01-02 12:35:24 +00:00
5bef19ba4c docs: update logo (#1481) 2024-01-01 20:11:27 +00:00
84bc6e0744 docs: add docs for zsh-autosuggestion integration (#1480)
I've added an integrations page to the docs. We can maintain a list of
such integrations
2024-01-01 20:06:38 +00:00
d52e576129 feat: Add TLS to atuin-server (#1457)
* Add TLS to atuin-server

atuin as a project already includes most of the dependencies necessary
for server-side TLS.  This allows `atuin server start` to use a TLS
certificate when self-hosting in order to avoid the complication of
wrapping it in a TLS-aware proxy server.

Configuration is handled similar to the metrics server with its own
struct and currently accepts only the private key and certificate file
paths.

Starting a TLS server and a TCP server are divergent because the tests
need to bind to an arbitrary port to avoid collisions across tests.  The
API to accomplish this for a TLS server is much more verbose.

* Fix clippy, fmt

* Add TLS section to self-hosting
2023-12-27 14:15:48 +00:00
7fe96ff2b7 docs: correct link 2023-12-14 09:02:15 +00:00
1d0f05b6fb docs: add fish install script (#1447) 2023-12-14 08:19:51 +00:00
a973697724 docs: add Void Linux install instruction (#1445)
* docs(readme): add Void Linux install instruction

* docs: add Void Linux install instruction to advanced-install.md
2023-12-14 08:19:42 +00:00
57b5b03c11 docs: align setup links in docs and readme (#1446) 2023-12-14 08:04:54 +00:00
b530d39c3f docs: new stats config (#1412) 2023-11-23 09:59:56 +00:00
fbaa245439 docs: Update Arch Linux package URL in advanced-install.md (#1407)
The old URL returns 404 now.
2023-11-23 08:10:33 +00:00
4375fa36e0 docs: Update sync.md (#1409)
Linux name correction
2023-11-22 08:42:52 +00:00
31653ed996 Bash enter_accept best effort fixes (#1384)
* fix(bash): Rewrite the enter_accept integration

* docs(bash): Update bash installation instructions with warnings
2023-11-10 23:58:05 +00:00
61d05d04e9 Update docs (#1367) 2023-11-01 19:25:04 +00:00
eec750f049 Add release blog post and update docs (#1332)
* Add release blog post and update docs

* I forgot I moved the blog lmao

* Fix images
2023-10-26 09:13:05 +01:00
1a20afe245 fix(nu): disable the up-arrow keybinding for Nushell (#1329) 2023-10-26 07:42:46 +01:00
7a914221a7 Document that the self-hosted port is TCP (#1317) 2023-10-21 15:01:00 +00:00
2f9df9350d Add fish support for enter_accept (#1315)
* Add fish support for `enter_accept`

Also fixes shell detection. Who trusted me to write jetlagged code last
night huh?

* Document
2023-10-20 07:57:29 +01:00
88f3e2a04f Add enter_accept to immediately execute an accepted command (#1311)
* make enter execute the command, tab copy it

* Add config for enter_accept

enter_accept will make Atuin immediately accept an execute a command
when selected. It defaults to false in our binary, but the default
config enables it.

This means that users who already use atuin will not default to the new
behaviour unless they opt in, but new users will have it by default.

Thanks to @davidhewitt for the patch and bulk of this implementation!
Currently we have it just for zsh, but I'll follow up with other shells
(unless anyone beats me to it :D)

* Add docs

* we need to tidy up the ui code anyway

* Check if using zsh

* Update docs/docs/config/config.md

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

---------

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-10-20 07:16:54 +01:00
37a90b83d0 Bump @babel/traverse from 7.21.2 to 7.23.2 in /docs (#1309)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 15:51:24 -07:00
2da525d7c0 Update key binding docs 2023-10-14 19:39:13 -07:00
14bef9c4a4 Update key-binding.md (#1291)
added some info about FISH and how to bind the CTRL-up keyset.
2023-10-09 13:37:14 +00:00
f25681d8b1 Fix/1207 deleted entries shown in interactive search (#1272) 2023-10-04 18:13:29 +00:00
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
504400673f add --reverse to history list (#1252)
* wip: add --reverse to history list

* fix: remove print_list being called twice when reverse=true

* chore: update documentation

* feat: Avoid unneeded reverse by iterate forward or backward instead

* feat: Make sure to only iterate once and avoid unneeded reverse call

* feat: It used to be reverse by default. So make it default true here to be backwards compatible

* fix clap

---------

Co-authored-by: Dieter Eickstädt <eickstaedt@deicon.de>
2023-09-29 14:23:09 +01:00
351b3e8a57 Add connect timeout and overall timeout (#1238)
* Add connect timeout and overall timeout

* Make it configurable

* Fix test

* Add docs
2023-09-18 08:39:19 +01:00
ebef5cdaf0 feat(keyup): Configure SearchMode for KeyUp invocation #1216 (#1224)
* feat(keyup): Configure SearchMode for KeyUp invocation #1216

* docs: adjusted search mode documentation

* feat: setting search mode on engine

* chore: cargo fmt

* chore: removed redundant field name
2023-09-17 19:30:13 +01:00
c091f2f95a config.md: invert mode detailed options (#1225) 2023-09-14 21:04:29 +00:00
6d3b14b123 Update docker.md 2023-09-01 15:21:06 +01:00
340b9d8a2b Update shell-completions.md 2023-08-30 22:25:02 +01:00
64c1054765 Update config.md 2023-08-28 23:22:49 +01:00
73bd8015c3 Automatically filter out secrets (#1182)
I'd like to extend the regex list here very soon, but start off by
automatically filtering out secrets. Do not store them in history!

I've included regex for:

1. AWS key id
2. Github pat (old and new)
3. Slack oauth tokens (bot, user)
4. Slack webhooks
5. Stripe live/test keys

Will need updating after #806
2023-08-19 12:28:39 +01:00
243557cb7b docs: update workspace config key to workspaces (#1174) 2023-08-17 20:38:13 +00:00
8080a172af Update(docs) Add workspace to config.toml and config.md (#1157) 2023-08-09 23:06:27 +01:00
2b1d39e270 fix(docs): Correct command overview paths (#1145) 2023-08-02 22:09:51 +00:00
a9a1d0d398 fix(docs): List all presently documented commands (#1140) 2023-08-01 20:38:17 +00:00
d7f8929656 Add support for max_preview_height setting (#1088) 2023-07-31 18:36:58 +01:00
1fb7caa2d6 Move all references to the old repo (#1132)
The repo now lives on an org! Move all references to the old path.
2023-07-30 23:08:00 +01:00
c0449955e3 use Ctrl-n instead of Alt-n on macOS (#1106)
* use Ctrl-n instead of Alt-n on macOS

* make ctrl-n instead of alt-n configurable
2023-07-27 08:10:40 +00:00
a184afeecd Tidy up docs (#1120) 2023-07-26 09:47:45 +01:00
9ca26e5764 Remove vercel config (#1119) 2023-07-26 08:44:14 +01:00
c96ba31894 Try adjusting docs root (#1118) 2023-07-26 08:41:41 +01:00
79edc4ce99 Serve docusaurus on /docs/ (#1117) 2023-07-26 08:25:53 +01:00
3d4302ded1 Bump semver from 5.7.1 to 5.7.2 in /docs (#1100)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  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-14 19:59:47 +01:00
491433afd5 Add OG image (#1097)
* Add OG image

* Fix

* byebye
2023-07-11 12:28:48 +01:00
58d53a662f atuin crypto blog post (#1079) 2023-07-11 08:28:11 +01:00