summary refs log tree commit diff
path: root/synapse/util/logcontext.py (unfollow)
Commit message (Expand)AuthorFilesLines
2022-02-08Fix wordingBrendan Abolivier2-12/+14
2022-02-08Add words about the Twisted security fix v1.52.0Brendan Abolivier2-2/+20
2022-02-081.52.0Brendan Abolivier3-1/+13
2022-02-01Don't mention 3.6 EOL under misc v1.52.0rc1David Robertson1-2/+1
2022-02-011.52.0rc1David Robertson40-38/+68
2022-01-31Add type hints to `tests/rest/admin` (#11851)Dirk Klimpel5-232/+184
2022-01-31Consolidate the `access_token` information in the admin api (#11861)Dirk Klimpel10-95/+30
2022-01-31Remove the obsolete MSC1849 configuration flag. (#11843)Patrick Cloke3-6/+1
2022-01-31Remove not needed old table of contents in documentation (#11860)Dirk Klimpel4-53/+1
2022-01-28Configurable limits on avatars (#11846)Brendan Abolivier7-2/+363
2022-01-27Pass `isolation_level` to `runWithConnection` (#11847)Brendan Abolivier2-0/+2
2022-01-27Create singletons for `StateFilter.{all,none}()` (#11836)Richard van der Hoff2-5/+10
2022-01-27Fix some indentation inconsistencies in the sample config (modules) (#11838)Dirk Klimpel3-10/+11
2022-01-26Update installation docs to indicate that we support Python 3.10 (#11820)Shay2-1/+2
2022-01-26Include `prev_content` field in AS events (#11798)Vaishnav Nair2-1/+2
2022-01-26Add a module callback to set username at registration (#11790)Brendan Abolivier6-3/+231
2022-01-26Improvements to bundling aggregations. (#11815)Patrick Cloke12-139/+212
2022-01-26Don't print HTTPStatus.* in "Processed..." logs (#11827)David Robertson2-1/+5
2022-01-26Avoid type annotation problems in prom-client (#11834)David Robertson2-1/+3
2022-01-26Add a config flag to inhibit `M_USER_IN_USE` during registration (#11743)Brendan Abolivier6-12/+89
2022-01-25Fix another jsonschema typecheck error (#11830)David Robertson3-5/+4
2022-01-25Check that `gc` method is available before using in `synapse/app/_base` (#11...Shay2-6/+9
2022-01-25Add admin API to get a list of federated rooms (#11658)Dirk Klimpel6-25/+444
2022-01-25CI: run Complement on the VM, not inside Docker (#11811)kegsay2-10/+19
2022-01-25Log modules at startup (#11813)Brendan Abolivier2-1/+3
2022-01-25Db txn set isolation level (#11799)Nick Barrett5-5/+61
2022-01-25Minor updates, and docs, for schema delta files (#11823)Richard van der Hoff3-3/+61
2022-01-25Docs: add missing PR submission process how-tos (#11821)Forest Johnson2-1/+3
2022-01-25Use changelog from developDavid Robertson1-9/+11
2022-01-25Point to upgrade notes in changelogDavid Robertson1-1/+1
2022-01-25Add admin API to reset connection timeouts for remote server (#11639)Dirk Klimpel10-33/+183
2022-01-25Correct version number v1.51.0David Robertson1-1/+1
2022-01-25Call out deprecationDavid Robertson1-1/+2
2022-01-251.51.0David Robertson3-1/+13
2022-01-25Ignore the jsonschema type. (#11817)Patrick Cloke2-1/+4
2022-01-24Skip the initial amd64-only Docker build (#11810)Richard van der Hoff2-12/+3
2022-01-24Apply a timeout to reading the body when fetching a file. (#11784)Patrick Cloke2-3/+13
2022-01-24Support rendering previews with data: URLs in them (#11767)Patrick Cloke6-74/+299
2022-01-241.50.2 v1.50.2Andrew Morgan4-2/+16
2022-01-24Remove account data (including client config, push rules and ignored users) u...reivilibre5-3/+299
2022-01-24Fix logic for dropping old events in fed queue (#11806)Andrew Morgan3-7/+27
2022-01-241.51.0rc2 v1.51.0rc2Andrew Morgan4-2/+16
2022-01-24Fix logic for dropping old events in fed queue (#11806)Andrew Morgan3-7/+29
2022-01-21Drop support for and remove references to EOL Python 3.6 (#11683)Shay13-28/+25
2022-01-21Remove obsolete newsfileOlivier Wilkinson (reivilibre)1-1/+0
2022-01-21Edit the changelog according to feedback v1.51.0rc1Olivier Wilkinson (reivilibre)1-3/+3
2022-01-21Add `state_key` and `rejection_reason` to `events` (#11792)Richard van der Hoff5-5/+42
2022-01-21Edit the changelog for grammar and clarityOlivier Wilkinson (reivilibre)1-16/+15
2022-01-211.51.0rc1Olivier Wilkinson (reivilibre)59-58/+83
2022-01-21Do not try to serialize raw aggregations dict. (#11791)Patrick Cloke7-54/+85
2022-01-21Do not try to serialize raw aggregations dict. (#11791)Patrick Cloke7-54/+85
2022-01-21Drop unused table `public_room_list_stream`. (#11795)Richard van der Hoff5-3/+22
2022-01-21Stop reading from `event_reference_hashes` (#11794)Richard van der Hoff5-33/+31
2022-01-21Add `FrozenEvent.get_state_key` and use it in a couple of places (#11793)Richard van der Hoff3-5/+11
2022-01-21Make the `get_global_account_data_by_type_for_user` cache be a tree-cache who...reivilibre6-9/+10
2022-01-21Make `get_account_data_for_room_and_type` a tree cache (#11789)reivilibre2-1/+2
2022-01-20Correctly await on_logged_out callbacks (#11786)Brendan Abolivier3-2/+29
2022-01-20Fix redirecting to the webclient for non-HTTP(S) web_client_location. (#11783)Patrick Cloke2-1/+9
2022-01-20Add a regression test for using both webclient and client resources simultane...Andrew Morgan2-0/+109
2022-01-20Partially revert #11675; prevent attempting to create pushers on workers (#11...Andrew Morgan2-7/+6
2022-01-20installation.md: drop python 3.6 support (#11781)Richard van der Hoff2-1/+2
2022-01-20Add deprecation warnings for `webclient` listener and non-HTTP(S) `web_client...Patrick Cloke5-28/+40
2022-01-20Debug for device lists updates (#11760)David Robertson4-0/+46
2022-01-20Allow overriding the complement ref. (#11766)Nicolas Werner3-7/+10
2022-01-20Fix a bug that corrupted the cache of federated space hierarchies (#11775)Sean Quah4-12/+102
2022-01-19Comments and typing for `_update_outliers_txn` (#11776)Richard van der Hoff2-12/+24
2022-01-19Fix mypy for platforms without epoll support. (#11771)Patrick Cloke2-2/+3
2022-01-19Add missing `auto_attribs=True` to the `_WrappedRustReporter` class (#11768)Andrew Morgan2-1/+2
2022-01-18Fix preview of imgur and Tenor URLs. (#11669)Philippe Daouadi4-14/+39
2022-01-18Include whether the requesting user has participated in a thread. (#11577)Patrick Cloke9-18/+85
2022-01-18Wording fixes to 1.50.0/1 changelog entries v1.50.1Andrew Morgan1-3/+3
2022-01-18Reword 1.50.0 warning a bit in the changelogAndrew Morgan1-1/+3
2022-01-181.50.1Andrew Morgan4-2/+20
2022-01-18Partially revert #11602 to prevent webclient overriding client resource (#11764)Andrew Morgan2-2/+8
2022-01-18Remove `log_function` and its uses (#11761)Richard van der Hoff13-155/+1
2022-01-18Move python/postgres deprecation notice to the top of 1.50 changelog v1.50.0Andrew Morgan1-2/+2
2022-01-181.50.0Andrew Morgan3-4/+15
2022-01-17Add a flag to the `synapse_review_recent_signups` script to ignore and filter...lukasdenk3-8/+23
2022-01-17Warn against using Let's Encrypt certs for encrypted TURN (#11686)AndrewFerr2-0/+17
2022-01-17Fix up docs for `track_puppeted_user_ips` (again) (#11757)Richard van der Hoff5-10/+27
2022-01-17Update documentation for configuring facebook login (#11755)Richard van der Hoff4-18/+26
2022-01-17Improve `reactor_tick_time` metric (#11724)Richard van der Hoff5-109/+86
2022-01-17Make pagination of rooms in admin api stable (#11737)Daniel Sonck3-28/+38
2022-01-14Remove the 'password_hash' from the Users Admin API endpoint response diction...Andrew Morgan5-43/+86
2022-01-14Fix sample_config.yaml in regards track_puppeted_user_ips (#11749)Jason Robinson3-10/+13
2022-01-14Tweak the changelog summary section v1.50.0rc2Olivier Wilkinson (reivilibre)1-4/+3
2022-01-141.50.0rc2Olivier Wilkinson (reivilibre)7-5/+33
2022-01-13Replace uses of simple_insert_many with simple_insert_many_values. (#11742)Patrick Cloke19-298/+263
2022-01-13 Fix missing app variable in mail subject (#11745)David Robertson3-2/+4
2022-01-13Invite PR submitters to credit themselves (#11744)David Robertson2-0/+2
2022-01-13Fix a bug introduced in Synapse v1.50.0rc1 whereby outbound federation could ...reivilibre3-17/+190
2022-01-13update room spec url in config files (#11739)qwertyforce3-2/+3
2022-01-13Mention python3-venv and libpq-dev dependencies in contribution guide (#11740)Andy Balaam2-1/+4
2022-01-13Include bundled aggregations in the sync response cache. (#11659)Patrick Cloke4-19/+19
2022-01-13Simplify GC prometheus metrics (#11723)Richard van der Hoff4-160/+209
2022-01-13Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke40-307/+300
2022-01-13Fix typo in demo docs: differnt (#11735)Andy Balaam2-1/+2
2022-01-12Allow tracking puppeted users for MAU (#11561)Jason Robinson5-0/+63
2022-01-12Fix a bug introduced in Synapse v1.0.0 whereby device list updates would not ...reivilibre3-2/+57
2022-01-12Deal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714)David Robertson2-1/+8
2022-01-12Fix documentation of supported PostgreSQL version (#11725)haslersn2-1/+2
2022-01-12Fix documentation of supported PostgreSQL version (#11725)haslersn2-1/+2
2022-01-12Use buildkit's cache feature to speed up docker builds (#11691)Richard van der Hoff4-5/+28
2022-01-10Complement environment variable name change and update .gitignore. (#11718)Michael Kaye3-1/+6
2022-01-10Document the `SYNAPSE_TEST_PERSIST_SQLITE_DB` unit test env var (#11715)Andrew Morgan2-0/+22
2022-01-10Fix docstring on `add_account_data_for_user`. (#11716)reivilibre3-2/+3
2022-01-10Deal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714)David Robertson2-1/+8
2022-01-10Prettier complement logs (#11707)kegsay2-1/+3
2022-01-07Support spaces with > 50 rooms in the /hierarchy endpoint. (#11695)Patrick Cloke3-8/+55
2022-01-07Optionally use an on-disk sqlite db in tests (#11702)David Robertson3-1/+23
2022-01-07Test that bans win a join against a race when computing `/sync` response (#1...David Robertson3-3/+105
2022-01-07Bundle aggregations outside of the serialization method. (#11612)Patrick Cloke17-156/+249
2022-01-07Move changelog entry for drop of support to 'Deprecations and Removals'Olivier Wilkinson (reivilibre)1-1/+1
2022-01-06Remove the /send_relation endpoint. (#11682)Patrick Cloke3-133/+19
2022-01-06Remove a Python 2-ism and improve type hints. (#11699)Patrick Cloke2-12/+8
2022-01-06Re-run Towncrier to add in the changelog entry for the Mjolnir workaround v1.50.0rc1Olivier Wilkinson (reivilibre)2-1/+1
2022-01-06Strip unauthorized fields from `unsigned` object in events received over fede...Shay3-0/+99
2022-01-06Work around Mjolnir compatibility issue by adding an import for `glob_to_rege...reivilibre2-0/+8
2022-01-06Make room creations denied by `user_may_create_room` cause an `M_FORBIDDEN` e...lukasdenk2-2/+7
2022-01-06Remove debug logging for #4422 (#11693)David Robertson2-37/+2
2022-01-05Fix space hierarchy endpoint to match MSC2946 (#11667)Travis Ralston2-2/+5
2022-01-05Fix get federation status of destination if no error occured (#11593)Dirk Klimpel4-25/+88
2022-01-05Tweak changelog for #11677Olivier Wilkinson (reivilibre)1-1/+1
2022-01-05Run `pyupgrade --py37-plus --keep-percent-format` on Synapse (#11685)Shay3-2/+2
2022-01-05Re-run towncrier.Patrick Cloke2-1/+1
2022-01-05Include `io.element.thread` capability for MSC3440. (#11690)Patrick Cloke2-0/+4
2022-01-05Mention drop of support in changelogOlivier Wilkinson (reivilibre)1-0/+3
2022-01-05Add support removal notice to the upgrade notesOlivier Wilkinson (reivilibre)1-0/+11
2022-01-05Tweak changelogOlivier Wilkinson (reivilibre)1-9/+8
2022-01-05Cache empty responses from `/user/devices` (#11587)David Robertson5-5/+114
2022-01-051.50.0rc1Olivier Wilkinson (reivilibre)75-73/+92
2022-01-05Refactor the way we set `outlier` (#11634)Richard van der Hoff5-47/+16
2022-01-05Fix link from generated configuration file to documentation (#11678)Philipp Matthias Schäfer3-2/+3
2022-01-05Fix SimpleHttpClient not sending Accept header in `get_json` (#11677)Fr3shTea2-1/+2
2022-01-05Add admin API to get users' account data (#11664)Dirk Klimpel5-0/+198
2022-01-05Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11...reivilibre9-123/+14
2022-01-05Clarify SSO mapping provider documentation by writing `def` or `async def` be...reivilibre2-12/+13
2022-01-05Improve Docker docs for use with Postgres (#11640)Callum Macdonald3-0/+6
2022-01-05Correct Synapse install command for FreeBSD. (#11267)Donny Johnson2-1/+2
2022-01-04update ngnix reverse-proxy example (#11680)Richard van der Hoff2-1/+2
2022-01-04Fix AssertionErrors after purging events (#11642)Richard van der Hoff6-6/+30
2022-01-04`FederationClient.backfill`: stop flagging events as outliers (#11632)Richard van der Hoff3-2/+5
2022-01-04Remove redundant `get_current_events_token` (#11643)Richard van der Hoff7-36/+20
2022-01-04Better error messages from `get_create_event_for_room` (#11638)Richard van der Hoff2-1/+6
2022-01-04Include the topic event in the prejoin state, per MSC3173. (#11666)Patrick Cloke4-0/+13
2022-01-03Drop Bionic from Debian builds (#11633)Shay4-7/+5
2021-12-30Convert all namedtuples to attrs. (#11665)Patrick Cloke22-206/+231
2021-12-30Add type hints to `synapse/storage/databases/main/events_bg_updates.py` (#11654)Dirk Klimpel3-30/+44
2021-12-29Fix a type annotation in `test_account_data.py` and remove it from the Mypy e...reivilibre3-3/+3
2021-12-29Improve type hints in storage classes. (#11652)Dirk Klimpel10-34/+44
2021-12-29Do not attempt to bundled aggregations for /members and /state. (#11623)Patrick Cloke2-3/+2
2021-12-29Add type hints to `synapse/storage/databases/main/stats.py` (#11653)Dirk Klimpel3-42/+57
2021-12-23Update to the current version of Black and run it on Synapse codebase (#11596)Shay5-4/+3
2021-12-23Fix mypy error with opentracing.tags. (#11622)Patrick Cloke2-0/+2
2021-12-23Add details for how to set up TURN behind NAT (#11553)AndrewFerr2-15/+53
2021-12-21Drop EOL python 3.6 from CI (#11595)Shay3-7/+8
2021-12-21update changelog v1.49.2Richard van der Hoff1-1/+1
2021-12-211.49.2Richard van der Hoff4-3/+19
2021-12-21Pin to frozendict<2.1.2 (#11625)Richard van der Hoff2-1/+3
2021-12-21Refactor `tests.util.setup_test_homeserver` and `tests.server.setup_test_home...reivilibre5-185/+195
2021-12-21Add type hints to event_push_actions. (#11594)Patrick Cloke11-154/+225
2021-12-21Add notes about dropping support for Python 3.6 and Postgres 9.6. v1.49.1Richard van der Hoff2-2/+6
2021-12-21typopoRichard van der Hoff1-1/+1
2021-12-21more wordsRichard van der Hoff1-0/+2
2021-12-21Various opentracing enhancements (#11619)Richard van der Hoff5-21/+65
2021-12-211.49.1Richard van der Hoff4-2/+16
2021-12-20Do not bundle aggregations for APIs which shouldn't include them. (#11592)Patrick Cloke9-27/+31
2021-12-20Improve opentracing support for `ResponseCache` (#11607)Richard van der Hoff5-48/+149
2021-12-20Improve opentracing for incoming HTTP requests (#11618)Richard van der Hoff4-73/+65
2021-12-20Disable aggregation bundling on `/sync` responses (#11583)Richard van der Hoff3-6/+15
2021-12-20Return JSON errors for unknown resources under /matrix/client. (#11602)Patrick Cloke3-10/+6
2021-12-20Use mock from standard library (#11588)V024603-12/+10
2021-12-20Add opentracing types (#11603)Shay5-13/+18
2021-12-16Add type hints to `synapse/tests/rest/admin` (#11590)Dirk Klimpel7-57/+74
2021-12-16Add type hints to `synapse/storage/databases/main/transactions.py` (#11589)Dirk Klimpel3-25/+29
2021-12-16Add MSC2716 and MSC3030 to `/versions` -> `unstable_features` (#11582)Eric Eastwood3-1/+6
2021-12-15Add type hints to `synapse/storage/databases/main/room.py` (#11575)Sean Quah5-77/+108
2021-12-15Require Collections as the parameters for simple_* methods. (#11580)Patrick Cloke3-40/+12
2021-12-15Convert EventStreamResult to attrs. (#11574)Patrick Cloke3-9/+24
2021-12-15Add experimental support for MSC3202: allowing application services to masque...reivilibre5-14/+162
2021-12-14Add type hints to `synapse/storage/databases/main/e2e_room_keys.py` (#11549)Sean Quah6-79/+188
2021-12-14Add missing type hints to `synapse.logging.context` (#11556)Sean Quah13-122/+215
2021-12-14Add missing type hints to `synapse.appservice` (#11360)Patrick Cloke7-93/+148
2021-12-14Revert "Revert accidental fast-forward merge from v1.49.0rc1"Olivier Wilkinson (reivilibre)165-2708/+7720
2021-12-14Restructure changelog v1.49.0Olivier Wilkinson (reivilibre)1-2/+9
2021-12-141.49.0Olivier Wilkinson (reivilibre)3-1/+18
2021-12-14Remove redundant `COALESCE()`s around `COUNT()`s in database queries (#11570)Sean Quah9-21/+20
2021-12-14Add missing type hints to synapse.http. (#11571)Patrick Cloke8-51/+76
2021-12-13checks for generators in database functions (#11564)Richard van der Hoff3-7/+49
2021-12-13Move HTML parsing to a separate file for URL previews. (#11566)Patrick Cloke6-401/+432
2021-12-13Type hint the constructors of the data store classes (#11555)Sean Quah35-87/+351
2021-12-13Add type hints to `synapse/storage/databases/main/end_to_end_keys.py` (#11551)Sean Quah4-69/+150
2021-12-13Add type hints to `synapse/storage/databases/main/account_data.py` (#11546)Sean Quah4-33/+87
2021-12-13Make `get_device` return None if the device doesn't exist rather than raising...reivilibre6-13/+20
2021-12-10Allow events to be created with no `prev_events` (MSC2716) (#11243)Eric Eastwood4-7/+124
2021-12-10Test to ensure we share the same `state_group` across the whole historical ba...Eric Eastwood2-0/+181
2021-12-10Adjust _get_rooms_changed comments (#11550)David Robertson2-22/+30
2021-12-10skip some dict munging in event persistence (#11560)Richard van der Hoff3-60/+114
2021-12-10Stop populating `state_events.prev_state` (#11558)Richard van der Hoff3-5/+5
2021-12-10Ensure emails are canonicalized before fetching associated user. (#11547)Patrick Cloke5-4/+11
2021-12-09Do not allow cross-room relations, per MSC2674. (#11516)Patrick Cloke6-17/+161
2021-12-09Additional type hints for the config module, part 2. (#11480)Patrick Cloke5-19/+28
2021-12-09Use HTTPStatus constants in place of literals in `synapse.http` (#11543)Dirk Klimpel4-19/+47
2021-12-09Support unprefixed versions of fallback key property names. (#11541)Hubert Chathi4-6/+32
2021-12-09Add missing `errcode` to `parse_string` and `parse_boolean` (#11542)Dirk Klimpel6-12/+13
2021-12-09Allow guests to send state events (#11378)Robert Long2-1/+2
2021-12-08Add a constant for receipt types (m.read). (#11531)Patrick Cloke9-45/+87
2021-12-08Clean up `synapse.rest.admin` (#11535)Dirk Klimpel15-165/+96
2021-12-08Document the usage of refresh tokens. (#11427)reivilibre3-0/+141
2021-12-08Use HTTPStatus constants in place of literals in `tests.rest.client.test_auth...reivilibre2-47/+88
2021-12-08Improve log messages for stream ids (#11536)Richard van der Hoff3-4/+7
2021-12-08Send and handle cross-signing messages using the stable prefix. (#10520)Hubert Chathi4-5/+13
2021-12-07Fix case in `wait_for_background_updates` where `self.store` does not exist (...Andrew Morgan2-7/+5
2021-12-07Revert accidental fast-forward merge from v1.49.0rc1Sean Quah165-7720/+2708
2021-12-07Sort internal changes in changelog v1.49.0rc1Sean Quah1-16/+16
2021-12-07Update CHANGES.mdSean Quah1-30/+26
2021-12-071.49.0rc1Sean Quah65-63/+87
2021-12-07Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common`...Sean Quah8-12/+124
2021-12-07Refactors in `_generate_sync_entry_for_rooms` (#11515)David Robertson3-46/+79
2021-12-07Correctly register shutdown handler for presence workers (#11518)David Robertson2-1/+2
2021-12-07Fix `ModuleApi.looping_background_call` for non-async functions (#11524)Sean Quah2-3/+3
2021-12-07Fix 'delete room' admin api to work on incomplete rooms (#11523)Richard van der Hoff5-37/+33
2021-12-07Correctly ignore invites from ignored users (#11511)David Robertson2-5/+7
2021-12-07Fix the test breakage introduced by #11435 as a result of concurrent PRs (#11...reivilibre2-1/+2
2021-12-06Stabilise support for MSC2918 refresh tokens as they have now been merged int...reivilibre6-44/+115
2021-12-06