summary refs log tree commit diff
path: root/tests/rest/key (unfollow)
Commit message (Expand)AuthorFilesLines
2022-03-30Start application service stream token tracking from 1 (#12193)Andrew Morgan4-4/+6
2022-03-30Disable proactive sends for remote joins (#12330)Richard van der Hoff2-0/+7
2022-03-30Add a configuration to exclude rooms from sync response (#12310)Brendan Abolivier7-21/+138
2022-03-29Fix typechecker problems exposed by signedjson 1.1.2 (#12326)David Robertson9-25/+38
2022-03-29Room batch: fix up handling of unknown prev_event_ids (#12316)Richard van der Hoff2-8/+14
2022-03-29Update `LoggingTransaction.call_after` and `call_on_exception` docstrings (#1...Sean Quah2-3/+21
2022-03-29Bump `black` and `click` versions (#12320)David Robertson16-30/+37
2022-03-29Remove unused `auth_event_ids` argument plumbing (#12304)Eric Eastwood3-27/+1
2022-03-28Exclude outliers in `on_backfill_request` (#12314)Richard van der Hoff2-3/+10
2022-03-28Add some type hints to datastore. (#12255)Dirk Klimpel10-42/+61
2022-03-28Un-revert Jinja2 fix (#12313)Brendan Abolivier3-6/+10
2022-03-28Allow modules to store already existing 3PID associations (#12195)Brendan Abolivier2-1/+27
2022-03-28Improve type annotations for `execute_values`. (#12311)reivilibre2-10/+8
2022-03-28HAProxy guide update (#12279)villepeh2-2/+3
2022-03-25Add restrictions by default to open registration in Synapse (#12091)Shay7-4/+67
2022-03-25Add cache for `get_membership_from_event_ids` (#12272)Erik Johnston6-22/+72
2022-03-25Enhance logging for inbound federation events (#12301)Richard van der Hoff2-1/+2
2022-03-25Refactor `create_new_client_event` to use a new parameter, `state_event_ids`,...Eric Eastwood5-65/+165
2022-03-25Always allow the empty string as an avatar_url. (#12261)David Robertson4-0/+32
2022-03-25Authentik OpenID minor doc update (#12275)IronTooch2-1/+4
2022-03-25Mention the new behaviour on unsafe database locale in the upgrade notes (#12...Brendan Abolivier2-0/+8
2022-03-24Re-enable test concurrency on Complement (#12283)kegsay2-1/+2
2022-03-24Remove unused test code. (#12291)Patrick Cloke2-110/+1
2022-03-24changelog v1.55.2Richard van der Hoff1-1/+1
2022-03-241.55.2Richard van der Hoff4-2/+19
2022-03-24Pin Jinja to <3.1.0 (#12297)Andrew Morgan2-1/+3
2022-03-24Revert "Replace instances of deprecated `Jinja2.Markup` with `markupsafe.Mark...Andrew Morgan2-6/+4
2022-03-24update changelog for 1.55.1 v1.55.1Andrew Morgan1-2/+2
2022-03-241.55.1Andrew Morgan4-2/+18
2022-03-24Replace instances of deprecated `Jinja2.Markup` with `markupsafe.Markup` (#12...Andrew Morgan3-4/+7
2022-03-24Do not consider events by ignored users for relations (#12285)Patrick Cloke7-4/+90
2022-03-24Optionally include account validity in MSC3720 account status responses (#12266)Brendan Abolivier4-1/+73
2022-03-23Refuse to start if DB has an unsafe locale (#12262)Shay6-18/+93
2022-03-23Use psycopg2 type stubs (#12269)David Robertson4-4/+14
2022-03-23Remove mutual_rooms `update_user_directory` check, and add extra documentatio...Jonathan de Jong3-5/+17
2022-03-23Allow registering admin users using the module API (#12250)Nicolas Werner3-0/+15
2022-03-23Rename shared_rooms to mutual_rooms (#12036)Jonathan de Jong5-25/+27
2022-03-22Changelog: sso -> Single Sign-On v1.55.0Andrew Morgan1-1/+1
2022-03-22changelog: move notice from rc to final releaseAndrew Morgan1-4/+5
2022-03-221.55.0Andrew Morgan5-3/+16
2022-03-22Tweak copy for sso account details template (#12265)Michael Telatynski4-6/+7
2022-03-21Call out synctl changeDavid Robertson1-1/+3
2022-03-21Add type hints to tests files. (#12256)Dirk Klimpel6-88/+101
2022-03-21Reword 'Choose your user name' as 'Choose your account name' in the SSO regis...reivilibre2-1/+2
2022-03-21Make it possible to enable compression for the metrics HTTP resource (#12258)Nick Mills-Barrett2-1/+5
2022-03-21Return a 404 from `/state` for an outlier (#12087)Richard van der Hoff3-44/+25
2022-03-18Try to detect borked package installations. (#12244)David Robertson3-2/+38
2022-03-18Move get_bundled_aggregations to relations handler. (#12237)Patrick Cloke9-157/+173
2022-03-18Only fetch thread participation for events with threads. (#12228)Patrick Cloke4-245/+289
2022-03-18Sync more worker regexes in the documentation. (#12243)Patrick Cloke2-16/+15
2022-03-18Add some type hints to datastore (#12248)Dirk Klimpel4-84/+117
2022-03-18Correct `check_username_for_spam` annotations and docs (#12246)David Robertson8-16/+46
2022-03-17Generate announcement links in release script (#12242)David Robertson2-1/+41
2022-03-17Add type hints to more tests files. (#12240)Dirk Klimpel6-47/+66
2022-03-16Re-generate changelog. v1.55.0rc1Patrick Cloke2-1/+1
2022-03-16Fix bundling aggregations if unsigned is not a returned event field. (#12234)Patrick Cloke3-3/+35
2022-03-16Handle cancellation in `DatabasePool.runInteraction()` (#12199)Sean Quah3-24/+96
2022-03-16Add a relations handler to avoid duplication. (#12227)Patrick Cloke5-69/+134
2022-03-16Add some missing type hints to cache datastore. (#12216)Patrick Cloke2-21/+37
2022-03-16Fix dead link in spam checker warning (#12231)David Robertson2-2/+3
2022-03-16Refactor relations tests (#12232)Patrick Cloke2-406/+364
2022-03-16Clean-up logic for rebasing URLs during URL preview. (#12219)Patrick Cloke4-91/+26
2022-03-15Use the ignored_users table to test event visibility & sync. (#12225)Patrick Cloke6-47/+62
2022-03-15Add tests for database transaction callbacks (#12198)Sean Quah2-1/+104
2022-03-15Add type hints to some tests/handlers files. (#12224)Dirk Klimpel7-131/+156
2022-03-15Changelog tweaksDavid Robertson1-4/+6
2022-03-151.55.0rc1David Robertson65-63/+89
2022-03-14Add cancellation support to `@cached` and `@cachedList` decorators (#12183)Sean Quah3-2/+157
2022-03-14Add cancellation support to `ReadWriteLock` (#12120)Sean Quah4-93/+382
2022-03-14Fix broken background updates when using sqlite with `enable_search` off (#12...Sean Quah2-6/+8
2022-03-14Add `delay_cancellation` utility function (#12180)Sean Quah3-12/+161
2022-03-12Deprecate the groups/communities endpoints and add an experimental configurat...Patrick Cloke7-7/+35
2022-03-11Add config settings for background update parameters (#11980)Shay9-34/+430
2022-03-11Implement a Jinja2 filter to extract localparts from email addresses (#12212)Brendan Abolivier6-2/+23
2022-03-11Improve code documentation for the typing stream over replication. (#12211)reivilibre5-6/+20
2022-03-11Add an additional HTTP pusher + push rule tests. (#12188)Nick Mills-Barrett5-28/+95
2022-03-11Update the SSO username picker template to comply with SIWA guidelines (#12210)Brendan Abolivier8-13/+47
2022-03-11Add type hints to `tests/rest`. (#12208)Dirk Klimpel5-85/+129
2022-03-11Add some type hints to the tests.handlers module. (#12207)Patrick Cloke7-61/+74
2022-03-11Remove unnecessary pass statements. (#12206)Patrick Cloke11-15/+1
2022-03-11Note that contributors can sign off privately (#12204)Andrew Morgan2-0/+12
2022-03-11Retention test: avoid relying on state at purged events (#12202)Richard van der Hoff2-12/+18
2022-03-10Document that most streams can only have a single writer. (#12196)~creme2-14/+18
2022-03-10fix misleading comment in `check_events_for_spam` (#12203)Shay2-2/+3
2022-03-10Remove workaround introduced in Synapse v1.50.0rc1 for Mjolnir compatibility....reivilibre3-7/+9
2022-03-10Support stable identifiers for MSC3440: Threading (#12151)Patrick Cloke13-81/+109
2022-03-10Updates to the Room DAG concepts development document (#12179)Richard van der Hoff2-18/+54
2022-03-10Allow retrieving the relations of a redacted event. (#12130)Patrick Cloke8-83/+122
2022-03-10Rename get_tcp_replication to get_replication_command_handler. (#12192)Patrick Cloke15-19/+20
2022-03-09Remove dead code in `tests/storage/test_database.py` (#12197)Sean Quah2-16/+1
2022-03-09Add third_party module callbacks to check if a user can delete a room and dea...Will Hunt8-1/+254
2022-03-09Allow for ignoring some arguments when caching. (#12189)Patrick Cloke4-21/+142
2022-03-09Remove some unused variables/parameters. (#12187)Patrick Cloke2-9/+6
2022-03-09Retry some http replication failures (#12182)Nick Mills-Barrett2-11/+37
2022-03-09Skip attempt to get state at backwards-extremities (#12173)Richard van der Hoff2-57/+4
2022-03-08Clean-up demo scripts & documentation (#12143)Patrick Cloke9-71/+89
2022-03-08Use `ParamSpec` in type hints for `synapse.logging.context` (#12150)Sean Quah5-25/+37
2022-03-08Fix CI not attaching source distributions and wheels to the GitHub releases. ...reivilibre2-1/+3
2022-03-08Fix silly markdown typo v1.54.0Olivier Wilkinson (reivilibre)1-1/+1
2022-03-08Tweak changelog formattingOlivier Wilkinson (reivilibre)1-3/+2
2022-03-08Add experimental environment variable to enable asyncio reactor (#12135)Erik Johnston3-0/+25
2022-03-08Do not return allowed_room_ids from /hierarchy response. (#12175)Patrick Cloke3-2/+17
2022-03-08Fix incorrect type hints for txredis. (#12042)Patrick Cloke5-10/+14
2022-03-08Shift up warning about MjolnirOlivier Wilkinson (reivilibre)1-3/+4
2022-03-081.54.0Olivier Wilkinson (reivilibre)8-6/+25
2022-03-08Fix a bug introduced in 1.54.0rc1 which meant that Synapse would refuse to st...reivilibre3-1/+22
2022-03-07Fix a bug in background updates wherein background updates are never run usin...Shay4-15/+16
2022-03-07Invalidate caches when an event with a relation is redacted. (#12121)Patrick Cloke6-48/+202
2022-03-07Switch the `tests-done` job to an Action (#12161)Richard van der Hoff2-21/+10
2022-03-04Relax version guard for packaging (#12166)David Robertson2-2/+3
2022-03-04Reduce to-device queries for /sync. (#12163)Erik Johnston2-0/+4
2022-03-04Add type hints for `ObservableDeferred` attributes (#12159)Sean Quah2-3/+12
2022-03-04Add test for `ObservableDeferred`'s cancellation behaviour (#12149)Sean Quah2-0/+29
2022-03-04Remove backwards compatibility with RelationPaginationToken. (#12138)Patrick Cloke4-144/+16
2022-03-04Changelog (#12153)David Robertson3-1/+2
2022-03-04Move synctl into `synapse._scripts` and expose as an entrypoint (#12140)David Robertson11-13/+33
2022-03-04Spread out sending device lists to remote hosts (#12132)Erik Johnston7-16/+79
2022-03-04Update client-visibility filtering for outlier events (#12155)Richard van der Hoff3-4/+90
2022-03-04Fix type of `events` in `StateGroupStorage` and `StateHandler` (#12156)Richard van der Hoff3-7/+8
2022-03-03Avoid generating state groups for local out-of-band leaves (#12154)Richard van der Hoff2-1/+2
2022-03-03Rename various ApplicationServices interested methods (#11915)Andrew Morgan8-76/+175
2022-03-03Detox, part 2 of N (#12152)David Robertson2-26/+1
2022-03-03Add type hints to `tests/rest` (#12146)Dirk Klimpel9-92/+104
2022-03-03Use the proper serialization format when bundling aggregations. (#12090)Patrick Cloke10-143/+130
2022-03-03Don't impose version checks on dev extras at runtime (#12129)David Robertson3-9/+74
2022-03-03Enable MSC2716 Complement tests in Synapse (#12145)Eric Eastwood3-2/+3
2022-03-03Limit the size of the aggregation_key (#12101)Erik Johnston2-0/+4
2022-03-03Enable MSC3030 Complement tests in Synapse (#12144)Eric Eastwood3-2/+3
2022-03-03Correctly register deactivation and profile update module callbacks (#12141)Brendan Abolivier3-3/+16
2022-03-02Move the `snapcraft` configuration to `contrib`. (#12142)David Robertson3-1/+1
2022-03-02Add suffices to scripts in scripts-dev (#12137)David Robertson11-12/+19
2022-03-02Remove unused mocks from `test_typing` (#12136)David Robertson2-31/+2
2022-03-02Add type hints to `tests/rest/client` (#12108)Dirk Klimpel9-352/+423
2022-03-02Enable complexity checking in complexity checking docs example (#11998)Andrew Morgan2-9/+11
2022-03-02Make release script write correct no-op changelog (#12127)Erik Johnston2-2/+29
2022-03-02Check if instances are lists, not sequences. (#12128)Patrick Cloke3-5/+6
2022-03-02Move scripts directory inside synapse, exposing as setuptools entry_points (#...David Robertson27-135/+77
2022-03-02Reword changelog line about URL previews v1.54.0rc1Olivier Wilkinson (reivilibre)1-1/+1
2022-03-02Tweak changelogOlivier Wilkinson (reivilibre)1-1/+1
2022-03-02Improve and refactor the tests for relations. (#12113)Patrick Cloke2-208/+179
2022-03-02Apply suggestions to changelogOlivier Wilkinson (reivilibre)1-10/+9
2022-03-02Reword changelogOlivier Wilkinson (reivilibre)1-12/+16
2022-03-021.54.0rc1Olivier Wilkinson (reivilibre)74-72/+103
2022-03-02Remove misleading newsfile from #12126 which backs out an unreleased change.Olivier Wilkinson (reivilibre)1-1/+0
2022-03-02Back out in-flight state caching changes. (#12126)reivilibre7-676/+26
2022-03-02Make get_room_version use cached get_room_version_id. (#11808)lukasdenk3-15/+18
2022-03-01Detox, part 1 of N (#12119)David Robertson4-14/+12
2022-03-01Use importlib.metadata to read requirements (#12088)David Robertson13-115/+237
2022-03-01Fix rare error in `ReadWriteLock` when writers complete immediately (#12105)Sean Quah3-1/+35
2022-03-01Add module callbacks called for reacting to deactivation status change and pr...Brendan Abolivier7-7/+360
2022-03-01Use Python 3.9 in Synapse dockerfiles by default (#12112)Andrew Morgan2-2/+3
2022-03-01Add `stop_cancellation` utility function (#12106)Sean Quah3-0/+65
2022-03-01Order in-flight state group queries in biggest-first order (#11610)reivilibre3-4/+131
2022-03-01Faster joins: persist to database (#12012)Richard van der Hoff12-32/+297
2022-03-01Advertise Python 3.10 support in setup.py (#12111)Andrew Morgan2-0/+2
2022-03-01Fix 'Unhandled error in Deferred' (#12089)Richard van der Hoff3-37/+38
2022-03-01Improve exception handling for concurrent execution (#12109)Richard van der Hoff5-27/+151
2022-02-28Add type hints to `tests/rest/client` (#12094)Dirk Klimpel5-64/+72
2022-02-28Remove the unstable `/spaces` endpoint. (#12073)Patrick Cloke8-802/+46
2022-02-28Move experimental support for MSC3440 to /versions. (#12099)Patrick Cloke3-3/+3
2022-02-28Add type hints to `tests/rest/client` (#12084)Dirk Klimpel12-138/+198
2022-02-28Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100)Richard van der Hoff5-6/+27
2022-02-28Actually fix bad debug logging rejecting device list & signing key transactio...David Robertson3-2/+21
2022-02-28Properly failover for unknown endpoints from Conduit/Dendrite. (#12077)Patrick Cloke2-9/+14
2022-02-28Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke62-889/+888
2022-02-28synctl: print warning if synctl_cache_factor is set in config (#11865)lukasdenk2-0/+9
2022-02-25Ensure that `get_datastores().main` is typed (#12070)Sean Quah2-1/+3
2022-02-25Minor typing fixes for `synapse/storage/persist_events.py` (#12069)Sean Quah3-23/+26
2022-02-24Add type hints to `tests/rest/client` (#12072)Dirk Klimpel11-102/+160
2022-02-24Add support for MSC3202: sending one-time key counts and fallback key usage s...reivilibre11-38/+528
2022-02-24Fix non-strings in the `event_search` table (#12037)Sean Quah5-11/+173
2022-02-23Add documentation for missing worker types. (#11599)Patrick Cloke2-14/+77
2022-02-23Add logging to `/sync` for debugging #11916 (#12068)Erik Johnston2-0/+10
2022-02-23Add type hints to `tests/rest/client` (#12066)Dirk Klimpel5-119/+149
2022-02-23Remove more references to `get_datastore` (#12067)Richard van der Hoff4-6/+6
2022-02-23Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff230-500/+526
2022-02-23Rename default branch of complement.sh to main (#12063)Nicolas Werner2-2/+3
2022-02-22Remove excess condition on `knock->leave` check (#11900)Travis Ralston2-3/+4
2022-02-22Better error message when failing to request from another process (#12060)Erik Johnston2-1/+4
2022-02-22Implement account status endpoints (MSC3720) (#12001)Brendan Abolivier11-6/+511
2022-02-22Prune setup.cfg some more (#12059)David Robertson5-13/+14
2022-02-22Cap the number of in-flight requests for state from a single group (#11608)reivilibre3-0/+86
2022-02-22Use room version 9 as the default room version (per MSC3589). (#12058)Patrick Cloke3-2/+3
2022-02-22Run `_handle_queued_pdus` as a background process (#12041)Richard van der Hoff2-2/+5
2022-02-22Fix slow performance of `/logout` in some cases where refresh tokens are in u...reivilibre4-4/+136
2022-02-22Faster joins: Support for calling `/federation/v1/state` (#12013)Richard van der Hoff7-17/+377
2022-02-22Fetch images when previewing Twitter URLs. (#11985)AndrewRyanChama3-4/+11
2022-02-22Update changelogErik Johnston1-1/+1
2022-02-22Update changelogErik Johnston1-2/+2
2022-02-22Add more tests for in-flight state query duplication. (#12033)reivilibre2-21/+172
2022-02-22Tidy the building of sdists and wheels (#12051)David Robertson3-28/+4
2022-02-221.53.0 v1.53.0Erik Johnston3-1/+13
2022-02-22Move isort config to `pyproject.toml` (#12052)David Robertson4-12/+14
2022-02-22Use v3 endpoints for fallback auth (Matrix 1.1) (#12019)Travis Ralston2-4/+5
2022-02-21remote join processing: get create event from state, not auth_chain (#12039)Richard van der Hoff4-5/+8
2022-02-21Minor typing fixes (#12034)Richard van der Hoff4-16/+19
2022-02-21Add type hints to `synapse/storage/databases/main` (#11984)Dirk Klimpel7-53/+79
2022-02-21Advertise Matrix 1.2 in `/_matrix/client/versions` (#12022)Travis Ralston2-0/+2
2022-02-18Document why auth providers aren't validated in the admin API. (#12004)Patrick Cloke4-2/+29
2022-02-18Track and deduplicate in-flight requests to `_get_state_for_groups`. (#10870)reivilibre3-25/+312
2022-02-18Upgrade mypy to version 0.931 (#12030)Sean Quah9-19/+33
2022-02-18Fix bug in `StateFilter.return_expanded()` and add some tests. (#12016)reivilibre3-1/+117
2022-02-18Advertise Matrix 1.1 in `/_matrix/client/versions` (#12020)Travis Ralston2-0/+2
2022-02-18Use stable MSC3069 `is_guest` flag on `/whoami`. (#12021)Travis Ralston3-3/+9
2022-02-18Fix 500 error with Postgres when looking backwards with the MSC3030 `/timesta...Eric Eastwood2-1/+2
2022-02-18Update the olddeps CI check to use an old version of markupsafe (#12025)Brendan Abolivier2-0/+4
2022-02-17Remove unstable MSC3283 flags (#12018)Erik Johnston3-17/+1
2022-02-17Allow modules to set a display name on registration (#12009)Brendan Abolivier6-34/+195
2022-02-17Faster joins: parse msc3706 fields in send_join response (#12011)Richard van der Hoff6-33/+140
2022-02-17Configure `tox` to use `venv` (#12015)Richard van der Hoff3-1/+9
2022-02-17Remove support for the legacy structured logging configuration. (#12008)Patrick Cloke5-175/+24
2022-02-17`send_join` response: get create event from `state`, not `auth_chain` (#12005)Richard van der Hoff2-1/+2
2022-02-17Prevent duplicate push notifications for room reads (#11835)lukasdenk3-66/+71
2022-02-16Explain the meaning of spam checker callbacks' return values (#12003)David Robertson2-13/+28
2022-02-16Fix a typo in a comment.Patrick Cloke1-1/+1
2022-02-16Limit concurrent AS joins (#11996)Brendan Abolivier2-19/+28
2022-02-15Optimise calculating device_list changes in `/sync`. (#11974)Erik Johnston4-15/+126
2022-02-15`_auth_and_persist_outliers`: drop events we have already seen (#11994)Richard van der Hoff2-24/+21
2022-02-15Track cache invalidations (#12000)Erik Johnston4-1/+10
2022-02-15Fix incorrect `get_rooms_for_user` for remote user (#11999)Erik Johnston3-11/+124
2022-02-15Docker: remove `VOLUME` directive (#11997)Richard van der Hoff2-2/+1
2022-02-15Refactor search code to reduce function size. (#11991)Patrick Cloke3-226/+435
2022-02-15Fix incorrect thread summaries when the latest event is edited. (#11992)Patrick Cloke5-31/+107
2022-02-15Add some tests for propagation of device list changes between local users (#1...Andrew Morgan4-3/+163
2022-02-15Update CHANGES.md v1.53.0rc1Sean Quah1-7/+7
2022-02-151.53.0rc1Sean Quah60-58/+86
2022-02-14Revert "Pin to frozendict<2.1.2 (#11625)" and allow frozendict>2.1.2 (#11969)Pascal Bach2-1/+2
2022-02-14Fix M_WRONG_ROOM_KEYS_VERSION error not including `current_version` field (#1...Michael Telatynski2-0/+4
2022-02-14Note when unstable MSC3283 prefixes will be removed (#11989)Andrew Morgan2-1/+2
2022-02-14remove empty file, reword/rename newsfragment, and add line to upgrade docH. Shay4-1/+2
2022-02-14 Require that modules register their callbacks using keyword arguments. (#11975)Patrick Cloke2-0/+7
2022-02-14Use version string helper from matrix-common (#11979)David Robertson13-112/+42
2022-02-12Notify users, rather than rooms, of device list updates (#11905)Andrew Morgan2-5/+4
2022-02-12Implement MSC3706: partial state in `/send_join` response (#11967)Richard van der Hoff7-21/+262
2022-02-11Enable cache time-based expiry by default (#11849)Shay5-11/+50
2022-02-11Support the MSC3715 for `/relations`. (#11941)Patrick Cloke3-6/+36
2022-02-11Fetch thread summaries for multiple events in a single query (#11752)Patrick Cloke3-74/+151
2022-02-11Prepare for rename of default complement branch (#11971)Richard van der Hoff2-3/+4
2022-02-11