summary refs log tree commit diff
path: root/synapse/handlers (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'erikj/ss_room_sub_timeline' into erikj/ss_hacksErik Johnston2024-07-301-22/+55
|\
| * Handle increases in timeline limitErik Johnston2024-07-301-2/+30
| * Remember previous timeline limitErik Johnston2024-07-301-9/+18
| * Only mark as updated if entry has changedErik Johnston2024-07-301-1/+3
| * Add fast path if from_token is NoneErik Johnston2024-07-301-8/+11
| * Refactor to make LIVE non-static valueErik Johnston2024-07-301-2/+5
* | Merge remote-tracking branch 'origin/develop' into erikj/ss_hacksErik Johnston2024-07-302-36/+63
|\|
| * Add some more opentracing to sliding sync (#17501)Erik Johnston2024-07-301-3/+15
| * Fix `failures` property in `/keys/query` (#17499)Richard van der Hoff2024-07-301-8/+18
| * Only send rooms with updates down sliding sync (#17479)Erik Johnston2024-07-301-2/+49
| * Sliding Sync: Track whether we have sent rooms down to clients (#17447)Erik Johnston2024-07-291-36/+314
* | Don't set the initial flagErik Johnston2024-07-301-7/+8
* | Trace stuffErik Johnston2024-07-291-0/+4
* | Merge remote-tracking branch 'origin/madlittlemods/sliding-sync-receipts-exte...Erik Johnston2024-07-292-56/+175
|\ \
| * | Add testsEric Eastwood2024-07-251-1/+1
| * | Remove tests that aren't necessaryEric Eastwood2024-07-251-1/+0
| * | Generalize extension testEric Eastwood2024-07-251-1/+1
| * | Iterate moreEric Eastwood2024-07-253-20/+52
| * | Better standardize `find_relevant_room_ids_for_extension(...)`Eric Eastwood2024-07-241-53/+140
| |/
* | TestErik Johnston2024-07-281-9/+24
* | Revert room subsErik Johnston2024-07-281-8/+1
* | fixupErik Johnston2024-07-281-1/+4
* | UpdatesErik Johnston2024-07-281-1/+1
* | Always initial on room subsErik Johnston2024-07-281-1/+5
* | TagErik Johnston2024-07-261-1/+7
* | LINTErik Johnston2024-07-261-0/+1
* | REVERTErik Johnston2024-07-261-6/+7
* | REVERTErik Johnston2024-07-261-24/+0
* | Merge branch 'erikj/ss_noop_rooms' into erikj/ss_hacksErik Johnston2024-07-261-14/+188
|\ \
| * \ Merge remote-tracking branch 'origin/erikj/ss_room_store' into erikj/ss_noop_...Erik Johnston2024-07-261-4/+151
| |\ \
| | * | Review commentsErik Johnston2024-07-261-0/+3
| | * | Merge remote-tracking branch 'origin/develop' into erikj/ss_room_storeErik Johnston2024-07-251-2/+146
| | |\|
| | | * Sliding Sync: Add Account Data extension (MSC3959) (#17477)Eric Eastwood2024-07-241-0/+138
| | | * Sliding Sync: ensure bump stamp ignores backfilled events (#17478)Erik Johnston2024-07-241-2/+8
| | | * Use a new token format for sliding sync (#17452)Erik Johnston2024-07-241-12/+18
| | * | Update commentsErik Johnston2024-07-251-2/+2
| * | | Make it clear we only filter out rooms in incremental syncErik Johnston2024-07-261-2/+2
| * | | Review commentsErik Johnston2024-07-261-1/+3
| * | | Only send rooms with updates down sliding syncErik Johnston2024-07-241-1/+28
| |/ /
* | | REVERTErik Johnston2024-07-265-5/+5
* | | Merge branch 'erikj/ss_room_store' into erikj/ss_hacksErik Johnston2024-07-243-73/+196
|\| |
| * | Merge branch 'erikj/ss_tokens' into erikj/ss_room_storeErik Johnston2024-07-234-62/+157
| |\ \
| | * | Change token names againErik Johnston2024-07-231-6/+8
| | * | Merge remote-tracking branch 'origin/develop' into erikj/ss_tokensErik Johnston2024-07-234-52/+145
| | |\|
| | | * Speed up SS room sorting (#17468)Erik Johnston2024-07-231-22/+21
| | | * Fixed presence results not returning offline users on initial sync (#17231)Michael Hollister2024-07-231-1/+5
| | | * Sliding Sync: Add E2EE extension (MSC3884) (#17454)Eric Eastwood2024-07-222-19/+105
| | | * SS: Implement `$ME` support (#17469)Erik Johnston2024-07-221-1/+5
| | | * Speed up room keys query by using read/write lock (#17461)Erik Johnston2024-07-221-9/+9
| * | | Apply suggestions from code reviewErik Johnston2024-07-231-3/+4
| * | | Merge branch 'erikj/ss_tokens' into erikj/ss_room_storeErik Johnston2024-07-191-14/+20
| |\| |
| | * | Merge remote-tracking branch 'origin/develop' into erikj/ss_tokensErik Johnston2024-07-192-2/+13
| | |\|
| | * | Remove '_token' prefixErik Johnston2024-07-181-7/+5
| * | | Merge remote-tracking branch 'origin/develop' into erikj/ss_room_storeErik Johnston2024-07-182-0/+3
| |\ \ \
| * | | | Refactor to avoid SyncConfig.connection_id()Erik Johnston2024-07-181-17/+48
| * | | | Rename boundsErik Johnston2024-07-181-10/+12
| * | | | Keyword argsErik Johnston2024-07-181-1/+3
| * | | | Apply suggestions from code reviewErik Johnston2024-07-181-6/+8
* | | | | Merge branch 'erikj/ss_faster_sort' into erikj/ss_hacksErik Johnston2024-07-222-23/+17
|\ \ \ \ \
| * | | | | WIP faster sortErik Johnston2024-07-221-16/+15
| | |_|_|/ | |/| | |
| * | | | Generate room sync data concurrently (#17458)Erik Johnston2024-07-191-2/+10
| | |/ / | |/| |
| * | | Improve default_power_level_content_override documentation (#17451)Ben Banfield-Zanin2024-07-181-0/+2
| * | | Add `m.room.create` to default bump event types (#17453)Eric Eastwood2024-07-181-0/+1
* | | | Remove fiddlingErik Johnston2024-07-221-2/+2
* | | | Room keysgit checkout erikj/ss_hacksErik Johnston2024-07-191-9/+9
* | | | Merge branch 'erikj/ss_incr_sync' into erikj/ss_hacksErik Johnston2024-07-171-0/+25
|\ \ \ \
| * | | | Only return changed rooms erikj/ss_incr_syncErik Johnston2024-07-171-0/+25
| | |/ / | |/| |
* | | | FixupErik Johnston2024-07-171-1/+1
* | | | Merge branch 'erikj/ss_room_store' into erikj/ss_hacksErik Johnston2024-07-171-38/+285
|\| | |
| * | | Handle state deltas in non-initial roomsErik Johnston2024-07-171-3/+11
| * | | Handle initial flag correctlyErik Johnston2024-07-171-35/+31
| * | | Use new room store to track if we've sent a room downErik Johnston2024-07-171-11/+44
| * | | Add conn_id fieldErik Johnston2024-07-171-1/+1
| * | | WIP/PoC of storing whether we have sent rooms down to clientsErik Johnston2024-07-171-0/+197
| | |/ | |/|
| * | Pass throught SlidingSyncStreamTokenErik Johnston2024-07-171-9/+15
| |/
| * Fix bug where sync could get stuck when using workers (#17438)Erik Johnston2024-07-151-2/+9
* | Merge remote-tracking branch 'origin/develop' into erikj/ss_hacksErik Johnston2024-07-151-123/+295
|\|
| * Add room subscriptions to Sliding Sync `/sync` (#17432)Eric Eastwood2024-07-151-115/+288
* | Have more timeline events in incremental syncsErik Johnston2024-07-121-3/+7
* | Merge remote-tracking branch 'origin/develop' into erikj/ss_hacksErik Johnston2024-07-121-119/+252
|\|
| * Add `is_dm` room field to Sliding Sync `/sync` (#17429)Eric Eastwood2024-07-111-29/+46
| * Add `heroes` and room summary fields to Sliding Sync `/sync` (#17419)Eric Eastwood2024-07-111-83/+197
| * Fix filtering room types on remote rooms (#17434)Erik Johnston2024-07-111-12/+10
* | FixupErik Johnston2024-07-121-1/+4
* | Reduce log spamErik Johnston2024-07-111-12/+8
* | Merge branch 'erikj/ss_sort' into erikj/ss_hacksErik Johnston2024-07-111-1/+0
|\ \
| * | Faster sliding sync sorting erikj/ss_sortErik Johnston2024-07-111-20/+41
| |/
* | Merge branch 'erikj/ss_sort' into erikj/ss_hacksErik Johnston2024-07-111-9/+14
|\ \
| * | Faster sliding sync sortingErik Johnston2024-07-111-20/+41
| |/
* | TracingErik Johnston2024-07-111-0/+3
* | FixupErik Johnston2024-07-111-0/+4
* | Fixup room typesErik Johnston2024-07-111-13/+12
* | New tableErik Johnston2024-07-111-5/+5
* | Handle $ME correctlyErik Johnston2024-07-111-1/+9
* | FIXUPErik Johnston2024-07-111-7/+9
* | FixupErik Johnston2024-07-111-7/+18
* | FIXUPErik Johnston2024-07-101-1/+3
* | FIXUPErik Johnston2024-07-101-8/+6
* | FIXUPErik Johnston2024-07-105-5/+5
* | tracingErik Johnston2024-07-101-1/+5
* | ConcurrentErik Johnston2024-07-101-2/+6
* | FixupErik Johnston2024-07-101-7/+3
* | FixupErik Johnston2024-07-101-1/+1
* | FixupErik Johnston2024-07-101-8/+26
* | FixupErik Johnston2024-07-101-10/+1
* | FixupErik Johnston2024-07-101-1/+21
* | FixupErik Johnston2024-07-101-3/+9
* | More fixupsErik Johnston2024-07-101-1/+1
* | Faster room sortingErik Johnston2024-07-101-30/+4
|/
* Handle to-device extensions to Sliding Sync (#17416)Erik Johnston2024-07-101-1/+102
* Add `rooms` `name` and `avatar` to Sliding Sync `/sync` (#17418)Eric Eastwood2024-07-091-55/+96
* Add `rooms.bump_stamp` to Sliding Sync `/sync` for easier client-side sorting...Eric Eastwood2024-07-081-19/+56
* Upon deactivation, forget all of the user's rooms (#17400)Travis Ralston2024-07-051-0/+4
* Add `rooms.required_state` to Sliding Sync `/sync` (#17342)Eric Eastwood2024-07-042-63/+391
* Add `room_types`/`not_room_types` filtering to Sliding Sync `/sync` (#17337)Eric Eastwood2024-07-021-5/+30
* Return some room data in Sliding Sync `/sync` (#17320)Eric Eastwood2024-07-021-152/+490
* Add `is_invite` filtering to Sliding Sync `/sync` (#17335)Eric Eastwood2024-06-241-3/+16
* Add support for MSC3823 - Account Suspension Part 2 (#17255)Shay2024-06-241-0/+11
* Add `is_encrypted` filtering to Sliding Sync `/sync` (#17281)Eric Eastwood2024-06-172-99/+36
* Add `stream_ordering` sort to Sliding Sync `/sync` (#17293)Eric Eastwood2024-06-173-34/+136
* Include user membership on events (#17282)Richard van der Hoff2024-06-138-18/+0
* Add `is_dm` filtering to Sliding Sync `/sync` (#17277)Eric Eastwood2024-06-131-6/+112
* Fix `newly_left` rooms not appearing if we returned early (Sliding Sync) (#17...Eric Eastwood2024-06-131-13/+13
* Add `event.internal_metadata.instance_name` (#17300)Eric Eastwood2024-06-131-0/+1
* Reorganize Pydantic models and types used in handlers (#17279)Eric Eastwood2024-06-103-176/+5
* Add debug logging for when room keys are uploaded, including whether they are...reivilibre2024-06-071-0/+18
* Add Sliding Sync `/sync` endpoint (initial implementation) (#17187)Eric Eastwood2024-06-062-8/+621
* Handle OTK uploads off master (#17271)Erik Johnston2024-06-061-29/+55
* Don't try and resync devices for down hosts (#17273)Erik Johnston2024-06-061-6/+18
* Always return OTK counts (#17275)Erik Johnston2024-06-061-4/+29
* Use fully-qualified `PersistedEventPosition` when returning `RoomsForUser` (#...Eric Eastwood2024-06-045-69/+8
* Fix bug where typing replication breaks (#17252)Erik Johnston2024-05-311-3/+3
* Fix logging errors when receiving invalid User ID for key querys (#17250)Erik Johnston2024-05-311-0/+5
* In sync wait for worker to catch up since token (#17215)Erik Johnston2024-05-301-0/+35
* Fix deduplicating of membership events to not create unused state groups. (#1...Erik Johnston2024-05-302-35/+32
* Don't invalidate all `get_relations_for_event` on history purge (#17083)Erik Johnston2024-05-291-1/+1
* Ignore attempts to send to-device messages to bad users (#17240)Erik Johnston2024-05-291-0/+7
* Handle duplicate OTK uploads racing (#17241)Erik Johnston2024-05-291-33/+45
* Add Sliding Sync `/sync/e2ee` endpoint for To-Device messages (#17167)Eric Eastwood2024-05-231-10/+237
* Log exceptions when failing to auto-join new user according to the `auto_join...reivilibre2024-05-221-1/+1
* Reduce work of calculating outbound device pokes (#17211)Erik Johnston2024-05-221-0/+7
* Bring auto-accept invite logic into Synapse (#17147)devonh2024-05-211-1/+1
* Improve perf of sync device lists (#17216)Erik Johnston2024-05-212-35/+25
* Refactor `SyncResultBuilder` assembly to its own function (#17202)Eric Eastwood2024-05-161-116/+148
* Fix `joined_rooms`/`joined_room_ids` usage (#17208)Eric Eastwood2024-05-161-1/+1
* Rename to be obvious: `joined_rooms` -> `joined_room_ids` (#17203)Eric Eastwood2024-05-161-2/+2
* Removed `request_key` from the `SyncConfig` (moved outside as its own functio...Eric Eastwood2024-05-161-3/+3
* Revert "Improve perf of sync device lists" (#17207)Erik Johnston2024-05-161-6/+31
* Fix bug where push rules would be empty in `/sync` (#17142)Erik Johnston2024-05-161-12/+8
* Refactor Sync handler to be able to return different sync responses (`SyncVer...Eric Eastwood2024-05-161-7/+58
* Improve perf of sync device lists (#17191)Erik Johnston2024-05-141-31/+6
* Allows CAS SSO flow to provide user IDs composed of numbers only (#17098)Aurélien Grimpard2024-05-141-0/+5
* Fix undiscovered linter errors (#17166)devonh2024-05-081-3/+11
* Add support for MSC3823 - Account Suspension (#17051)Shay2024-05-011-0/+30
* Apply user `email` & `picture` during OIDC registration if present & selected...devonh2024-04-291-0/+10
* Add support for MSC4115 (#17104)Richard van der Hoff2024-04-298-7/+40
* Ensure that incoming to-device messages are not dropped (#17127)Richard van der Hoff2024-04-291-0/+3
* Redact membership events if the user requested erasure upon deactivating (#17...Till2024-04-251-1/+12
* bugfix: make msc3967 idempotent (#16943)Kegan Dougal2024-04-151-0/+36
* Also check if first event matches the last in prev batch (#17066)Erik Johnston2024-04-091-7/+13
* Fix PR #16677, a parameter was missing in a function call (#17033)Mathieu Velten2024-04-091-0/+1
* Fixups to #17064 (#17065)Erik Johnston2024-04-081-0/+3
* Add back fast path for non-gappy syncs (#17064)Erik Johnston2024-04-081-0/+36
* Fix bug in calculating state for non-gappy syncs (#16942)Richard van der Hoff2024-04-041-54/+37
* `/sync`: fix bug in calculating `state` response (#16930)Richard van der Hoff2024-04-041-41/+13
* Fix bug in `/sync` response for archived rooms (#16932)Richard van der Hoff2024-04-041-14/+107
* Fixups to new push stream (#17038)Erik Johnston2024-03-281-2/+4
* Add support for moving `/push_rules` off of main process (#17037)Erik Johnston2024-03-281-3/+16
* Add OIDC config to add extra parameters to the authorize URL (#16971)Mathieu Velten2024-03-221-6/+14
* Do not refuse to set read_marker if previous event_id is in wrong room (#16990)SpiritCroc2024-03-211-2/+2
* Fix reject knocks on deactivating account (#17010)Hanadi2024-03-211-10/+15
* OIDC: try to JWT decode userinfo response if JSON parsing failed (#16972)Mathieu Velten2024-03-211-4/+28
* Update power level default for public rooms (#16907)Shay2024-03-191-1/+1
* Improve event validation (#16908)Shay2024-03-192-1/+24
* Pass module API to OIDC mapping provider (#16974)Mathieu Velten2024-03-191-3/+14
* `/sync`: Fix edge-case in calculating the "device_lists" response (#16949)Richard van der Hoff2024-03-141-2/+9
* Split up `SyncHandler.compute_state_delta` (#16929)Richard van der Hoff2024-03-141-145/+236
* Improve lock performance when a lot of locks are waiting (#16840)Mathieu Velten2024-03-141-6/+9
* Bump mypy from 1.5.1 to 1.8.0 (#16901)dependabot[bot]2024-03-132-3/+3
* Bump black from 23.10.1 to 24.2.0 (#16936)dependabot[bot]2024-03-1311-49/+51
* Don't lock up when joining large rooms (#16903)Erik Johnston2024-02-201-9/+17
* Add a config to not send out device list updates for specific users (#16909)Erik Johnston2024-02-131-2/+11
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-2347-0/+60
* Allow room creation but not publishing to continue if room publication rules ...Shay2024-01-221-4/+2
* Faster load recents for sync (#16783)Erik Johnston2024-01-101-6/+8
* Pull less state out if we fail to backfill (#16788)Erik Johnston2024-01-101-9/+12
* Reduce amount of state pulled out when querying federation hierachy (#16785)Erik Johnston2024-01-101-1/+11
* Faster partial join to room with complex auth graph (#7)Erik Johnston2024-01-101-49/+30
* Filter out rooms from the room directory being served to other homeservers wh...reivilibre2024-01-081-50/+127
* Fix linting (#16780)Erik Johnston2024-01-051-1/+11
* Simplify internal metadata class. (#16762)Erik Johnston2024-01-053-5/+22
* Add recursion_depth to /relations if recursing (#16775)David Baker2024-01-041-0/+4
* Merge remote-tracking branch 'gitlab/clokep/license-license' into new_developErik Johnston2023-12-1350-522/+800
|\
| * Update license headersPatrick Cloke2023-11-2150-522/+800
* | Fix upgrading a room without `events` field in power levels (#16725)David Robertson2023-12-051-1/+1
* | Implement MSC4069: Inhibit profile propagation (#16636)Travis Ralston2023-12-041-2/+8
* | ModuleAPI SSO auth callbacks (#15207)Andrew Yasinishyn2023-12-012-0/+24
* | Drop unused tables & unneeded access token ID for events. (#16522)Patrick Cloke2023-12-011-6/+2
* | Reduce DB load when forget on leave setting is disabled (#16668)Erik Johnston2023-11-291-3/+8
* | Ignore `encryption_enabled_by_default_for_room_type` for notices room (#16677)Mathieu Velten2023-11-281-1/+7
|/
* Reduce task concurrency (#16656)Erik Johnston2023-11-171-1/+1
* Speed up deleting device messages (#16643)Erik Johnston2023-11-161-3/+5
* Speed up persisting large number of outliers (#16649)Erik Johnston2023-11-161-11/+7
* Add an Admin API to temporarily grant the ability to update an existing cross...David Robertson2023-11-151-7/+13
* Use full GitHub links instead of bare issue numbers. (#16637)Patrick Cloke2023-11-154-8/+8
* Convert simple_select_one_txn and simple_select_one to return tuples. (#16612)Patrick Cloke2023-11-092-4/+5
* Return attrs for more media repo APIs. (#16611)Patrick Cloke2023-11-092-7/+10
* Remove remaining usage of cursor_to_dict. (#16564)Patrick Cloke2023-10-313-36/+35
* Merge pull request from GHSA-mp92-3jfm-3575Patrick Cloke2023-10-312-0/+9
* Claim local one-time-keys in bulk (#16565)David Robertson2023-10-301-0/+10
* Claim fallback keys in bulk (#16570)David Robertson2023-10-301-0/+14
* Ensure local invited & knocking users leave before purge. (#16559)Patrick Cloke2023-10-271-3/+4
* Fix cross-worker ratelimiting (#16558)Erik Johnston2023-10-271-16/+57
* Add new module API for adding custom fields to events `unsigned` section (#16...Erik Johnston2023-10-276-18/+20
* Remove more usages of cursor_to_dict. (#16551)Patrick Cloke2023-10-262-12/+12
* Add a new module API to update user presence state. (#16544)Patrick Cloke2023-10-263-33/+49
* Convert simple_select_list and simple_select_list_txn to return lists of tupl...Patrick Cloke2023-10-262-6/+3
* Allow multiple workers to write to receipts stream. (#16432)Erik Johnston2023-10-254-30/+40
* Mark sync as limited if there is a gap in the timeline (#16485)Erik Johnston2023-10-191-8/+44
* Improve performance of delete device messages query (#16492)Mathieu Velten2023-10-181-0/+2
* Convert DeviceLastConnectionInfo to attrs. (#16507)Patrick Cloke2023-10-171-16/+7
* Convert state delta processing from a dict to attrs. (#16469)Patrick Cloke2023-10-164-78/+73
* Remove useless async job to delete device messages on sync (#16491)Mathieu Velten2023-10-161-22/+0
* Revert "Drop unused tables & unneeded access token ID for events. (#16268)" (...Patrick Cloke2023-10-121-2/+6
* Convert user_get_threepids response to attrs. (#16468)Patrick Cloke2023-10-113-5/+7
* Bump ruff from 0.0.290 to 0.0.292 (#16449)dependabot[bot]2023-10-095-8/+0
* Apply join rate limiter outside the lineariser (#16441)David Robertson2023-10-061-20/+23
* Drop unused tables & unneeded access token ID for events. (#16268)Patrick Cloke2023-10-061-6/+2
* Stop sending incorrect knock_state_events. (#16403)Patrick Cloke2023-10-061-11/+2
* Factor out `MultiWriter` token from `RoomStreamToken` (#16427)Erik Johnston2023-10-054-6/+5
* Some refactors around receipts stream (#16426)Erik Johnston2023-10-043-19/+16
* mypy plugin to check `@cached` return types (#14911)David Robertson2023-10-021-2/+2
* Add a cache around server ACL checking (#16360)Patrick Cloke2023-09-262-0/+11
* Reduce calls to `send_presence_to_destinations` (#16385)Erik Johnston2023-09-261-15/+18
* Convert more cached return values to immutable types (#16356)Patrick Cloke2023-09-202-3/+13
* Return immutable objects for cachedList decorators (#16350)Patrick Cloke2023-09-196-33/+37
* Make cached account data/tags/admin types immutable (#16325)Patrick Cloke2023-09-182-20/+25
* Return an immutable value from get_latest_event_ids_in_room. (#16326)Patrick Cloke2023-09-181-5/+3
* Additional validation of receipts (#16327)Patrick Cloke2023-09-181-2/+24
* Set email charset as utf-8 rather than utf8 (#16329)José Joaquín Atria2023-09-181-2/+2
* Add automatic purge after all users forget a room (#15488)Mathieu Velten2023-09-153-390/+281
* Speed up deleting to-device messages task (#16318)Erik Johnston2023-09-141-13/+14
* Refactor `get_user_by_id` (#16316)Erik Johnston2023-09-143-31/+26
* Fix using dehydrated devices (MSC2697) & refresh tokens (#16288)Hanadi2023-09-131-3/+4
* Don't schedule an async task on every sync (#16312)Erik Johnston2023-09-131-11/+26
* Fix deleting device inbox when using background worker (#16311)Erik Johnston2023-09-131-31/+31
* Add the List-Unsubscribe header for notification emails. (#16274)Patrick Cloke2023-09-111-1/+9
* Filter out down hosts when retrying fetching device lists (#16298)Erik Johnston2023-09-111-1/+14
* Recheck if remote device is cached before requesting it (#16252)Erik Johnston2023-09-071-6/+15
* Handle "registration_enabled" parameter for CAS (#16262)Aurélien Grimpard2023-09-061-0/+2