- Feb 03, 2023
-
-
David Robertson authored
-
- Jan 26, 2023
-
-
Patrick Cloke authored
* FIx-up type hints in tests.logging. * Add missing type hints to test_transactions.
-
Andrew Morgan authored
-
- Jan 25, 2023
-
-
Patrick Cloke authored
-
Andrew Morgan authored
-
- Jan 22, 2023
-
-
Andrew Morgan authored
-
- Jan 21, 2023
-
-
Andrew Morgan authored
-
- Jan 11, 2023
-
-
Patrick Cloke authored
-
- Dec 28, 2022
-
-
Patrick Cloke authored
Adds type hints to tests.metrics and tests.crypto.
-
- Dec 16, 2022
-
-
Patrick Cloke authored
-
Patrick Cloke authored
And do not allow untyped defs in tests.handlers.
-
- Dec 13, 2022
-
-
David Robertson authored
* Declare new config * Parse new config * Read new config * Don't use trial/our TestCase where it's not needed Before: ``` $ time trial tests/events/test_utils.py > /dev/null real 0m2.277s user 0m2.186s sys 0m0.083s ``` After: ``` $ time trial tests/events/test_utils.py > /dev/null real 0m0.566s user 0m0.508s sys 0m0.056s ``` * Helper to upsert to event fields without exceeding size limits. * Use helper when adding invite/knock state Now that we allow admins to include events in prejoin room state with arbitrary state keys, be a good Matrix citizen and ensure they don't accidentally create an oversized event. * Changelog * Move StateFilter tests should have done this in #14668 * Add extra methods to StateFilter * Use StateFilter * Ensure test file enforces typed defs; alphabetise * Workaround surprising get_current_state_ids * Whoops, fix mypy
-
- Dec 12, 2022
-
-
David Robertson authored
* Enable `--warn-redundant-casts` option in mypy Doesn't do much but helps me sleep better at night. * Changelog * Fix name of the ignore * Fix one more missed cast Not sure why I didn't see this one locally, maybe I needed a poetry update * Remove old comment Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
- Dec 09, 2022
-
-
Patrick Cloke authored
Adds missing type hints to `tests.storage` package and does not allow untyped definitions.
-
- Dec 02, 2022
-
-
Patrick Cloke authored
Removes files under tests.util from the ignored by list, then fully types all tests/util/*.py files.
-
- Nov 25, 2022
-
-
Ashish Kumar authored
This commit adds support for handling a provided avatar picture URL when logging in via SSO. Signed-off-by:
Ashish Kumar <ashfame@users.noreply.github.com> Fixes #9357.
-
- Nov 22, 2022
-
-
Patrick Cloke authored
-
- Nov 17, 2022
-
-
Andrew Morgan authored
-
- Nov 16, 2022
-
-
David Robertson authored
* Add tests for StreamIdGenerator * Drive-by: annotate all defs * Revert "Revert "Remove slaved id tracker (#14376)" (#14463)" This reverts commit d63814fd, which in turn reverted 36097e88. This restores the latter. * Fix StreamIdGenerator not handling unpersisted IDs Spotted by @erikjohnston. Closes #14456. * Changelog Co-authored-by:
Nick Mills-Barrett <nick@fizzadar.com> Co-authored-by:
Erik Johnston <erik@matrix.org>
-
- Oct 31, 2022
-
-
David Robertson authored
-
- Oct 06, 2022
-
-
David Robertson authored
-
- Sep 06, 2022
-
-
Erik Johnston authored
-
- Aug 15, 2022
-
-
David Robertson authored
Use Pydantic to systematically validate a first batch of endpoints in `synapse.rest.client.account`. (#13188)
-
- Jul 21, 2022
-
-
Patrick Cloke authored
After this change `synapse.logging` is fully typed.
-
- 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 30, 2022
-
-
Patrick Cloke authored
Completes type hints for synapse.logging.scopecontextmanager and (partially) for synapse.logging.opentracing.
-
David Robertson authored
-
- Jun 28, 2022
-
-
David Robertson authored
-
- Jun 15, 2022
-
-
David Robertson authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
- Jun 09, 2022
-
-
David Robertson authored
-
- May 23, 2022
-
-
Dirk Klimpel authored
Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
- May 19, 2022
-
-
David Robertson authored
-
- May 18, 2022
-
-
Dirk Klimpel authored
Co-authored-by:
David Robertson <david.m.robertson1@gmail.com>
-
- May 17, 2022
-
-
Dirk Klimpel authored
-
- May 16, 2022
-
-
David Robertson authored
Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
- May 13, 2022
-
-
David Robertson authored
-
- May 12, 2022
-
-
David Robertson authored
-
- May 04, 2022
-
-
andrew do authored
-
- May 03, 2022
-
-
David Robertson authored
-