| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | Make much of DirMgrConfig reconfigurable. | Nick Mathewson | 2021-12-07 | 4 | -38/+94 | |
| | | | | | | | | | | | | | | | | | | | | | We can't change the authorities while in-flight: that would be pretty miserable to implement. Similarly we can't change the cache while in-flight. Everything else should be fair game, though there are a couple of tricky bits. I've tried to document those. | |||||
| | * | Sketch API for reconfiguration. | Nick Mathewson | 2021-12-07 | 2 | -0/+32 | |
| | | | | | | | | | | | | | | | This patch doesn't actually make anything reconfigurable, but it does create an API that will tell you "you can't change the value of that!" If the API looks reasonable, I can start making it possible to change the values of individual items. | |||||
| * | | fix nightly clippy errors | Trinity Pointard | 2021-12-09 | 1 | -2/+1 | |
| | | | ||||||
| * | | update rusqlite and revert minimal version change | Trinity Pointard | 2021-12-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Upgrade to digest v0.10.0 | Nick Mathewson | 2021-12-07 | 1 | -1/+1 | |
| |/ | | | | | We generally try to track the latest rust-crypto traits when we can: fortunately, this upgrade didn't break much, considering. | |||||
| * | Resolve roughly half of the XXXXs. | Nick Mathewson | 2021-12-06 | 2 | -6/+6 | |
| | | | | | | | | | We want to only use TODO in the codebase for non-blockers, and open tickets for anything that is a bigger blocker than a TODO. These XXXXs seem like definite non-blockers to me. Part of arti#231. | |||||
| * | Merge branch 'tor-dirmgr' into 'main' | eta | 2021-12-01 | 1 | -3/+9 | |
| |\ | | | | | | | | | Don't warn in bootstrap_from_config when error is Error::ManagerDropped See merge request tpo/core/arti!157 | |||||
| | * | dont warn on bootstrap error when error == manager dropped | dagon | 2021-11-30 | 1 | -3/+9 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'origin/mr/159' | Nick Mathewson | 2021-11-30 | 1 | -13/+51 | |
| |\ \ | ||||||
| | * | | remember utf8 check | dagon | 2021-11-30 | 1 | -13/+51 | |
| | |/ | ||||||
| * | | Merge branch 'readme_fixes' | Nick Mathewson | 2021-11-30 | 1 | -0/+3 | |
| |\ \ | |/ |/| | ||||||
| | * | run ./maint/readmes.sh | dagon | 2021-11-29 | 1 | -0/+3 | |
| | | | ||||||
| * | | Bump every crate by one patch version. | Nick Mathewson | 2021-11-29 | 1 | -12/+12 | |
| | | | ||||||
| * | | Merge branch 'config-updates-and-tests' | Nick Mathewson | 2021-11-29 | 2 | -1/+2 | |
| |\ \ | ||||||
| | * | | Add basic tests for high-level builders | Nick Mathewson | 2021-11-25 | 2 | -1/+2 | |
| | |/ | | | | | | | | | Make sure that we can change elements, and we can reconstruct builders that give us the same thing. | |||||
| * | | add semicolons if nothing returned | Daniel Eades | 2021-11-25 | 4 | -9/+10 | |
| | | | ||||||
| * | | deglob some enums, use concise iteration syntax | Daniel Eades | 2021-11-25 | 2 | -2/+2 | |
| |/ | ||||||
| * | More typo fixes that I forgot to save :( | Nick Mathewson | 2021-11-24 | 2 | -2/+2 | |
| | | ||||||
| * | Make every Config type implement Eq. | Nick Mathewson | 2021-11-21 | 2 | -4/+4 | |
| | | | | | | Doing this is necessary for reconfiguration support, and will help a lot with testing, too. | |||||
| * | Give every ConfigBuilder a From<Config> implementation. | Nick Mathewson | 2021-11-21 | 1 | -6/+25 | |
| | | | | | This will make it more convenient to reconfigure things. | |||||
| * | Use named fields for the elements of ConfigBuildError | Nick Mathewson | 2021-11-18 | 1 | -4/+4 | |
| | | ||||||
| * | Rename RetryConfig to DownloadSchedule, fold in parallelism. | Nick Mathewson | 2021-11-18 | 5 | -79/+83 | |
| | | ||||||
| * | Move top-level configuration downwards from `arti` to `arti-config`. | Nick Mathewson | 2021-11-18 | 2 | -5/+10 | |
| | | | | | | | | | To do this at all neatly, I had to split out `tor-config` from `arti-config` again, and putting the lower level stuff (paths, builder errors) into tor-config. I also changed our use of derive_builder to always use a common error type, to avoid error type proliferation. | |||||
| * | tor-dirclient: Put routerdesc download behind a feature. | Nick Mathewson | 2021-11-12 | 1 | -1/+1 | |
| | | | | | Part of #125 | |||||
| * | tor-dirmgr: put routerdesc storage behind a feature. | Nick Mathewson | 2021-11-12 | 4 | -23/+64 | |
| | | | | | | | | (We keep routerdescs in the schema, since we don't want _that_ to fragment.) Part of #125. | |||||
| * | Fix typos | Dimitris Apostolou | 2021-11-12 | 2 | -3/+3 | |
| | | ||||||
| * | Remove usage of tracing-test 0.1 | Nick Mathewson | 2021-11-11 | 2 | -3/+0 | |
| | | | | | | | | | It requires tracing-subscriber 0.2, which is a lower version than we want, and which causes trouble with our minimal-versions CI test. There is a pending issue to fix this; we can reinstate tracing-test once it is merged: https://github.com/dbrgn/tracing-test/pull/11 | |||||
| * | Tests for tor-dirmgr::bootstrap | Nick Mathewson | 2021-11-11 | 3 | -1/+218 | |
| | | ||||||
| * | Minor tests for DirMgr::query_into_requests | Nick Mathewson | 2021-11-11 | 1 | -0/+39 | |
| | | ||||||
| * | tor-dirmgr: tests for making and expanding consensus requests. | Nick Mathewson | 2021-11-10 | 1 | -0/+125 | |
| | | ||||||
| * | tor-dirmgr: Tests for high-level loading functions. | Nick Mathewson | 2021-11-10 | 1 | -3/+152 | |
| | | ||||||
| * | More tests on tor-dirmgr::state | Nick Mathewson | 2021-11-08 | 3 | -27/+113 | |
| | | | | | | These test our download schedules, resetting to the original state, and storing downloaded objects. | |||||
| * | Remove one more test println!(). | Nick Mathewson | 2021-11-04 | 1 | -1/+0 | |
| | | ||||||
| * | tor-dirmgr: tests for docid module. | Nick Mathewson | 2021-11-04 | 1 | -1/+156 | |
| | | ||||||
| * | Remove some dbg!() calls in real code. | Nick Mathewson | 2021-11-02 | 1 | -1/+0 | |
| | | ||||||
| * | Bump all crate versions to 0.0.1 | Nick Mathewson | 2021-10-29 | 1 | -11/+11 | |
| | | ||||||
| * | Try writing a bit more documentation for configuration types. | Nick Mathewson | 2021-10-28 | 1 | -2/+13 | |
| | | ||||||
| * | Oops: add missing data files | Nick Mathewson | 2021-10-28 | 2 | -0/+109 | |
| | | ||||||
| * | tor-dirmgr: tests for GetMicrodescsState | Nick Mathewson | 2021-10-28 | 1 | -0/+100 | |
| | | ||||||
| * | tor-dirmgr: tests for download schedules. | Nick Mathewson | 2021-10-28 | 1 | -0/+23 | |
| | | ||||||
| * | tor-dirmgr: Test for GetCertsState | Nick Mathewson | 2021-10-28 | 4 | -5/+253 | |
| | | ||||||
| * | tor-dirmgr: Tests for GetConsensusState. | Nick Mathewson | 2021-10-28 | 2 | -0/+242 | |
| | | | | | | | This test uses a consensus that I've copied from tor-netdoc/testdata. I would include it directly, but I think that will cause trouble when it comes time to run "cargo package". | |||||
| * | tor-dirmgr::state: Mock the view of current time. | Nick Mathewson | 2021-10-28 | 1 | -3/+25 | |
| | | | | | | This will let us test the state processing code without having to give it up-to-date directory objects. | |||||
| * | Upgrade to fslock version 0.2 | Nick Mathewson | 2021-10-27 | 2 | -2/+2 | |
| | | | | | | This version makes all locks per-handle rather than per-process, by moving from lockf() to flock() on unix. | |||||
| * | Migrate tor-dirmgr from chrono to time 0.3 | Nick Mathewson | 2021-10-24 | 3 | -36/+40 | |
| | | | | | | (This appears to be the emerging consensus of how to handle RUSTSEC-2020-0159.) | |||||
| * | Replace references to arti-client in the documentation. | Nick Mathewson | 2021-10-21 | 1 | -2/+2 | |
| | | ||||||
| * | Remove #![allow(unreachable_pub)] in shared_ref.rs | Nick Mathewson | 2021-10-21 | 1 | -7/+5 | |
| | | ||||||
| * | Merge branch 'share_state' | Nick Mathewson | 2021-10-21 | 3 | -53/+84 | |
| |\ | ||||||
| | * | Mark consensus as "not-pending" even if its microdescs come from cache. | Nick Mathewson | 2021-10-20 | 3 | -8/+48 | |
| | | | | | | | | | | | | | | | Previously our code would clear the 'pending' flag on a consensus only when a _downloaded_ md made it become usable. Closes #199. | |||||
| | * | Move tor-dirmgr to use a sync::Mutex. | Nick Mathewson | 2021-10-20 | 3 | -45/+36 | |
| | | | | | | | | | | | The futures::lock::Mutex was unnecessary, since we never held it when we were suspending. | |||||
