Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the deprecated BaseHandler. (#11005) | Patrick Cloke | 2021-10-08 | 1 | -4/+2 |
| | | | | | | | | The shared ratelimit function was replaced with a dedicated RequestRatelimiter class (accessible from the HomeServer object). Other properties were copied to each sub-class that inherited from BaseHandler. | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Consistently check whether a password may be set for a user. (#9636) | Dirk Klimpel | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Add type hints to various handlers. (#9223) | Patrick Cloke | 2021-01-26 | 1 | -4/+6 |
| | | | | With this change all handlers except the e2e_* ones have type hints enabled. | ||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -1/+1 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Hash passwords earlier in the password reset process (#7538) | Patrick Cloke | 2020-05-20 | 1 | -4/+1 |
| | | | | This now matches the logic of the registration process as modified in 56db0b1365965c02ff539193e26c333b7f70d101 / #7523. | ||||
* | Convert auth handler to async/await (#7261) | Patrick Cloke | 2020-04-15 | 1 | -8/+5 |
| | |||||
* | Allow server admins to define and enforce a password policy (MSC2000). (#7118) | Dirk Klimpel | 2020-03-26 | 1 | -0/+2 |
| | |||||
* | Add an option to the set password API to choose whether to logout other ↵ | Patrick Cloke | 2020-03-18 | 1 | -16/+25 |
| | | | | devices. (#7085) | ||||
* | Added possibilty to disable local password authentication (#5092) | Daniel Hoffend | 2019-06-27 | 1 | -0/+3 |
| | | | | | Signed-off-by: Daniel Hoffend <dh@dotlan.net> | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -2/+3 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -0/+1 |
| | |||||
* | Do bcrypt hashing in a background thread | Erik Johnston | 2018-01-10 | 1 | -1/+1 |
| | |||||
* | Delete devices in various logout situations | Richard van der Hoff | 2017-11-29 | 1 | -0/+11 |
| | | | | | | | | | | | | | Make sure that we delete devices whenever a user is logged out due to any of the following situations: * /logout * /logout_all * change password * deactivate account (by the user or by an admin) * invalidate access token from a dynamic module Fixes #2672. | ||||
* | Move set_password into its own handler | Richard van der Hoff | 2017-11-29 | 1 | -0/+45 |
Non-functional refactoring to move set_password. This means that we'll be able to properly deactivate devices and access tokens without introducing a dependency loop. |