1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-31 03:45:13 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Quentin Gliech
7d52ce7d4b
Format files with Ruff ()
I thought ruff check would also format, but it doesn't.

This runs ruff format in CI and dev scripts. The first commit is just a
run of `ruff format .` in the root directory.
2024-09-02 12:39:04 +01:00
Erik Johnston
23740eaa3d
Correctly mention previous copyright ()
During the migration the automated script to update the copyright
headers accidentally got rid of some of the existing copyright lines.
Reinstate them.
2024-01-23 11:26:48 +00:00
Erik Johnston
eaad9bb156 Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
Travis Ralston
d6e194b2bc
Implement MSC4069: Inhibit profile propagation ()
MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/4069
2023-12-04 11:36:12 +00:00
Patrick Cloke
8e1e62c9e0 Update license headers 2023-11-21 15:29:58 -05:00
Patrick Cloke
f2f2c7c1f0
Use full GitHub links instead of bare issue numbers. () 2023-11-15 08:02:11 -05:00
Mohit Rathee
5eb3fd785b
Trim whitespace when setting display names () 2023-08-01 09:14:02 -04:00
dependabot[bot]
9bb2eac719
Bump black from 22.12.0 to 23.1.0 () 2023-02-22 15:29:09 -05:00
David Robertson
d102ad67fd
annotate tests.server.FakeChannel () 2022-07-04 18:08:56 +01:00
David Robertson
c99b511db9
Fix destination_is errors seen in sentry. ()
* Rename test_fedclient to match its source file
* Require at least one destination to be truthy
* Explicitly validate user ID in profile endpoint GETs
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2022-06-14 18:28:26 +01:00
Dirk Klimpel
1901cb1d4a
Add type hints to tests/rest/client () 2022-02-28 17:47:37 +00:00
Patrick Cloke
02d708568b
Replace assertEquals and friends with non-deprecated versions. () 2022-02-28 07:12:29 -05:00
Richard van der Hoff
e24ff8ebe3
Remove HomeServer.get_datastore() ()
The presence of this method was confusing, and mostly present for backwards
compatibility. Let's get rid of it.

Part of 
2022-02-23 11:04:02 +00:00
Brendan Abolivier
bf60da1a60
Configurable limits on avatars ()
Only allow files which file size and content types match configured
limits to be set as avatar.

Most of the inspiration from the non-test code comes from 
2022-01-28 15:41:33 +01:00
David Robertson
ecd823d766
Flatten tests/rest/client/{v1,v2_alpha} too () 2021-08-20 17:50:44 +01:00
Renamed from tests/rest/client/v1/test_profile.py (Browse further)