Skip to content

Add an endpoint to invite guests to a room by email - #304

Open
devonh wants to merge 16 commits into
mainfrom
devonh/room-invite-guests
Open

devonh wants to merge 16 commits into
mainfrom
devonh/room-invite-guests

Cleanup README

ac66068
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 9, 2026 in 38s

Annotations

Check warning on line 382 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OisLNgfEFUTKPVg&open=AaEN8OisLNgfEFUTKPVg&pullRequest=304

Check warning on line 217 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OisLNgfEFUTKPVd&open=AaEN8OisLNgfEFUTKPVd&pullRequest=304

Check warning on line 196 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OisLNgfEFUTKPVb&open=AaEN8OisLNgfEFUTKPVb&pullRequest=304

Check warning on line 208 in modules/restricted-guests/synapse/tests/test_guest_module.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8Oh2LNgfEFUTKPVa&open=AaEN8Oh2LNgfEFUTKPVa&pullRequest=304

Check warning on line 142 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaDptlVnnamBi--QaTZc&open=AaDptlVnnamBi--QaTZc&pullRequest=304

Check warning on line 403 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OisLNgfEFUTKPVi&open=AaEN8OisLNgfEFUTKPVi&pullRequest=304

Check warning on line 262 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OisLNgfEFUTKPVe&open=AaEN8OisLNgfEFUTKPVe&pullRequest=304

Check warning on line 205 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OisLNgfEFUTKPVc&open=AaEN8OisLNgfEFUTKPVc&pullRequest=304

Check failure on line 67 in modules/restricted-guests/synapse/synapse_guest_module/guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OgDLNgfEFUTKPVZ&open=AaEN8OgDLNgfEFUTKPVZ&pullRequest=304

Check warning on line 358 in modules/restricted-guests/synapse/synapse_guest_module/guest_module.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a union type expression for this type hint.

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OfmLNgfEFUTKPVX&open=AaEN8OfmLNgfEFUTKPVX&pullRequest=304

Check warning on line 151 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaDptlVnnamBi--QaTZd&open=AaDptlVnnamBi--QaTZd&pullRequest=304

Check warning on line 392 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OisLNgfEFUTKPVh&open=AaEN8OisLNgfEFUTKPVh&pullRequest=304

Check warning on line 288 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaDptlVnnamBi--QaTZf&open=AaDptlVnnamBi--QaTZf&pullRequest=304

Check warning on line 372 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OisLNgfEFUTKPVf&open=AaEN8OisLNgfEFUTKPVf&pullRequest=304

Check failure on line 113 in modules/restricted-guests/synapse/synapse_guest_module/guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "m.room.member" 3 times.

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaEN8OgDLNgfEFUTKPVY&open=AaEN8OgDLNgfEFUTKPVY&pullRequest=304

Check warning on line 273 in modules/restricted-guests/synapse/tests/test_guest_invite_servlet.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "response" with "_".

See more on https://sonarcloud.io/project/issues?id=element-modules&issues=AaDptlVnnamBi--QaTZg&open=AaDptlVnnamBi--QaTZg&pullRequest=304