- Sep 30, 2022
-
-
David Robertson authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
David Robertson authored
This reverts commit 6d543d6d.
-
David Robertson authored
* Update mypy and mypy-zope * Unignore assigning to LogRecord attributes Presumably https://github.com/python/typeshed/pull/8064 makes this ok Cherry-picked from #13521 * Remove unused ignores due to mypy ParamSpec fixes https://github.com/python/mypy/pull/12668 Cherry-picked from #13521 * Remove additional unused ignores * Fix new mypy complaints related to `assertGreater` Presumably due to https://github.com/python/typeshed/pull/8077 * Changelog * Reword changelog Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
- Sep 06, 2022
-
-
Patrick Cloke authored
Removes the ability to configure legacy direct TCP replication. Workers now require Redis to run.
-
- Aug 15, 2022
-
-
David Robertson authored
This reverts commit f383b9b3. Other PRs were seeing mypy failures that looked to be related to mypy-zope. Confusingly, we didn't see this on #13521. Revert this for now and investigate later.
-
David Robertson authored
-
- Jul 19, 2022
-
-
David Robertson authored
-
- Jul 05, 2022
-
-
David Robertson authored
* Cast to postgres types when handling postgres db * Remove unused method * Easy annotations * Annotate create_room * Use `ParamSpec` to annotate looping_call * Annotate `default_config` * Track `now` as a float `time_ms` returns an int like the proper Synapse `Clock` * Introduce a `Timer` dataclass * Introduce a Looper type * Suppress checking of a mock * tests.utils is typed * Changelog * Whoops, import ParamSpec from typing_extensions * ditch the psycopg2 casts
-
- Jul 04, 2022
-
-
Andrew Morgan authored
-
- Jun 15, 2022
-
-
Erik Johnston authored
-
- May 31, 2022
-
-
Erik Johnston authored
-
- Apr 05, 2022
-
-
reivilibre authored
-
- Mar 24, 2022
-
-
Patrick Cloke authored
The `MockHttpResource` and `MockKey` objects were unused since #9396 (74af356b).
-
- Feb 23, 2022
-
-
Richard van der Hoff authored
The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
-
- Jan 07, 2022
-
-
David Robertson authored
* Optionally use an on-disk sqlite db in tests When debugging a test it is sometimes useful to inspect the state of the DB. This is not easy when the db is in-memory: one cannot attach the sqlite CLI to another process's DB. With this change, if SYNAPSE_TEST_PERSIST_SQLITE_DB is set, we use `_trial_temp/test.db` as our sqlite database. One can then use `sqlite3 _trial_temp/test.db` and query to your heart's content. The DB is destroyed and recreated between different test cases. Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
- Dec 21, 2021
-
-
reivilibre authored
-
- Dec 03, 2021
-
-
Olivier Wilkinson (reivilibre) authored
-
Olivier Wilkinson (reivilibre) authored
It had no users. We have just taken the identity of a previous function but don't provide the same behaviour, so we need to fix this in the next commit...
-
- Nov 23, 2021
-
-
Shay authored
Remove code invalidated by deprecated config flag 'trust_identity_servers_for_password_resets' (#11395) * remove background update code related to deprecated config flag * changelog entry * update changelog * Delete 11394.removal Duplicate, wrong number * add no-op background update and change newfragment so it will be consolidated with associated work * remove unused code * Remove code associated with deprecated flag from legacy docker dynamic config file Co-authored-by:
reivilibre <oliverw@matrix.org>
-
- Sep 23, 2021
-
-
Andrew Morgan authored
-
- Aug 02, 2021
-
-
Toni Spets authored
Setting the value will help PostgreSQL free up memory by recycling the connections in the connection pool. Signed-off-by:
Toni Spets <toni.spets@iki.fi>
-
- Apr 23, 2021
-
-
Andrew Morgan authored
-
- Apr 20, 2021
-
-
Jonathan de Jong authored
-
- Apr 14, 2021
-
-
Jonathan de Jong authored
Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by:
Jonathan de Jong <jonathan@automatia.nl>`>
-
- Apr 13, 2021
-
-
Dan Callahan authored
Signed-off-by:
Dan Callahan <danc@element.io>
-
- Apr 09, 2021
-
-
Patrick Cloke authored
-
- Mar 30, 2021
-
-
Richard van der Hoff authored
`room_invite_state_types` was inconvenient as a configuration setting, because anyone that ever set it would not receive any new types that were added to the defaults. Here, we deprecate the old setting, and replace it with a couple of new settings under `room_prejoin_state`.
-
- Feb 22, 2021
-
-
Richard van der Hoff authored
`uploads_path` was a thing that was never used; most of it was removed in #6628 but a few vestiges remained.
-
- Feb 16, 2021
-
-
Eric Eastwood authored
- Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
-
- Feb 11, 2021
-
-
Patrick Cloke authored
This breaks some people's configurations (if their Client-Server API is not accessed via port 443).
-
- Jan 28, 2021
-
-
Erik Johnston authored
-
- Jan 27, 2021
-
-
Richard van der Hoff authored
Fixes #8928.
-
- Jan 20, 2021
-
-
Richard van der Hoff authored
-
- Dec 02, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This is now only used in `test_typing`, so move it there.
-
- Nov 30, 2020
-
-
Jonathan de Jong authored
Changes `@cache_in_self` to use underscore-prefixed attributes.
-
- Oct 15, 2020
-
-
Jonathan de Jong authored
This implements a more standard API for instantiating a homeserver and moves some of the dependency injection into the test suite. More concretely this stops using `setattr` on all `kwargs` passed to `HomeServer`.
-
- Oct 09, 2020
-
-
Patrick Cloke authored
-
- Oct 02, 2020
-
-
Erik Johnston authored
This is so we can tell what is going on when things are taking a while to start up. The main change here is to ensure that transactions that are created during startup get correctly logged like normal transactions.
-
Patrick Cloke authored
-