Eric Eastwood
fbd92e1c9d
Add get_current_state_delta_membership_changes_for_user(...)
(using current_state_delta_stream
)
...
(still need to add newly_left rooms back)
2024-06-25 20:16:50 -05:00
Eric Eastwood
83d6f76606
Describe current_state_delta_stream
better
2024-06-25 15:27:49 -05:00
Eric Eastwood
4c22131442
Start testing for the correct room membership (failing)
2024-06-25 15:27:43 -05:00
Eric Eastwood
303d834b78
Add tracking discussion for not optional in the future
2024-06-25 12:38:09 -05:00
Eric Eastwood
e3e431fab4
Finish up stripped_state for invite rooms
...
See https://github.com/element-hq/synapse/pull/17320#discussion_r1646581077
2024-06-25 12:35:50 -05:00
Eric Eastwood
7aea406c22
Just stripped_state for invite rooms
2024-06-25 11:18:27 -05:00
Eric Eastwood
3568311989
Fix spelling typo
2024-06-24 19:08:18 -05:00
Eric Eastwood
21ca02c5ad
newly_joined
vs limited
already being tracked in a discussion
...
See https://github.com/element-hq/synapse/pull/17320#discussion_r1646579623
if anything comes out of it.
2024-06-24 16:08:58 -05:00
Eric Eastwood
0e71a2f2d1
Add TODO for filtering call invites in public rooms
2024-06-24 15:56:27 -05:00
Eric Eastwood
87fac19fde
Fix lints
...
See https://github.com/element-hq/synapse/pull/17320#discussion_r1647701997
```
synapse/federation/federation_server.py:677: error: Cannot determine type of "_join_rate_per_room_limiter" [has-type]
synapse/federation/federation_server.py:720: error: Cannot determine type of "_join_rate_per_room_limiter" [has-type]
```
2024-06-24 10:15:15 -05:00
Eric Eastwood
b1b4231ccb
Merge branch 'develop' into madlittlemods/sliding-sync-room-data
2024-06-24 10:12:05 -05:00
Eric Eastwood
ae4c236a6d
Fix room type
typo in mailer ( #17336 )
...
Correct event content field is `EventContentFields.ROOM_TYPE` (`type`) ✅ , not `room_type` ❌
Spec: https://spec.matrix.org/v1.10/client-server-api/#mroomcreate
2024-06-24 10:02:16 -05:00
Erik Johnston
930a64b6c1
Reintroduce #17291 . ( #17338 )
...
This is #17291 (which got reverted), with some added fixups, and change
so that tests actually pick up the error.
The problem was that we were not calculating any new chain IDs due to a
missing `not` in a condition.
2024-06-24 14:40:28 +00:00
Shay
7a11c0ac4f
Add support for MSC3823 - Account Suspension Part 2 ( #17255 )
2024-06-24 14:21:22 +01:00
Erik Johnston
cf711ac03c
Reduce device lists replication traffic. ( #17333 )
...
Reduce the replication traffic of device lists, by not sending every
destination that needs to be sent the device list update over
replication. Instead a "hosts to send to have been calculated"
notification over replication, and then federation senders read the
destinations from the DB.
For non federation senders this should heavily reduce the impact of a
user in many large rooms changing a device.
2024-06-24 14:15:13 +01:00
Denis Kasak
700d2cc4a0
Tidy up integer parsing ( #17339 )
...
The parse_integer function was previously made to reject negative values by
default in https://github.com/element-hq/synapse/pull/16920 , but the
documentation stated otherwise. This fixes the documentation and also:
- Removes explicit negative=False parameters from call sites.
- Brings the negative default of parse_integer_from_args in alignment with
parse_integer.
2024-06-24 15:12:14 +02:00
dependabot[bot]
1e74b50dc6
Bump lazy_static from 1.4.0 to 1.5.0 ( #17355 )
2024-06-24 13:34:56 +01:00
dependabot[bot]
7c2d8f1f01
Bump typing-extensions from 4.11.0 to 4.12.2 ( #17354 )
2024-06-24 13:32:44 +01:00
dependabot[bot]
118b734081
Bump netaddr from 1.2.1 to 1.3.0 ( #17353 )
2024-06-24 13:32:14 +01:00
dependabot[bot]
7a6186b888
Bump packaging from 24.0 to 24.1 ( #17352 )
2024-06-24 13:32:05 +01:00
dependabot[bot]
452a59f887
Bump sentry-sdk from 2.3.1 to 2.6.0 ( #17351 )
2024-06-24 13:31:54 +01:00
dependabot[bot]
adeedb7b7c
Bump urllib3 from 2.0.7 to 2.2.2 ( #17346 )
2024-06-21 13:42:09 +01:00
dependabot[bot]
7c5fb13f7b
Bump requests from 2.31.0 to 2.32.2 ( #17345 )
2024-06-21 13:42:01 +01:00
dependabot[bot]
f8d57ce656
Bump tornado from 6.4 to 6.4.1 ( #17344 )
2024-06-21 13:41:53 +01:00
dependabot[bot]
13ed84c573
Bump authlib from 1.3.0 to 1.3.1 ( #17343 )
2024-06-21 13:41:44 +01:00
Eric Eastwood
0eb029472e
Remove unused IncludeOldRooms
class
2024-06-20 14:34:10 -05:00
Eric Eastwood
884b448012
Update some wording
2024-06-19 13:50:28 -05:00
Eric Eastwood
6942b6476a
Merge branch 'develop' into madlittlemods/sliding-sync-room-data
2024-06-19 13:24:12 -05:00
Eric Eastwood
d801db0d96
Fix lints
2024-06-19 13:24:01 -05:00
Eric Eastwood
c81f3006a5
Add better support for leave/ban
2024-06-19 12:54:39 -05:00
Erik Johnston
4243c1f074
Revert "Handle large chain calc better ( #17291 )" ( #17334 )
...
This reverts commit bdf82efea5
(#17291 )
This seems to have stopped persisting auth chains for new events, and so
is causing state res to fall back to the slow methods
2024-06-19 17:39:33 +01:00
Erik Johnston
3239b7459c
Register sliding sync under a different path ( #17331 )
...
As the API is slightly incompatible.
2024-06-19 16:18:45 +00:00
Jörg Thalheim
c99203d98c
register-new-matrix-user: add a flag to ignore already existing users ( #17304 )
...
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
2024-06-19 12:03:08 +01:00
Alexander Fechler
9104a9f0d0
Filter added to Admin-API GET /rooms ( #17276 )
2024-06-19 11:45:48 +01:00
Andrew Morgan
a412a5829d
Update the README with Element branding and a few fixes ( #17324 )
...
Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2024-06-19 10:58:22 +01:00
Aaron Dewes
7ef89b985d
Remove expire_access_token
from Docker configuration ( #17198 )
...
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
2024-06-19 10:58:06 +01:00
Erik Johnston
bdf82efea5
Handle large chain calc better ( #17291 )
...
We calculate the auth chain links outside of the main persist event
transaction to ensure that we do not block other event sending during
the calculation.
2024-06-19 10:33:53 +01:00
Andrew Morgan
afaf2d9388
Require the 'from' parameter for /notifications
be an integer ( #17283 )
...
Co-authored-by: Erik Johnston <erikj@element.io>
2024-06-19 10:05:39 +01:00
Eric Eastwood
57ba0336bd
Merge branch 'develop' into madlittlemods/sliding-sync-room-data
2024-06-18 22:31:27 -05:00
Eric Eastwood
1c06153a0d
Determine limited before filtering
2024-06-18 22:30:40 -05:00
Eric Eastwood
9883b0f63f
Add bundled aggregations
2024-06-18 21:00:26 -05:00
Eric Eastwood
39b4f10533
Update comments
2024-06-18 19:55:12 -05:00
Eric Eastwood
71eabe5e63
Make room name optional
2024-06-18 19:41:41 -05:00
Eric Eastwood
70ecd4d8d3
Fix lint
2024-06-18 19:38:35 -05:00
Eric Eastwood
9791209a3d
Add more tests
2024-06-18 18:10:17 -05:00
Eric Eastwood
81d36f36c1
Add tests for limited
2024-06-18 15:28:23 -05:00
Andrew Morgan
199223062a
Revert "Support MSC3916 by adding a federation /download
endpoint" ( #17325 )
2024-06-18 16:54:19 +01:00
Eric Eastwood
19b2297171
Calculate num_live
2024-06-18 10:36:50 -05:00
Jörg Thalheim
97c3d98816
register_new_matrix_user: add password-file flag ( #17294 )
...
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
2024-06-18 16:21:51 +01:00
Eric Eastwood
94279915d4
Clean up knock_state comments
2024-06-18 10:09:33 -05:00