aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-server/src (follow)
Commit message (Collapse)AuthorAge
* Add support for generic database in AppState (#711)Erwin Kroon2023-02-15
|
* axum6 with typesafe state (#674)Conrad Ludgate2023-02-10
|
* 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
* 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
* Show current version on server index (#436)Ellie Huxtable2022-06-06
|
* 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.
* ignore JetBrains IDEs, tidy-up imports (#348)Jakub Panek2022-04-28
| | | | | | | * ignore JB IDEs * tidy-up imports * add rustfmt config
* SQLx cannot run this migration OK (#353)Ellie Huxtable2022-04-26
| | | And also correct a typo
* Remove all select * from the server queries (#347)Ellie Huxtable2022-04-26
| | | | | It's not ideal as we should be explicit about what is being queried! A part one for sorting this all out :)
* Bump uuid from 0.8.2 to 1.0.0 (#311)dependabot[bot]2022-04-22
| | | | | | | | | | | | | | | | | | | | | * Bump uuid from 0.8.2 to 1.0.0 Bumps [uuid](https://github.com/uuid-rs/uuid) from 0.8.2 to 1.0.0. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/0.8.2...1.0.0) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * patch Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
* refactor (#327)Conrad Ludgate2022-04-22
|
* tracing (#315)Conrad Ludgate2022-04-21
| | | | | | | * enable tracing on server * fmt * instrument handlers
* Fix SQL cache query (#318)Ellie Huxtable2022-04-21
| | | | | | | | I just deployed the older version and it was falling back on the full count. Turns out this is because it won't upcast from INT4 to INT8 automatically, and it has to be manual At some point the underlying total should be changed to int8, but also I highly doubt anyone will have enough shell history to fill an int4 lol
* Use the count cache (#312)Ellie Huxtable2022-04-21
| | | | | | | | | | | * Use the count cache By default read from the count cache - if there is no value there, then do a full COUNT. The cache will be filled when the user posts up some more history * clean up server db error handling Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
* Initial implementation of calendar API (#298)Ellie Huxtable2022-04-13
| | | | | | | | | | | This can be used in the future for sync so that we can be more intelligent with what we're doing, and only sync up what's needed I'd like to eventually replace this with something more like a merkle tree, hence the hash field I've exposed, but that can come later Although this does include a much larger number of count queries, it should also be significantly more cache-able. I'll follow up with that later, and also follow up with using this for sync :)
* provide better error messages (#300)Conrad Ludgate2022-04-13
|
* remove default db uri (#299)Conrad Ludgate2022-04-13
|
* goodbye warp, hello axum (#296)Conrad Ludgate2022-04-12
|
* fix env config parsing (#295)Conrad Ludgate2022-04-12
| | | | | * fix env config parsing * fmt
* Update config-rs (#280)Ellie Huxtable2022-03-17
| | | | | | | | | | | * Update config-rs Also fix our call to current_dir This should resolve #195 Thanks @conradludgate for the upstream fix! * Format
* Fix `history list --cwd` errors (#278)Lucas Burns2022-03-13
|
* chore: improve build times (#213)Conrad Ludgate2021-11-21
|
* some changes :shrug: (#83)Conrad Ludgate2021-05-09
| | | | | * make everything a cow * fmt + clippy
* remove dyn Reply (#48)Conrad Ludgate2021-05-07
| | | | | | | | | | | * cleanup reply types * cleanup error api * small update * improve api some more * fmt
* Update docs, unify on SQLx, bugfixes (#40)Ellie Huxtable2021-04-25
| | | | | | | | | * Begin moving to sqlx for local too * Stupid scanners should just have a nice cup of tea Random internet shit searching for /.env or whatever * Remove diesel and rusqlite fully
* Bugfixes, show time ago, perf improvementsEllie Huxtable2021-04-21
| | | | Also allow unique listing and more ergonomic cwd usage
* Use cargo workspaces (#37)Ellie Huxtable2021-04-20
* Switch to Cargo workspaces Breaking things into "client", "server" and "common" makes managing the codebase much easier! client - anything running on a user's machine for adding history server - handles storing/syncing history and running a HTTP server common - request/response API definitions, common utils, etc * Update dockerfile