summary refs log tree commit diff
path: root/synapse/events/utils.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Bump ruff from 0.0.277 to 0.0.286 (#16198)dependabot[bot]2023-08-291-2/+2
* Stabilize support for MSC3970: updated transaction semantics (scope to `devic...Patrick Cloke2023-08-041-21/+21
* Add forward-compatibility for the redacts property (MSC2174). (#16013)Patrick Cloke2023-08-021-8/+10
* Properly handle redactions of creation events (#15973)Shay2023-07-231-3/+5
* Support room version 11 (#15912)Patrick Cloke2023-07-181-13/+18
* Remove experimental MSC2716 implementation to incrementally import history in...Eric Eastwood2023-06-161-9/+0
* Properly parse event_fields in filters (#15607)Patrick Cloke2023-05-221-14/+58
* Implement MSC3821 to update redaction rules (`third_party_invite.signed`) (#1...Patrick Cloke2023-05-151-0/+10
* Implement MSC3389 to protect relations from redaction. (#15565)Patrick Cloke2023-05-151-0/+12
* Experimental support for MSC3970: per-device transaction IDs (#15318)Quentin Gliech2023-04-251-16/+42
* Implement MSC3989 to redact the origin field. (#15393)Patrick Cloke2023-04-051-1/+4
* Bump ruff from 0.0.252 to 0.0.259 (#15328)dependabot[bot]2023-03-281-1/+1
* Use immutabledict instead of frozendict (#15113)David Robertson2023-03-221-1/+1
* Pass the requester during event serialization. (#15174)Quentin Gliech2023-03-061-8/+22
* Stop applying edits to event contents (MSC3925). (#15193)Patrick Cloke2023-03-061-55/+2
* Remove support for aggregating reactions (#15172)Richard van der Hoff2023-02-281-5/+0
* Reject boolean power levels (#14944)David Robertson2023-01-311-3/+3
* Add missing type hints for tests.events. (#14904)Patrick Cloke2023-01-251-1/+2
* Implement MSC3925: changes to bundling of edits (#14811)Richard van der Hoff2023-01-101-7/+24
* Allow selecting "prejoin" events by state keys (#14642)David Robertson2022-12-131-1/+31
* MSC2716v4 room version - remove namespace from MSC2716 event content fields (...Eric Eastwood2022-08-191-1/+1
* Convert stringy power levels to integers on room upgrade (#12657)David Robertson2022-05-071-16/+45
* Include bundled aggregations for the latest event in a thread. (#12273)Patrick Cloke2022-05-041-22/+33
* Consistently use collections.abc.Mapping to check frozendict. (#12564)Patrick Cloke2022-04-271-3/+4
* Misc. clean-ups to the relations code (#12519)Patrick Cloke2022-04-251-1/+1
* Fix `/room/.../event/...` to return the *original* event after any edits (#12...Richard van der Hoff2022-04-191-8/+13
* Remove references to unstable identifiers from MSC3440. (#12382)Patrick Cloke2022-04-121-6/+0
* Bump `black` and `click` versions (#12320)David Robertson2022-03-291-1/+1
* Move get_bundled_aggregations to relations handler. (#12237)Patrick Cloke2022-03-181-1/+1
* Fix bundling aggregations if unsigned is not a returned event field. (#12234)Patrick Cloke2022-03-161-3/+6
* Support stable identifiers for MSC3440: Threading (#12151)Patrick Cloke2022-03-101-1/+8
* Use the proper serialization format when bundling aggregations. (#12090)Patrick Cloke2022-03-031-27/+54
* Fix incorrect thread summaries when the latest event is edited. (#11992)Patrick Cloke2022-02-151-24/+45
* Improvements to bundling aggregations. (#11815)Patrick Cloke2022-01-261-17/+40
* Do not try to serialize raw aggregations dict. (#11791)Patrick Cloke2022-01-211-2/+2
* Bundle aggregations outside of the serialization method. (#11612)Patrick Cloke2022-01-071-89/+37
* Do not bundle aggregations for APIs which shouldn't include them. (#11592)Patrick Cloke2021-12-201-1/+1
* Do not allow cross-room relations, per MSC2674. (#11516)Patrick Cloke2021-12-091-4/+7
* Include bundled aggregations in /sync and related fixes (#11478)Patrick Cloke2021-12-061-23/+35
* Bundle relations of relations into the `/relations` result. (#11284)Patrick Cloke2021-11-301-0/+8
* Refactor the code to inject bundled relations during serialization. (#11408)Patrick Cloke2021-11-231-64/+82
* Add a thread relation type per MSC3440. (#11088)Patrick Cloke2021-10-211-0/+17
* Move experimental & retention config out of the server module. (#11070)Patrick Cloke2021-10-151-4/+2
* Add type hints to synapse.events.*. (#11066)Patrick Cloke2021-10-131-46/+67
* Strip "join_authorised_via_users_server" from join events which do not need i...Patrick Cloke2021-09-301-1/+1
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
* Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint...Eric Eastwood2021-09-211-3/+3
* Support MSC3375: room version 9. (#10747)Patrick Cloke2021-09-031-0/+2
* Validate new m.room.power_levels events (#10232)Aaron Raimist2021-08-261-1/+4
* When redacting, keep event fields around that maintain the historical event s...Eric Eastwood2021-08-091-1/+7
* Make historical events discoverable from backfill for servers without any scr...Eric Eastwood2021-07-281-0/+3
* Restricted rooms (MSC3083) should not have their allow key redacted. (#10489)Patrick Cloke2021-07-281-0/+2
* Implement knock feature (#6739)Sorunome2021-06-091-7/+12
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Ensure we use a copy of the event content dict before modifying it in seriali...Andrew Morgan2021-03-171-2/+12
* Prep work for removing `outlier` from `internal_metadata` (#9411)Richard van der Hoff2021-03-171-0/+2
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-1/+1
* Implement MSC2176: Updated redaction rules (#8984)Patrick Cloke2021-01-051-2/+14
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-1/+1
* Remove stream ordering from Metadata dict (#8452)Richard van der Hoff2020-10-051-0/+5
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Convert a synapse.events to async/await. (#7949)Patrick Cloke2020-07-271-8/+7
* Fix deprecation warning: import ABC from collections.abc (#7892)Karthikeyan Singaravelan2020-07-201-3/+3
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-3/+1
* Strictly enforce canonicaljson requirements in a new room version (#7381)Patrick Cloke2020-05-141-1/+34
* Remove special auth and redaction rules for aliases events in experimental ro...Patrick Cloke2020-03-091-7/+5
* Store room_versions in EventBase objects (#6875)Richard van der Hoff2020-03-051-10/+4
* Set the PL for aliases events to 0.Richard van der Hoff2020-01-291-1/+1
* Factor out a `copy_power_levels_contents` methodRichard van der Hoff2020-01-291-1/+36
* Replace returnValue with return (#5736)Amber Brown2019-07-231-2/+2
* Remove the ability to query relations when the original event was redacted. (...Andrew Morgan2019-07-181-4/+12
* Add origin_server_ts and sender fields to m.replace (#5613)Andrew Morgan2019-07-051-1/+5
* Run Black. (#5482)Amber Brown2019-06-201-26/+32
* Don't bundle events in /sync or /eventsErik Johnston2019-05-211-2/+3
* Rename relation types to match MSCErik Johnston2019-05-201-3/+3
* Fixup bsaed on review commentsErik Johnston2019-05-171-3/+1
* Add basic editing supportErik Johnston2019-05-161-4/+26
* Add aggregations APIErik Johnston2019-05-161-3/+31
* Allow client event serialization to be asyncErik Johnston2019-05-141-0/+44
* Implement event format v2Erik Johnston2019-01-291-0/+3
* Refactor event signing to work on dictsErik Johnston2019-01-281-12/+35
* run isortAmber Brown2018-07-091-4/+5
* Replace some more comparisons with sixAdrian Tschira2018-05-191-1/+3
* Comment and remove spurious loggingErik Johnston2017-04-271-0/+3
* Fix testsErik Johnston2017-04-261-3/+3
* Fix invite state to always include all eventsErik Johnston2017-04-261-1/+19
* Review commentsKegan Dougal2016-11-221-11/+9
* Also check for dict since sometimes they aren't frozenKegan Dougal2016-11-221-1/+1
* Glue only_event_fields into the sync rest servletKegan Dougal2016-11-221-1/+1
* More testsKegan Dougal2016-11-221-3/+4
* Start adding some testsKegan Dougal2016-11-211-1/+3
* Move event_fields filtering to serialize_eventKegan Dougal2016-11-211-4/+97
* Include prev_content in redacted state eventsErik Johnston2016-08-111-0/+2
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Only add the user_id if the sender is presentMark Haines2015-12-011-1/+3
* Copy rather than move the fields to shuffle between a v1 and a v2 event.Mark Haines2015-11-301-9/+5
* Flatten the /sync response to remove the event_mapRichard van der Hoff2015-11-191-2/+1
* Update the other place check_joined_room is calledMark Haines2015-10-301-1/+2
* Surely we don't need to preserve 'events_default' twicePaul "LeoNerd" Evans2015-10-161-1/+0
* Bundle in some room state in the unsigned bit of the invite when sending to i...Erik Johnston2015-09-101-1/+4
* Rename key and values for m.room.history_visibility. Support 'invited' valueErik Johnston2015-07-061-1/+1
* Add m.room.history_visibility to list of auth eventsErik Johnston2015-07-031-0/+2
* Merge pull request #43 from matrix-org/rejectionsErik Johnston2015-01-301-3/+8
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into rejectionsErik Johnston2015-01-301-6/+6
| |\
| * | Fix bug where we changes in outlier in metadata dict propogated to other eventsErik Johnston2015-01-301-1/+4
| * | Initial implementation of auth conflict resolutionErik Johnston2015-01-291-2/+4
* | | Include transaction ids in unsigned section of events in the sync results for...Mark Haines2015-01-291-5/+6
* | | Add support for formatting events in the way a v2 client expectsMark Haines2015-01-291-39/+52
* | | Start implementing incremental initial syncMark Haines2015-01-271-0/+1
* | | Start implementing the non-incremental sync portion of the v2 /sync APIMark Haines2015-01-261-1/+5
| |/ |/|
* | Pass the current time to serialize event, rather than passing anMark Haines2015-01-261-6/+6
|/
* Merge branch 'hotfixes-v0.6.1b' of github.com:matrix-org/synapse into developErik Johnston2015-01-131-1/+1
|\
| * Insert 'age' into top level when returning events to clientsErik Johnston2015-01-131-1/+1
* | Return the raw federation event rather than adding extra keys for federation ...Kegan Dougal2015-01-081-9/+16
* | Add 'raw' query parameter to expose the event graph and signatures to savvy c...Kegan Dougal2015-01-081-8/+9
|/
* Update copyright noticesMark Haines2015-01-061-1/+1
* Remove unneeded federation keys from eventsMark Haines2014-12-191-0/+3
* Fix bug where we ignored event_edge_hashes tableErik Johnston2014-12-151-0/+1
* Fix prev_contentErik Johnston2014-12-111-0/+8
* Fix redactions. Fix 'age' keyErik Johnston2014-12-111-0/+21
* Add PEP8 newlinesErik Johnston2014-12-091-1/+1
* Various typos and bug fixes.Erik Johnston2014-12-081-0/+2
* Start making more things use EventContext rather than event.*Erik Johnston2014-12-051-0/+16
* WIP for new way of managing events.Erik Johnston2014-12-031-0/+82