summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Sort dependencies in tor-basic-utilsIan Jackson2024-08-271-1/+1
| | | | |
| * | | | Add ByteQty to semver.mdIan Jackson2024-08-271-0/+1
| | | | |
| * | | | byte_qty: Support deserialising from strings and floatsIan Jackson2024-08-273-1/+80
| | | | | | | | | | | | | | | | | | | | This finally makes this type suitable for parsing in config files.
| * | | | byte_qty: Implement FromStr, and improve Display implIan Jackson2024-08-273-7/+191
| | | | | | | | | | | | | | | | | | | | Display can now choose appropriate units.
| * | | | byte_qty: provide TryFrom<u64> and <f64>Ian Jackson2024-08-271-0/+76
| | | | |
| * | | | byte_qty: Make serde dependency optional in tor-basic-utilsIan Jackson2024-08-273-6/+10
| | | | |
| * | | | byte_qty: Split up the derivesIan Jackson2024-08-271-1/+2
| | | | | | | | | | | | | | | | | | | | The serde ones are going to need to be conditional.
| * | | | byte_qty: Move to tor-basic-utilsIan Jackson2024-08-278-5/+12
| | | | | | | | | | | | | | | | | | | | Code motion of byte_qty.rs, and minimal necessary supporting changes.
| * | | | byte_qty: Rename Qty to ByteQty and make it pubIan Jackson2024-08-272-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to make this into a proper public type. It's going to move into a different crate, where there's no prelude, so give it a bespoke set of imports too.
| * | | | byte_qty: Move Qty into its own module, byte_qty.Ian Jackson2024-08-274-57/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code motion, part 1. Also explain in comments at the top of the new module why we are doing this at all rather than using an existing thing.
| * | | | tor-memquota: Move the macro-containing modules earlier in the lib.rsIan Jackson2024-08-271-2/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | This makes more sense than having them alphabetical. Noticed while I was working on moving other code.
* | | | Merge branch 'ci' into 'main'Ian Jackson2024-08-2710-13/+87
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Run tests of every crate, with all features disabled See merge request tpo/core/arti!2350
| * | | | Add script for *testing* without any features enabledIan Jackson2024-08-195-4/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't do this for every crate. I looked at what is now matrix-check to see if I wanted to use any of the code. But it seems too entangled with its particular purpose, and has a lot of embedded knowledge of our crates' features. I found it sufficiently far from what I wanted that I decided on a fresh script.
| * | | | Rename matrix-check from matrix_testIan Jackson2024-08-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | There's a TODO asking for `check` to be changed to `test`. And we're about to invent a thing that does, sort of, the `test`.
| * | | | arti: Fix an unused Result in tests if pts disabledIan Jackson2024-08-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes compilation with cargo test --no-default-features -p arti --features=tokio,rustls
| * | | | fs-mistrust: Make fake PathExt return impl DisplayIan Jackson2024-08-191-3/+4
| | | | | | | | | | | | | | | | | | | | Otherwise it doesn't compile when actually used.
| * | | | fs-mistrust: Make a comment into a docIan Jackson2024-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | Placates clippy.
| * | | | fs-mistrust: Decorate some items with missing walkdir cfgIan Jackson2024-08-193-1/+7
| | | | |
* | | | | Merge branch 'deb-always' into 'main'gabi-2502024-08-271-3/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix CI on main by always running the deb-source job See merge request tpo/core/arti!2367
| * | | | | Fix CI on main by always running the deb-source jobIan Jackson2024-08-271-3/+0
|/ / / / / | | | | | | | | | | | | | | | The rules: was removed from these jobs but this one was missed.
* | | | | Merge branch 'debian/tpo' into 'main'Ian Jackson2024-08-2710-1/+288
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | Build a deb package for Arti (download dependencies while building) See merge request tpo/core/arti!2323
| * | | | Add comment on big-endian targets to .gitlab-ci.ymlNoisyCoil2024-08-271-0/+4
| | | | |
| * | | | Cross-build an arm64 deb binary package in CINoisyCoil2024-08-271-0/+30
| | | | |
| * | | | Temporarily disable testing in native deb packageNoisyCoil2024-08-271-1/+2
| | | | |
| * | | | Build an amd64 native deb binary package in CINoisyCoil2024-08-272-2/+21
| | | | |
| * | | | Build a deb source package in CINoisyCoil2024-08-271-0/+18
| | | | |
| * | | | Exclude debian/* from the forbid-absolute-shebangs checksNoisyCoil2024-08-271-1/+1
| | | | |
| * | | | Initial debian commitNoisyCoil2024-08-278-0/+215
|/ / / /
* | | | Merge branch 'circuit-reactor-tests' into 'main'Jim Newsome2024-08-221-0/+128
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-proto circuit: add unit test for fairness See merge request tpo/core/arti!2365
| * | | | tor-proto circuit: add unit test for fairnessJim Newsome2024-08-221-0/+128
|/ / / /
* | | | Merge branch 'temp-disable-test' into 'main'gabi-2502024-08-221-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | arti: Temporarily disable a flaky test. See merge request tpo/core/arti!2364
| * | | | arti: Temporarily disable a flaky test.Gabriela Moldovan2024-08-221-0/+1
|/ / / / | | | | | | | | | | | | Disabling until #1549 is fixed to unblock CI.
* | | | Merge branch 'live-reload' into 'main'gabi-2502024-08-2213-320/+1195
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Add watcher for restricted_discovery config changes Closes #1505 See merge request tpo/core/arti!2353
| * | | | arti: Use a postage::watch channel in the tests.Gabriela Moldovan2024-08-223-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The watch channel should help prevent flakiness in the tests (`TestModule` uses `maybe_send` to only send the received config if it's different from the previously received value. This is supposed to prevent the tests from failing when duplicate update events are received).
| * | | | arti: Add test for config reloading.Gabriela Moldovan2024-08-213-0/+176
| | | | |
| * | | | arti: Wrap long lines not handled by rustfmt.Gabriela Moldovan2024-08-211-2/+14
| | | | |
| * | | | tor-hsservice: Add a TODO about rethinking publish rate-limiting.Gabriela Moldovan2024-08-211-0/+11
| | | | |
| * | | | tor-hsservive: Document how restricted discovery live reloading works.Gabriela Moldovan2024-08-211-0/+48
| | | | |
| * | | | tor-hsservice: Remove a TODO that is no longer relevant.Gabriela Moldovan2024-08-211-16/+1
| | | | | | | | | | | | | | | | | | | | This is now implemented.
| * | | | Cargo.toml: Sort crate list.Gabriela Moldovan2024-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | This is needed to satisfy `maint/check_toposort`.
| * | | | tor-config: Write tests for FileWatcher.Gabriela Moldovan2024-08-213-3/+147
| | | | |
| * | | | tor-config: Add a TODO about relocating file_watcher.Gabriela Moldovan2024-08-211-0/+3
| | | | |
| * | | | tor-hsservice: Add TODO about updating publisher status on error.Gabriela Moldovan2024-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is a general issue with the publisher that will need to be addressed soon.
| * | | | tor-hsservice: Update the authorized_clients and watcher when the config ↵Gabriela Moldovan2024-08-211-1/+5
| | | | | | | | | | | | | | | | | | | | changes.
| * | | | tor-hsservice: Store a FileWatcher in the publisher reactor.Gabriela Moldovan2024-08-211-2/+137
| | | | | | | | | | | | | | | | | | | | | | | | | This `FileWatcher` is watching the `restricted_discovery.key_dirs` directories for changes.
| * | | | tor-config: Add getters for FileWatcher.Gabriela Moldovan2024-08-213-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes it's useful to know what files/directories are being watched. For example, the descriptor publisher needs to know in order to figure out if it needs to update the watcher in response to changes in the config.
| * | | | tor-hsservice: Pass watch_configuration down to restricted discovery config.Gabriela Moldovan2024-08-212-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to know if `watch_configuration` is set in the descriptor publisher reactor to know whether we should be watching the `restricted_discovery.key_dirs` directories.
| * | | | tor-hsservice: Derive getters for OnionServiceConfig, RestrictedDiscoveryConfig.Gabriela Moldovan2024-08-212-7/+5
| | | | |
| * | | | tor-hsservice: Schedule descriptor republication whenever the key_dirs ↵Gabriela Moldovan2024-08-211-1/+57
| | | | | | | | | | | | | | | | | | | | contents change.
| * | | | tor-hsservice: Add helper for reading authorized_clients.Gabriela Moldovan2024-08-211-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | This will soon be used in the `key_dirs` change handler, which will re-read the authorized_clients list.