profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/matrix-org/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
matrix.org matrix-org http://www.matrix.org A new basis for open, interoperable, decentralised real-time communication

matrix-org/dendrite 2489

Dendrite is a second-generation Matrix homeserver written in Go!

matrix-org/cerulean 72

An experimental Matrix client for playing with freestyle public threaded conversations

matrix-org/complement 37

Matrix compliance test suite

matrix-org/dendron 34

Dendron was an experimental Matrix homeserver, succeeded by Dendrite.

matrix-org/bullettime 29

An experimental golang Matrix homeserver

matrix-org/conference-bot 29

The conductor for your orchestra^Wconference

matrix-org/coap-proxy 28

HTTP<->CoAP proxy

matrix-org/allchange 9

A multi-project changelog generator

matrix-org/antiscam 6

Anti-scam plugin for Synapse

pull request commentmatrix-org/matrix-react-sdk

Export Conversations

@nadonomy would it be okay to change where the hyphen is around the chat so we can reuse our built-in brand variable? Would become something like $(brand) - Chat Export - $(timestamp) ("Element - Chat Export - $(timestamp)")

@turt2live yep that would be fine. I was just suggesting a minor cleanup on what we have today which is a little inconsistent/clunky in how it's stylised:

matrix-export-21-09-2021 at 18-20-01

jaiwanth-v

comment created time in 10 minutes

pull request commentmatrix-org/matrix-react-sdk

Export Conversations

@nadonomy would it be okay to change where the hyphen is around the chat so we can reuse our built-in brand variable? Would become something like $(brand) - Chat Export - $(timestamp) ("Element - Chat Export - $(timestamp)")

jaiwanth-v

comment created time in 11 minutes

PullRequestReviewEvent

Pull request review commentmatrix-org/synapse

Add an approximate difference method to StateFilters

 def test_get_state_for_event(self):          self.assertEqual(is_all, True)         self.assertDictEqual({(e5.type, e5.state_key): e5.event_id}, state_dict)++    def test_state_filter_difference(self):+        def assert_difference(+            minuend: StateFilter, subtrahend: StateFilter, expected: StateFilter+        ):+            self.assertEqual(+                minuend.approx_difference(subtrahend),+                expected,+                f"StateFilter difference not correct:\n\n\t{minuend!r}\nminus\n\t{subtrahend!r}\nwas\n\t{minuend.approx_difference(subtrahend)}\nexpected\n\t{expected}",+            )++        # it's not possible to subtract individual state keys from+        # a wildcard+        assert_difference(+            StateFilter.all(),+            StateFilter.from_types(+                ((EventTypes.Member, "@wombat:hs1"), (EventTypes.Member, "@spqr:hs1"))+            ),+            StateFilter.all(),+        )+        self.assertEqual(+            StateFilter.all().approx_difference(+                StateFilter.from_types(+                    (+                        (EventTypes.Member, "@wombat:hs1"),+                        (EventTypes.Member, "@spqr:hs1"),+                    )+                )+            ),+            StateFilter.all(),+        )++        # we can subtract wildcards from wildcards+        assert_difference(StateFilter.all(), StateFilter.all(), StateFilter.none())+        assert_difference(+            StateFilter(+                types=frozendict(+                    {+                        EventTypes.Member: frozenset(),+                        EventTypes.CanonicalAlias: None,

Not really relevant to this change, but: it wasn't obvious to me what an empty set and None mean here (and if they ought to have different meanings).

I don't know if there's a nice way. If we had sum types I'd suggest

enum Fetch {
    All,
    None,
    WithStateKey(set_of_strings),
}

But that's slightly awkward because None and WithStateKey(empty_set) represent the same thing. /shrug

reivilibre

comment created time in 24 minutes

Pull request review commentmatrix-org/synapse

Add an approximate difference method to StateFilters

 def test_get_state_for_event(self):          self.assertEqual(is_all, True)         self.assertDictEqual({(e5.type, e5.state_key): e5.event_id}, state_dict)++    def test_state_filter_difference(self):+        def assert_difference(+            minuend: StateFilter, subtrahend: StateFilter, expected: StateFilter+        ):+            self.assertEqual(+                minuend.approx_difference(subtrahend),+                expected,+                f"StateFilter difference not correct:\n\n\t{minuend!r}\nminus\n\t{subtrahend!r}\nwas\n\t{minuend.approx_difference(subtrahend)}\nexpected\n\t{expected}",+            )++        # it's not possible to subtract individual state keys from+        # a wildcard+        assert_difference(+            StateFilter.all(),+            StateFilter.from_types(+                ((EventTypes.Member, "@wombat:hs1"), (EventTypes.Member, "@spqr:hs1"))+            ),+            StateFilter.all(),+        )+        self.assertEqual(+            StateFilter.all().approx_difference(+                StateFilter.from_types(+                    (+                        (EventTypes.Member, "@wombat:hs1"),+                        (EventTypes.Member, "@spqr:hs1"),+                    )+                )+            ),+            StateFilter.all(),+        )++        # we can subtract wildcards from wildcards+        assert_difference(StateFilter.all(), StateFilter.all(), StateFilter.none())+        assert_difference(+            StateFilter(+                types=frozendict(+                    {+                        EventTypes.Member: frozenset(),+                        EventTypes.CanonicalAlias: None,+                    }+                ),+                include_others=True,+            ),+            StateFilter(+                types=frozendict({EventTypes.JoinRules: None}), include_others=False+            ),+            StateFilter(+                types=frozendict(+                    {EventTypes.Member: frozenset(), EventTypes.JoinRules: frozenset()}+                ),+                include_others=True,+            ),+        )++        # subtract two strange wildcards+        assert_difference(+            StateFilter(+                types=frozendict({EventTypes.Member: None}),+                include_others=True,+            ),+            StateFilter(+                types=frozendict({EventTypes.CanonicalAlias: frozenset({""})}),+                include_others=True,+            ),+            StateFilter(+                types=frozendict({EventTypes.CanonicalAlias: None}),

Because as you say elsewhere, "all canonical aliases except for """ isn't currently expressible as a state filter.

reivilibre

comment created time in 22 minutes

Pull request review commentmatrix-org/synapse

Add an approximate difference method to StateFilters

 def test_get_state_for_event(self):          self.assertEqual(is_all, True)         self.assertDictEqual({(e5.type, e5.state_key): e5.event_id}, state_dict)++    def test_state_filter_difference(self):+        def assert_difference(+            minuend: StateFilter, subtrahend: StateFilter, expected: StateFilter+        ):+            self.assertEqual(+                minuend.approx_difference(subtrahend),+                expected,+                f"StateFilter difference not correct:\n\n\t{minuend!r}\nminus\n\t{subtrahend!r}\nwas\n\t{minuend.approx_difference(subtrahend)}\nexpected\n\t{expected}",+            )++        # it's not possible to subtract individual state keys from+        # a wildcard+        assert_difference(+            StateFilter.all(),+            StateFilter.from_types(+                ((EventTypes.Member, "@wombat:hs1"), (EventTypes.Member, "@spqr:hs1"))+            ),+            StateFilter.all(),+        )+        self.assertEqual(+            StateFilter.all().approx_difference(+                StateFilter.from_types(+                    (+                        (EventTypes.Member, "@wombat:hs1"),+                        (EventTypes.Member, "@spqr:hs1"),+                    )+                )+            ),+            StateFilter.all(),+        )

I think this is repeating the same assertion twice in different ways?

reivilibre

comment created time in 33 minutes

PullRequestReviewEvent
PullRequestReviewEvent

push eventmatrix-org/matrix-js-sdk

Šimon Brandner

commit sha 3c6eed01359242b8d66e64fb97a7447717bee403

Add bound to IThreepid Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

view details

Travis Ralston

commit sha 5a73a9758ac061dbf9c22229c681f169886a1dfa

Merge pull request #1941 from SimonBrandner/feature/bound Add `bound` to `IThreepid`

view details

push time in 22 minutes

PR merged matrix-org/matrix-js-sdk

Add `bound` to `IThreepid` T-Enhancement

Type: enhancement For https://github.com/matrix-org/matrix-react-sdk/pull/6843

<!-- CHANGELOG_PREVIEW_START -->

Here's what your changelog entry will look like:

✨ Features

  • Add bound to IThreepid (#1941). Contributed by SimonBrandner.<!-- CHANGELOG_PREVIEW_END -->
+1 -0

0 comment

1 changed file

SimonBrandner

pr closed time in 22 minutes

push eventmatrix-org/synapse

Patrick Cloke

commit sha 4054dfa409fa17b45ab8f265813994956ed97bae

Add type hints for event streams. (#10856)

view details

push time in 24 minutes

PR merged matrix-org/synapse

Add type hints to event streams.

This is a follow-on to #10831 (based on a request https://github.com/matrix-org/synapse/pull/10831#discussion_r709953784 to not use kwargs: Any).

It clarifies the type hints for the event streams so that mypy can tell what objects they are. From there we then fix the various type hint errors. Finally, we clarify the type hints for get_new_events.

This should be reviewable commit-by-commit.

+169 -60

2 comments

18 changed files

clokep

pr closed time in 24 minutes

Pull request review commentmatrix-org/synapse

Add reactor to `SynapseRequest` and fix up types.

 def _encode_json_bytes(json_object: Any) -> Iterator[bytes]:   def respond_with_json(-    request: Request,+    request: SynapseRequest,

This doesn't look like it needs a SynapseRequest? I'm guessing that's coming in a different PR?

erikjohnston

comment created time in 26 minutes

PullRequestReviewEvent
PullRequestReviewEvent

push eventmatrix-org/matrix-react-sdk

github-action-benchmark

commit sha 7c4f119dfeb9a4d2acd1ec30254d0cc5bb586482

add Benchmark (jsperformanceentry) benchmark result for b78e0ba1660ea05dbdd7e39b8b8bb819b4649234

view details

push time in 30 minutes

pull request commentmatrix-org/synapse

Increase parallelism of CI runs to 4.

This doesn't seem to have a large affect (if any)?

reivilibre

comment created time in 30 minutes

PullRequestReviewEvent

push eventmatrix-org/matrix-js-sdk

Šimon Brandner

commit sha 012b914a970454bf2629aa0b6873341d2b7e51d1

Add `trusted_locally` to `TrustInfo` Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

view details

Travis Ralston

commit sha 6848e96244f04c5e995dd4cfcb0ced4b7600b11e

Merge pull request #1942 from SimonBrandner/feature/trusted_locally Add `trusted_locally` to `TrustInfo`

view details

push time in 32 minutes

PR merged matrix-org/matrix-js-sdk

Add `trusted_locally` to `TrustInfo` T-Enhancement

Type: enhancement For https://github.com/matrix-org/matrix-react-sdk/pull/6843

<!-- CHANGELOG_PREVIEW_START -->

Here's what your changelog entry will look like:

✨ Features

  • Add trusted_locally to TrustInfo (#1942). Contributed by SimonBrandner.<!-- CHANGELOG_PREVIEW_END -->
+2 -0

0 comment

1 changed file

SimonBrandner

pr closed time in 32 minutes

PullRequestReviewEvent

push eventmatrix-org/matrix-react-sdk

github-action-benchmark

commit sha 395b8a2fe02d30baee2d9313a092f8b2e481efb2

add Benchmark (jsperformanceentry) benchmark result for c7ccb3d38151b1eb53c7640ebbf52f7f47c09ae9

view details

push time in 33 minutes

PR merged matrix-org/matrix-react-sdk

Prune unused strings from translation T-Task

Use yarn prumei18n to remove unused strings from translations

Signed-off-by: Ekaterina Gerasimova ekaterinag@element.io

<!-- Please read https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md before submitting your pull request -->

<!-- Include a Sign-Off as described in https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md#sign-off -->

<!-- To specify text for the changelog entry (otherwise the PR title will be used): Notes:

Changes in this project generate changelog entries in element-web by default. To suppress this:

element-web notes: none

...or to specify different notes: element-web notes: <notes> -->

<!-- CHANGELOG_PREVIEW_START -->

This change is marked as an internal change (Task), so will not be included in the changelog.<!-- CHANGELOG_PREVIEW_END -->

<!-- Replace --> Preview: https://6149eb82f9a036082de730ba--matrix-react-sdk.netlify.app ⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts. <!-- Replace -->

+1 -15226

0 comment

58 changed files

kittykat

pr closed time in 36 minutes

push eventmatrix-org/matrix-react-sdk

Ekaterina Gerasimova

commit sha 5382de7c535872b8338ab1fd0f0bf6099e4d0f72

Prune unused strings from translation Use `yarn prumei18n` to remove unused strings from translations Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>

view details

Travis Ralston

commit sha b78e0ba1660ea05dbdd7e39b8b8bb819b4649234

Merge remote-tracking branch 'kittykat/develop' into develop

view details

push time in 36 minutes

pull request commentmatrix-org/synapse

Fix reactivated users not being added to the user directory

@richvdh and @reivilibre, I propose this as the next part of the user_directory changes.

DMRobertson

comment created time in 37 minutes

pull request commentmatrix-org/matrix.org

Warn about deprecated article and stop linking to it

No, unfortunately I don't.

jplatte

comment created time in 38 minutes

push eventmatrix-org/synapse

Eric Eastwood

commit sha 1c555527b351a8b0dcdf54ba7091141347af2a73

Split out `/batch_send` meta events to their own fields (MSC2716) (#10777)

view details

Eric Eastwood

commit sha 145c006ef76ab3955fb8294203cb8e6e61372cd1

Verify `?chunk_id` actually corresponds to an insertion event that exists (MSC2716) (#10776)

view details

Patrick Cloke

commit sha 8c7a531e277f98ac6b7981b9738649f3a70feb94

Use direct references for some configuration variables (part 2) (#10812)

view details

Patrick Cloke

commit sha b93259082c7d8d3fe8376a646e130213d90069dc

Add missing type hints to non-client REST servlets. (#10817) Including admin, consent, key, synapse, and media. All REST servlets (the synapse.rest module) now require typed method definitions.

view details

Patrick Cloke

commit sha 3eba047d388fd0d798229a0779f343dbda8a2887

Add type hints to state database module. (#10823)

view details

Erik Johnston

commit sha 9a6f4a684f6522be4745ce5e0b39e0268c5f0a01

Cleanup opentracing logging for syncs (#10828) We added a bunch of spans in #10704, but this ended up adding a lot of redundant spans for rooms where nothing changed, so instead we only start the span if there might be something interesting going on.

view details

Patrick Cloke

commit sha bfb4b858a999684ba2459ee4c3aa20270d13062d

Create a constant for a small png image in tests. (#10834) To avoid duplicating it between a few tests.

view details

David Robertson

commit sha daac1e645cc64a588b63cffd6e0078a479b96a74

1.43.0rc2

view details

David Robertson

commit sha 4ed4ab0e93ea2b45d05fd803a4331d4278b47782

Add hyperlink to #9424 in changelog

view details

David Robertson

commit sha b4c1af8cea07e95e4b695256fb9c67e3a7ed236e

Merge branch 'release-v1.43' into develop

view details

Charles Wright

commit sha 6b6bb81b23425cf4f8e0c739946783b98ad056b8

Fix #10837 by adding JSON encoding/decoding to the Module API example… (#10845)

view details

reivilibre

commit sha 437961744c6c8761e6483bb215e5e779123ffd97

Fix remove_stale_pushers job on SQLite. (#10843)

view details

Patrick Cloke

commit sha b3590614da7e3e17e75530a9d4808df17be9b127

Require type hints in the handlers module. (#10831) Adds missing type hints to methods in the synapse.handlers module and requires all methods to have type hints there. This also removes the unused construct_auth_difference method from the FederationHandler.

view details

David Robertson

commit sha f455b0e4209cd581ea7b75436b178d2843cc6e0d

GHA: reintroduce an env var for `$GITHUB_HEAD_REF` (#10659) This should ensure GHA runs synapse against the same-named sytest branch

view details

Aaron Raimist

commit sha 6a751ff5e064bbb1fae2915e533031531c9d74e7

Allow sending a membership event to unban a user (#10807) * Allow membership event to unban user Signed-off-by: Aaron Raimist <aaron@raim.ist>

view details

David Robertson

commit sha c4ef61136f4d0819785965f53ec9db607da8b907

1.43.0

view details

David Robertson

commit sha 6c92ba3eaca0cc55e1ba54a64f7150e5dde49dd8

Move deprecation notice from 1.43 rc to release

view details

David Robertson

commit sha c17e698e1bcc75fdccc73db4cee0b65e6d1430c6

Point to upgrade notes

view details

David Robertson

commit sha 9b5782d51d52b343dc4d633d7c0bf8a3b64f42c5

Specify MSC name; fix typo one day I'll learn how to spell hierarchy

view details

David Robertson

commit sha 9ffa787eb243c98a6ca1ecd9eac4a6b5dac2bef0

Fix typo again

view details

push time in 39 minutes

pull request commentmatrix-org/matrix.org

Warn about deprecated article and stop linking to it

Do you know of an up to date guide that we could link to from the warning? I hate it when docs tell me not to use them but don’t tell me what to use instead.

jplatte

comment created time in 39 minutes

push eventmatrix-org/matrix-react-sdk

Besnik Bleta

commit sha d395ceb86ee8ee48a1cb524b5a2ebc251490f43f

Translated using Weblate (Albanian) Currently translated at 99.7% (3158 of 3165 strings) Translation: Element Web/matrix-react-sdk Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/

view details

Weblate

commit sha 3cc75863529542dd05652ab6431e372db3266b16

Merge branch 'origin/develop' into Weblate.

view details

sr093906

commit sha 4db55787bee66cdafa57140aaf0760b2e6c40715

Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (3166 of 3166 strings) Translation: Element Web/matrix-react-sdk Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/

view details

Weblate

commit sha 6239d6567439c891369760df44a2f41fc189a068

Merge branch 'origin/develop' into Weblate.

view details

Weblate

commit sha a40ace11b7e37d4b3c265f16e4e54e4f0886b1e8

Merge branch 'origin/develop' into Weblate.

view details

Szimszon

commit sha 7cd02356de2c1853153840a4d5e9635d7e199fb3

Translated using Weblate (Hungarian) Currently translated at 100.0% (3166 of 3166 strings) Translation: Element Web/matrix-react-sdk Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/

view details

jelv

commit sha 720c1e34c3745559bcee10fff53517bdba3f392c

Translated using Weblate (Dutch) Currently translated at 100.0% (3166 of 3166 strings) Translation: Element Web/matrix-react-sdk Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/

view details

Besnik Bleta

commit sha c618d2d553207e9b0081e445788680eda2b0d2fb

Translated using Weblate (Albanian) Currently translated at 99.7% (3159 of 3166 strings) Translation: Element Web/matrix-react-sdk Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/

view details

Weblate

commit sha 08a780f360ca2d593efbacb2a44bc0fd6f04fc22

Merge branch 'origin/develop' into Weblate.

view details

Weblate

commit sha a9dc01700bc4e8e336714af840a04af6b9f1e60e

Merge branch 'origin/develop' into Weblate.

view details

Weblate

commit sha 9e785a002fb1694cdbbaa31000ab010f36366a76

Merge branch 'origin/develop' into Weblate.

view details

Weblate

commit sha cd5514ad50a659ce7655b89f76e2b7fdf4a2c474

Merge branch 'origin/develop' into Weblate.

view details

Weblate

commit sha 0d3f5a4d42c5d52c2f28a42013018f076b37b749

Merge branch 'origin/develop' into Weblate.

view details

Ihor Hordiichuk

commit sha 6a46713d02d0678c4623c1f37064247e2147e17c

Translated using Weblate (Ukrainian) Currently translated at 66.7% (2112 of 3166 strings) Translation: Element Web/matrix-react-sdk Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/

view details

Travis Ralston

commit sha c7ccb3d38151b1eb53c7640ebbf52f7f47c09ae9

Merge pull request #6847 from RiotTranslateBot/weblate-element-web-matrix-react-sdk Translations update from Weblate

view details

push time in 40 minutes

PR merged matrix-org/matrix-react-sdk

Translations update from Weblate

Translations update from Weblate for Element Web/matrix-react-sdk.

Current translation status:

Weblate translation status

<!-- CHANGELOG_PREVIEW_START -->

This PR currently has no changelog labels, so will not be included in changelogs.

A reviewer can add one of: T-Deprecation, T-Enhancement, T-Defect, T-Task to indicate what type of change this is, or add Type: [enhancement/defect/task] to the description and I'll add them for you.<!-- CHANGELOG_PREVIEW_END -->

+118 -70

0 comment

5 changed files

RiotTranslateBot

pr closed time in 40 minutes