summary refs log tree commit diff
path: root/synapse/visibility.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Avoid state lookups for events we'll ignoreDavid Robertson2023-03-101-5/+10
* Rename paramDavid Robertson2023-03-101-4/+4
* Add explicit option for partial state roomsDavid Robertson2023-03-101-2/+4
* Require explicit boolean options from callersDavid Robertson2023-03-101-2/+3
* Track a set of strings, not EventBasesDavid Robertson2023-03-101-4/+14
* Separate decision from actionDavid Robertson2023-03-101-3/+6
* Flip logic and provide better nameDavid Robertson2023-03-101-5/+4
* Tweak docstring and type hintDavid Robertson2023-03-101-7/+19
* Move `StateFilter` to `synapse.types` (#14668)David Robertson2022-12-121-1/+1
* Faster joins: filter out non local events when a room doesn't have its full s...Mathieu Velten2022-11-211-3/+26
* Add debug logs to figure out why an event was filtered (#14095)Eric Eastwood2022-10-171-1/+31
* Skip filtering during push if there are no push actions (#13992)Erik Johnston2022-09-301-0/+4
* Add some miscellaneous comments around sync (#13474)Sean Quah2022-08-101-2/+2
* Instrument `/messages` for understandable traces in Jaeger (#13368)Eric Eastwood2022-08-031-0/+2
* Add a `filter_event_for_clients_with_state` function (#13222)Erik Johnston2022-07-111-137/+387
* Fix 404 on `/sync` when the last event is a redaction of an unknown/purged ev...Richard van der Hoff2022-06-011-10/+18
* Rename storage classes (#12913)Erik Johnston2022-05-311-5/+5
* Prevent expired events from being filtered out when retention is disabled (#1...Brendan Abolivier2022-05-231-3/+3
* Optimise backfill calculation (#12522)Richard van der Hoff2022-04-261-0/+7
* Handle outliers in `/federation/v1/event` (#12332)Richard van der Hoff2022-03-311-106/+128
* Use the ignored_users table to test event visibility & sync. (#12225)Patrick Cloke2022-03-151-15/+3
* Update client-visibility filtering for outlier events (#12155)Richard van der Hoff2022-03-041-1/+16
* Make the `get_global_account_data_by_type_for_user` cache be a tree-cache who...reivilibre2022-01-211-1/+1
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-191-2/+2
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-1/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Add type hints to misc. files. (#9676)Patrick Cloke2021-03-241-40/+38
* Merge pull request #9150 from Yoric/develop-contextDavid Teller2021-02-081-0/+1
|\
| * FIXUP: Don't filter events at all for admin/v1/rooms/.../context/...David Teller2021-01-281-19/+6
| * New API /_synapse/admin/rooms/{roomId}/context/{eventId}David Teller2021-01-281-6/+20
* | Typo fix in a comment: subequently -> subsequently. (#8988)Tim Gates2021-02-031-1/+1
|/
* Try and drop stale extremities. (#8929)Erik Johnston2020-12-181-1/+1
* Do not assume that the contents dictionary includes history_visibility. (#8945)Patrick Cloke2020-12-161-14/+28
* Do not assume that account data is of the correct form. (#8454)Patrick Cloke2020-10-051-8/+7
* Convert groups and visibility code to async / await. (#7951)Patrick Cloke2020-07-271-17/+13
* Fix some spelling mistakes / typos. (#7811)Patrick Cloke2020-07-091-2/+2
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-2/+0
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-13/+8
* Refactor a bitBrendan Abolivier2020-03-111-28/+30
* Also don't fail on aliases events in this caseBrendan Abolivier2020-03-111-1/+1
* LintBrendan Abolivier2020-03-111-1/+5
* Also don't filter out events sent by ignored users when checking state visibi...Brendan Abolivier2020-03-111-1/+1
* Fix conditionBrendan Abolivier2020-03-111-1/+1
* Don't filter out dummy events when we're checking the visibility of stateBrendan Abolivier2020-03-111-8/+7
* Hide extremities dummy events from clientsBrendan Abolivier2020-03-041-0/+3
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-2/+2
* filter out m.room.aliases from the CS API until a better solution is specced ...Matthew Hodgson2020-02-101-0/+7
* Update the documentation of the filtering functionBrendan Abolivier2019-12-161-1/+2
* LintBrendan Abolivier2019-11-281-4/+8
* Discard retention policies when retrieving stateBrendan Abolivier2019-11-281-8/+14
* Don't apply retention policy based filtering on state eventsBrendan Abolivier2019-11-061-6/+9
* Implement per-room message retention policiesBrendan Abolivier2019-11-041-0/+17
* Port to use state storageErik Johnston2019-10-301-13/+17
* Replace returnValue with return (#5736)Amber Brown2019-07-231-4/+4
* Run Black. (#5482)Amber Brown2019-06-201-41/+28
* Implement soft failErik Johnston2019-03-061-0/+4
* clarify commentsErik Johnston2019-03-051-1/+1
* Fix missing null guardErik Johnston2019-03-041-1/+1
* Only check history visibility when filteringErik Johnston2019-03-041-34/+43
* Stop backpaginating when events not visibleErik Johnston2019-02-201-5/+25
* Refactor state group lookup to reduce DB hits (#4011)Erik Johnston2018-10-251-6/+9
* synapse/visibility.py: fix SyntaxError on py3.7Ivan Shapovalov2018-10-141-1/+1
* Optimisation for filter_events_for_serverRichard van der Hoff2018-10-081-7/+6
* Merge remote-tracking branch 'origin/develop' into rav/remove_who_forgot_in_roomRichard van der Hoff2018-07-231-9/+10
|\
| * Make the rest of the .iterwhatever go away (#3562)Amber Brown2018-07-211-9/+10
* | Remove redundant checks on room forgottennessRichard van der Hoff2018-07-231-18/+1
|/
* add a commentRichard van der Hoff2018-07-171-0/+2
* Fix visibility of events from erased users over federationRichard van der Hoff2018-07-171-56/+67
* fix importsRichard van der Hoff2018-07-171-0/+1
* add a commentRichard van der Hoff2018-07-171-0/+2
* Attempt to make _filter_events_for_server more efficientRichard van der Hoff2018-07-161-17/+23
* Move filter_events_for_server out of FederationHandlerRichard van der Hoff2018-07-161-0/+132
* run isortAmber Brown2018-07-091-3/+1
* Revert "Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibili...Erik Johnston2018-06-251-22/+55
* Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility"Richard van der Hoff2018-06-221-55/+22
* Filter out erased messagesRichard van der Hoff2018-06-121-22/+55
* remove dead filter_events_for_clientsRichard van der Hoff2018-06-121-64/+34
* Remove preserve_context_over_{fn, deferred}Richard van der Hoff2017-11-141-2/+2
* Don't filter out current state events from timelineErik Johnston2017-09-181-3/+11
* Perf: Don't filter events for pushErik Johnston2017-07-071-19/+0
* Revert "Speed up filtering of a single event in push"Erik Johnston2017-05-081-0/+19
* Speed up filtering of a single event in pushErik Johnston2017-04-281-19/+0
* Don't convert to deferreds when not necessaryErik Johnston2017-03-301-1/+2
* Fix rejection of invites not reaching syncDavid Baker2017-03-231-0/+7
* Replace context.current_state with context.current_state_idsErik Johnston2016-08-251-0/+19
* Preserve some logcontextsErik Johnston2016-08-241-3/+3
* move filter_events_for_client out of base handlerMark Haines2016-05-111-0/+210