summary refs log tree commit diff
path: root/tests/utils.py (unfollow)
Commit message (Expand)AuthorFilesLines
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<