Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up newline quote marks around the codebase (#6362) | Andrew Morgan | 2019-11-21 | 1 | -1/+1 |
| | |||||
* | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 1 | -1/+1 |
| | | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. | ||||
* | Option to suppress resource exceeded alerting (#6173) | Neil Johnson | 2019-10-24 | 1 | -38/+72 |
| | | | | The expected use case is to suppress MAU limiting on small instances | ||||
* | Remove unnecessary parentheses around return statements (#5931) | Andrew Morgan | 2019-08-30 | 1 | -1/+1 |
| | | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :) | ||||
* | Revert "Do not send consent notices if "no-consent-required" is set" | Brendan Abolivier | 2019-08-22 | 1 | -4/+0 |
| | | | | This reverts commit 27a686e53b8ba3f2e2f102fae73e598c00ec0086. | ||||
* | Do not send consent notices if "no-consent-required" is set | Half-Shot | 2019-08-22 | 1 | -0/+4 |
| | |||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 2 | -4/+4 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 5 | -60/+39 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_contact | Erik Johnston | 2018-08-24 | 1 | -4/+3 |
|\ | |||||
| * | Fix checking if service notice room is already tagged | Erik Johnston | 2018-08-24 | 1 | -4/+3 |
| | | | | | | | | This manifested in synapse repeatedly setting the tag for the room | ||||
* | | Change admin_uri to admin_contact in config and errors | Erik Johnston | 2018-08-24 | 1 | -1/+1 |
|/ | |||||
* | Ensure we wake up /sync when we add tag to notice room | Erik Johnston | 2018-08-24 | 2 | -2/+13 |
| | |||||
* | Make content of tag an empty object rather than null | Erik Johnston | 2018-08-24 | 2 | -2/+2 |
| | |||||
* | Fix bug where we broke sync when using limit_usage_by_mau | Erik Johnston | 2018-08-24 | 1 | -0/+4 |
| | | | | | We assumed that we always had service notices configured, but that is not always true | ||||
* | Fix bug where we resent "limit exceeded" server notices | Erik Johnston | 2018-08-23 | 1 | -1/+5 |
| | | | | This was due to a bug where we mutated a cached event's contents | ||||
* | Update notice format | Erik Johnston | 2018-08-22 | 1 | -3/+11 |
| | |||||
* | special case server_notices_mxid | Neil Johnson | 2018-08-18 | 1 | -1/+1 |
| | |||||
* | clean up, no functional changes | Neil Johnson | 2018-08-17 | 2 | -41/+47 |
| | |||||
* | flake8 | Neil Johnson | 2018-08-16 | 1 | -3/+2 |
| | |||||
* | refactor for readability, and reuse caching for setting tags | Neil Johnson | 2018-08-16 | 2 | -68/+114 |
| | |||||
* | add room tagging | Neil Johnson | 2018-08-16 | 1 | -9/+5 |
| | |||||
* | check for room state before deciding on action | Neil Johnson | 2018-08-16 | 2 | -67/+26 |
| | |||||
* | WIP impl commiting to get feedback | Neil Johnson | 2018-08-16 | 1 | -6/+74 |
| | |||||
* | fix case where empty string state check is evaulated as False | Neil Johnson | 2018-08-16 | 1 | -1/+2 |
| | |||||
* | wip cut at sending resource server notices | Neil Johnson | 2018-08-15 | 2 | -44/+55 |
| | |||||
* | backout ability to pass in event type to server notices | Neil Johnson | 2018-08-14 | 3 | -4/+5 |
| | |||||
* | support server notice state events for resource limits | Neil Johnson | 2018-08-14 | 3 | -8/+20 |
| | |||||
* | fix typo | Neil Johnson | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | implementation of server notices to alert on hitting resource limits | Neil Johnson | 2018-08-10 | 2 | -45/+65 |
| | |||||
* | wip at implementing MSC 7075 | Neil Johnson | 2018-08-09 | 1 | -0/+84 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -1/+2 |
| | |||||
* | Avoid sending consent notice to guest users | Richard van der Hoff | 2018-05-25 | 1 | -0/+5 |
| | | | | we think it makes sense not to send the notices to guest users. | ||||
* | Allow overriding the server_notices user's avatar | Richard van der Hoff | 2018-05-23 | 1 | -3/+14 |
| | | | | probably should have done this in the first place, like @turt2live suggested. | ||||
* | Merge pull request #3271 from matrix-org/rav/consent_uri_in_messages | Richard van der Hoff | 2018-05-23 | 1 | -2/+39 |
|\ | | | | | Support for putting %(consent_uri)s in messages | ||||
| * | Support for putting %(consent_uri)s in messages | Richard van der Hoff | 2018-05-23 | 1 | -2/+39 |
| | | | | | | | | | | Make it possible to put the URI in the error message and the server notice that get sent by the server | ||||
* | | fix typo | Richard van der Hoff | 2018-05-23 | 1 | -1/+1 |
| | | |||||
* | | Block attempts to send server notices to remote users | Richard van der Hoff | 2018-05-23 | 1 | -0/+4 |
|/ | |||||
* | fix synchrotron | hera | 2018-05-22 | 1 | -1/+1 |
| | |||||
* | Stub out ServerNoticesSender on the workers | Richard van der Hoff | 2018-05-22 | 2 | -4/+50 |
| | | | | | ... and have the sync endpoints call it directly rather than obsure indirection via PresenceHandler | ||||
* | Move consent config parsing into ConsentConfig | Richard van der Hoff | 2018-05-22 | 1 | -8/+2 |
| | | | | turns out we need to reuse this, so it's better in the config class. | ||||
* | Send users a server notice about consent | Richard van der Hoff | 2018-05-22 | 2 | -0/+159 |
| | | | | | When a user first syncs, we will send them a server notice asking them to consent to the privacy policy if they have not already done so. | ||||
* | Better docstrings | Richard van der Hoff | 2018-05-18 | 1 | -0/+16 |
| | |||||
* | Make sure we reject attempts to invite the notices user | Richard van der Hoff | 2018-05-18 | 1 | -0/+5 |
| | |||||
* | Infrastructure for a server notices room | Richard van der Hoff | 2018-05-17 | 2 | -0/+110 |
Server Notices use a special room which the user can't dismiss. They are created on demand when some other bit of the code calls send_notice. (This doesn't actually do much yet becuse we don't call send_notice anywhere) |