Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-06-28 | Attempt to be more performant on PyPy (#3462) | Amber Brown | 40 | -62/+79 | |
2018-06-28 | Revert "Revert "Try to not use as much CPU in the StreamChangeCache"" (#3454) | Amber Brown | 2 | -2/+4 | |
2018-06-27 | Better testing framework for homeserver-using things (#3446) | Amber Brown | 3 | -0/+309 | |
2018-06-26 | Revert "Try to not use as much CPU in the StreamChangeCache" | Matthew Hodgson | 2 | -4/+2 | |
2018-06-26 | fixes | Amber Brown | 1 | -2/+2 | |
2018-06-26 | fixes | Amber Brown | 2 | -2/+2 | |
2018-06-26 | try and make loading items from the cache faster | Amber Brown | 1 | -2/+4 | |
2018-06-26 | Fix error on deleting users pending deactivation | David Baker | 1 | -1/+3 | |
Use simple_delete instead of simple_delete_one as commented | |||||
2018-06-26 | update doc for deactivate API | Matthew Hodgson | 2 | -3/+16 | |
2018-06-26 | add GDPR erase param to deactivate API | Matthew Hodgson | 2 | -1/+13 | |
2018-06-25 | Actually fix it | Erik Johnston | 1 | -3/+3 | |
2018-06-25 | Comment | Erik Johnston | 1 | -0/+8 | |
2018-06-25 | Fix bug with assuming wrong type | Erik Johnston | 1 | -2/+2 | |
2018-06-25 | Add fast path to _filter_events_for_server | Erik Johnston | 1 | -1/+34 | |
Most rooms have a trivial history visibility like "shared" or "world_readable", especially large rooms, so lets not bother getting the full membership of those rooms in that case. | |||||
2018-06-25 | allow non-consented users to still part rooms (to let us autopart them) | Matthew Hodgson | 1 | -2/+6 | |
2018-06-25 | typos | Matthew Hodgson | 1 | -1/+1 | |
2018-06-25 | typo | Matthew Hodgson | 1 | -1/+1 | |
2018-06-25 | Need to pass reactor to endpoint fac | Erik Johnston | 1 | -1/+1 | |
2018-06-25 | Use towncrier to build the changelog (#3425) | Amber Brown | 20 | -1/+55 | |
2018-06-25 | Add UserErasureWorkerStore to workers | Erik Johnston | 1 | -0/+2 | |
2018-06-25 | Remove all global reactor imports & pass it around explicitly (#3424) | Amber Brown | 9 | -22/+29 | |
2018-06-25 | Revert "Revert "Merge pull request #3431 from ↵ | Erik Johnston | 8 | -26/+214 | |
matrix-org/rav/erasure_visibility"" This reverts commit 1d009013b3c3e814177afc59f066e02a202b21cd. | |||||
2018-06-24 | Don't print invalid access tokens in the logs | Travis Ralston | 1 | -2/+2 | |
Tokens shouldn't be appearing the logs, valid or invalid. Signed-off-by: Travis Ralston <travpc@gmail.com> | |||||
2018-06-22 | Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility" | Richard van der Hoff | 8 | -214/+26 | |
This reverts commit ce0d911156b355c5bf452120bfb08653dad96497, reversing changes made to b4a5d767a94f1680d07edfd583aae54ce422573e. | |||||
2018-06-22 | Deleting from event_push_actions needs to use an index | Mark Haines | 1 | -1/+8 | |
2018-06-22 | Also log number of events for serach context | Erik Johnston | 1 | -0/+5 | |
2018-06-22 | Add some logging to search queries | Erik Johnston | 1 | -0/+9 | |
2018-06-22 | Make _get_joined_hosts_cache cache non-iterable | Erik Johnston | 1 | -1/+1 | |
2018-06-22 | Make push actions rotation configurable | Erik Johnston | 1 | -3/+5 | |
2018-06-22 | Disable partial state group caching for wildcard lookups | Richard van der Hoff | 3 | -32/+61 | |
When _get_state_for_groups is given a wildcard filter, just do a complete lookup. Hopefully this will give us the best of both worlds by not filling up the ram if we only need one or two keys, but also making the cache still work for the federation reader usecase. | |||||
2018-06-22 | Indirect evt_count updates via method call | Richard van der Hoff | 2 | -1/+12 | |
so that we can stub it for the sentinel and not have a billion failing UTs | |||||
2018-06-22 | Pass around the reactor explicitly (#3385) | Amber Brown | 25 | -93/+141 | |
2018-06-21 | Fix description of "python_gc_time" metric | Richard van der Hoff | 1 | -1/+1 | |
2018-06-21 | Populate synapse_federation_client_sent_pdu_destinations:count again (#3386) | Amber Brown | 1 | -3/+7 | |
2018-06-21 | Fix tcp protocol metrics naming (#3410) | Amber Brown | 1 | -18/+35 | |
2018-06-21 | Log number of events fetched from DB | Richard van der Hoff | 3 | -1/+12 | |
When we finish processing a request, log the number of events we fetched from the database to handle it. [I'm trying to figure out which requests are responsible for large amounts of event cache churn. It may turn out to be more helpful to add counts to the prometheus per-request/block metrics, but that is an extension to this code anyway.] | |||||
2018-06-20 | Write a clear restart indicator in logs | Richard van der Hoff | 2 | -12/+19 | |
I'm fed up with never being able to find the point a server restarted in the logs. | |||||
2018-06-20 | Fix inflight requests metric (incorrect name & traceback) (#3413) | Amber Brown | 1 | -3/+7 | |
2018-06-16 | spell gauge correctly | Matthew Hodgson | 1 | -1/+1 | |
2018-06-14 | link to spec proposal from changelog v0.31.2 github/release-v0.31.2 release-v0.31.2 | Richard van der Hoff | 1 | -0/+3 | |
2018-06-14 | v0.31.2 | Richard van der Hoff | 1 | -1/+2 | |
2018-06-14 | changelog for 0.31.2 | Richard van der Hoff | 1 | -0/+6 | |
2018-06-14 | Fix broken unit test | Richard van der Hoff | 1 | -2/+14 | |
We need power levels for this test to do what it is supposed to do. | |||||
2018-06-14 | remove spurious debug | Richard van der Hoff | 1 | -2/+0 | |
2018-06-14 | Add error code to room creation error | Michael Wagner | 1 | -2/+6 | |
This error code is mentioned in the documentation at https://matrix.org/docs/api/client-server/#!/Room32creation/createRoom | |||||
2018-06-14 | Make default state_default 50 | Richard van der Hoff | 2 | -20/+167 | |
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 | |||||
2018-06-14 | Clarify interface for event_auth | Richard van der Hoff | 1 | -18/+16 | |
stop pretending that it returns a boolean, which just almost gave me a heart attack. | |||||
2018-06-14 | add a last seen metric (#3396) | Amber Brown | 1 | -0/+21 | |
2018-06-14 | Refactor get_send_level to take a power_levels event | Richard van der Hoff | 2 | -8/+39 | |
it makes it easier for me to reason about | |||||
2018-06-14 | Remove run_on_reactor (#3395) | Amber Brown | 13 | -63/+6 | |
2018-06-12 | Use the RegistryProxy for appservices too | Travis Ralston | 1 | -1/+2 | |
Signed-off-by: Travis Ralston <travpc@gmail.com> | |||||
2018-06-12 | The flag is named enable_metrics, not collect_metrics | Travis Ralston | 11 | -11/+11 | |
Signed-off-by: Travis Ralston <travpc@gmail.com> | |||||
2018-06-12 | Fix federation_client to send the right Host | Richard van der Hoff | 1 | -14/+51 | |
This appears to have stopped working since matrix.org moved to cloudflare. The Host header should match the name of the server, not whatever is in the SRV record. | |||||
2018-06-12 | Media repo support for content erasure | David Baker | 3 | -1/+16 | |
Don't serve up content from users who have erased their content | |||||
2018-06-12 | Filter out erased messages | Richard van der Hoff | 2 | -22/+68 | |
Redact any messges sent by erased users. | |||||
2018-06-12 | mark accounts as erased when requested | Richard van der Hoff | 3 | -4/+20 | |
2018-06-12 | UserErasureStore | Richard van der Hoff | 3 | -0/+126 | |
to store which users have been erased | |||||
2018-06-12 | simplify get_persisted_pdu | Richard van der Hoff | 2 | -30/+27 | |
it doesn't make much sense to use get_persisted_pdu on the receive path: just get the event straight from the store. | |||||
2018-06-12 | remove dead filter_events_for_clients | Richard van der Hoff | 3 | -92/+35 | |
This is only used by filter_events_for_client, so we can simplify the whole thing by just doing one user at a time, and removing a dead storage function to boot. | |||||
2018-06-11 | Optimise state_group_cache update | Richard van der Hoff | 1 | -5/+1 | |
(1) matrix-org-hotfixes has removed the intern calls; let's do the same here. (2) remove redundant iteritems() so we can used an optimised db update. | |||||
2018-06-11 | fix idiotic typo in state res | Matthew Hodgson | 1 | -2/+2 | |
2018-06-08 | tweak changelog v0.31.1 github/release-v0.31.1 release-v0.31.1 | Neil Johnson | 1 | -2/+4 | |
2018-06-08 | Update CHANGES.rst | Neil Johnson | 1 | -1/+1 | |
2018-06-08 | changelog a bump version | Neil Johnson | 2 | -1/+11 | |
2018-06-08 | Fix event filtering in get_missing_events handler | Richard van der Hoff | 1 | -0/+4 | |
2018-06-08 | fix various changelog bugs and typos | Matthew Hodgson | 1 | -4/+3 | |
2018-06-08 | Try to log more helpful info when a sig verification fails | Richard van der Hoff | 1 | -6/+25 | |
Firstly, don't swallow the reason for the failure Secondly, don't assume all exceptions are verification failures Thirdly, log a bit of info about the key being used if debug is enabled | |||||
2018-06-08 | Fix event filtering in get_missing_events handler | Richard van der Hoff | 1 | -0/+4 | |
2018-06-07 | fix various changelog bugs and typos | Matthew Hodgson | 1 | -4/+3 | |
2018-06-07 | fix log | Richard van der Hoff | 1 | -1/+1 | |
2018-06-07 | Fix event-purge-by-ts admin API | Richard van der Hoff | 1 | -6/+4 | |
This got completely broken in 0.30. Fixes #3300. | |||||
2018-06-06 | Add missing dependency on attr | Richard van der Hoff | 1 | -0/+1 | |
We've rcently added a dep on `attr`. I don't know why the CI didn't pick this up, but we should make it explicit anyway. | |||||
2018-06-06 | Fix sql error in _get_state_groups_from_groups | Richard van der Hoff | 1 | -1/+1 | |
If this was called with a `(type, None)` entry in types (which is supposed to return all state of type `type`), it would explode with a sql error. | |||||
2018-06-06 | 7 char sha in changelog v0.31.0 github/release-v0.31.0 release-v0.31.0 | Neil Johnson | 1 | -3/+3 | |
2018-06-06 | Update CHANGES.rst | Neil Johnson | 1 | -4/+4 | |
2018-06-06 | bump version and changelog | Neil Johnson | 2 | -3/+12 | |
2018-06-06 | also redact __str__ of ApplicationService used for logging | Michael Telatynski | 1 | -1/+5 | |
2018-06-06 | redact_uri in two missed log paths | Michael Telatynski | 1 | -2/+2 | |
2018-06-06 | pep8 | David Baker | 1 | -3/+3 | |
2018-06-06 | More doc fixes | David Baker | 1 | -2/+2 | |
2018-06-06 | Fix metric documentation tables (#3341) | Amber Brown | 1 | -20/+30 | |
2018-06-06 | Add note to changelog on prometheus metrics | Richard van der Hoff | 1 | -1/+4 | |
2018-06-06 | Fix metric documentation tables (#3341) | Amber Brown | 1 | -20/+30 | |
2018-06-06 | federation/send_queue.py: fix usage of sortedcontainers.SortedDict | Ivan Shapovalov | 1 | -27/+22 | |
2018-06-05 | update tox.ini to cover 292 succeeding tests | Krombel | 1 | -11/+19 | |
Signed-Off-By: Matthias Kesler <krombel@krombel.de> | |||||
2018-06-05 | factor out uri redaction into a method on http | Michael Telatynski | 3 | -13/+17 | |
2018-06-05 | fix pep8 | David Baker | 1 | -3/+5 | |
2018-06-05 | doc fixes | David Baker | 2 | -7/+7 | |
2018-06-05 | Let's try labels instead of label, that might work | Will Hunt | 1 | -3/+3 | |
2018-06-06 | Port to sortedcontainers (with tests!) (#3332) | Amber Brown | 6 | -35/+241 | |
2018-06-05 | Add metrics to track appservice transactions | Will Hunt | 1 | -0/+22 | |
2018-06-04 | doc/postgres.rest: fix displaying of the last command block | Bruno Pagani | 1 | -9/+9 | |
Also indent all of them with 4 spaces. | |||||
2018-06-04 | Fix replication metrics | Richard van der Hoff | 1 | -2/+2 | |
fix bug introduced in #3256 | |||||
2018-06-04 | bump version and changelog v0.31.0-rc1 | Neil Johnson | 2 | -1/+47 | |
2018-06-04 | Hopefully, fix LaterGuage error handling | Richard van der Hoff | 1 | -3/+6 | |
2018-06-04 | Add hacky cache factor override system | Erik Johnston | 4 | -4/+18 | |
2018-06-04 | Docstring | David Baker | 1 | -0/+14 | |
2018-06-04 | Fix comment | David Baker | 1 | -1/+1 | |
2018-06-04 | Missing yield | David Baker | 1 | -1/+1 | |
2018-06-04 | docstring | David Baker | 1 | -1/+9 | |
2018-06-04 | Put python's logs into Trial when running unit tests (#3319) | Amber Brown | 1 | -13/+27 | |
2018-06-03 | federation/send_queue.py: fix usage of LaterGauge | Ivan Shapovalov | 1 | -1/+1 | |
Fixes a startup crash due to commit df9f72d9e5fe264b86005208e0f096156eb03e4b "replacing portions". | |||||
2018-06-02 | Strip `access_token` from outgoing requests using existing regex | Michael Telatynski | 1 | -1/+6 | |
2018-06-01 | Remove was_forgotten_at | Richard van der Hoff | 1 | -26/+0 | |
This is unused. IT MUST DIE!!!1 ̧̪͈̱̹̳͖͙H̵̰̤̰͕̖e̛ ͚͉̗̼̞w̶̩̥͉̮h̩̺̪̩͘ͅọ͎͉̟ ̜̩͔̦̘ͅW̪̫̩̣̲͔̳a͏͔̳͖i͖͜t͓̤̠͓͙s̘̰̩̥̙̝ͅ ̲̠̬̥Be̡̙̫̦h̰̩i̛̫͙͔̭̤̗̲n̳͞d̸ ͎̻͘T̛͇̝̲̹̠̗ͅh̫̦̝ͅe̩̫͟ ͓͖̼W͕̳͎͚̙̥ą̙l̘͚̺͔͞ͅl̳͍̙̤̤̮̳.̢ ̟̺̜̙͉Z̤̲̙̙͎̥̝A͎̣͔̙͘L̥̻̗̳̻̳̳͢G͉̖̯͓̞̩̦O̹̹̺!̙͈͎̞̬ * | |||||
2018-06-01 | Handle RRs which arrive before their events | Richard van der Hoff | 1 | -25/+19 | |
2018-06-01 | Ignore depth when updating read-receipts | Richard van der Hoff | 1 | -30/+37 | |
Order read receipts by stream ordering instead of depth | |||||
2018-06-01 | Add private IPv6 addresses to preview blacklist #3312 | Felix Schäfer | 1 | -0/+3 | |
The added addresses are expected to be local or loopback addresses and shouldn't be spidered for previews. Signed-off-by: Felix Schäfer <felix@thegcat.net> | |||||
2018-06-01 | remove unnecessary INSERT | Neil Johnson | 1 | -1/+0 | |
2018-05-31 | code_style.rst: formatting | Richard van der Hoff | 1 | -1/+1 | |
2018-05-31 | Run Prometheus on a different port, optionally. (#3274) | Amber Brown | 16 | -26/+192 | |
2018-05-31 | Consistently use six's iteritems and wrap lazy keys/values in list() if ↵ | Amber Brown | 29 | -101/+116 | |
they're not meant to be lazy (#3307) | |||||
2018-05 |