summary refs log tree commit diff
path: root/synapse/handlers/account_validity.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'ef2d62701' into anoa/dinsic_release_1_23_1Andrew Morgan2020-12-311-1/+1
|\
* | Merge commit '24229fac0' into anoa/dinsic_release_1_23_1Andrew Morgan2020-12-311-6/+23
|\|
| * Add type hints for account validity handler (#8620)Patrick Cloke2020-10-261-6/+23
| | | | | | This also fixes a bug by fixing handling of an account which doesn't expire.
* | Merge commit 'de5cafe98' into dinsicAndrew Morgan2020-12-311-9/+6
|\|
| * Consistently use wrap_as_background_task in more places (#8599)Patrick Cloke2020-10-201-9/+3
| |
* | Merge commit '74976a8e4' into dinsicAndrew Morgan2020-12-311-1/+2
|\|
| * Move additional tasks to the background worker, part 4 (#8513)Patrick Cloke2020-10-131-1/+2
| |
* | Allow users to click account renewal links multiple times without hitting an ↵Andrew Morgan2020-12-301-21/+69
| | | | | | | | 'Invalid Token' page (#74)
* | Merge commit '17fa4c7ca' into anoa/dinsic_release_1_21_xAndrew Morgan2020-10-201-1/+1
|\| | | | | | | | | | | | | | | * commit '17fa4c7ca': Catch up after Federation Outage (split, 2): Track last successful stream ordering after transmission (#8247) Catch-up after Federation Outage (split, 1) (#8230) Fix type signature in simple_select_one_onecol and friends (#8241) Stop sub-classing object (#8249)
| * Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
| |
* | Merge commit 'e04e465b4' into anoa/dinsic_release_1_21_xAndrew Morgan2020-10-191-17/+3
|\| | | | | | | | | | | | | | | | | | | * commit 'e04e465b4': Use the default templates when a custom template file cannot be found (#8037) Changelog changes Convert stream database to async/await. (#8074) Add a shadow-banned flag to users. (#8092) Convert pusher databases to async/await. (#8075) Convert receipts and events databases to async/await. (#8076)
| * Use the default templates when a custom template file cannot be found (#8037)Andrew Morgan2020-08-171-17/+3
| | | | | | Fixes https://github.com/matrix-org/synapse/issues/6583
* | Merge commit 'a0acdfa9e' into anoa/dinsic_release_1_21_xAndrew Morgan2020-10-191-11/+13
|\| | | | | | | | | * commit 'a0acdfa9e': Converts event_federation and registration databases to async/await (#8061)
* | Performance improvements to marking expired users as inactive (#47)Andrew Morgan2020-06-191-9/+7
| | | | | | This is a performance-related improvement to #13, which queried and hid active *and* already inactive users, one-by-one. This PR updates the code to query only **active**, expired users, all at once, and then mark them as inactive, all at once.
* | apply lintingAndrew Morgan2020-05-141-1/+3
| |
* | Disable _mark_expired_users_as_inactive bg job when account validity disabledAndrew Morgan2020-04-301-2/+4
| |
* | Merge commit '6a3504636' into dinsic-release-v1.12.xAndrew Morgan2020-03-241-1/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6a3504636': (29 commits) Revert "Add options to disable setting profile info for prevent changes. (#7053)" Populate the room version from state events (#7070) Fix buggy condition in account validity handler (#7074) Use innerText instead of innerHTML Add type annotations and comments to auth handler (#7063) Lint Put the file in the templates directory Update wording and config Changelog Move the default SAML2 error HTML to a dedicated file Refactor a bit Also don't fail on aliases events in this case Lint Changelog Also don't filter out events sent by ignored users when checking state visibility Fix condition Don't filter out dummy events when we're checking the visibility of state Update sample_config.yaml Update synapse/config/registration.py lint, fix tests ...
| * Fix buggy condition in account validity handler (#7074)Brendan Abolivier2020-03-161-1/+5
| |
* | Merge pull request #6504 from matrix-org/erikj/account_validity_async_awaitAndrew Morgan2020-03-191-45/+41
|\| | | | | | | | | | | | | * commit '31905a518': Newsfile Port handlers.account_validity to async/await. Port handlers.account_data to async/await.
| * Port handlers.account_validity to async/await.Erik Johnston2019-12-101-46/+40
| |
* | Allow Synapse to send registration emails + choose Synapse or an external ↵Andrew Morgan2020-02-251-3/+9
|\| | | | | | | server to handle 3pid validation (#5987)
| * Allow Synapse to send registration emails + choose Synapse or an external ↵Andrew Morgan2019-09-061-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | server to handle 3pid validation (#5987) This is a combination of a few different PRs, finally all being merged into `develop`: * #5875 * #5876 * #5868 (This one added the `/versions` flag but the flag itself was actually [backed out](https://github.com/matrix-org/synapse/commit/891afb57cbdf9867f2848341b29c75d6f35eef5a#diff-e591d42d30690ffb79f63bb726200891) in #5969. What's left is just giving /versions access to the config file, which could be useful in the future) * #5835 * #5969 * #5940 Clients should not actually use the new registration functionality until https://github.com/matrix-org/synapse/pull/5972 is merged. UPGRADE.rst, changelog entries and config file changes should all be reviewed closely before this PR is merged.
| * Allow defining HTML templates to serve the user on account renewalBrendan Abolivier2019-08-011-1/+9
| |
* | Replace returnValue with return (#5736)Andrew Morgan2020-02-191-3/+3
|\|
| * Replace returnValue with return (#5736)Amber Brown2019-07-231-3/+3
| |
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Andrew Morgan2020-02-141-1/+1
|\|
| * Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
| |
* | Fix a number of "Starting txn from sentinel context" warnings (#5605)Andrew Morgan2020-02-141-1/+9
|\|
| * Fix a number of "Starting txn from sentinel context" warnings (#5605)Richard van der Hoff2019-07-031-1/+9
| | | | | | | | Fixes #5602, #5603
| * Run Black. (#5482)Amber Brown2019-06-201-34/+27
| |
| * Don't send renewal emails to deactivated usersBrendan Abolivier2019-06-141-0/+3
| |
* | Dinsic Blacking with black==18.6b2Andrew Morgan2020-02-111-43/+32
| |
* | Hide expired users from user directory, optionally show on renewal (#13)Andrew Morgan2019-11-141-0/+32
| |
* | Allow defining HTML templates to serve the user on account renewalBrendan Abolivier2019-08-011-1/+9
| |
* | Don't send renewal emails to deactivated usersBrendan Abolivier2019-06-141-0/+3
|/
* Add management endpoints for account validityBrendan Abolivier2019-04-171-4/+29
|
* Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-171-0/+228