summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | circmgr: allow unstable_name_collisions lint for exactly_one()Gabriela Moldovan2025-12-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This silences a new nightly warning.
| * | | | | | netdoc: Add missing docs for encode_pow_params()Gabriela Moldovan2025-12-011-0/+1
| | | | | | |
| * | | | | | proto: Add docs for ExcessPaddingGabriela Moldovan2025-12-011-0/+1
| | | | | | |
| * | | | | | netdoc: allow unstable_name_collisions lint for exactly_one()Gabriela Moldovan2025-12-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This silences a new warning on nightly.
| * | | | | | proto: Allow unstable_name_collisions in several placesGabriela Moldovan2025-12-012-0/+10
| | | | | | |
| * | | | | | proto: Remove extra slashes in doc commentsGabriela Moldovan2025-12-011-2/+2
| | | | | | |
| * | | | | | cell: Add missing docs to internal macroGabriela Moldovan2025-12-011-0/+2
| | | | | | |
| * | | | | | linkspec: allow unstable_name_collisions lint for exactly_one()Gabriela Moldovan2025-12-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This silences a new warning on nightly.
| * | | | | | rpc-client-core: Add missing CookieBeginReply docsGabriela Moldovan2025-12-011-0/+1
| | | | | | |
| * | | | | | rpc-connect: Remove extra slash in doc commentGabriela Moldovan2025-12-011-1/+1
| | | | | | |
| * | | | | | rpc-connect: Allow missing_docs_in_private_itemsGabriela Moldovan2025-12-011-0/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | This silences a nightly warning.
* | | | | | Merge branch 'fix-typo' into 'main'Ian Jackson2025-11-271-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti-client: Fix typo See merge request tpo/core/arti!3504
| * | | | | | arti-client: Fix typoMynacol2025-11-271-1/+1
| | | | | | |
* | | | | | | Merge branch 'update-anonticket-urls' into 'main'opara2025-11-273-10/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docs: update anonticket URLs to torproject.org See merge request tpo/core/arti!3500
| * | | | | | | docs: update anonticket URLs to torproject.orgNihal2025-11-263-10/+8
| | | | | | | |
* | | | | | | | Merge branch 'parse2-naming' into 'main'Ian Jackson2025-11-272-15/+15
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parse2: Move naming convention to poc See merge request tpo/core/arti!3505
| * | | | | | | | parse2: Move naming convention to pocClara Engler2025-11-272-15/+15
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit moves the "Naming Convention" of the parse2::poc module into the respective module, as it does not apply to parse2 itself, as outlined in arti!3462. With this commit, there remains `NdaSystemTimeDeprecatedSyntax` as the only type outside poc following this naming schema. However, because it is more or less already deprecated anyways, there is no real need to bother with it any further.
* | | | | | | | Merge branch 'dirserver-timestamp' into 'main'Clara Engler2025-11-272-64/+99
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-dirserver: Improve database::Timestamp See merge request tpo/core/arti!3501
| * | | | | | | | tor-dirserver: Improve database::TimestampClara Engler2025-11-272-64/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit improves upon the work made in arti!3460, by establishing the `database::Timestamp` type as a general purpose type for the handling of timestamp throughout the code base. It also replaces all previous occurrences of `SystemTime` within `dirmirror::operation`, which leads to the reduction of code complexity in one particular function, namely `calculate_sync_timeout`.
* | | | | | | | | Merge branch 'build-fn' into 'main'Ian Jackson2025-11-272-1/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Make `RestrictedDiscoveryConfig::build_unvalidated()` private See merge request tpo/core/arti!3503
| * | | | | | | | | tor-hsservice: make `build_unvalidated()` privateSteven Engler2025-11-262-1/+2
|/ / / / / / / / /
* | | | | | | | | Merge branch 'vanguard-config' into 'main'gabi-2502025-11-264-20/+64
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-circmgr: Remove feature-gating from `CircMgrConfig::vanguard_config()` Closes #2270 See merge request tpo/core/arti!3498
| * | | | | | | | | tor-circmgr: simplify `CircMgrConfig`Steven Engler2025-11-263-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that `vanguard_config()` is no longer conditional, we can handle `vanguard_config` just like other accessors. This is a breaking change, but I think we may as well make this change while we've already made another breaking change in the previous commit.
| * | | | | | | | | tor-circmgr,arti-client: `CircMgrConfig::vanguard_config` is always builtSteven Engler2025-11-263-9/+51
| | | | | | | | | |
| * | | | | | | | | arti-client: document the 'vanguards' feature in the READMESteven Engler2025-11-261-0/+3
| | | | | | | | | |
* | | | | | | | | | Merge branch 'rename-write-onto' into 'main'Ian Jackson2025-11-263-14/+14
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: Rename ItemArgument method to avoid clash with tor_bytes See merge request tpo/core/arti!3499
| * | | | | | | | | tor-netdoc: Rename ItemArgument method to write_arg_ontoIan Jackson2025-11-262-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor_bytes also has a write_onto method. And types (especially utility types like `Ignored`) might conceivably implement both! No need for semver update since this was pub(crate) in the previous release.
| * | | | | | | | | tor-netdoc: Minor wording fix in a docIan Jackson2025-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in the ItemValueParseable derive, so the individual fields are Arguments, not Items.
| * | | | | | | | | tor-netdoc: Minor grammar fix in a docIan Jackson2025-11-261-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge branch 'saturating-st' into 'main'Clara Engler2025-11-264-243/+102
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-dirserver: Use `saturating-time` See merge request tpo/core/arti!3460
| * | | | | | | | | tor-dirserver: Fix clippy warning for timeClara Engler2025-11-261-0/+4
| | | | | | | | | |
| * | | | | | | | | tor-dirserver: Use `saturating-time`Clara Engler2025-11-264-243/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces the custom implementation of `SaturatingSystemTime` with the `saturating-time` crate, additionally adding a new type to the `database` module called `Timestamp`, in order to have a convenient wrapper around `ToSql` and `FromSql`.
* | | | | | | | | | Merge branch 'deftly-151' into 'main'Clara Engler2025-11-261-4/+4
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to derive-deftly 1.5.1 See merge request tpo/core/arti!3494
| * | | | | | | | | Update to derive-deftly 1.5.1Ian Jackson2025-11-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To pick up the expect failure error message improvement.
* | | | | | | | | | Merge branch 'ticket_2259' into 'main'Nick Mathewson2025-11-251-1/+26
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: Put supported request headers in Tor-Capabilties Closes #2259 See merge request tpo/core/arti!3473
| * | | | | | | | | | arti: Put supported request headers in Tor-CapabiltiesNick Mathewson2025-11-181-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is for spec conformance; it is a missing piece of prop365. Closes #2259.
* | | | | | | | | | | Merge branch 'mistrust-and-the-empty-string' into 'main'Nick Mathewson2025-11-256-11/+42
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some errors in and around making directories for logfiles. Closes #2240, #2265, and #2266 See merge request tpo/core/arti!3491
| * | | | | | | | | | | arti: Make logging parent check work with our MSRV.Nick Mathewson2025-11-251-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | arti: use anyhow::Context on a make_directory failure.Nick Mathewson2025-11-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will improve the error message for problems similar to arti#2240, if they recur.
| * | | | | | | | | | | arti: Allow a logfile with no directory prefix.Nick Mathewson2025-11-241-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix the main part of arti#2240. This is an instance of arti#2267 ("Path::parent has funny behavior")
| * | | | | | | | | | | fs-mistrust: Quote filenames in error messages.Nick Mathewson2025-11-241-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help a lot when people try to create files with names like `""` and `" "` and `"foo "` and `"foo! Unless"`. It won't help as much with files that have names like `"filename\". To solve this problem, run install-trojan-now ; \""`. Fortunately, we don't let adversaries choose filenames. Closes #2266.
| * | | | | | | | | | | fs-mistrust: Treat "" as a NotFound Path.Nick Mathewson2025-11-244-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes fs-mistrust consistent with stat() and mkdir() and friends, which consider "" to be an invalid path. Previously, "" was accepted whenever mistrust was enabled, but rejected whenever mistrust was disabled. Closes #2265.
* | | | | | | | | | | | Merge branch 'report-ipt-index-introduction-failed' into 'main'Nick Mathewson2025-11-251-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsclient: Report IPT index in IntroductionFailed. See merge request tpo/core/arti!3495
| * | | | | | | | | | | tor-hsclient: Report IPT index in IntroductionFailed.Wesley Aptekar-Cassels2025-11-251-1/+1
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would have made #2268 clearer to me.
* | | | | | | | | | | Merge branch 'tor-hsservice-error-typo' into 'main'Ian Jackson2025-11-251-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Fix typo in error message. See merge request tpo/core/arti!3488
| * | | | | | | | | | tor-hsservice: Fix typo in error message.Wesley Aptekar-Cassels2025-11-241-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'relay-flags-options-trait' into 'main'Ian Jackson2025-11-254-56/+56
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: Parameterise RelayFlagsParser by an options trait instead See merge request tpo/core/arti!3489
| * | | | | | | | | | | tor-netdoc: relay_flags: Tidy up the formatting (rustfmt)Ian Jackson2025-11-241-9/+3
| | | | | | | | | | | |
| * | | | | | | | | | | tor-netdoc: Rename RelayFlagsParser to relay_flags::ParserIan Jackson2025-11-244-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we expose the relay_flags module, it makes sense to give this a shorter name. (It had a longer name when it was part of the netstatus module.)
| * | | | | | | | | | | tor-netdoc: relay_flags: Remove two now-not-needed type aliasesIan Jackson2025-11-243-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generic parser type is easy enough to name now.