summary refs log tree commit diff
path: root/synapse/notifier.py (unfollow)
Commit message (Expand)AuthorFilesLines
2022-07-20Update `get_pdu` to return the original, pristine `EventBase` (#13320)Eric Eastwood5-61/+233
2022-07-20Validate federation destinations and log an error if server name is invalid. ...Shay3-2/+12
2022-07-201.63.1 v1.63.1Erik Johnston4-2/+16
2022-07-20Don't include appservice users when calculating push rules (#13332)Erik Johnston3-0/+93
2022-07-19Fix spurious warning when fetching state after a missing prev event (#13258)Sean Quah2-0/+4
2022-07-19Add type annotations to `trace` decorator. (#13328)Patrick Cloke12-55/+102
2022-07-19Reduce memory usage of state group cache (#13323)Erik Johnston2-1/+3
2022-07-19Stop building Ubuntu 21.10 (Impish Indri) which is end of life. (#13326)Patrick Cloke2-1/+1
2022-07-19Improve precision on validation improvements v1.63.0Brendan Abolivier1-1/+1
2022-07-191.63.0Brendan Abolivier4-4/+13
2022-07-19Remove 'anonymised' from the phone home stats documentation (#13321)Andrew Morgan11-30/+44
2022-07-19Bash script for creating multiple stream writers (#13271)villepeh3-1/+147
2022-07-19Add notes when config options were changed to config documentation (#13314)Jörg Behrmann2-0/+6
2022-07-19Rate limit joins per-room (#13276)David Robertson18-15/+498
2022-07-19Safe async event cache (#13308)Nick Mills-Barrett8-21/+102
2022-07-18Increase batch size of `bulk_get_push_rules` and `_get_joined_profiles_from_e...Shay3-1/+3
2022-07-18Improve performance of query ` _get_subset_users_in_room_with_profiles` (#13299)Shay2-1/+2
2022-07-18Fix overcounting of pushers when they are replaced (#13296)Sean Quah2-11/+17
2022-07-18Up the dependency on canonicaljson to ^1.5.0 (#13172)Brendan Abolivier3-2/+5
2022-07-18Prevent #3679 from appearing in blame results (#13311)Andrew Morgan2-0/+14
2022-07-18Revert "Make all `process_replication_rows` methods async (#13304)" (#13312)Erik Johnston14-40/+25
2022-07-18Don't pull out full state when sending dummy events (#13310)Erik Johnston2-7/+2
2022-07-18Use READ COMMITTED isolation level when purging rooms (#12942)Nick Mills-Barrett2-2/+32
2022-07-18Update expected DB query count when creating a room (#13307)Andrew Morgan2-2/+3
2022-07-18Don't pull out the full state when creating an event (#13281)Erik Johnston3-2/+10
2022-07-17Remove unnecessary `json.dumps` from tests (#13303)Dirk Klimpel13-200/+143
2022-07-17Make all `process_replication_rows` methods async (#13304)Nick Mills-Barrett14-25/+40
2022-07-15Use HTTPStatus constants in place of literals in tests. (#13297)Dirk Klimpel9-238/+308
2022-07-15Provide more info why we don't have any thumbnails to serve (#13038)Eric Eastwood4-17/+129
2022-07-15Use and recommend poetry 1.1.14, up from 1.1.12 (#13285)David Robertson5-4/+30
2022-07-15Don't pull out the full state when storing state (#13274)Erik Johnston6-71/+132
2022-07-15Use a real room in the notification rotation tests. (#13260)Patrick Cloke2-116/+80
2022-07-15Use state before join to determine if we `_should_perform_remote_join` (#13270)David Robertson4-24/+35
2022-07-15Update locked frozendict version to 2.3.2 (#13284)Sean Quah2-18/+19
2022-07-15Bg update to populate new `events` table columns (#13215)Richard van der Hoff3-0/+135
2022-07-15Fix a bug which could lead to incorrect state (#13278)Erik Johnston4-7/+58
2022-07-15Docker: copy postgres from base image (#13279)Richard van der Hoff3-34/+51
2022-07-15Async get event cache prep (#13242)Nick Mills-Barrett11-26/+86
2022-07-15Federation Sender & Appservice Pusher Stream Optimisations (#13251)Nick Mills-Barrett7-87/+60
2022-07-14Rip out auth-event reconciliation code (#12943)Richard van der Hoff6-375/+88
2022-07-14CHANGES.md: fix link to upgrade notesRichard van der Hoff1-1/+1
2022-07-14Don't pull out state in `compute_event_context` for unconflicted state (#13267)Erik Johnston7-136/+95
2022-07-13Allow rate limiters to passively record actions they cannot limit (#13253)David Robertson3-12/+157
2022-07-13Notifier: accept callbacks to fire on room joins (#13254)David Robertson2-0/+19
2022-07-13Call the v2 identity service `/3pid/unbind` endpoint, rather than v1. (#13240)Jacek Kuśnierz2-2/+3
2022-07-13Add support for room version 10 (#13220)Shay4-1/+100
2022-07-13Document advising against publicly exposing the Admin API and provide a usage...jejo862-0/+18
2022-07-13Optimise room creation event lookups part 2 (#13224)Nick Mills-Barrett4-19/+78
2022-07-13Reduce duplicate code in receipts servlets. (#13198)Patrick Cloke3-44/+33
2022-07-13Add prometheus counters for content types other than events (#13175)Brad Murray2-0/+15
2022-07-13Drop unused tables from groups/communities. (#12967)Patrick Cloke4-19/+36
2022-07-13Do not fail build if complement with workers fails. (#13266)Patrick Cloke2-3/+25
2022-07-13Fix "add user" admin api error when request contains a "msisdn" threepid (#13...Thomas Weston3-0/+37
2022-07-12Inline URL preview documentation. (#13261)Patrick Cloke7-74/+62
2022-07-12Drop unused table `event_reference_hashes` (#13218)Richard van der Hoff2-0/+18
2022-07-12Drop support for calling `/_matrix/client/v3/account/3pid/bind` without an `i...Jacek Kuśnierz3-26/+11
2022-07-12Rename test case method to `add_hashes_and_signatures_from_other_server` (#13...David Robertson7-18/+14
2022-07-12Drop support for delegating email validation (#13192)Richard van der Hoff13-253/+110
2022-07-12Log the stack when waiting for an entire room to be un-partial stated (#13257)Sean Quah2-0/+2
2022-07-12Add info about configuration in the url preview docs (#13233)Shay2-0/+3
2022-07-12Make the AS login method call `Auth.get_user_by_req` for checking the AS toke...Quentin Gliech2-2/+9
2022-07-12expose whether a room is a space in the Admin API (#13208)andrew do4-13/+36
2022-07-12Update changelog once more v1.63.0rc1Sean Quah1-2/+2
2022-07-12Reorder and tidy up changelogSean Quah1-29/+25
2022-07-121.63.0rc1Sean Quah54-54/+87
2022-07-11Don't pull out the full state when calculating push actions (#13078)Erik Johnston7-344/+164
2022-07-11Add a sample bash script to docs for creating multiple worker files (#13032)villepeh2-0/+32
2022-07-11Reduce event lookups during room creation by passing known event IDs (#13210)Nick Mills-Barrett3-2/+32
2022-07-11Uniformize spam-checker API, part 5: expand other spam-checker callbacks to r...David Teller12-60/+426
2022-07-11Fix to-device messages not being sent to MSC3202-enabled appservices (#13235)Travis Ralston2-2/+4
2022-07-11Remove delay when rotating event push actions (#13211)Erik Johnston2-3/+2
2022-07-11Document the 'databases' homeserver config option (#13212)Andrew Morgan2-0/+93
2022-07-11Add a `filter_event_for_clients_with_state` function (#13222)Erik Johnston3-138/+400
2022-07-11Fix appservice EDUs failing to send if the EDU doesn't have a room ID (#13236)Travis Ralston2-1/+4
2022-07-11Ensure portdb selects _all_ rows with negative rowids (#13226)David Robertson2-1/+5
2022-07-08editorconfig: add max_line_length for Python files (#13228)Sumner Evans2-0/+2
2022-07-08Fix notification count after a highlighted message (#13223)Erik Johnston3-3/+16
2022-07-07Fix exception when using MSC3030 to look for remote federated events before r...Eric Eastwood2-1/+6
2022-07-07Add --build-only option to complement.sh to prevent actually running Compleme...reivilibre2-3/+19
2022-07-07Remove obsolete RoomEventsStoreTestCase (#13200)Petr Vaněk2-69/+1
2022-07-07Faster room joins: fix race in recalculation of current room state (#13151)Sean Quah8-55/+214
2022-07-07Use a single query in `ProfileHandler.get_profile` (#13209)Nick Mills-Barrett2-12/+8
2022-07-07Bump lxml from 4.8.0 to 4.9.1 (#13207)dependabot[bot]2-62/+72
2022-07-07Check that `auto_vacuum` is disabled when porting a SQLite database to Postgr...reivilibre3-0/+43
2022-07-07Make `_get_state_map_for_room` not break when room state events don't contain...David Teller2-8/+2
2022-07-06Add information on how the Synapse team does reviews. (#13132)Patrick Cloke4-1/+47
2022-07-06Fix bug where we failed to delete old push actions (#13194)Erik Johnston2-2/+5
2022-07-05Handle race between persisting an event and un-partial stating a room (#13100)Sean Quah10-74/+234
2022-07-05Type `tests.utils` (#13028)David Robertson5-46/+102
2022-07-05Factor out some common Complement CI setup commands to a script. (#13157)reivilibre4-47/+42
2022-07-05Use upserts for updating `event_push_summary` (#13153)Erik Johnston2-40/+8
2022-07-05Fix application service not being able to join remote federated room without ...Eric Eastwood2-9/+24
2022-07-05Mention the spamchecker plugins v1.62.0David Robertson1-0/+2
2022-07-051.62.0David Robertson3-1/+13
2022-07-05Add the ability to set the log level using the `SYNAPSE_TEST_LOG_LEVEL` envir...reivilibre6-6/+44
2022-07-05Add missing links to config options (#13166)Dirk Klimpel2-3/+4
2022-07-04annotate tests.server.FakeChannel (#13136)David Robertson7-26/+36
2022-07-04Revert "Up the dependency on canonicaljson to ^1.5.0"Brendan Abolivier1-3/+1
2022-07-04Up the dependency on canonicaljson to ^1.5.0Brendan Abolivier1-1/+3
2022-07-04Update changelog for v1.62.0rc2 v1.62.0rc3Andrew Morgan1-2/+2
2022-07-041.62.0rc3Andrew Morgan5-3/+17
2022-07-04Fix stuck notification counts on small servers (#13168)Erik Johnston3-7/+13
2022-07-04Remove tests/utils.py from mypy's exclude list (#13159)Andrew Morgan4-4/+3
2022-07-04[Complement] Allow device_name lookup over federation (#13167)Till2-0/+3
2022-07-01matrix-synapse-ldap3: 0.2.0 -> 0.2.1 (#13156)David Robertson2-4/+5
2022-07-01Enable Complement testing in the 'Twisted Trunk' CI runs. (#13079)reivilibre4-2/+82
2022-07-01complement.sh: Permit skipping docker build (#13143)Richard van der Hoff2-18/+55
2022-07-011.62.0rc2 v1.62.0rc2Andrew Morgan5-3/+17
2022-07-01Extra validation for rest/client/account_data (#13148)David Robertson2-2/+18
2022-07-01`_process_received_pdu`: Improve exception handling (#13145)Richard van der Hoff2-7/+7
2022-07-01Skip waiting for full state for incoming events (#13144)Richard van der Hoff3-4/+13
2022-06-30Add documentation for phone home stats (#13086)Andrew Morgan3-0/+83
2022-06-30Allow dependency errors to pass through (#13113)Jacek Kuśnierz8-58/+16
2022-06-30Don't process /send requests for users who have hit their ratelimit (#13134)Shay2-0/+4
2022-06-30Cleanup references to sample config in the docs and redirect users to configu...Shay12-89/+73
2022-06-30Add a link to the configuration manual from the homeserver sample config docu...Andrew Morgan2-0/+4
2022-06-30Fix unread counts on large servers (#13140)Erik Johnston3-29/+32
2022-06-30Add index to help delete old push actions (#13141)Erik Johnston4-4/+32
2022-06-30More type hints for `synapse.logging` (#13103)Patrick Cloke5-46/+56
2022-06-30Improve startup times in Complement test runs against workers, particularly i...reivilibre9-51/+243
2022-06-30Actually typecheck `tests.test_server` (#13135)David Robertson2-1/+1
2022-06-30Rate limiting invites per issuer (#13125)David Teller3-2/+24
2022-06-30Don't actually one-line the SQL statements we send to the DB (#13129)Brendan Abolivier2-3/+5
2022-06-29Implement MSC3827: Filtering of `/publicRooms` by room type (#13031)Šimon Brandner11-13/+345
2022-06-29Fix documentation header for `allow_public_rooms_over_federation` (#13116)Moritz Stückler2-1/+2
2022-06-29Improve performance of getting unread counts in rooms (#13119)Erik Johnston6-4/+40
2022-06-29Document the `--report-stats` argument (#13029)jejo862-1/+4
2022-06-28fix linting error from the 1.61.1 main -> develop mergeAndrew Morgan1-1/+2
2022-06-281.62.0rc1Andrew Morgan80-80/+102
2022-06-28Linkify GHSA commit v1.61.1Andrew Morgan1-1/+1
2022-06-281.61.1Andrew Morgan3-1/+28
2022-06-28Merge pull request from GHSA-22p3-qrh9-cx32reivilibre2-24/+56
2022-06-28Fix serialization errors when rotating notifications (#13118)Erik Johnston5-83/+202
2022-06-28Extra type annotations in `test_server` (#13124)David Robertson3-37/+48
2022-06-28Remove unspecced DELETE endpoint that modifies room visibility (#13123)santhoshivan232-11/+1
2022-06-27Update MSC3786 implementation: Check the `state_key` (#12939)Šimon Brandner2-1/+8
2022-06-27Add Cross-Origin-Resource-Policy header to thumbnail and download media endpo...Robert Long5-2/+44
2022-06-27Refactor the Dockerfile-workers configuration script to use Jinja2 templates ...reivilibre4-38/+43
2022-06-27Remove docs for Delete Group Admin API (#13112)Aaron Raimist3-15/+1
2022-06-22validate room alias before interacting with the room directory (#13106)santhoshivan233-0/+20
2022-06-17Use caret (semver bounds) for matrix.org packages (#13082)David Robertson4-6/+9
2022-06-17Update opentracing docs to reference the configuration manual rather than the...Shay2-2/+4
2022-06-17Fix inconsistencies in event validation (#13088)Richard van der Hoff5-7/+118
2022-06-17Fix inconsistencies in event validation for `m.room.create` events (#13087)Richard van der Hoff3-25/+88
2022-06-17Add type hints to event push actions tests. (#13099)Patrick Cloke3-12/+19
2022-06-17Fix type error that made its way onto develop (#13098)reivilibre2-2/+3
2022-06-17Update info on downstream debs (#13095)Richard van der Hoff2-9/+9
2022-06-17Simplify the alias deletion logic as an application service. (#13093)Quentin Gliech3-22/+48
2022-06-17Rotate notifications more frequently (#13096)Erik Johnston2-1/+2
2022-06-17Use new `device_list_changes_in_room` table when getting device list changes ...Erik Johnston4-31/+117
2022-06-17Allow MSC3030 'timestamp_to_event' calls from anyone on world-readable rooms....Quentin Gliech2-1/+4
2022-06-17Fix logging context misuse when we fail to persist a federation event (#13089)Sean Quah2-4/+3
2022-06-16Add desc to `get_earliest_token_for_stats` (#13085)Erik Johnston2-0/+2
2022-06-16Add a Subject Alternative Name to the certificate generated for Complement te...reivilibre2-3/+20
2022-06-16Improve URL previews for sites with only Twitter card information. (#13056)Patrick Cloke3-17/+137
2022-06-16Reduce the duplication of code that invokes the rate limiter. (#13070)reivilibre2-27/+4
2022-06-16Complement: use SQLite by default (#13075)Richard van der Hoff3-2/+3
2022-06-16Add custom well-known (#13035)Jacek Kuśnierz5-1/+68
2022-06-16Add instructions for running Complement with `gotestfmt`-formatted output loc...reivilibre2-0/+15
2022-06-15Move some event auth checks out to a different method (#13065)Richard van der Hoff7-98/+219
2022-06-15Add headers to individual options in config documentation to allow for linkin...Shay2-163/+164
2022-06-15Add more tests for room upgrades (#13074)Sean Quah2-5/+79
2022-06-15Change default `sync_response_cache_duration` (#13042)Erik Johnston5-4/+11
2022-06-15Replace pyjwt with authlib in `org.matrix.login.jwt` (#13011)Hannes Lerchl8-57/+100
2022-06-15Sort failing jobs in Complement CI to the top of the logs to make them easier...reivilibre3-0/+104
2022-06-15Add a CI job to check that schema deltas are in the correct folder. (#13063)Erik Johnston5-6/+126
2022-06-15Type annotations in `synapse.databases.main.devices` (#13025)David Robertson5-21/+36
2022-06-15Speed up `get_unread_event_push_actions_by_room` (#13005)Erik Johnston14-152/+323
2022-06-15Rename complement-developonly (#13046)Erik Johnston2-0/+3
2022-06-15Use updated `update_user_directory_from_worker` options in Complement tests. ...reivilibre2-3/+4
2022-06-15Collapse Docker build commands in Complement CI runs to make the logs easier ...reivilibre6-7/+23
2022-06-15Track a histogram of state res durations (#13036)David Robertson2-0/+13
2022-06-15Fix a long-standing bug which meant that rate limiting was not restrictive en...reivilibre3-12/+45
2022-06-15Don't use keyword arguments when initialising modules (#13060)Brendan Abolivier2-1/+2
2022-06-15Clean up schema for `event_edges` (#12893)Richard van der Hoff7-11/+216
2022-06-15Fix typechecks against twisted trunk (#13061)David Robertson3-4/+6
2022-06-14Fix incorrect link in changelog.Patrick Cloke1-1/+1
2022-06-14Refactor entry points so that they all have a `main` function. (#13052)reivilibre11-10/+61
2022-06-14Fix `destination_is` errors seen in sentry. (#13041)David Robertson7-8/+59
2022-06-14Up complement time outs (#13048)Erik Johnston2-3/+4
2022-06-14Fix version number in spam checker callbacks doc (#13047)Brendan Abolivier2-6/+7
2022-06-14Remove code generating comments in configuration file (#12941)Shay41-5711/+66
2022-06-14Rename delta to apply in the proper schema version. (#13050)Patrick Cloke2-0/+1
2022-06-14Move the "email unsubscribe" resource, refactor the macaroon generator & simp...Quentin Gliech16-441/+619
2022-06-14Fix Complement runs always being Postgres (#13034)reivilibre2-1/+2
2022-06-14Fixup upgrades v1.61.0Erik Johnston1-3/+3
2022-06-14Update changelogErik Johnston1-3/+6
2022-06-141.61.0Erik Johnston4-2/+16
2022-06-14Mention removed community/group worker endpoints in upgrade.md (#13023)Sami Olmari2