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

Add some endpoints for account validity management #5073

Merged
merged 2 commits into from
Apr 17, 2019

Conversation

babolivier
Copy link
Contributor

@babolivier babolivier commented Apr 17, 2019

POST /_matrix/client/unstable/account_validity/send_mail (needs auth):

  • triggers sending a renewal email to the user that made the request
  • 200 response format: {}

POST /_matrix/client/unstable/admin/account_validity/validity (needs auth from a server admin):

See https://github.com/matrix-org/synapse/blob/master/docs/admin_api/account_validity.rst

@babolivier babolivier requested a review from a team April 17, 2019 16:35
@babolivier babolivier force-pushed the babolivier/account_expiration branch from af5d18e to 563628a Compare April 17, 2019 17:11
@codecov
Copy link

codecov bot commented Apr 17, 2019

Codecov Report

Merging #5073 into develop will increase coverage by 0.03%.
The diff coverage is 88%.

@@             Coverage Diff             @@
##           develop    #5073      +/-   ##
===========================================
+ Coverage    61.67%   61.71%   +0.03%     
===========================================
  Files          334      334              
  Lines        34431    34476      +45     
  Branches      5666     5670       +4     
===========================================
+ Hits         21235    21276      +41     
- Misses       11674    11676       +2     
- Partials      1522     1524       +2

erikjohnston
erikjohnston previously approved these changes Apr 17, 2019
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.

Assuming it passes CI, lgtm

@babolivier babolivier requested a review from a team April 17, 2019 18:03
@erikjohnston erikjohnston force-pushed the babolivier/account_expiration branch from d8cacf7 to b570270 Compare April 17, 2019 18:41
@erikjohnston erikjohnston force-pushed the babolivier/account_expiration branch from b570270 to ca90336 Compare April 17, 2019 18:44
@babolivier babolivier merged commit 8383a55 into develop Apr 17, 2019
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