summary refs log tree commit diff
path: root/synapse/handlers/identity.py (unfollow)
Commit message (Expand)AuthorFilesLines
2021-09-22Fix /initialSync error due to unhashable `RoomStreamToken` (#10827)Sean Quah3-6/+19
2021-09-22Add documentation for experimental feature flags. (#10865)Patrick Cloke3-0/+39
2021-09-22Opt out of cache expiry for `get_users_who_share_room_with_user` (#10826)David Robertson5-6/+30
2021-09-22Extend ModuleApi with the methods we'll need to reject spam based on …IP - ...David Teller4-8/+174
2021-09-22Include outlier status in `str(event)` for V2/V3 events (#10879)Richard van der Hoff2-22/+13
2021-09-22Track why we're evicting from caches (#10829)David Robertson4-15/+31
2021-09-21Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint...Eric Eastwood13-117/+162
2021-09-21Add type hints for event streams. (#10856)Patrick Cloke18-60/+169
2021-09-21Add types to http.site (#10867)Erik Johnston2-18/+23
2021-09-21Clear our destination directories before copying files to GitHub pages. (#10869)Patrick Cloke2-1/+1
2021-09-21Refactor oEmbed previews (#10814)Patrick Cloke5-220/+299
2021-09-21Test that state events sent by modules correctly end up in the room's state (...Brendan Abolivier2-0/+85
2021-09-21Allow Synapse Admin API's Room Search to accept non-ASCII characters (#10859)Hillery Shay3-1/+29
2021-09-21Rename `/batch_send` query parameter from `?prev_event` to more obvious usage...Eric Eastwood2-7/+10
2021-09-21Always add local users to the user directory (#10796)David Robertson9-55/+54
2021-09-21Fix typo again v1.43.0David Robertson1-1/+1
2021-09-21Specify MSC name; fix typoDavid Robertson1-3/+3
2021-09-21Point to upgrade notesDavid Robertson1-0/+2
2021-09-21Move deprecation notice from 1.43 rc to releaseDavid Robertson1-3/+2
2021-09-21 1.43.0David Robertson3-1/+13
2021-09-21Allow sending a membership event to unban a user (#10807)Aaron Raimist4-2/+99
2021-09-20GHA: reintroduce an env var for `$GITHUB_HEAD_REF` (#10659)David Robertson2-0/+2
2021-09-20Require type hints in the handlers module. (#10831)Patrick Cloke35-295/+194
2021-09-20Fix remove_stale_pushers job on SQLite. (#10843)reivilibre9-23/+27
2021-09-17Fix #10837 by adding JSON encoding/decoding to the Module API example… (#10...Charles Wright2-2/+3
2021-09-17Add hyperlink to #9424 in changelog v1.43.0rc2David Robertson1-1/+1
2021-09-17 1.43.0rc2David Robertson4-2/+16
2021-09-16Create a constant for a small png image in tests. (#10834)Patrick Cloke8-94/+45
2021-09-15Cleanup opentracing logging for syncs (#10828)Erik Johnston2-126/+142
2021-09-15Add type hints to state database module. (#10823)Patrick Cloke6-72/+133
2021-09-15Add missing type hints to non-client REST servlets. (#10817)Patrick Cloke27-96/+169
2021-09-15Use direct references for some configuration variables (part 2) (#10812)Patrick Cloke16-45/+51
2021-09-15Verify `?chunk_id` actually corresponds to an insertion event that exists (MS...Eric Eastwood4-1/+51
2021-09-15Split out `/batch_send` meta events to their own fields (MSC2716) (#10777)Eric Eastwood2-11/+19
2021-09-14Make StateFilter frozen so we can hash it (#10816)reivilibre4-30/+63
2021-09-14Prevent logging context going missing on federation request timeout (#10810)Sean Quah2-4/+14
2021-09-14Convert media repo's FileInfo to attrs. (#10785)Patrick Cloke5-108/+140
2021-09-14update changelog wording v1.43.0rc1Andrew Morgan1-7/+7
2021-09-14changelog improvementsAndrew Morgan1-3/+3
2021-09-14update changelog wordingAndrew Morgan1-1/+1
2021-09-14update wordingAndrew Morgan1-1/+1
2021-09-14 1.43.0rc1Andrew Morgan54-52/+76
2021-09-14Name the type of token in "Invalid token" messages (#10815)David Robertson4-6/+7
2021-09-13Use direct references for some configuration variables (#10798)Patrick Cloke66-133/+152
2021-09-13Fix copy-paste error in the password section of the sample-config. (#10804)BramvdnHeuvel3-2/+3
2021-09-13Use the BaseReporter super-class for _WrappedRustReporter. (#10799)Patrick Cloke2-1/+12
2021-09-10Add types to synapse.util. (#10601)reivilibre41-254/+401
2021-09-10Fix 2 typos in docs/log_contexts.md (#10795)reivilibre2-2/+3
2021-09-10Handle room upgrades for spaces (#10774)Patrick Cloke3-6/+81
2021-09-10Easy refactors of the user directory (#10789)David Robertson8-37/+90
2021-09-10Remove fixed and flakey tests from the sytest blacklist (#10788)David Robertson3-18/+2
2021-09-10Ask consent on SSO registration with default mxid (#10733)AndrewFerr3-23/+63
2021-09-10Don't needlessly batch in `add_event_to_cache` (#10784)Erik Johnston2-27/+25
2021-09-09Remove unstable MSC2858 API, including `experimental.msc2858_enabled` config ...Sean9-127/+19
2021-09-09Prefer room v9 for restricted rooms. (#10772)Patrick Cloke2-1/+2
2021-09-08Get rid of `_auth_and_persist_event` (#10781)Richard van der Hoff3-63/+43
2021-09-08Improve the modules doc (#10758)Brendan Abolivier10-404/+537
2021-09-08Fix frontend_proxy jinja script in docker workers (#10783)kegsay2-1/+2
2021-09-08Add a script to update the debian changelog for non-Debian systems (#10778)Brendan Abolivier2-0/+65
2021-09-08Document that /spaces & /hierarchy can be routed to workers. (#10648)Patrick Cloke4-25/+33
2021-09-08Skip handling of push actions for outlier events (#10780)Erik Johnston3-4/+19
2021-09-08Add a constant for m.federate. (#10775)Patrick Cloke8-10/+28
2021-09-08Change logging of puppeted requests to better differentiate users (#10779)Erik Johnston2-1/+2
2021-09-08Request JSON for oEmbed requests (and ignore XML only providers). (#10759)Patrick Cloke4-8/+98
2021-09-08Add some assertions about outliers (#10773)Richard van der Hoff2-71/+78
2021-09-08Persist auth events before the events that rely on them (#10771)Richard van der Hoff2-36/+66
2021-09-07Add "No significant changes" to changelog v1.42.0Azrenbeth1-0/+2
2021-09-07Move upgrade notice up in changelogAzrenbeth1-6/+1
2021-09-071.42.0Azrenbeth3-1/+13
2021-09-07Use attrs internally for the URL preview code & add documentation. (#10753)Patrick Cloke5-119/+132
2021-09-07Return stripped m.space.child events via the space summary. (#10760)Patrick Cloke2-14/+13
2021-09-07Underscore-prefix private fields in `FederationEventHandler` (#10746)Richard van der Hoff2-71/+74
2021-09-06Add logging to help debug #9424 (#10704)Azrenbeth2-13/+55
2021-09-06Add config option to use non-default manhole password and keys (#10643)Azrenbeth9-17/+161
2021-09-06Improve changelog wording v1.42.0rc2Brendan Abolivier1-1/+1
2021-09-06Expand on why users should read upgrade notesBrendan Abolivier1-1/+4
2021-09-06Move the upgrade notes reminder up to rc2Brendan Abolivier1-3/+2
2021-09-06 1.42.0rc2Brendan Abolivier5-3/+22
2021-09-06Add a warning when using deprecated template_dir settings (#10768)Brendan Abolivier4-0/+42
2021-09-06Stop using BaseHandler in `FederationEventHandler` (#10745)Richard van der Hoff3-10/+12
2021-09-06Allow `room_alias_name` parameter to be handled by /createRoom calls on worke...Andrew Morgan2-2/+3
2021-09-06Ease searching for M_TOO_LARGE-related error codes (#10750)Andrew Morgan2-9/+7
2021-09-06Doc: Clarifying undoing room shutdowns (#10480)David Teller2-15/+28
2021-09-06Move `maybe_kick_guest_users` out of `BaseHandler` (#10744)Richard van der Hoff9-85/+125
2021-09-06Pull out encrypted_by_default tests from user_directory tests (#10752)David Robertson4-95/+111
2021-09-06Speed up persisting redacted events (#10756)Erik Johnston2-11/+12
2021-09-04Allow room creator to send MSC2716 related events in existing room versions (...Eric Eastwood4-10/+61
2021-09-03Speed up MultiWriterIdGenerator when lots of IDs are in flight. (#10755)Erik Johnston4-2/+124
2021-09-03Support MSC3375: room version 9. (#10747)Patrick Cloke4-1/+79
2021-09-03Add a partial index to `presence_stream` to speed up startups (#10748)Sean4-1/+43
2021-09-03Use `execute_values` more in PostgreSQL (#10754)Erik Johnston2-19/+43
2021-09-03Raise an error if an unknown preset is used to create a room. (#10738)Patrick Cloke2-1/+7
2021-09-03Additional type hints for client REST servlets (part 5) (#10736)Patrick Cloke8-68/+146
2021-09-03Fix bug with reusing 'txn' when persisting event. (#10743)Erik Johnston2-1/+8
2021-09-02Fix documentation of directory name for remote thumbnails (#10556)cuttingedge11092-1/+2
2021-09-01Ignore rooms with unknown room versions in the spaces summary. (#10727)Patrick Cloke3-2/+40
2021-09-01Consider the `origin_server_ts` of the `m.space.child` event when ordering ro...Patrick Cloke3-12/+22
2021-09-01Additional type hints for client REST servlets (part 4) (#10728)Patrick Cloke9-100/+145
2021-09-01Populate `rooms.creator` field for easy lookup (#10697)Eric Eastwood6-4/+213
2021-09-01Make minor changes to changelog v1.42.0rc1Olivier Wilkinson (reivilibre)1-2/+2
2021-09-01Correctly include room avatars in email notifications (#10658)David Robertson3-6/+71
2021-09-01Improve changelogOlivier Wilkinson (reivilibre)1-3/+3
2021-09-01Improve changelogOlivier Wilkinson (reivilibre)1-7/+6
2021-09-01Skip the final GC on shutdown to improve restart times (#10712)Sean2-0/+8
2021-09-011.42.0rc1Olivier Wilkinson (reivilibre)51-52/+78
2021-09-01Fix iteration in _remove_deleted_email_pushers background job. (#10734)Andrew Morgan3-1/+47
2021-08-31Allow configuration of the oEmbed URLs. (#10714)Patrick Cloke8-252/+463
2021-08-31Additional type hints for the client REST servlets (part 3). (#10707)Patrick Cloke7-150/+306
2021-08-31Move the sessions delta to the latest schema version. (#10725)Patrick Cloke2-0/+1
2021-08-31 1.41.1 v1.41.1Richard van der Hoff3-1/+39
2021-08-31Fix up unit tests (#10723)Richard van der Hoff2-2/+16
2021-08-31Advertise matrix-org.github.io/synapse docs (#10595)David Robertson4-432/+459
2021-08-31Merge pull request from GHSA-jj53-8fmw-f2w2reivilibre2-2/+59
2021-08-31Merge pull request from GHSA-3x4c-pq33-4w3qreivilibre2-4/+103
2021-08-27Fix incompatibility with Twisted < 21. (#10713)Richard van der Hoff5-21/+173
2021-08-27 Removed page summaries from the top of installation and contributing doc pag...Azrenbeth4-75/+21
2021-08-27Clarifications to reverse_proxy.md (#10708)Richard van der Hoff2-5/+6
2021-08-27Remove unused `compare_digest` function. (#10706)Patrick Cloke2-13/+1
2021-08-27Improve ServerNoticeServlet to avoid duplicate requests (#10679)Dirk Klimpel5-17/+475
2021-08-27Fix perf of fetching the same events many times. (#10703)Erik Johnston2-6/+24
2021-08-26Split `FederationHandler` in half (#10692)Richard van der Hoff11-1780/+1883
2021-08-26Make `backfill` and `get_missing_events` use the same codepath (#10645)Richard van der Hoff3-233/+42
2021-08-26Validate new m.room.power_levels events (#10232)Aaron Raimist5-4/+160
2021-08-26Remove pushers when deleting 3pid from account (#10581)Azrenbeth7-1/+143
2021-08-26Additional type hints for REST servlets (part 2). (#10674)Patrick Cloke17-138/+216
2021-08-26Cache the result of fetching the room hierarchy over federation. (#10647)Patrick Cloke2-40/+67
2021-08-25Make a note to leave a summary when one is bumping the schema version (#10621)Andrew Morgan2-0/+3
2021-08-25Ensure the base Docker image is rebuilt when running complement with workers....Patrick Cloke2-7/+8
2021-08-25Fix error when selecting between thumbnails with the same quality (#10684)Sean3-10/+56
2021-08-24Update changelog v1.41.0Erik Johnston1-4/+9
2021-08-24 1.41.0Erik Johnston4-2/+16
2021-08-24Persist room hierarchy pagination sessions to the database. (#10613)Patrick Cloke7-38/+212
2021-08-24Correctly initialise the `synapse_user_logins` metric. (#10677)Richard van der Hoff4-6/+44
2021-08-23doc: add django-oauth-toolkit to oidc doc (#10192)Hugo DELVAL2-0/+49
2021-08-23Enforce the max length for per-room display names / avatar URLs. (#10654)Azrenbeth2-1/+17
2021-08-23Fix the titles in the OIDC documentation (#10639)Andrew Morgan2-6/+11
2021-08-23Avoid duplicate issues from Twisted trunk failures (#10672)Dan Callahan2-1/+3
2021-08-23Additional type hints for the sync REST servlet. (#10666)Patrick Cloke3-61/+93
2021-08-23Addtional type hints for the REST servlets. (#10665)Patrick Cloke14-107/+204
2021-08-23Do not include stack traces for known exceptions when trying multiple federat...Patrick Cloke2-1/+7
2021-08-23Run a nightly CI build against Twisted trunk. (#10651)Richard van der Hoff4-0/+102
2021-08-21Implement MSC3231: Token authenticated registration (#10142)Callum Brown21-1/+2389
2021-08-20Flatten tests/rest/client/{v1,v2_alpha} too (#10667)David Robertson27-18/+6
2021-08-20Simplify tests for the device admin rest API. (#10664)Dirk Klimpel2-81/+19
2021-08-20Follow-up: format changelog, add licence (#10593)David Robertson2-1/+15
2021-08-20Validate device_keys for C-S /keys/query requests (#10593)David Robertson4-1/+101
2021-08-20Set room version 8 as preferred for restricted rooms. (#10571)Patrick Cloke4-4/+5
2021-08-19Split `on_receive_pdu` in half (#10640)Richard van der Hoff4-109/+142
2021-08-19Extract `_resolve_state_at_missing_prevs` (#10624)Richard van der Hoff2-105/+125
2021-08-19Do not include rooms with an unknown room version in a sync response. (#10644)Patrick Cloke7-11/+145
2021-08-19Fix typo in release notes (#10646)John-Scott Atlakson1-1/+1
2021-08-19Support MSC3283: Expose `enable_set_displayname` in capabilities (#10452)Dirk Klimpel4-23/+101
2021-08-19Remove not needed database updates in modify user admin API (#10627)Dirk Klimpel5-33/+118
2021-08-18Additional type hints for the proxy agent and SRV resolver modules. (#10608)Dirk Klimpel5-25/+41
2021-08-18Update docs/upgrade.md with new versionErik Johnston1-1/+1
2021-08-18Fix weakref_slot parameter for room member storage attrs. (#10642)Patrick Cloke2-4/+5
2021-08-18Update changelog v1.41.0rc1Erik Johnston1-4/+4
2021-08-18 1.41.0rc1Erik Johnston63-61/+86
2021-08-18Convert room member storage tuples to attrs. (#10629)Patrick Cloke7-29/+54
2021-08-18Mount /_synapse/admin/v1/users/{userId}/media admin API on media workers only...Andrew Morgan6-165/+173
2021-08-18Display an error page during failure of fallback UIA. (#10561)Callum Brown8-28/+65
2021-08-18fix broken link to upgrade notes (#10631)Richard van der Hoff2-1/+2
2021-08-18Refactor `on_receive_pdu` code (#10615)Richard van der Hoff2-134/+138
2021-08-18Use auto-attribs for attrs classes for sync. (#10630)Patrick Cloke2-78/+79
2021-08-18Allow modules to run looping call on all instances (#10638)Erik Johnston2-1/+9
2021-08-17Remove deprecated Shutdown Room and Purge Room Admin API (#8830)Dirk Klimpel9-384/+14
2021-08-17Allow /createRoom to be run on workers (#10564)Andrew Morgan4-35/+37
2021-08-17Port the PresenceRouter module interface to the new generic interface (#10524)Azrenbeth9-69/+326
2021-08-17Remove the unused public_room_list_stream (#10565)Andrew Morgan9-250/+48
2021-08-17Build debs for bookworm (#10612)Richard van der Hoff2-1/+3
2021-08-17Centralise the custom template directory (#10596)Brendan Abolivier12-418/+342
2021-08-17Attempt to pull from the legacy spaces summary API over federation. (#10583)Patrick Cloke2-9/+56
2021-08-17Stop setting the outlier flag for things that aren't (#10614)Richard van der Hoff2-7/+3
2021-08-17Make `PeriodicallyFlushingMemoryHandler` the default logging handler. (#10518)reivilibre4-21/+61
2021-08-17Flatten the synapse.rest.client package (#10600)reivilibre123-188/+137
2021-08-17Always list fallback key types in /sync (#10623)Andrew Morgan2-4/+6
2021-08-17Allow to edit `external_ids` by Edit User admin API (#10598)Dirk Klimpel5-89/+340
2021-08-17update links to schema doc (#10620)Richard van der Hoff3-3/+4
2021-08-17Allow using several custom template directories (#10587)Brendan Abolivier7-27/+98
2021-08-17Add an admin API to check if a username is available (#10578)Will Hunt5-0/+136
2021-08-16Manhole: wrap coroutines in `defer.ensureDeferred` automatically (#10602)reivilibre3-1/+16
2021-08-16Update CONTRIBUTING.md to fix index links and SyTest instructions (#10599)reivilibre2-3/+5
2021-08-16Validate the max_rooms_per_space parameter to ensure it is non-negative. (#10...Patrick Cloke3-9/+39
2021-08-16Experimental support for MSC3266 Room Summary API. (#10394)Michael Telatynski10-115/+289
2021-08-16Split `synapse.federation.transport.server` into multiple files. (#10590)Patrick Cloke7-2158/+2219
2021-08-16Clean up some logging in the federation event handler (#10591)Richard van der Hoff4-29/+28
2021-08-16Support federation in the new spaces summary API (MSC2946). (#10569)Patrick Cloke6-165/+518
2021-08-16Handle string read receipt data (#10606)Šimon Brandner3-1/+32
2021-08-16Update the Synapse Grafana dashboard (#10570)Brendan Abolivier2-66/+485
2021-08-13Move /batch_send to /v2_alpha directory (MSC2716) (#10576)Eric Eastwood4-409/+445
2021-08-13Fix a harmless exception when the staged events queue is empty. (#10592)Patrick Cloke2-5/+11
2021-08-12Stop building a debian package for Groovy Gorilla (#10588)David Robertson2-1/+1
2021-08-12Remove buildkite-era commentDavid Robertson1-3/+0
2021-08-12portdb also uses coverage, so provide $TOP thereDavid Robertson1-0/+2
2021-08-12Also rename in lint.shDavid Robertson1-1/+1
2021-08-11Update the pagination parameter name based on MSC2946 review. (#10579)Patrick Cloke3-10/+11
2021-08-11Admin API to delete media for a specific user (#10558)Dirk Klimpel7-128/+347
2021-08-11Missed another ci->.ciDavid Robertson1-9/+9
2021-08-11set TOP in sytest containersDavid Robertson2-2/+3
2021-08-11Teach MANIFEST and tox about ci->.ciDavid Robertson2-2/+2
2021-08-11Allow requesting the summary of a space which is joinable. (#10580)Patrick Cloke3-15/+45
2021-08-11Rename ci to .ciDavid Robertson8-6/+6
2021-08-11Expire old spaces summary pagination sessions. (#10574)Patrick Cloke2-1/+24
202