| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-dirserver: Set versions to 0.34.0 | Clara Engler | 2025-09-04 | 1 | -2/+2 | |
| | | ||||||
| * | tor-dirserver: Add TODOs for unresolved discussions | Clara Engler | 2025-09-04 | 1 | -0/+5 | |
| | | ||||||
| * | tor-dirserver: Remove unused error members | Clara Engler | 2025-09-04 | 1 | -12/+0 | |
| | | ||||||
| * | tor-dirmirror: Schema x-ref for `unsigned_sha3_256` | Clara Engler | 2025-09-04 | 1 | -0/+2 | |
| | | ||||||
| * | tor-dirserver: Add missing sha1 length check | Clara Engler | 2025-09-04 | 1 | -0/+1 | |
| | | ||||||
| * | tor-dirserver: Better wording for "thread poisoned" | Clara Engler | 2025-09-04 | 1 | -2/+2 | |
| | | ||||||
| * | tor-dirserver: Ensure uppercase hex in schema | Clara Engler | 2025-09-04 | 1 | -0/+8 | |
| | | ||||||
| * | tor-dirserver: Use `internal!` macro for error | Clara Engler | 2025-09-04 | 1 | -7/+3 | |
| | | ||||||
| * | tor-dirserver Use `tor_error::Bug` | Clara Engler | 2025-09-04 | 3 | -6/+11 | |
| | | | | | This commit uses `tor_error::Bug` for indicating thread poisoning. | |||||
| * | tor-dirserver: Use `expect` instead of `unwrap` | Clara Engler | 2025-09-04 | 1 | -11/+6 | |
| | | ||||||
| * | tor-dirserver: TODO about endpoint error handling | Clara Engler | 2025-09-04 | 1 | -0/+3 | |
| | | ||||||
| * | tor-dirserver: Rename `cb` to `endpoint_fn` | Clara Engler | 2025-09-04 | 1 | -6/+6 | |
| | | | | | | This commit renames `cb` to `endpoint_fn` everywhere, including internal implementations. | |||||
| * | tor-dirmirror: Add several "TODO DIRMIRROR" lines | Clara Engler | 2025-09-04 | 4 | -1/+17 | |
| | | ||||||
| * | tor-dirserver: Enable `PRAGMA foreign_keys=ON` | Clara Engler | 2025-09-04 | 1 | -1/+5 | |
| | | | | | | This commit enables `PRAGMA foreign_keys=ON;` for every connection by adding an appropriate statement to `schema::prepare_db`. | |||||
| * | tor-dirserver: Use strum for `ContentEncoding` | Clara Engler | 2025-09-04 | 2 | -33/+43 | |
| | | ||||||
| * | tor-dirserver: Document hex case in schema | Clara Engler | 2025-09-04 | 1 | -1/+1 | |
| | | ||||||
| * | tor-dirserver: Remove `ON DELETE CASCADE` for now | Clara Engler | 2025-09-04 | 1 | -6/+6 | |
| | | ||||||
| * | tor-dirserver: `Unrecognized` to `Incompatible` | Clara Engler | 2025-09-04 | 2 | -2/+2 | |
| | | ||||||
| * | tor-dirserver: Fix clippy warnings in tests | Clara Engler | 2025-09-04 | 2 | -3/+31 | |
| | | ||||||
| * | tor-dirserver: Make more err fields `pub(crate)` | Clara Engler | 2025-09-04 | 1 | -2/+2 | |
| | | ||||||
| * | tor-dirserver: Use transactions in endpoints | Clara Engler | 2025-09-04 | 2 | -264/+258 | |
| | | | | | | | | | | | | | | | | | | | This commit refactors a large part of the HTTP module, namely it refactors the `Callback` type to a new type called `EndpointFn` which now works in a transaction based approach and no longer gives access to the `StoreCache`. The type itself is also no longer a trait but a concrete type using `fn`. Another very notable change that became necessary during this commit was to make large parts of the codebase synchronous instead of async, namely because it is non-trivial to `Send` a `Transaction` created inside an async context to a synchronous function. Besides, this change has been deemed necessary for other reasons to. The refactoring to more synchronous code has lead to some interesting changes in `StoreCache` too, namely that in no longer uses async mutex, but a synchronous mutex instead. | |||||
| * | tor-dirserver: Add clippy checks and fix them | Clara Engler | 2025-09-04 | 5 | -18/+76 | |
| | | ||||||
| * | tor-dirserver: Add http module | Clara Engler | 2025-09-04 | 4 | -3/+1188 | |
| | | | | | | | | This commit implements the initial draft for the HTTP module. It is fairly complicated but well documented within the source code, please refer to that instead. | |||||
| * | tor-dirserver: Add schema module | Clara Engler | 2025-09-04 | 4 | -0/+284 | |
| | | | | | | | This commit adds the `schema.rs` module, which implements the database schema alongside some functions for initializing the database and obtaining the database schema version. | |||||
| * | tor-dirserver: Initial commit | Clara Engler | 2025-09-04 | 5 | -0/+90 | |
| This commit lays the initial groundwork for the `tor-dirserver` crate, a crate that shall implement functionality for dirmirros and dirauths. For now, the current crate consists of three bare bone modules: * lib.rs * err.rs * mirror.rs All of which contain mostly boilerplate code for now | ||||||
