Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-05-23 | style v0.30.0-rc1 | Neil Johnson | 1 | -3/+4 | |
2018-05-23 | bump version and changelog | Neil Johnson | 2 | -1/+37 | |
2018-05-22 | Remove unused string formatting param | Erik Johnston | 1 | -1/+0 | |
2018-05-22 | Don't support limitless pagination | Erik Johnston | 1 | -8/+6 | |
The pagination storage function supported not specifiying a limit on the number of events returned. This was triggered when using the search or context API with a limit of zero, which the storage function took to mean not being limited. | |||||
2018-05-22 | fix synchrotron | hera | 1 | -1/+1 | |
2018-05-22 | custom error code for not leaving server notices room | Richard van der Hoff | 2 | -0/+2 | |
2018-05-22 | comment typo | David Baker | 1 | -1/+1 | |
2018-05-22 | Add a 'has_consented' template var to consent forms | Richard van der Hoff | 3 | -4/+21 | |
fixes #3260 | |||||
2018-05-22 | Enable auto-escaping for the consent templates | Richard van der Hoff | 1 | -1/+4 | |
... to reduce the risk of somebody introducing an html injection attack... | |||||
2018-05-22 | Fix dependency on jinja2 | Richard van der Hoff | 1 | -1/+1 | |
Delay the import of ConsentResource, so that we can get away without jinja2 if people don't have the consent resource enabled. Fixes #3259 | |||||
2018-05-22 | Reject attempts to send event before privacy consent is given | Richard van der Hoff | 6 | -2/+179 | |
Returns an M_CONSENT_NOT_GIVEN error (cf https://github.com/matrix-org/matrix-doc/issues/1252) if consent is not yet given. | |||||
2018-05-22 | Stub out ServerNoticesSender on the workers | Richard van der Hoff | 6 | -8/+66 | |
... and have the sync endpoints call it directly rather than obsure indirection via PresenceHandler | |||||
2018-05-22 | Move consent config parsing into ConsentConfig | Richard van der Hoff | 4 | -15/+21 | |
turns out we need to reuse this, so it's better in the config class. | |||||
2018-05-22 | Send users a server notice about consent | Richard van der Hoff | 11 | -11/+255 | |
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. | |||||
2018-05-22 | Rename 'version' param on user consent config | Richard van der Hoff | 2 | -5/+7 | |
we're going to use it for the version we require too. | |||||
2018-05-22 | Comment | Erik Johnston | 1 | -1/+1 | |
2018-05-22 | Fix logcontext resource usage tracking | Erik Johnston | 1 | -11/+27 | |
2018-05-22 | Don't store context | Erik Johnston | 1 | -8/+5 | |
2018-05-22 | Move in_flight_requests_count to be a callback metric | Erik Johnston | 1 | -10/+21 | |
2018-05-21 | Fix logcontext leak in HttpTransactionCache | Richard van der Hoff | 2 | -25/+42 | |
ONE DAY I WILL PURGE THE WORLD OF THIS EVIL | |||||
2018-05-21 | Stop the transaction cache caching failures | Richard van der Hoff | 2 | -9/+67 | |
The transaction cache has some code which tries to stop it caching failures, but if the callback function failed straight away, then things would happen backwards and we'd end up with the failure stuck in the cache. | |||||
2018-05-21 | Add in flight request metrics | Erik Johnston | 2 | -2/+154 | |
This tracks CPU and DB usage while requests are in flight, rather than when we write the response. | |||||
2018-05-18 | Tighter filtering for user_daily_visits | Neil Johnson | 1 | -1/+5 | |
2018-05-18 | fix psql compatability bug | Neil Johnson | 1 | -1/+1 | |
2018-05-18 | Add lxml to docker image for web previews | Paul Tötterman | 1 | -2/+2 | |
Signed-off-by: Paul Tötterman <paul.totterman@iki.fi> | |||||
2018-05-18 | Better docstrings | Richard van der Hoff | 1 | -0/+16 | |
2018-05-18 | Make sure we reject attempts to invite the notices user | Richard van der Hoff | 3 | -0/+20 | |
2018-05-18 | Replace inline docstrings with "Attributes" in class docstring | Richard van der Hoff | 1 | -23/+15 | |
2018-05-18 | Fix error in handling receipts | Richard van der Hoff | 1 | -7/+11 | |
Fixes an error which has been happening ever since #2158 (v0.21.0-rc1): > TypeError: argument of type 'ObservableDeferred' is not iterable fixes #3234 | |||||
2018-05-17 | bump version, change log | Neil Johnson | 2 | -2/+8 | |
2018-05-17 | fix missing yield for server_notices_room | Richard van der Hoff | 1 | -3/+4 | |
2018-05-17 | Remove unused `update_external_syncs` | Richard van der Hoff | 1 | -55/+0 | |
This method isn't used anywhere. Burninate it. | |||||
2018-05-17 | light grammar changes | Neil Johnson | 1 | -4/+4 | |
2018-05-17 | Note that secrets need to be retained. | Michael Kaye | 1 | -2/+7 | |
2018-05-17 | Document macaroon env var correctly | Michael Kaye | 1 | -2/+2 | |
2018-05-17 | Reference synapse docker image and docker-compose | Michael Kaye | 1 | -2/+3 | |
2018-05-17 | Infrastructure for a server notices room | Richard van der Hoff | 9 | -7/+280 | |
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) | |||||
2018-05-17 | postgres.rst: Add instructions how to setup the postgres user and clarify ↵ | rubo77 | 1 | -9/+23 | |
the final step | |||||
2018-05-17 | Move RoomCreationHandler out of synapse.handlers.Handlers | Richard van der Hoff | 6 | -11/+19 | |
Handlers is deprecated nowadays, so let's move this out before I add a new dependency on it. Also fix the docstrings on create_room. | |||||
2018-05-16 | bump version and changelog for 0.29.0 v0.29.0 | Neil Johnson | 2 | -1/+5 | |
2018-05-16 | Clarify comment | Erik Johnston | 1 | -1/+2 | |
2018-05-16 | Comments | Erik Johnston | 1 | -0/+8 | |
2018-05-16 | Move and rename variable | Erik Johnston | 1 | -3/+3 | |
2018-05-16 | remove empty line | Neil Johnson | 1 | -1/+0 | |
2018-05-16 | remove unused method recurring_user_daily_visit_stats | Neil Johnson | 1 | -3/+0 | |
2018-05-16 | style and further contraining query | Neil Johnson | 1 | -8/+12 | |
2018-05-15 | pep8 | Neil Johnson | 1 | -1/+0 | |
2018-05-15 | Limit query load of generate_user_daily_visits | Neil Johnson | 2 | -27/+54 | |
The aim is to keep track of when it was last called and only query from that point in time | |||||
2018-05-15 | Make purge_history operate on tokens | Erik Johnston | 3 | -21/+25 | |
As we're soon going to change how topological_ordering works | |||||
2018-05-15 | Use events_to_purge table rather than token | Erik Johnston | 1 | -15/+34 | |
2018-05-15 | ConsentResource to gather policy consent from users | Richard van der Hoff | 14 | -5/+446 | |
Hopefully there are enough comments and docs in this that it makes sense on its own. | |||||
2018-05-14 | further musical chairs | Neil Johnson | 1 | -2/+3 | |
2018-05-14 | rearrange and collect related PRs | Neil Johnson | 1 | -26/+27 | |
2018-05-14 | v0.29.0-rc1: bump version and change log v0.29.0-rc1 | Neil Johnson | 2 | -3/+65 | |
2018-05-14 | instead of inserting user daily visit data at the end of the day, instead ↵ | Neil Johnson | 2 | -43/+30 | |
insert incrementally through the day | |||||
2018-05-11 | Use stream rather depth ordering for push actions | Erik Johnston | 3 | -40/+18 | |
This simplifies things as it is, but will also allow us to change the way we traverse topologically without having to update the way push actions work. | |||||
2018-05-10 | transaction_id, destination twice | Damir Manapov | 1 | -2/+0 | |
2018-05-10 | Set Server header in SynapseRequest | Richard van der Hoff | 23 | -27/+28 | |
(instead of everywhere that writes a response. Or rather, the subset of places which write responses where we haven't forgotten it). This also means that we don't have to have the mysterious version_string attribute in anything with a request handler. Unfortunately it does mean that we have to pass the version string wherever we instantiate a SynapseSite, which has been c&ped 150 times, but that is code that ought to be cleaned up anyway really. | |||||
2018-05-10 | Catch failure to part user from room | David Baker | 1 | -7/+13 | |
2018-05-10 | Many docstrings | David Baker | 2 | -0/+36 | |
2018-05-10 | Remove redundant request_handler decorator | Richard van der Hoff | 7 | -38/+42 | |
This is needless complexity; we might as well use the wrapper directly. Also rename wrap_request_handler->wrap_json_request_handler. | |||||
2018-05-10 | Factor wrap_request_handler_with_logging out of wrap_request_handler | Richard van der Hoff | 1 | -54/+66 | |
... so that it can be used on non-JSON endpoints | |||||
2018-05-10 | Remove include_metrics param | Richard van der Hoff | 1 | -17/+7 | |
The metrics are now available via the request, so this is redundant and can go away at last. | |||||
2018-05-10 | Move outgoing_responses_counter handling to RequestMetrics | Richard van der Hoff | 2 | -4/+2 | |
it's much neater there. | |||||
2018-05-10 | Bump requests_counter in wrapped_request_handler | Richard van der Hoff | 1 | -4/+11 | |
less magic | |||||
2018-05-10 | Move RequestMetrics handling into SynapseRequest.processing() | Richard van der Hoff | 2 | -24/+64 | |
It fits quite nicely here, and opens the path to getting rid of the "include_metrics" mess. | |||||
2018-05-10 | Make RequestMetrics take a raw time rather than a clock | Richard van der Hoff | 2 | -6/+6 | |
... which is going to make it easier to move around. | |||||
2018-05-10 | Oops, don't call function passed to run_in_background | David Baker | 1 | -1/+1 | |
2018-05-10 | Move request_id management into SynapseRequest | Richard van der Hoff | 2 | -15/+25 | |
2018-05-09 | Move RequestsMetrics to its own file | Richard van der Hoff | 2 | -124/+151 | |
This is useful in its own right, because server.py is full of stuff; but more importantly, I want to do some refactoring that will cause a circular reference as it is. | |||||
2018-05-09 | Add comment to sync as |