aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-server (follow)
Commit message (Collapse)AuthorAge
* Bump tower-http from 0.3.5 to 0.4.4 (#1210)dependabot[bot]2023-09-13
| | | | | | | | | | | | | | | 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>
* replace chrono with time (#806)Conrad Ludgate2023-09-11
| | | | | | | | | * replace chrono with time * Fix test chrono usage --------- Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
* Run formatting (#1202)Ellie Huxtable2023-08-30
|
* Prepare release v16.0.0 (#1143)Ellie Huxtable2023-08-07
| | | | | | | | | * 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
* fix(server): Teapot is a cup of coffee (#1137)LeoniePhiline2023-07-31
|
* some simple server tests (#1096)Conrad Ludgate2023-07-27
| | | | | | | | | | | | | | | | | | | | | * 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>
* Add total history count to the index API (#1102)Ellie Huxtable2023-07-14
| | | | Thought it would be fun to collect some cool stats, maybe put them on atuin.sh.
* Add new sync (#1093)Ellie Huxtable2023-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 7b0c72e7e050c358172f9b53cbd21b9e44cf4931. * 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>
* fix: fixes unix specific impl of shutdown_signal (#1061)YummyOreo2023-06-19
|
* refactor server to allow pluggable db and tracing (#1036)Conrad Ludgate2023-06-12
| | | | | | | | | * refactor server to allow pluggable db and tracing * clean up * fix descriptions * remove dependencies
* Add graceful shutdown on SIGTERM (#1014)Marijan Smetko2023-05-30
| | | | | * Add graceful shutdown on SIGTERM * Fix linter
* Release v15.0.0 (#995)Ellie Huxtable2023-05-28
| | | | | | | * Release v15.0.0 * Draft post * Update contributors
* Allow server configured page size (#994)Ellie Huxtable2023-05-21
| | | | | | | * Allow server configured page size * Backwards compat via semver checks * Correct header name
* Restructure account commands to account subcommand (#984)Ellie Huxtable2023-05-17
| | | | | | | | | | | | | | | | | | | * 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
* validate usernames on registration (#982)Conrad Ludgate2023-05-16
| | | | | improve login password incorrect error message update docs for registration with passwords
* feat: add delete account option (attempt 2) (#980)Yannick Ulrich2023-05-16
| | | | | | | | | | | | | | | * 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
* Patch bash history import regression (#970)Ellie Huxtable2023-05-10
| | | | | | | | * 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.
* chore: uuhhhhhh crypto lol (#805)Conrad Ludgate2023-04-17
| | | | | | | | | * chore: uuhhhhhh crypto lol * remove dead code * fix key decoding * use inplace encryption
* Release v14.0.1 (#883)Ellie Huxtable2023-04-16
|
* Workspace reorder (#868)Vladislav Stepanov2023-04-14
| | | | | | | | | | | | | | | | | | * 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 993e60f8dea81a1625a04285a617959ad09a0866.
* Release Atuin v14 (#836)Ellie Huxtable2023-04-01
| | | | | | | * Bump versions * Write release notes * add link
* Add `atuin status` (#830)Ellie Huxtable2023-03-30
| | | | Useful for debugging, checking the state of things, and for if you forget your username!
* Account for user not yet having count cache (#812)Ellie Huxtable2023-03-26
| | | | | * Account for user not yet having count cache * Make clippy happy
* Add history deletion (#791)Ellie Huxtable2023-03-20
| | | | | | | | | | | | | * Drop events. I'd still like to do them, but differently * Start adding delete api stuff * Set mailmap * Delete delete delete * Fix tests * Make clippy happy
* Add register notification webhook (#764)Ellie Huxtable2023-03-07
| | | | I find it super motivating when people use my stuff, so this makes it _even easier_ to know when someone new signs up!
* Patch release v13.0.1 (#741)Ellie Huxtable2023-02-28
| | | | | * Patch release v13.0.1 * Update blog post
* fix registration (#740)Conrad Ludgate2023-02-28
|
* Release v13 (#727)Ellie Huxtable2023-02-26
| | | | | | | * Write release blog post * Bump versions * Update contributors
* Add support for generic database in AppState (#711)Erwin Kroon2023-02-15
|
* axum6 with typesafe state (#674)Conrad Ludgate2023-02-10
|
* Bump fs-err from 2.8.1 to 2.9.0 (#604)dependabot[bot]2023-02-10
| | | | | | | | | | | | | | | | Bumps [fs-err](https://github.com/andrewhickman/fs-err) from 2.8.1 to 2.9.0. - [Release notes](https://github.com/andrewhickman/fs-err/releases) - [Changelog](https://github.com/andrewhickman/fs-err/blob/main/CHANGELOG.md) - [Commits](https://github.com/andrewhickman/fs-err/compare/2.8.1...2.9.0) --- updated-dependencies: - dependency-name: fs-err 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>
* Bump base64 from 0.13.0 to 0.20.0 (#641)dependabot[bot]2022-12-18
| | | | | | | | | | | | | | | | | | Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.13.0 to 0.20.0. - [Release notes](https://github.com/marshallpierce/rust-base64/releases) - [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md) - [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.0...v0.20.0) --- updated-dependencies: - dependency-name: base64 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Release v12 (#599)Ellie Huxtable2022-11-06
| | | | | * Release v12 * Add new contributors
* Add local event log storage (#390)Ellie Huxtable2022-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add event data structures This adds the data structures required to start syncing events, rather than syncing history directly. Adjust event Fix Add event data structure to client * Add server event table sql * Add client event table migration Adjust migration * Insert into event table from client * Add event merge function Right now this just ensures we have the right amount of events given the history we have BUT it will also be used to merge CREATE/DELETE events, resulting in history being deleted :) * Make CI happy * Adjust * we don't limit history length any more * Update atuin-client/src/database.rs Co-authored-by: Conrad Ludgate <conradludgate@gmail.com> * fix usage * Fix typo * New Rust, new clippy stuff Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
* Bump async-trait from 0.1.57 to 0.1.58 (#575)dependabot[bot]2022-10-19
| | | | | | | | | | | | | | | | | Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.57 to 0.1.58. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.57...0.1.58) --- updated-dependencies: - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* rollup of 5 dependency commits (#562)Conrad Ludgate2022-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump sha2 from 0.10.5 to 0.10.6 Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.5 to 0.10.6. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.5...sha2-v0.10.6) --- updated-dependencies: - dependency-name: sha2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump uuid from 1.1.2 to 1.2.1 Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.1.2 to 1.2.1. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.1.2...1.2.1) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump serde_json from 1.0.85 to 1.0.86 Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.86. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.86) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump itertools from 0.10.4 to 0.10.5 Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.4 to 0.10.5. - [Release notes](https://github.com/rust-itertools/itertools/releases) - [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-itertools/itertools/commits) --- updated-dependencies: - dependency-name: itertools dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump serde from 1.0.144 to 1.0.145 Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.145. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump sqlx from 0.5.13 to 0.6.2 (#536)dependabot[bot]2022-10-14
| | | | | | | | | | | | | | | | | | Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.5.13 to 0.6.2. - [Release notes](https://github.com/launchbadge/sqlx/releases) - [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md) - [Commits](https://github.com/launchbadge/sqlx/compare/v0.5.13...v0.6.2) --- updated-dependencies: - dependency-name: sqlx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add automatic update checking (#555)Ellie Huxtable2022-10-14
| | | | | | | | | | | | | | | | | | | | | | | | * Add automatic update checking * Add setting to opt out of update checks * Document options * no * no * also no * Make clippy happy * Update atuin-client/src/settings.rs Co-authored-by: Conrad Ludgate <conradludgate@gmail.com> * fix features Co-authored-by: Conrad Ludgate <conradludgate@gmail.com> Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
* add some error messages (#510)Conrad Ludgate2022-10-07
| | | | | * add some error messages * fmt
* Release v11 (#529)Ellie Huxtable2022-09-13
|
* Add support for prepending a path to all routes for the server (#484)morguldir2022-07-26
| | | | | | | | | | | | | * Add support for prepending a path to all routes * Don't nest if there is no path provided Co-authored-by: Conrad Ludgate <oon@conradludgate.com> * Change the default for the path variable * run cargo-fmt Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
* Add configurable history length (#447)Ellie Huxtable2022-06-10
| | | | | | | | | | | | | * Add configurable history length This allows servers to decide the max length of each history item they want to store! Some users might have much larger history lines than others. This setting can be set to 0 to allow for unlimited history length. This is not recommended for a public server install, but for a private one it can work nicely. * Format lol
* Release v0.10.0 (#440)Ellie Huxtable2022-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06ac9587 Show current version on server index (#436) 706b1aff Disable ARM docker builds (#438) f2abc23a Update README.md 3c2b0550 Noyez fix dir hostname utf8 (#430) 3f5350de [feature] Add scroll wheel support to interactive history search (#435) dcdde225 Fix text outline for dark mode 9ac0c60c Implement cursor (#412) 119ab9e0 Adds password prompt for register and login (#424) e5df809d Noyez zsh histdb import (#393) b08e2543 Improve default fish keybindings (#420) 4096c6ee Update README.md cd2a3ab7 Add fish shell to key binding docs (#418) b2782110 Bump clap_complete from 3.1.3 to 3.1.4 (#397) ee66c0a1 Bump axum from 0.5.5 to 0.5.6 (#415) 4297e263 Bump tokio from 1.18.1 to 1.18.2 (#396) dbd9ca53 Bump clap from 3.1.16 to 3.1.18 (#401) a7c9d19d Bump tower-http from 0.3.2 to 0.3.3 (#399) 3b79f686 Bump axum from 0.5.4 to 0.5.5 (#402) f3407710 Cleanup dependencies – disable unnecessary or unused features (#407) ab294cde Don't pollute shell environment - remove 'id' variable (#408) 14b30606 Allow to build atuin server without client (#404) 5e4e8d11 Don't create config dir for server in default location if not needed (#406) b7946cc9 Update Chinese version README.md (#403) e0291f67 Update README.md 301190e4 Build ARM docker image in GitHub Actions using QEMU (#400) 1d030b9d Importer V3 (#395) d3a4ff95 Bump clap from 3.1.15 to 3.1.16 (#392) e9d2ec4b Add ctrl-k and ctrl-j for up and down (#394) 25afb5b2 Bump serde_json from 1.0.80 to 1.0.81 (#387) 4a839dab Adds stats summary (#384) 7a394b01 Bump serde from 1.0.136 to 1.0.137 (#375) edd3f812 Bump clap_complete from 3.1.2 to 3.1.3 (#377) d85d03d9 Bump log from 0.4.16 to 0.4.17 (#382) dc3b7ef5 Bump tokio from 1.18.0 to 1.18.1 (#383) 12440c1c Bump serde_json from 1.0.79 to 1.0.80 (#376) 731042f4 Bump tower-http from 0.3.1 to 0.3.2 (#378) 82505e61 Bump clap from 3.1.12 to 3.1.15 (#381) e05c19d0 Add Chinese documentation translation & Fix spelling mistakes (#373) 6e280e25 Add Russian documentation translation (#365) 40efdd11 Bump http from 0.2.6 to 0.2.7 (#368) 8bc5becc Bump tower-http from 0.3.0 to 0.3.1 (#367) 172ac8db Create FUNDING.yml 7cdd00b5 Bump tokio from 1.17.0 to 1.18.0 (#357) 9d2e9ea1 Search: Allow specifiying the limited of returned entries (#364) 93ab4e78 ignore JetBrains IDEs, tidy-up imports (#348) 2cb4cb39 Bump axum from 0.5.3 to 0.5.4 (#355) 796644e2 Add created_at column to users (#354) f8233bcb SQLx cannot run this migration OK (#353) d8ef5dd9 fix db range query (#351) 5926ea64 fix import auto for bash (#352) 43d299fd bump tui (#346) 8ac6571b Remove all select * from the server queries (#347) 4030de4b Add btree index on history table (#345) b692e0ce Bump tower-http from 0.2.5 to 0.3.0 (#343) 3680f4ac Bump clap from 3.1.11 to 3.1.12 (#342) 7f5310a1 history list (#340)
* Show current version on server index (#436)Ellie Huxtable2022-06-06
|
* Cleanup dependencies – disable unnecessary or unused features (#407)Jakub Jirutka2022-05-16
| | | | | | | | | | | | * Disable unnecessary features of config crate, keep only toml The atuin documentation only mentions the TOML format for configuration files, but the config crate supports many other formats by default, which increases the binary size by about 300 kiB. * Disable unused features of cli-table crate This doesn't seem to have noticeable effect on the binary size, but disabling them cleans up the dependency tree a bit.
* Don't create config dir for server in default location if not needed (#406)Jakub Jirutka2022-05-13
| | | | | | ...respect ATUIN_CONFIG_DIR. The current behaviour is problematic when running atuin server as a system service with config dir in /etc/atuin.
* Bump serde_json from 1.0.80 to 1.0.81 (#387)dependabot[bot]2022-05-05
| | | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.80 to 1.0.81. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.80...v1.0.81) --- 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>
* Bump serde from 1.0.136 to 1.0.137 (#375)dependabot[bot]2022-05-03
| | | | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.136 to 1.0.137. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137) --- updated-dependencies: - dependency-name: serde 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>
* Bump serde_json from 1.0.79 to 1.0.80 (#376)dependabot[bot]2022-05-03
| | | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.79 to 1.0.80. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.80) --- 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>
* ignore JetBrains IDEs, tidy-up imports (#348)Jakub Panek2022-04-28
| | | | | | | * ignore JB IDEs * tidy-up imports * add rustfmt config