Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add time-based account expiration #5027

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Conversation

babolivier
Copy link
Contributor

No description provided.

@babolivier babolivier force-pushed the babolivier/account_expiration branch 2 times, most recently from a76118b to 65322bc Compare April 8, 2019 16:24
@codecov
Copy link

codecov bot commented Apr 8, 2019

Codecov Report

Merging #5027 into develop will decrease coverage by 1.81%.
The diff coverage is 90.9%.

@@             Coverage Diff             @@
##           develop    #5027      +/-   ##
===========================================
- Coverage    61.59%   59.77%   -1.82%     
===========================================
  Files          332      328       -4     
  Lines        34227    34114     -113     
  Branches      5643     5631      -12     
===========================================
- Hits         21082    20393     -689     
- Misses       11631    12218     +587     
+ Partials      1514     1503      -11

@babolivier babolivier requested a review from a team April 9, 2019 08:40
@babolivier
Copy link
Contributor Author

One thing I'm still not sure about wrt this PR is the unit of time for the validity period. I chose weeks, but it might make as much sense (or even more) to change that to days?

Copy link
Member

@erikjohnston erikjohnston left a comment

Choose a reason for hiding this comment

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

Looks functionally good! Just a few nits

docs/sample_config.yaml Outdated Show resolved Hide resolved
synapse/storage/registration.py Outdated Show resolved Hide resolved
synapse/storage/registration.py Outdated Show resolved Hide resolved
synapse/config/registration.py Outdated Show resolved Hide resolved
synapse/storage/registration.py Outdated Show resolved Hide resolved
synapse/storage/schema/delta/53/account_validity.sql Outdated Show resolved Hide resolved
synapse/storage/registration.py Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants