synapse-old/synapse
reivilibre f54f877f27
Preparatory work to fix the user directory assuming that any remote membership state events represent a profile change. [rei:userdirpriv] (#14755)
* Remove special-case method for new memberships only, use more generic method

* Only collect profiles from state events in public rooms

* Add a table to track stale remote user profiles

* Add store methods to set and delete rows in this new table

* Mark remote profiles as stale when a member state event comes in to a private room

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

* Simplify by removing Optionality of `event_id`

* Replace names and avatars with None if they're set to dodgy things

I think this makes more sense anyway.

* Move schema delta to 74 (I missed the boat?)

* Turns out these can be None after all

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-03-16 09:55:19 +00:00
..
_scripts Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
api Update the error code for duplicate annotation (#15075) 2023-02-15 11:47:57 +00:00
app Add information on uploaded media to user export command. (#15107) 2023-02-23 13:14:17 -05:00
appservice Type hints for tests.appservice (#14990) 2023-02-06 12:49:06 +00:00
config Stabilize support for MSC3873: disambuguated event push keys. (#15190) 2023-03-07 11:27:57 -05:00
crypto Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
events Merge branch 'release-v1.79' into develop 2023-03-13 18:35:21 +00:00
federation Ensure fed-sender catchup does not block for full state (#15248) 2023-03-13 12:31:19 +00:00
handlers Preparatory work to fix the user directory assuming that any remote membership state events represent a profile change. [rei:userdirpriv] (#14755) 2023-03-16 09:55:19 +00:00
http Pull in netaddr type hints. (#15231) 2023-03-09 07:09:49 -05:00
logging Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
media Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
metrics Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
module_api Add module API callbacks for adding and deleting local 3PID associations (#15044 2023-02-27 14:19:19 +00:00
push Stabilize support for MSC3873: disambuguated event push keys. (#15190) 2023-03-07 11:27:57 -05:00
replication Remove unused class: DirectTcpReplicationClientFactory. (#15272) 2023-03-15 15:42:20 -04:00
res Fix #11308 : Remove dependency on jquery on reCAPTCHA page (#14672) 2022-12-14 12:02:28 +00:00
rest Pass the Requester down to the HttpTransactionCache. (#15200) 2023-03-07 16:05:22 +00:00
server_notices Remove unused `room_alias` field from `/createRoom` response (#15093) 2023-02-22 11:07:28 +00:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
static Add viewport directive to HTML templates to optimise for mobile (#13493) 2022-08-11 14:04:20 +01:00
storage Preparatory work to fix the user directory assuming that any remote membership state events represent a profile change. [rei:userdirpriv] (#14755) 2023-03-16 09:55:19 +00:00
streams Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
types Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
util Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
__init__.py Remove dangling reference to being a reference implementation (#15167) 2023-02-27 20:08:18 +00:00
event_auth.py More speedups/fixes to creating batched events (#15195) 2023-03-07 13:54:39 -08:00
notifier.py Fix a bug in the send_local_online_presence_to module API (#14880) 2023-01-25 21:34:37 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Give PyCharm some help with `@cache_in_self` (#15238) 2023-03-09 19:12:09 +00:00
visibility.py Refactor `filter_events_for_server` (#15240) 2023-03-10 15:31:25 +00:00