1
0
Commit Graph

20350 Commits

Author SHA1 Message Date
Sean Quah
9a2ccb6df8 Bump parameterized dependency to >= 0.7.4
parameterized < 0.7.4 can create classes with names that do not play
well with trial in multiple worker mode.
2022-03-15 15:19:33 +00:00
David Robertson
6c02e36f7f WIP: Try to fix twisted trunk job 2022-03-14 18:42:02 +00:00
David Robertson
ede1939354 aaaaaaaaaaaaaaaaaaanother 2022-03-14 18:42:02 +00:00
David Robertson
ae181ccf08 try poetry again 2022-03-14 18:42:02 +00:00
David Robertson
ea4c2b96aa aaaaaaaaaaaaaaaaaaa 2022-03-14 18:42:02 +00:00
David Robertson
26b1e05a7c desperationg tox 2022-03-14 18:42:02 +00:00
David Robertson
050a6cdd5d rollback? 2022-03-14 18:42:02 +00:00
David Robertson
c5a7465a1a sod off, baldrick 2022-03-14 18:42:02 +00:00
David Robertson
4b2ec2db57 lock? 2022-03-14 18:42:01 +00:00
David Robertson
30262cdd2b baaaaaaaaaaaaaaaaa 2022-03-14 18:42:01 +00:00
David Robertson
8664ceb24a path 2022-03-14 18:42:01 +00:00
David Robertson
24367c207b skippppp 2022-03-14 18:42:01 +00:00
David Robertson
951cad641e Can I just use poetry? 2022-03-14 18:42:01 +00:00
David Robertson
0bee38ec68 need parameterized 2022-03-14 18:42:01 +00:00
David Robertson
a78bd18cda blease work 2022-03-14 18:42:01 +00:00
David Robertson
7ababda710 BUMS 2022-03-14 18:42:01 +00:00
David Robertson
5eb215bf95 debug 2022-03-14 18:42:01 +00:00
David Robertson
28bec9f1cd lol got the line wrong 2022-03-14 18:42:01 +00:00
David Robertson
e4fb42a12f source venc. try again 2022-03-14 18:42:00 +00:00
David Robertson
964c937257 WIP 2022-03-14 18:42:00 +00:00
David Robertson
fbbd0d1d5c Try to fix olddeps 2022-03-14 18:42:00 +00:00
David Robertson
fc10d933bc TODO note 2022-03-14 18:42:00 +00:00
David Robertson
c8faad496e Include test extra
I thought we might be able to get away without this and make it a dev
dependency only. But in olddeps it's easier to have this (otherwise I
have to worry about version conflicts between dev deps and the normal
deps).

lock the test extra
2022-03-14 18:41:58 +00:00
David Robertson
7db600a8b1 And try to fix export-data 2022-03-14 12:16:15 +00:00
David Robertson
a91b855cf9 Try and run portdb under poetry
attempt 3
2022-03-14 12:16:14 +00:00
David Robertson
fa0086ef3f Attempt to use poetry env in docker container
Fix linter

Dockerfile tweaks
2022-03-14 12:16:12 +00:00
David Robertson
e22ae98188 Use trial directly, not via tox
Try to fix some tests??
2022-03-14 12:15:41 +00:00
David Robertson
74fe853c4e Note version guard 2022-03-14 12:14:49 +00:00
David Robertson
0fe433c3c0 Use common linting workflow
Black, isort, flake8 don't need arguments now
2022-03-14 12:14:49 +00:00
David Robertson
70770811b1 Changelog 2022-03-14 12:14:48 +00:00
David Robertson
414a23ec69 Dirty duplication to make all work 2022-03-14 12:14:48 +00:00
David Robertson
1a25ef7e8d Specify deps in pyproject.toml
- Nuke python_dependencies and setup.py
- Allow commiting poetry.lock
- Initial lockfile pulling in the latest version of deps at the time of locking

Anticipate typing-extensions bump from Sean
2022-03-14 12:14:47 +00:00
David Robertson
968638a856 Ignore .envrc for direnv users 2022-03-14 12:11:20 +00:00
David Robertson
85935ffb37 Nuke the tox packaging job
It only checked the manifest, and there is no manifest any more.
2022-03-14 12:11:20 +00:00
Patrick Cloke
54f674f7a9 Deprecate the groups/communities endpoints and add an experimental configuration flag. (#12200) 2022-03-12 13:23:37 -05:00
Shay
ef3619e61d Add config settings for background update parameters (#11980) 2022-03-11 10:46:45 -08:00
Brendan Abolivier
e6a106fd5e Implement a Jinja2 filter to extract localparts from email addresses (#12212) 2022-03-11 15:15:11 +00:00
reivilibre
4a53f35737 Improve code documentation for the typing stream over replication. (#12211) 2022-03-11 14:00:15 +00:00
Nick Mills-Barrett
735e89bd3a Add an additional HTTP pusher + push rule tests. (#12188)
And rename the field used for caching from _id to _cache_key.
2022-03-11 08:45:26 -05:00
Brendan Abolivier
003cc6910a Update the SSO username picker template to comply with SIWA guidelines (#12210)
Fixes https://github.com/matrix-org/synapse/issues/12205
2022-03-11 13:20:00 +00:00
Dirk Klimpel
32c828d0f7 Add type hints to tests/rest. (#12208)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2022-03-11 12:42:22 +00:00
Patrick Cloke
e10a2fe0c2 Add some type hints to the tests.handlers module. (#12207) 2022-03-11 07:07:15 -05:00
Patrick Cloke
bc9dff1d95 Remove unnecessary pass statements. (#12206) 2022-03-11 07:06:21 -05:00
Andrew Morgan
3b12f6d61b Note that contributors can sign off privately (#12204)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2022-03-11 11:10:20 +00:00
Richard van der Hoff
483f2aa2ec Retention test: avoid relying on state at purged events (#12202)
This test was relying on poking events which weren't in the database into
filter_events_for_client.
2022-03-11 10:33:49 +00:00
~creme
7577894bec Document that most streams can only have a single writer. (#12196)
This includes the `typing`, `to_device`, `account_data`, `receipts`, and `presence`
streams (really anything except the `events` stream).
2022-03-10 18:15:19 +00:00
Shay
ed9aea42fa fix misleading comment in check_events_for_spam (#12203) 2022-03-10 09:40:07 -08:00
reivilibre
72e7f1c420 Remove workaround introduced in Synapse v1.50.0rc1 for Mjolnir compatibility. Breaks compatibility with Mjolnir v1.3.1 and earlier. (#11700) 2022-03-10 15:53:23 +00:00
Patrick Cloke
ea27528b5d Support stable identifiers for MSC3440: Threading (#12151)
The unstable identifiers are still supported if the experimental configuration
flag is enabled. The unstable identifiers will be removed in a future release.
2022-03-10 15:36:13 +00:00
Richard van der Hoff
52a947dc46 Updates to the Room DAG concepts development document (#12179)
Some stuff that came up while we were talking about #12173.
2022-03-10 15:18:31 +00:00