Skip to content
Snippets Groups Projects
  1. Feb 16, 2023
  2. Feb 14, 2023
  3. Feb 10, 2023
  4. Feb 08, 2023
  5. Feb 07, 2023
  6. Feb 03, 2023
  7. Jan 30, 2023
    • David Robertson's avatar
      Handle malformed values of `notification.room` in power level events (#14942) · 510d4b06
      David Robertson authored
      * Better test for bad values in power levels events
      
      The previous test only checked that Synapse didn't raise an exception,
      but didn't check that we had correctly interpreted the value of the
      dodgy power level.
      
      It also conflated two things: bad room notification levels, and bad user
      levels. There _is_ logic for converting the latter to integers, but we
      should test it separately.
      
      * Check we ignore types that don't convert to int
      
      * Handle `None` values in `notifications.room`
      
      * Changelog
      
      * Also test that bad values are rejected by event auth
      
      * Docstring
      
      * linter scripttttttttt
      510d4b06
  8. Jan 27, 2023
    • Patrick Cloke's avatar
      Implement MSC3952: Intentional mentions (#14823) · 2a51f3ec
      Patrick Cloke authored
      MSC3952 defines push rules which searches for mentions in a list of
      Matrix IDs in the event body, instead of searching the entire event
      body for display name / local part.
      
      This is implemented behind an experimental configuration flag and
      does not yet implement the backwards compatibility pieces of the MSC.
      2a51f3ec
  9. Jan 11, 2023
  10. Dec 01, 2022
  11. Nov 28, 2022
  12. Oct 25, 2022
  13. Oct 21, 2022
  14. Oct 12, 2022
  15. Oct 06, 2022
  16. Sep 30, 2022
    • Erik Johnston's avatar
      Speed up calculating push actions in large rooms (#13973) · 285b9e9b
      Erik Johnston authored
      We move the expensive check of visibility to after calculating push actions, avoiding the expensive check for users who won't get pushed anyway.
      
      I think this should have a big impact on rooms with large numbers of local users that have pushed disabled.
      285b9e9b
  17. Sep 29, 2022
  18. Sep 21, 2022
  19. Jul 20, 2022
  20. Jun 15, 2022
    • Erik Johnston's avatar
      Speed up `get_unread_event_push_actions_by_room` (#13005) · 0d1d3e07
      Erik Johnston authored
      Fixes #11887 hopefully.
      
      The core change here is that `event_push_summary` now holds a summary of counts up until a much more recent point, meaning that the range of rows we need to count in `event_push_actions` is much smaller.
      
      This needs two major changes:
      1. When we get a receipt we need to recalculate `event_push_summary` rather than just delete it
      2. The logic for deleting `event_push_actions` is now divorced from calculating `event_push_summary`.
      
      In future it would be good to calculate `event_push_summary` while we persist a new event (it should just be a case of adding one to the relevant rows in `event_push_summary`), as that will further simplify the get counts logic and remove the need for us to periodically update `event_push_summary` in a background job.
      0d1d3e07
  21. May 24, 2022
    • Patrick Cloke's avatar
      Experimental support for MSC3772 (#12740) · 88ce3080
      Patrick Cloke authored
      Implements the following behind an experimental configuration flag:
      
      * A new push rule kind for mutually related events.
      * A new default push rule (`.m.rule.thread_reply`) under an unstable prefix.
      
      This is missing part of MSC3772:
      
      * The `.m.rule.thread_reply_to_me` push rule, this depends on MSC3664 / #11804.
      88ce3080
  22. Mar 21, 2022
  23. Mar 17, 2022
  24. Mar 11, 2022
  25. Feb 28, 2022
  26. Feb 23, 2022
  27. Feb 17, 2022
  28. Dec 14, 2021
  29. Dec 07, 2021
    • Sean Quah's avatar
      Revert accidental fast-forward merge from v1.49.0rc1 · 158d73eb
      Sean Quah authored
      Revert "Sort internal changes in changelog"
      Revert "Update CHANGES.md"
      Revert "1.49.0rc1"
      Revert "Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505) (#11527)"
      Revert "Refactors in `_generate_sync_entry_for_rooms` (#11515)"
      Revert "Correctly register shutdown handler for presence workers (#11518)"
      Revert "Fix `ModuleApi.looping_background_call` for non-async functions (#11524)"
      Revert "Fix 'delete room' admin api to work on incomplete rooms (#11523)"
      Revert "Correctly ignore invites from ignored users (#11511)"
      Revert "Fix the test breakage introduced by #11435 as a result of concurrent PRs (#11522)"
      Revert "Stabilise support for MSC2918 refresh tokens as they have now been merged into the Matrix specification. (#11435)"
      Revert "Save the OIDC session ID (sid) with the device on login (#11482)"
      Revert "Add admin API to get some information about federation status (#11407)"
      Revert "Include bundled aggregations in /sync and related fixes (#11478)"
      Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505)"
      Revert "Update backward extremity docs to make it clear that it does not indicate whether we have fetched an events' `prev_events` (#11469)"
      Revert "Support configuring the lifetime of non-refreshable access tokens separately to refreshable access tokens. (#11445)"
      Revert "Add type hints to `synapse/tests/rest/admin` (#11501)"
      Revert "Revert accidental commits to develop."
      Revert "Newsfile"
      Revert "Give `tests.server.setup_test_homeserver` (nominally!) the same behaviour"
      Revert "Move `tests.utils.setup_test_homeserver` to `tests.server`"
      Revert "Convert one of the `setup_test_homeserver`s to `make_test_homeserver_synchronous`"
      Revert "Disambiguate queries on `state_key` (#11497)"
      Revert "Comments on the /sync tentacles (#11494)"
      Revert "Clean up tests.storage.test_appservice (#11492)"
      Revert "Clean up `tests.storage.test_main` to remove use of legacy code. (#11493)"
      Revert "Clean up `tests.test_visibility` to remove legacy code. (#11495)"
      Revert "Minor cleanup on recently ported doc pages  (#11466)"
      Revert "Add most of the missing type hints to `synapse.federation`. (#11483)"
      Revert "Avoid waiting for zombie processes in `synctl stop` (#11490)"
      Revert "Fix media repository failing when media store path contains symlinks (#11446)"
      Revert "Add type annotations to `tests.storage.test_appservice`. (#11488)"
      Revert "`scripts-dev/sign_json`: support for signing events (#11486)"
      Revert "Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445)"
      Revert "Port wiki pages to documentation website (#11402)"
      Revert "Add a license header and comment. (#11479)"
      Revert "Clean-up get_version_string (#11468)"
      Revert "Link background update controller docs to summary (#11475)"
      Revert "Additional type hints for config module. (#11465)"
      Revert "Register the login redirect endpoint for v3. (#11451)"
      Revert "Update openid.md"
      Revert "Remove mention of OIDC certification from Dex (#11470)"
      Revert "Add a note about huge pages to our Postgres doc (#11467)"
      Revert "Don't start Synapse master process if `worker_app` is set (#11416)"
      Revert "Expose worker & homeserver as entrypoints in `setup.py` (#11449)"
      Revert "Bundle relations of relations into the `/relations` result. (#11284)"
      Revert "Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454)"
      Revert "Eliminate a few `Any`s in `LruCache` type hints (#11453)"
      Revert "Remove unnecessary `json.dumps` from `tests.rest.admin` (#11461)"
      Revert "Merge branch 'master' into develop"
      
      This reverts commit 26b5d232.
      This reverts commit bce4220f.
      This reverts commit 966b5d0f.
      This reverts commit 088d748f.
      This reverts commit 14d593f7.
      This reverts commit 2a3ec6fa.
      This reverts commit eccc49d7.
      This reverts commit b1ecd19c.
      This reverts commit 9c55dedc.
      This reverts commit 2d42e586.
      This reverts commit 2f053f3f.
      This reverts commit a15a893d.
      This reverts commit 8b4b153c.
      This reverts commit 494ebd73.
      This reverts commit a77c3698.
      This reverts commit 4eb77965.
      This reverts commit 637df95d.
      This reverts commit e5f426cd.
      This reverts commit 8cd68b81.
      This reverts commit 6cae125e.
      This reverts commit 7be88fbf.
      This reverts commit b3fd99b7.
      This reverts commit f7ec6e7d.
      This reverts commit 5640992d.
      This reverts commit d26808dd.
      This reverts commit f91624a5.
      This reverts commit 16d39a54.
      This reverts commit 8a4c2969.
      This reverts commit 49e1356e.
      This reverts commit d2279f47.
      This reverts commit b50e39df.
      This reverts commit 858d80bf.
      This reverts commit 435f0448.
      This reverts commit f61462e1.
      This reverts commit a6f1a3ab.
      This reverts commit 84dc50e1.
      This reverts commit ed635d32.
      This reverts commit 7b62791e.
      This reverts commit 153194c7.
      This reverts commit f44d729d.
      This reverts commit a265fbd3.
      This reverts commit b9fef1a7.
      This reverts commit b0eb64ff.
      This reverts commit f1795463.
      This reverts commit 70cbb1a5.
      This reverts commit 42bf0204.
      This reverts commit 379f2650.
      This reverts commit 7ff22d6d.
      This reverts commit 5a0b652d.
      This reverts commit 432a174b.
      This reverts commit b14f8a1b, reversing
      changes made to e713855d.
      158d73eb
  30. Nov 29, 2021
  31. Nov 08, 2021
  32. Sep 01, 2021
  33. Aug 26, 2021
Loading