| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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. | ||||
| * | | fallbackdir: Regenerate list for October 2021 | David Goulet | 2021-10-21 | 1 | -881/+870 |
| | | | | | | | | | | | | | Closes #200 Signed-off-by: David Goulet <[email protected]> | ||||
| * | | Fix most warnings from nightly. | Nick Mathewson | 2021-10-19 | 3 | -3/+9 |
| |/ | | | | (One represents code that I forgot to write.) | ||||
| * | Fix some typos in comments. | Nick Mathewson | 2021-10-19 | 1 | -1/+1 |
| | | | | | Also, tell the "typos" tool to ignore Cargo.lock. | ||||
| * | Reverse two swapped log messages | Nick Mathewson | 2021-10-19 | 1 | -2/+2 |
| | | |||||
| * | Improve logging when trying to get the lock on the directory cache. | Nick Mathewson | 2021-10-19 | 1 | -3/+20 |
| | | | | | | | Previously we'd say that we were "waiting for the other process to bootstrap" even if it was already bootstrapped: and we wouldn't actually declare success when it was done. | ||||
| * | Remove useless into() conversions caught by clippy. | Jani Monoses | 2021-10-18 | 5 | -28/+30 |
| | | |||||
| * | Remove anyhow dependency from tor-dirmgr. | Jani Monoses | 2021-10-18 | 4 | -13/+62 |
| | | |||||
| * | Use unwrap in tests. | Jani Monoses | 2021-10-18 | 1 | -9/+15 |
| | | | | | | | | | | For now, this avoids having to separately handle AuthorityBuilderError, DirMgrConfigBuilderError, DownloadScheduleConfigBuilderError, NetworkConfigBuilderError and FallbackDirBuilderError when anyhow is not used. Turn off a clippy warning. | ||||
| * | Turn off default-features in chrono where possible. | Nick Mathewson | 2021-10-17 | 1 | -1/+1 |
| | | |||||
| * | Add a few tracing directives to tor-dirmgr. | Nick Mathewson | 2021-10-13 | 3 | -3/+14 |
| | | |||||
