summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remember to copy the avatar on room upgradesRichard van der Hoff2018-10-261-0/+1
|
* changelogRichard van der Hoff2018-10-251-0/+1
|
* Refactor state group lookup to reduce DB hits (#4011)Erik Johnston2018-10-251-0/+1
| | | | | | | | Currently when fetching state groups from the data store we make two hits two the database: once for members and once for non-members (unless request is filtered to one or the other). This adds needless load to the datbase, so this PR refactors the lookup to make only a single database hit.
* Merge remote-tracking branch 'origin/master' into developRichard van der Hoff2018-10-251-0/+1
|\
| * Add CLsteamport2018-10-191-0/+1
| |
* | Merge pull request #4051 from matrix-org/erikj/alias_disallow_listErik Johnston2018-10-251-0/+1
|\ \ | | | | | | Add config option to control alias creation
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-10-2516-0/+16
| |\ \ | | | | | | | | | | | | erikj/alias_disallow_list
| * | | NewsfileErik Johnston2018-10-191-0/+1
| | | |
* | | | Merge pull request #4081 from matrix-org/neilj/fix_mau_initNeil Johnson2018-10-251-0/+2
|\ \ \ \ | |_|/ / |/| | | fix race condiftion in calling initialise_reserved_users
| * | | fix style inconsistenciesNeil Johnson2018-10-241-1/+2
| | | |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into neilj/fix_mau_initNeil Johnson2018-10-249-0/+9
| |\ \ \
| * | | | remove white spaceNeil Johnson2018-10-231-1/+0
| | | | |
| * | | | fix race condiftion in calling initialise_reserved_usersNeil Johnson2018-10-231-0/+2
| | | | |
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Neil Johnson2018-10-2526-4/+22
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | matthew/autocreate_autojoin
| * | | | Merge remote-tracking branch 'origin/develop' into ↵Richard van der Hoff2018-10-242-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | rav/fix_event_filter_validation
| | * \ \ \ Merge pull request #4082 from matrix-org/rav/fix_pep8Richard van der Hoff2018-10-241-0/+1
| | |\ \ \ \ | | | | | | | | | | | | | | Fix a number of flake8 errors
| | | * | | | Fix a number of flake8 errorsRichard van der Hoff2018-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there.
| | * | | | | Merge pull request #4040 from matrix-org/erikj/states_res_v2_rebaseErik Johnston2018-10-241-0/+1
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | Add v2 state resolution algorithm
| | | * | | | NewsfileErik Johnston2018-10-161-0/+1
| | | | | | |
| * | | | | | Allow backslashes in event field filtersRichard van der Hoff2018-10-241-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug introduced in https://github.com/matrix-org/synapse/pull/1783 which meant that single backslashes were not allowed in event field filters. The intention here is to allow single-backslashes, but disallow double-backslashes.
| * | | | | Merge pull request #4075 from matrix-org/rav/fix_pusher_logcontextsRichard van der Hoff2018-10-241-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Clean up the way logcontexts and threads work in the pushers
| | * | | | | ChangelogRichard van der Hoff2018-10-221-0/+1
| | | | | | |
| * | | | | | Merge pull request #4063 from matrix-org/erikj/cleaup_alias_creationErik Johnston2018-10-241-0/+1
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | | Clean up room alias creation
| | * | | | | NewsfileErik Johnston2018-10-191-0/+1
| | | | | | |
| * | | | | | Merge pull request #3969 from turt2live/travis/fix-federated-group-requestsTravis Ralston2018-10-231-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Handle HttpResponseException more safely for federated groups
| | * \ \ \ \ \ Merge branch 'develop' into travis/fix-federated-group-requestsTravis Ralston2018-10-1240-34/+8
| | |\ \ \ \ \ \
| | * | | | | | | ChangelogTravis Ralston2018-09-261-0/+1
| | | | | | | | |
| * | | | | | | | Give some more things logcontexts (#4077)Richard van der Hoff2018-10-231-0/+1
| | | | | | | | |
| * | | | | | | | Correctly account for cpu usage by background threads (#4074)Richard van der Hoff2018-10-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrap calls to deferToThread() in a thing which uses a child logcontext to attribute CPU usage to the right request. While we're in the area, remove the logcontext_tracer stuff, which is never used, and afaik doesn't work. Fixes #4064
| * | | | | | | | Merge pull request #3698 from spantaleev/add-matrix-docker-ansible-deployRichard van der Hoff2018-10-231-0/+1
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | Add information about the matrix-docker-ansible-deploy playbook
| | * | | | | | | Add information about the matrix-docker-ansible-deploy playbookSlavi Pantaleev2018-10-141-0/+1
| | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Slavi Pantaleev <slavi@devture.com>
| * | | | | | | Merge pull request #4076 from matrix-org/rav/fix_init_logcontextsRichard van der Hoff2018-10-221-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Run MAU queries as background processes
| | * | | | | | | Run MAU queries as background processesRichard van der Hoff2018-10-201-0/+1
| | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | Fixes #3820
| * | | | | | | Merge pull request #4073 from matrix-org/rav/require_psutilRichard van der Hoff2018-10-221-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Make psutil an explicit dependency
| | * | | | | | | Make psutil an explicit dependencyRichard van der Hoff2018-10-191-0/+1
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of #4027, we require psutil to be installed, so it should be in our dependency list. We can also remove some of the conditional import code introduced by #992. Fixes #4062.
| * / / / / / / Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase ↵Amber Brown2018-10-201-0/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | on py3) (#4068)
| * | | | | | Merge pull request #4069 from matrix-org/rav/fix_email_templates_4065Richard van der Hoff2018-10-191-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Calculate absolute path for email templates
| | * | | | | | Calculate absolute path for email templatesRichard van der Hoff2018-10-191-0/+1
| | | |_|_|_|/ | | |/| | | |
| * | | | | | Fix manhole on py3 (pt 2) (#4067)Amber Brown2018-10-191-0/+1
| | | | | | |
| * | | | | | Make the metrics less racy (#4061)Amber Brown2018-10-191-0/+1
| | | | | | |
| * | | | | | changelogAmber Brown2018-10-191-0/+1
| | |_|_|/ / | |/| | | |
| * | | | | Use the right python when starting workersRichard van der Hoff2018-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should use the same python to start the workers as we do for the main synapse (ie, the same one used to run synctl.)
| * | | | | remove redundant changelog fileRichard van der Hoff2018-10-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | this change has been released
| * | | | | Merge branch 'master' into developRichard van der Hoff2018-10-1810-11/+0
| |\| | | |
| | * | | | prep changelogRichard van der Hoff2018-10-172-13/+0
| | | | | |
| | * | | | Fix incorrect truncation in get_missing_eventsRichard van der Hoff2018-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's quite important that get_missing_events returns the *latest* events in the room; however we were pulling event ids out of the database until we got *at least* 10, and then taking the *earliest* of the results. We also shouldn't really be relying on depth, and should be checking the room_id.
| | * | | | Ship the email templates as package_dataRichard van der Hoff2018-10-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | move the example email templates into the synapse package so that they can be used as package data, which should mean that all of the packaging mechanisms (pip, docker, debian, arch, etc) should now come with the example templates. In order to grandfather in people who relied on the templates being in the old place, check for that situation and fall back to using the defaults if the templates directory does not exist.
| | * | | | update changelog v0.33.7rc1Amber Brown2018-10-1510-10/+0
| | | | | |
| | * | | | update changelogAmber Brown2018-10-151-2/+1
| | | | | |
| * | | | | Merge pull request #4049 from matrix-org/erikj/synctl_colourErik Johnston2018-10-181-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Only colourise synctl output when attached to tty
| | * | | | | NewsfileErik Johnston2018-10-171-0/+1
| | | | | | |
| * | | | | | NewsfileErik Johnston2018-10-171-0/+1
| |/ / / / /
| * | | | | Fix roomlist since tokens on Python 3 (#4046)Will Hunt2018-10-171-0/+1
| | | | | | | | | | | | | | | | | | Thanks @Half-Shot !!!
| * | | | | Merge pull request #4045 from matrix-org/rav/fix_get_missing_eventsRichard van der Hoff2018-10-171-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Fix incorrect truncation in get_missing_events
| | * | | | | Fix incorrect truncation in get_missing_eventsRichard van der Hoff2018-10-161-0/+1
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's quite important that get_missing_events returns the *latest* events in the room; however we were pulling event ids out of the database until we got *at least* 10, and then taking the *earliest* of the results. We also shouldn't really be relying on depth, and should be checking the room_id.
| * / | | | changelogRichard van der Hoff2018-10-161-0/+1
| |/ / / /
| * / / / Various cleanups in the federation client code (#4031)Richard van der Hoff2018-10-161-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Improve logging: log things in the right order, include destination and txids in all log lines, don't log successful responses twice - Fix the docstring on TransportLayerClient.send_transaction - Don't use treq.request, which is overcomplicated for our purposes: just use a twisted.web.client.Agent. - simplify the logic for setting up the bodyProducer - fix bytes/str confusions
| * | | Merge pull request #4019 from matrix-org/dbkr/e2e_backupsDavid Baker2018-10-151-0/+1
| |\ \ \ | | | | | | | | | | E2E backups
| | * | | Add changelogDavid Baker2018-10-091-0/+1
| | | | |
| * | | | synapse/app: frontend_proxy.py: actually make workers work on py3Ivan Shapovalov2018-10-141-0/+1
| | | | |
| * | | | synapse/visibility.py: fix SyntaxError on py3.7Ivan Shapovalov2018-10-141-0/+1
| | |/ / | |/| |
| * | | Make workers work on Py3 (#4027)Amber Brown2018-10-131-0/+1
| | | |
| * | | Update newsfileErik Johnston2018-10-101-1/+1
| | | |
| * | | NewsfileErik Johnston2018-10-091-0/+1
| | | |
| * | | Merge pull request #4008 from matrix-org/erikj/log_looping_exceptionsErik Johnston2018-10-091-0/+1
| |\ \ \ | | |/ / | |/| | Log looping call exceptions
| | * | NewsfileErik Johnston2018-10-051-0/+1
| | | |
| * | | Optimisation for filter_events_for_serverRichard van der Hoff2018-10-081-0/+1
| |/ / | | | | | | | | | | | | | | | | | | We're better off hashing just the event_id than the whole ((type, state_key), event_id) tuple - so use a dict instead of a set. Also, iteritems > items.
* | | Update changelog.d/3975.featureRichard van der Hoff2018-10-241-1/+1
| | | | | | | | | Co-Authored-By: neilisfragile <neil@matrix.org>
* | | remove errant exception and styleNeil Johnson2018-10-231-1/+1
| | |
* | | clean up config error logic and importsNeil Johnson2018-10-171-1/+1
| | |
* | | improve auto room join logic, comments and testsNeil Johnson2018-10-121-1/+1
| | |
* | | Merge branch 'develop' into matthew/autocreate_autojoinNeil Johnson2018-10-0447-45/+4
|\| |
| * | Merge pull request #3995 from matrix-org/rav/no_deextrem_outliersRichard van der Hoff2018-10-041-0/+1
| |\ \ | | | | | | | | Fix bug in forward_extremity update logic
| | * | fix newsfile nameRichard van der Hoff2018-10-031-0/+0
| | | |
| | * | Fix bug in forward_extremity update logicRichard van der Hoff2018-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | An event does not stop being a forward_extremity just because an outlier or rejected event refers to it.
| * | | Merge branch 'master' into developAmber Brown2018-10-0459-61/+0
| |\ \ \
| | * | | changelog v0.33.6 github/release-v0.33.6 release-v0.33.6Amber Brown2018-10-041-1/+0
| | | | |
| | * | | Pin to prometheus_client<0.4 to avoid renaming all of our metricsRichard van der Hoff2018-10-031-0/+1
| | | | |
| | * | | changelog v0.33.6rc1Amber Brown2018-10-0359-61/+0
| | |/ /
| * | | Merge pull request #3999 from matrix-org/erikj/fix_3pid_invite_rejetionErik Johnston2018-10-031-0/+1
| |\ \ \ | | | | | | | | | | Fix handling of rejected threepid invites
| | * | | NewsfileErik Johnston2018-10-031-0/+1
| | |/ /
| * | | Merge pull request #3996 from matrix-org/erikj/fix_bg_iterationErik Johnston2018-10-031-0/+1
| |\ \ \ | | | | | | | | | | Fix exception in background metrics collection
| | * | | NewsfileErik Johnston2018-10-031-0/+1
| | |/ /
| * / / NewsfileErik Johnston2018-10-031-0/+1
| |/ /
| * | Merge pull request #3991 from matrix-org/erikj/fix_pop_retry_cacheErik Johnston2018-10-021-0/+1
| |\ \ | | | | | | | | Fix bug when invalidating destination retry timings
| | * | NewsfileErik Johnston2018-10-021-0/+1
| | | |
| * | | Remove Jenkins & other old dev junk (#3988)Amber Brown2018-10-031-0/+1
| |/ /
| * | Merge pull request #3960 from matrix-org/rav/fix_missing_create_event_errorRichard van der Hoff2018-10-021-0/+1
| |\ \ | | | | | | | | Fix error handling for missing auth_event
| | * \ Merge branch 'develop' into rav/fix_missing_create_event_errorRichard van der Hoff2018-10-0121-0/+21
| | |\ \
| | * | | changelogRichard van der Hoff2018-09-261-0/+1
| | | | |
| * | | | Disable frozen dicts by default (#3987)Amber Brown2018-10-021-0/+1
| | | | |
| * | | | NewsfileErik Johnston2018-10-021-0/+1
| | | | |
| * | | | Merge pull request #3989 from matrix-org/rav/better_stacktracesRichard van der Hoff2018-10-021-0/+1
| |\ \ \ \ | | | | | | | | | | | | Avoid reraise, to improve stacktraces
| | * | | | Avoid reraise, to improve stacktracesRichard van der Hoff2018-10-011-0/+1
| | | |/ / | | |/| |
| * | | | Merge pull request #3986 from matrix-org/erikj/fix_sync_with_redacted_stateErik Johnston2018-10-021-0/+1
| |\ \ \ \ | | |/ / / | |/| | | Fix lazy loaded sync with rejected state events
| | * | | NewsfileErik Johnston2018-10-011-0/+1
| | | | |
| * | | | Update instructions to point to pip install (#3985)Amber Brown2018-10-021-0/+1
| | | | |
| * | | | Merge pull request #3968 from matrix-org/rav/fix_federation_errorsRichard van der Hoff2018-10-011-0/+1
| |\ \ \ \ | | | | | | | | | | | | Fix exceptions when handling incoming transactions
| | * \ \ \ Merge remote-tracking branch 'origin/develop' into rav/fix_federation_errorsRichard van der Hoff2018-09-276-0/+6
| | |\ \ \ \
| | * | | | | changelogRichard van der Hoff2018-09-271-0/+1
| | | | | | |
| * | | | | | Fix userconsent on Python 3 (#3938)Amber Brown2018-10-021-0/+1
| | |_|/ / / | |/| | | |
| * | | | | Merge pull request #3933 from matrix-org/erikj/destination_retry_cacheErik Johnston2018-10-011-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Add a five minute cache to get_destination_retry_timings
| | * \ \ \ \ Merge remote-tracking branch 'origin/develop' into erikj/destination_retry_cacheRichard van der Hoff2018-09-2814-0/+14
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | |
| | * | | | | Merge branch 'rav/fix_expiring_cache_len' into erikj/destination_retry_cacheRichard van der Hoff2018-09-262-0/+2
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge remote-tracking branch 'origin/develop' into erikj/destination_retry_cacheRichard van der Hoff2018-09-2544-39/+4
| | |\ \ \ \ \ \
| | * | | | | | | NewsfileErik Johnston2018-09-211-0/+1
| | | | | | | | |
| * | | | | | | | Further reduce the size of the docker image (#3972)Richard van der Hoff2018-10-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewrite the dockerfile as a multistage build: this means we can get rid of a whole load of cruft which we don't need.
| * | | | | | | | add --no-admin flag to registration script (#3836)Bruno Windels2018-09-281-0/+1
| | | | | | | | |
| * | | | | | | | Merge pull request #3964 from matrix-org/rav/remove_localhost_checksRichard van der Hoff2018-09-281-0/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | remove spurious federation checks on localhost
| | * | | | | | | | changelogRichard van der Hoff2018-09-261-0/+1
| | | |_|_|_|_|_|/ | | |/| | | | | |
| * | | | | | | | Merge pull request #3980 from matrix-org/rav/remove_broken_cache_callRichard van der Hoff2018-09-281-0/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove redundant call to start_get_pdu_cache
| | * | | | | | | | Remove redundant call to start_get_pdu_cacheRichard van der Hoff2018-09-281-0/+1
| | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think this got forgotten in #3932. We were getting away with it because it was the last call in this function.
| * / | | | | | | build python 3 docker images on circle CI (#3976)Jan Christian Grünhage2018-09-281-0/+1
| |/ / / / / / /
* / / / / / / / changelogMatthew Hodgson2018-09-291-0/+1
|/ / / / / / /
* | | | | | | Merge pull request #3794 from matrix-org/erikj/faster_typingRichard van der Hoff2018-09-271-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Improve performance of getting typing updates for replication
| * \ \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into erikj/faster_typingErik Johnston2018-09-1980-27/+53
| |\ \ \ \ \ \ \
| * | | | | | | | NewsfileErik Johnston2018-09-191-0/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #3946 from matrix-org/michaelkaye/automate_docker_hub_uploadRichard van der Hoff2018-09-271-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Build and push docker image to hub automatically
| * | | | | | | | | Do the changelog.d danceMichael Kaye2018-09-271-0/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #3967 from matrix-org/rav/federation_handler_cleanupsRichard van der Hoff2018-09-271-0/+1
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / | |/| | | | | | | | Clarifications in FederationHandler
| * | | | | | | | | changelogRichard van der Hoff2018-09-271-0/+1
| |/ / / / / / / /
* | | | | | | | | Merge pull request #3965 from matrix-org/rav/notify_app_services_bg_processAmber Brown2018-09-271-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Run notify_app_services as a bg process
| * | | | | | | | | changelogRichard van der Hoff2018-09-261-0/+1
| | |_|_|/ / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #3970 from schnuffle/develop-py3Amber Brown2018-09-271-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Replaced all occurences of e.message with str(e)
| * | | | | | | | | Update 3970.bugfixAmber Brown2018-09-271-1/+1
| | | | | | | | | |
| * | | | | | | | | Added changelog fragmentSchnuffle2018-09-271-0/+1
| | | | | | | | | |
* | | | | | | | | | Run our oldest supported configuration in CI (#3952)Amber Brown2018-09-271-0/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #3961 from matrix-org/neilj/lock_mau_upsertsRichard van der Hoff2018-09-271-0/+1
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | fix #3854 MAU transaction errors
| * | | | | | | | | towncrierNeil Johnson2018-09-261-0/+1
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | Merge pull request #3966 from matrix-org/rav/rx_txn_logging_2Richard van der Hoff2018-09-271-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Logging improvements
| * | | | | | | | | Logging improvementsRichard van der Hoff2018-09-261-0/+1
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Some logging tweaks to help with debugging incoming federation transactions
* | | | | | | | | Include eventid in log lines when processing incoming federation ↵Richard van der Hoff2018-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transactions (#3959) when processing incoming transactions, it can be hard to see what's going on, because we process a bunch of stuff in parallel, and because we may end up recursively working our way through a chain of three or four events. This commit creates a way to use logcontexts to add the relevant event ids to the log lines.
* | | | | | | | | docstrings and unittests for storage.state (#3958)Richard van der Hoff2018-09-271-0/+1
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | I spent ages trying to figure out how I was going mad...
* | | | | | | | changelogRichard van der Hoff2018-09-261-0/+1
|/ / / / / / /
* / / / / / / Reduce the load on our CI (#3957)Amber Brown2018-09-271-0/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changelog * reduce circleci config * plus a handy script * fix regex
* | | | | | Merge pull request #3956 from matrix-org/rav/fix_expiring_cache_lenRichard van der Hoff2018-09-261-0/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | Fix ExpiringCache.__len__ to be accurate
| * | | | | changelogRichard van der Hoff2018-09-261-0/+1
| | | | | |
* | | | | | Merge pull request #3948 from matrix-org/rav/no_symlink_synctlAmber Brown2018-09-261-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Move synctl into top dir to avoid a symlink
| * | | | | | changelogRichard van der Hoff2018-09-251-0/+1
| | | | | | |
* | | | | | | Merge pull request #3924 from matrix-org/rav/clean_up_on_receive_pduAmber Brown2018-09-261-0/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Comments and interface cleanup for on_receive_pdu
| * | | | | | changelogRichard van der Hoff2018-09-201-0/+1
| | | | | | |
* | | | | | | Merge pull request #3911 from matrix-org/jcgruenhage/docker-support-python3Richard van der Hoff2018-09-251-0/+1
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | make python 3 work in the docker container
| * | | | | | add changelogJan Christian Grünhage2018-09-201-0/+1
| | | | | | |
* | | | | | | Merge pull request #3932 from matrix-org/erikj/auto_start_expiring_cachesRichard van der Hoff2018-09-251-0/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | Fix some instances of ExpiringCache not expiring cache items
| * | | | | | NewsfileErik Johnston2018-09-211-0/+1
| | | | | | |
* | | | | | | added "media-src: 'self'" to CSP for resources (#3578)Jérémy Farnaud2018-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse doesn’t allow for media resources to be played directly from Chrome. It is a problem for users on other networks (e.g. IRC) communicating with Matrix users through a gateway. The gateway sends them the raw URL for the resource when a Matrix user uploads a video and the video cannot be played directly in Chrome using that URL. Chrome argues it is not authorized to play the video because of the Content Security Policy. Chrome checks for the "media-src" policy which is missing, and defauts to the "default-src" policy which is "none". As Synapse already sends "object-src: 'self'" I thought it wouldn’t be a problem to add "media-src: 'self'" to the CSP to fix this problem.
* | | | | | | Merge pull request #3925 from matrix-org/erikj/fix_producers_unregisteredRichard van der Hoff2018-09-251-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix spurious exceptions when client closes conncetion
| * | | | | | | NewsfileErik Johnston2018-09-201-0/+1
| | | | | | | |
* | | | | | | | changelogRichard van der Hoff2018-09-251-0/+1
| |_|_|_|/ / / |/| | | | | |
* | | | | | | Only lazy load self-members on initial syncMatthew Hodgson2018-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | Given we have disabled lazy loading for incr syncs in #3840, we can make self-LL more efficient by only doing it on initial sync. Also adds a bounds check for if/when we change our mind, so that we don't try to include LL members on sync responses with no timeline.
* | | | | | | Merge branch 'master' into developAmber Brown2018-09-2440-39/+0
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
* | | | | | | Merge pull request #3927 from matrix-org/erikj/handle_background_errorsErik Johnston2018-09-211-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Handle exceptions thrown by background tasks
| * | | | | | | NewsfileErik Johnston2018-09-201-0/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Always LL ourselves if we're in a room to simplify clients (#3916)Matthew Hodgson2018-09-201-0/+1
| |_|/ / / / |/| | | | | | | | | | | | | | | | | Should fix https://github.com/vector-im/riot-web/issues/7209
* | | | | | Merge pull request #3868 from matrix-org/neilj/fix_room_invite_mail_linksNeil Johnson2018-09-201-0/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Neilj/fix room invite mail links
| * | | | | Merge remote-tracking branch 'origin/develop' into ↵Richard van der Hoff2018-09-1813-0/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | neilj/fix_room_invite_mail_links
| * | | | | | towncrierNeil Johnson2018-09-131-0/+1
| | | | | | |
* | | | | | | Fix client IPs being broken on Python 3 (#3908)Amber Brown2018-09-201-0/+1
| |_|/ / / / |/| | | | |
* | | | | | Merge pull request #3914 from matrix-org/erikj/remove_retry_cacheErik Johnston2018-09-201-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove get_destination_retry_timings cache
| * | | | | | Fix up changelog and remove spurious commentErik Johnston2018-09-191-1/+1
| | | | | | |
| * | | | | | NewsfileErik Johnston2018-09-191-0/+1
| | | | | | |
* | | | | | | Add a way to run tests in PostgreSQL in Docker (#3699)Amber Brown2018-09-201-0/+2
| | | | | | |
* | | | | | | Add a regression test for logging on failed connections (#3912)Amber Brown2018-09-201-0/+1
| | | | | | |
* | | | | | | Improve the logging when handling a federation transaction (#3904)Richard van der Hoff2018-09-191-0/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's try to rationalise the logging that happens when we are processing an incoming transaction, to make it easier to figure out what is going wrong when they take ages. In particular: - make everything start with a [room_id event_id] prefix - make sure we log a warning when catching exceptions rather than just turning them into other, more cryptic, exceptions.
* | | | | | FixupErik Johnston2018-09-191-0/+0
| | | | | |
* | | | | | NewsfileErik Johnston2018-09-191-0/+1
|/ / / / /
* | | | | update changelog for #3909Richard van der Hoff2018-09-191-1/+1
| | | | |
* | | | | Merge pull request #3909 from turt2live/travis/fix-logging-1Amber Brown2018-09-191-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix matrixfederationclient.py logging: Destination is a string
| * | | | | ChangelogTravis Ralston2018-09-181-0/+1
| | | | | |
* | | | | | Remove documentation referencing Cygwin (#3873)Amber Brown2018-09-191-0/+2
| | | | | |
* | | | | | Merge pull request #3907 from matrix-org/rav/set_sni_to_server_nameAmber Brown2018-09-191-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Set SNI to the server_name, not whatever was in the SRV record
| * | | | | | changelogRichard van der Hoff2018-09-181-0/+1
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #3903 from matrix-org/rav/increase_get_missing_events_timeoutAmber Brown2018-09-191-0/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Bump timeout on get_missing_events request
| * | | | | changelogRichard van der Hoff2018-09-181-0/+1
| |/ / / /
* | | | | Use directory server for room joins (#3899)Richard van der Hoff2018-09-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we do a join, always try the server we used for the alias lookup first. Fixes #2418
* | | | | Refactor matrixfederationclient to fix logging (#3906)Richard van der Hoff2018-09-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to wait until we have read the response body before we log the request as complete, otherwise a confusing thing happens where the request appears to have completed, but we later fail it. To do this, we factor the salient details of a request out to a separate object, which can then keep track of the txn_id, so that it can be logged.
* | | | | Merge pull request #3894 from matrix-org/hs/phone_home_py_versionAmber Brown2018-09-191-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | Add python_version phone home stat
| * | | | Create 3894.featureWill Hunt2018-09-171-0/+1
| | | | |
* | | | | Merge pull request #3879 from matrix-org/matthew/fix-autojoinRichard van der Hoff2018-09-181-0/+1
|\ \ \ \ \ | | | | | | | | | | | | don't ratelimit autojoins
| * | | | | changelogMatthew Hodgson2018-09-151-0/+1
| | | | | |
* | | | | | Merge pull request #3882 from SimmyD/max_upload_docker_varRichard van der Hoff2018-09-181-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add variable for changing the max upload size in Docker container
| * | | | | | Adding the ability to change MAX_UPLOAD_SIZE for the docker container variables.Simon Dwyer2018-09-161-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Simon Dwyer <simon@thedwyers.co>
* | | | | | Merge pull request #3889 from matrix-org/rav/404_on_remove_unknown_aliasRichard van der Hoff2018-09-181-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Return a 404 when deleting unknown room alias
| * | | | | | changelogRichard van der Hoff2018-09-171-0/+1
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #3895 from matrix-org/rav/decode_bytes_in_metricsRichard van der Hoff2018-09-181-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix more b'abcd' noise in metrics
| * | | | | | changelogRichard van der Hoff2018-09-171-0/+1
| | | | | | |
* | | | | | | Add changelogAaron Raimist2018-09-171-0/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* / / / / / changelogRichard van der Hoff2018-09-171-0/+1
|/ / / / /
* / / / / changelogRichard van der Hoff2018-09-171-0/+1
|/ / / /
* | | | missing changelogMatthew Hodgson2018-09-151-0/+1
| | | |
* | | | NewsfileErik Johnston2018-09-141-0/+1
| | | |
* | | | don't filter membership events based on history visibility (#3874)Matthew Hodgson2018-09-141-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't filter membership events based on history visibility as we will already have filtered the messages in the timeline, and state events are always visible. and because @erikjohnston said so.
* | | | Merge pull request #3872 from matrix-org/hawkowl/timeouts-2Erik Johnston2018-09-141-0/+1
|\ \ \ \ | | | | | | | | | | timeouts 2: electric boogaloo
| * | | | changelogAmber Brown2018-09-151-0/+1
| |/ / /
* | | | NewsfileErik Johnston2018-09-141-0/+1
| | | |
* | | | Create 3860.miscTravis Ralston2018-09-131-0/+1
|/ / /
* | | merge (#3576)Amber Brown2018-09-141-0/+1
| | |
* | | Merge pull request #3856 from matrix-org/erikj/speed_up_purge hhs-8Erik Johnston2018-09-131-0/+1
|\ \ \ | | | | | | | | Make purge history slightly faster
| * \ \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-09-131-0/+1
| |\ \ \ | | | | | | | | | | | | | | | erikj/speed_up_purge
| * | | | NewsfileErik Johnston2018-09-131-0/+1
| | | | |
* | | | | Merge pull request #3859 from matrix-org/erikj/add_iterkeysAmber Brown2018-09-141-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix handling of redacted events from federation
| * | | | | NewsfileErik Johnston2018-09-131-0/+1
| | | | | |
* | | | | | fix circleci merged builds (#3858)Amber Brown2018-09-141-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | * fix * changelog
* | / / / Attempt to figure out what's going on with timeouts (#3857)Amber Brown2018-09-141-0/+1
| |/ / / |/| | |
* | | | Remove some superfluous logging (#3855)Amber Brown2018-09-131-0/+1
|/ / /
* | | Merge pull request #3846 from matrix-org/neilj/expose-registered-users hhs-7Neil Johnson2018-09-121-0/+1
|\ \ \ | | | | | | | | expose number of real reserved users
| * | | improve namingNeil Johnson2018-09-121-1/+1
| | | |
| * | | towncrierNeil Johnson2018-09-121-0/+1
| | | |
* | | | show heroes if a room has a 'deleted' name/canonical_alias (#3851)Matthew Hodgson2018-09-121-0/+1
| | | |
* | | | Merge pull request #3853 from matrix-org/erikj/log_outbound_each_timeErik Johnston2018-09-121-0/+1
|\ \ \ \ | | | | | | | | | | Log outbound requests when we retry
| * | | | NewsfileErik Johnston2018-09-121-0/+1
| | | | |
* | | | | Merge pull request #3841 from matrix-org/erikj/manhole_key_lengthErik Johnston2018-09-121-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Change the manhole SSH key to have more bits
| * | | | | NewsfileErik Johnston2018-09-111-0/+1
| | | | | |
* | | | | | Add JUnit summaries to CircleCI as well as merged runs (#3704)Amber Brown2018-09-121-0/+1
| | | | | |
* | | | | | Port federation/ to py3 (#3847)Amber Brown2018-09-121-0/+1
| | | | | |
* | | | | | Merge pull request #3835 from krombel/fix_3821Amber Brown2018-09-121-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix VOIP crashes under Python 3
| * | | | | | add changelogKrombel2018-09-101-0/+1
| | | | | | |
* | | | | | | Merge pull request #3826 from matrix-org/rav/logging_for_keyringAmber Brown2018-09-121-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | add some logging for the keyring queue
| * | | | | | | changelogRichard van der Hoff2018-09-071-0/+1
| | | | | | | |
* | | | | | | | Merge pull request #3824 from matrix-org/rav/fix_jwt_importAmber Brown2018-09-121-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix jwt import check
| * | | | | | | | changelogRichard van der Hoff2018-09-071-0/+1
| | | | | | | | |
* | | | | | | | | Port rest/ to Python 3 (#3823)Amber Brown2018-09-121-0/+1
| |_|_|_|/ / / / |/| | | | | | |
* | | | | | | | Port crypto/ to Python 3 (#3822)Amber Brown2018-09-121-0/+1
| | | | | | | |
* | | | | | | | NewsfileErik Johnston2018-09-121-0/+1
| |_|_|_|/ / / |/| | | | | |
* | | | | | | Speed up lazy loading (#3827)Matthew Hodgson2018-09-122-0/+2
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | * speed up room summaries by pulling their data from room_memberships rather than room state * disable LL for incr syncs, and log incr sync stats (#3840)
* | | | | | NewsfileMathijs van Gorcum2018-09-101-0/+1
| |_|/ / / |/| | | |
* | | | | Merge pull request #3810 from matrix-org/erikj/send_tags_down_sync_on_joinAmber Brown2018-09-071-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | Send existing room tags down sync on join
| * | | | NewsfileErik Johnston2018-09-061-0/+1
| | | | |
* | | | | Merge branch 'master' into developAmber Brown2018-09-0727-27/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | changelog v0.33.4 github/release-v0.33.4 release-v0.33.4Amber Brown2018-09-071-1/+0
| | | | |
| * | | | Create 3802.miscJan Christian Grünhage2018-09-061-0/+1
| | | | |
| * | | | version and towncrier v0.33.4rc1Amber Brown2018-09-0427-27/+0
| | | | |
* | | | | Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-0/+1
| | | | |
* | | | | Merge pull request #3800 from matrix-org/neilj/remove-guests-from-mau-count hhs-6Neil Johnson2018-09-061-0/+1
|\ \ \ \ \ | |_|/ / / |/| | | | guest users should not be part of mau total
| * | | | towncrierNeil Johnson2018-09-051-0/+1
| | |/ / | |/| |
* | | | Merge pull request #3805 from matrix-org/erikj/limit_transaction_pdus_edusAmber Brown2018-09-071-0/+1
|\ \ \ \ | | | | | | | | | | Limit the number of PDUs/EDUs per fedreation transaction
| * | | | SpellingErik Johnston2018-09-061-1/+1
| | | | |
| * | | | NewsfileErik Johnston2018-09-061-0/+1
| | | | |
* | | | | Merge pull request #3806 from matrix-org/erikj/limit_postgres_travisAmber Brown2018-09-071-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Only start postgres instance for postgres tests on Travis CI
| * | | | | NewsfileErik Johnston2018-09-061-0/+1
| |/ / / /
* | | | | Merge pull request #3788 from matrix-org/erikj/remove_conn_idAmber Brown2018-09-071-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Remove conn_id from repl prometheus metrics
| * | | | | NewsfileErik Johnston2018-09-031-0/+1
| | | | | |
* | | | | | Merge pull request #3795 from matrix-org/erikj/faster_sync_stateAmber Brown2018-09-071-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | User iter* during sync state calculations
| * | | | | | NewsfileErik Johnston2018-09-051-0/+1
| | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request #3804 from matrix-org/rav/fix_openssl_depAmber Brown2018-09-071-0/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | bump dep on pyopenssl to 16.x
| * | | | | changelogRichard van der Hoff2018-09-061-0/+1
| | |_|/ / | |/| | |
* / | | | Port handlers/ to Python 3 (#3803)Amber Brown2018-09-071-0/+1
|/ / / /
* | | | Merge pull request #3790 from matrix-org/rav/respect_event_format_in_filterRichard van der Hoff2018-09-051-0/+1
|\ \ \ \ | | | | | | | | | | Implement 'event_format' filter param in /sync
| * | | | changelogRichard van der Hoff2018-09-041-0/+1
| | |_|/ | |/| |
* | | | Port http/ to Python 3 (#3771)Amber Brown2018-09-061-0/+1
| |/ / |/| |