Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First cut of the red list module #1

Merged
merged 7 commits into from
Apr 12, 2022
Merged

First cut of the red list module #1

merged 7 commits into from
Apr 12, 2022

Conversation

babolivier
Copy link
Contributor

@babolivier babolivier commented Apr 4, 2022

Part of the Tchap mainlining.

This is in order to implement the new plan for user discovery. See matrix-org/synapse-dinsic#125 for the high-level description and https://docs.google.com/document/d/1wQw1OMgqn0blbv4Jt7ApZhR8mtN39ZLkNHKuNY-Xd_M/edit for the detailed action plan (which this work is a part of) and specification this module implements.

An upcoming PR will add the interoperability with https://github.com/matrix-org/synapse-email-account-validity that's described in the doc (hence why this one includes references to an "expired" status).

Linters are not expected to pass until matrix-org/synapse#12327 is released with Synapse 1.57, but I've ran them locally and they're passing.
Tests are not expected to pass until matrix-org/synapse#12246 is released with Synapse 1.56, but I've ran them locally and they're passing.

The diff looks a bit scary but most of it is a copy-pasted mypy plugin from Synapse and some tests.

@babolivier babolivier added the Z-Time-Tracked Element employees should track their time spent on this issue/PR. label Apr 4, 2022
@babolivier babolivier requested a review from a team April 4, 2022 15:45
tchap_red_list/__init__.py Show resolved Hide resolved
tchap_red_list/__init__.py Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
tchap_red_list/__init__.py Show resolved Hide resolved
tests/__init__.py Show resolved Hide resolved
tests/__init__.py Show resolved Hide resolved
tests/test_red_list.py Outdated Show resolved Hide resolved
tchap_red_list/__init__.py Show resolved Hide resolved
tchap_red_list/__init__.py Outdated Show resolved Hide resolved
Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.md Outdated Show resolved Hide resolved
tests/test_red_list.py Outdated Show resolved Hide resolved
babolivier and others added 2 commits April 11, 2022 12:54
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
@babolivier babolivier requested a review from squahtx April 11, 2022 12:26
@squahtx
Copy link
Contributor

squahtx commented Apr 11, 2022

@babolivier Did you forget to push changes or publish replies?

@babolivier
Copy link
Contributor Author

@squahtx I did forget to push my changes 🤦 thanks for noticing, should be good now

Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! noticed one typo

README.md Outdated Show resolved Hide resolved
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
@babolivier babolivier merged commit 7fd8d61 into main Apr 12, 2022
@babolivier babolivier deleted the babolivier/init branch April 12, 2022 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-Time-Tracked Element employees should track their time spent on this issue/PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants