Skip to content
#

matrix-org

Here are 148 public repositories matching this topic...

DMRobertson
DMRobertson commented Mar 29, 2022

For reasons, signedjson generates instances of pynacl's SigningKey and VerifyKey and then monkey patches new alg and version attributes onto them.

We (Synapse) never use pynacl directly as far as I can see. There are a number of type hint instances which refer to nacl.* when they should instead refer to signedjson.types.*.

I think we should

  • replace any uses (including type hints
good first issue T-Task
dendrite
jplatte
jplatte commented Apr 8, 2022

We're currently using lazy_static in some test code. Since it's a macro, it looks and feels a little magic. There has been a less magic alternative for a while in the form of the once_cell crate (whose interface is also available in std in nightly). We should switch to it for better readability.

enhancement good first issue help wanted
jevolk
jevolk commented Mar 5, 2019

Resolving this issue involves going through the handlers in the modules/ tree alongside the matrix client and server specification to flag methods required to be rate-limited. Currently some are, but many are not.

Example of a method with the flag:

resource::method
method
{
    resource, "GET", handler,
    {
        method.REQUIRES_AUTH |
        method.RATE_LIMITED
    }
};
`
bug good first issue
chrisabruce
chrisabruce commented Apr 6, 2020

Invalidates a user access token

Invalidates an existing access token, so that it can no longer be used for
authorization. The device associated with the access token is also deleted.
Device keys <#device-keys>_ for the device are deleted alongside the device.

Spec: https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-r0-logout

Some helpful steps:

  • add route to routes
good first issue matrix-spec
matrix-registration
TeknikalDomain
TeknikalDomain commented Aug 16, 2021

Of all the things, I know this is probably... okay, nonexistent on the priority queue, but.

When an invalid / non-existent room ID is given to the -r option, the tool crashes:

# ./synapse_compress_state -p ... -r '!this_is:not.valid'
Fetching state from DB for room '!this_is:not.valid'...
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/database.rs:162:
enhancement good first issue

Improve this page

Add a description, image, and links to the matrix-org topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the matrix-org topic, visit your repo's landing page and select "manage topics."

Learn more