Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid relying on int vs None comparison | Erik Johnston | 2018-07-02 | 1 | -1/+5 |
| | | | | Python 3 doesn't support comparing None to ints | ||||
* | Ensure that we define sender_domain | Erik Johnston | 2018-07-02 | 1 | -0/+1 |
| | |||||
* | Make default state_default 50 | Richard van der Hoff | 2018-06-14 | 1 | -20/+14 |
| | | | | | | | Make it so that, before there is a power-levels event in the room, you need a power level of at least 50 to send state. Partially addresses https://github.com/matrix-org/matrix-doc/issues/1192 | ||||
* | Clarify interface for event_auth | Richard van der Hoff | 2018-06-14 | 1 | -18/+16 |
| | | | | | stop pretending that it returns a boolean, which just almost gave me a heart attack. | ||||
* | Refactor get_send_level to take a power_levels event | Richard van der Hoff | 2018-06-14 | 1 | -7/+38 |
| | | | | it makes it easier for me to reason about | ||||
* | Consistently use six's iteritems and wrap lazy keys/values in list() if ↵ | Amber Brown | 2018-05-31 | 1 | -2/+2 |
| | | | | they're not meant to be lazy (#3307) | ||||
* | Fix templating error with unban permission message | Travis Ralston | 2018-01-07 | 1 | -1/+1 |
| | | | | | Fixes https://github.com/matrix-org/synapse/issues/2759 Signed-off-by: Travis Ralston <travpc@gmail.com> | ||||
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -2/+2 |
| | | | | what could possibly go wrong | ||||
* | Fix 500 error when fields missing from power_levels event | Richard van der Hoff | 2017-10-17 | 1 | -3/+3 |
| | | | | | If the users or events keys were missing from a power_levels event, then we would throw 500s when trying to auth them. | ||||
* | Use better variable name | Erik Johnston | 2017-01-17 | 1 | -3/+3 |
| | |||||
* | Optimise state resolution | Erik Johnston | 2017-01-17 | 1 | -6/+43 |
| | |||||
* | Split event auth code into seperate module | Erik Johnston | 2017-01-13 | 1 | -0/+641 |