Compare commits

..

32 commits

Author SHA1 Message Date
Jacob Taylor
7f5150acdc change rocksdb default error level to info from error
Some checks failed
Release Docker Image / define-variables (push) Failing after 4s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Rust Checks / Format (push) Failing after 3s
Rust Checks / Clippy (push) Failing after 17s
Rust Checks / Cargo Test (push) Failing after 12s
2025-06-14 19:08:19 -07:00
Jacob Taylor
964b0f253b scale rocksdb background jobs and subcompactions 2025-06-14 19:08:19 -07:00
Jacob Taylor
9d627dbaa1 change rocksdb stats level to 3 2025-06-14 19:08:19 -07:00
Jacob Taylor
2e10df716f add more parallelism_scaled and make them public 2025-06-14 19:08:19 -07:00
Jacob Taylor
b316bba0d9 update sender workers documentation 2025-06-14 19:08:19 -07:00
nexy7574
a96f7afe71 modify more log strings so they're more useful than not 2025-06-14 19:08:19 -07:00
nexy7574
d7dcffbd4a When in doubt, log all the things 2025-06-14 19:08:19 -07:00
Jacob Taylor
104ba42840 make sender workers default better and clamp value to core count 2025-06-14 19:08:19 -07:00
Jacob Taylor
b0e077a393 better roomid_spacehierarchy_cache_capacity 2025-06-14 19:08:19 -07:00
nexy7574
9eccb491ca log which room struggled to get mainline depth 2025-06-14 19:08:19 -07:00
nexy7574
5abb4c9545 more logs 2025-06-14 19:08:19 -07:00
nexy7574
3097390f20 Unsafe, untested, and potentially overeager PDU sanity checks 2025-06-14 19:08:19 -07:00
nexy7574
1c207afeaf Fix room ID check 2025-06-14 19:08:19 -07:00
nexy7574
f49bc6096a Kick up a fuss when m.room.create is unfindable 2025-06-14 19:08:19 -07:00
nexy7574
bc1f567d68 Note about ruma#2064 in TODO 2025-06-14 19:08:19 -07:00
nexy7574
04d3ef76a0 fix an auth rule not applying correctly 2025-06-14 19:08:19 -07:00
Jacob Taylor
64459f0032 better stateinfo_cache_capacity default 2025-06-14 19:08:19 -07:00
Jacob Taylor
91c850b5b2 enable converged 6g at the edge in continuwuity 2025-06-14 19:08:18 -07:00
nexy7574
06de58b0e8 Always calculate state diff IDs in syncv3
seemingly fixes #779
2025-06-14 19:08:18 -07:00
Jacob Taylor
a52d63869e upgrade some settings to enable 5g in continuwuity 2025-06-14 19:08:18 -07:00
Jacob Taylor
493a4d3b0b add futures::FutureExt to make cb15ac3c01 work 2025-06-14 19:08:18 -07:00
Jason Volk
2d0a120890 Mitigate large futures
Signed-off-by: Jason Volk <jason@zemos.net>
2025-06-14 19:08:18 -07:00
Jacob Taylor
903e3431df bump the number of allowed immutable memtables by 1, to allow for greater flood protection
this should probably not be applied if you have rocksdb_atomic_flush = false (the default)
2025-06-14 19:08:18 -07:00
Jacob Taylor
00cbf9536c probably incorrectly delete support for non-standardized matrix srv record 2025-06-14 19:08:18 -07:00
Jacob Taylor
c62e24663f Fix spaces rooms list load error. rev2 2025-06-14 19:08:18 -07:00
Jade Ellis
5a861d406a
fix: Filter out invalid replacements from bundled aggregations
Some checks failed
Release Docker Image / define-variables (push) Failing after 1s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Rust Checks / Format (push) Failing after 1s
Rust Checks / Clippy (push) Failing after 11s
Rust Checks / Cargo Test (push) Failing after 9s
2025-06-14 19:40:27 +01:00
Jade Ellis
db50adc000
feat: Add bundled aggregations support
Add support for the m.replace and m.reference bundled
aggregations.
This should fix plenty of subtle client issues.
Threads are not included in the new code as they have
historically been written to the database. Replacing the
old system would result in issues when switching away from
continuwuity, so saved for later.
Some TODOs have been left re event visibility and ignored users.
These should be OK for now, though.
2025-06-14 19:40:26 +01:00
Jade Ellis
6c11e59c4a
refactor: Promote handling unsigned data out of timeline
Also fixes:
- Transaction IDs leaking in event route
- Age not being set for event relations or threads
- Both of the above for search results

Notes down concern with relations table
2025-06-14 19:40:26 +01:00
Jade Ellis
5d44653e3a
fix: Incorrect command descriptions
Some checks failed
Documentation / Build and Deploy Documentation (push) Failing after 2s
Release Docker Image / define-variables (push) Failing after 1s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Rust Checks / Format (push) Failing after 1s
Rust Checks / Clippy (push) Failing after 32s
Rust Checks / Cargo Test (push) Failing after 10s
2025-06-14 16:51:24 +01:00
Jade Ellis
44e60d0ea6
docs: Tiny phrasing changes to the security policy
Some checks failed
Documentation / Build and Deploy Documentation (push) Failing after 3s
Rust Checks / Format (push) Failing after 15s
Rust Checks / Clippy (push) Failing after 12s
Rust Checks / Cargo Test (push) Failing after 8s
2025-06-14 16:34:58 +01:00
Jade Ellis
d7514178ab
ci: Fix extra bracket in commit shorthash
Some checks failed
Release Docker Image / define-variables (push) Failing after 1s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Documentation / Build and Deploy Documentation (push) Failing after 3s
Rust Checks / Format (push) Failing after 1s
Rust Checks / Clippy (push) Failing after 12s
Rust Checks / Cargo Test (push) Failing after 8s
2025-06-13 14:30:26 +01:00
Jade Ellis
1d45e0b68c
feat: Add warning when admin users will be exposed as support contacts
Some checks failed
Documentation / Build and Deploy Documentation (push) Failing after 8s
Release Docker Image / define-variables (push) Failing after 1s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Rust Checks / Format (push) Failing after 20s
Rust Checks / Clippy (push) Failing after 21s
Rust Checks / Cargo Test (push) Failing after 10s
2025-06-13 13:39:50 +01:00
4 changed files with 15 additions and 6 deletions

View file

@ -180,7 +180,7 @@ jobs:
file: "docker/Dockerfile" file: "docker/Dockerfile"
build-args: | build-args: |
GIT_COMMIT_HASH=${{ github.sha }}) GIT_COMMIT_HASH=${{ github.sha }})
GIT_COMMIT_HASH_SHORT=${{ env.COMMIT_SHORT_SHA }}) GIT_COMMIT_HASH_SHORT=${{ env.COMMIT_SHORT_SHA }}
GIT_REMOTE_URL=${{github.event.repository.html_url }} GIT_REMOTE_URL=${{github.event.repository.html_url }}
GIT_REMOTE_COMMIT_URL=${{github.event.head_commit.url }} GIT_REMOTE_COMMIT_URL=${{github.event.head_commit.url }}
platforms: ${{ matrix.platform }} platforms: ${{ matrix.platform }}

View file

@ -20,10 +20,10 @@ We may backport fixes to the previous release at our discretion, but we don't gu
We appreciate the efforts of security researchers and the community in identifying and reporting vulnerabilities. To ensure that potential vulnerabilities are addressed properly, please follow these guidelines: We appreciate the efforts of security researchers and the community in identifying and reporting vulnerabilities. To ensure that potential vulnerabilities are addressed properly, please follow these guidelines:
1. Contact members of the team over E2EE private message. 1. **Contact members of the team directly** over E2EE private message.
- [@jade:ellis.link](https://matrix.to/#/@jade:ellis.link) - [@jade:ellis.link](https://matrix.to/#/@jade:ellis.link)
- [@nex:nexy7574.co.uk](https://matrix.to/#/@nex:nexy7574.co.uk) <!-- ? --> - [@nex:nexy7574.co.uk](https://matrix.to/#/@nex:nexy7574.co.uk) <!-- ? -->
2. **Email the security team** directly at [security@continuwuity.org](mailto:security@continuwuity.org). This is not E2EE, so don't include sensitive details. 2. **Email the security team** at [security@continuwuity.org](mailto:security@continuwuity.org). This is not E2EE, so don't include sensitive details.
3. **Do not disclose the vulnerability publicly** until it has been addressed 3. **Do not disclose the vulnerability publicly** until it has been addressed
4. **Provide detailed information** about the vulnerability, including: 4. **Provide detailed information** about the vulnerability, including:
- A clear description of the issue - A clear description of the issue
@ -48,7 +48,7 @@ When you report a security vulnerability:
When security vulnerabilities are identified: When security vulnerabilities are identified:
1. We will develop and test fixes in a private branch 1. We will develop and test fixes in a private fork
2. Security updates will be released as soon as possible 2. Security updates will be released as soon as possible
3. Release notes will include information about the vulnerabilities, avoiding details that could facilitate exploitation where possible 3. Release notes will include information about the vulnerabilities, avoiding details that could facilitate exploitation where possible
4. Critical security updates may be backported to the previous stable release 4. Critical security updates may be backported to the previous stable release

View file

@ -125,13 +125,13 @@ pub(super) enum DebugCommand {
reset: bool, reset: bool,
}, },
/// - Verify json signatures /// - Sign JSON blob
/// ///
/// This command needs a JSON blob provided in a Markdown code block below /// This command needs a JSON blob provided in a Markdown code block below
/// the command. /// the command.
SignJson, SignJson,
/// - Verify json signatures /// - Verify JSON signatures
/// ///
/// This command needs a JSON blob provided in a Markdown code block below /// This command needs a JSON blob provided in a Markdown code block below
/// the command. /// the command.

View file

@ -219,6 +219,15 @@ pub fn check(config: &Config) -> Result {
)); ));
} }
// Check if support contact information is configured
if config.well_known.support_email.is_none() && config.well_known.support_mxid.is_none() {
warn!(
"No support contact information (support_email or support_mxid) is configured in \
the well_known section. Users in the admin room will be automatically listed as \
support contacts in the /.well-known/matrix/support endpoint."
);
}
if config if config
.url_preview_domain_contains_allowlist .url_preview_domain_contains_allowlist
.contains(&"*".to_owned()) .contains(&"*".to_owned())