Dendrite is a second-generation Matrix homeserver written in Go!
Go to file
Andrew Morgan 78032b3f4c
Correctly create new device when device_id is passed to /login (#753)
Fixes https://github.com/matrix-org/dendrite/issues/401

Currently when passing a `device_id` parameter to `/login`, which is [supposed](https://matrix.org/docs/spec/client_server/unstable#post-matrix-client-r0-login) to return a device with that ID set, it instead just generates a random `device_id` and hands that back to you.

The code was already there to do this correctly, it looks like it had just been broken during some change. Hopefully sytest will prevent this from becoming broken again.
2019-07-22 15:05:38 +01:00
.buildkite Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
.circleci Run CircleCI on pull request branches (#710) 2019-05-29 11:34:36 +01:00
.github Add SyTest support to CI (#704) 2019-05-24 15:00:03 +01:00
appservice Lots of small typo fixes (#737) 2019-07-12 16:43:01 +01:00
clientapi Correctly create new device when device_id is passed to /login (#753) 2019-07-22 15:05:38 +01:00
cmd Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
common Add appservice API to config unit test (#744) 2019-07-19 14:04:06 +08:00
docker Update Docker files and remove references to gb (#703) 2019-05-22 10:44:25 +01:00
docs Fix testfile path hardcoded in show-expected-fail-tests.sh (#719) 2019-06-25 11:50:19 +01:00
federationapi Remove the trailing slash from /send/{txnID} and /backfill/{roomID} (#746) 2019-07-18 15:41:29 +08:00
federationsender Don't print Sending EDU if there is noone to send to (#721) 2019-07-01 16:04:49 +01:00
hooks run commit hook on what we're committing (#356) 2017-11-27 12:19:04 +00:00
mediaapi Remove unnecessary http method checks (#747) 2019-07-18 15:40:10 +08:00
publicroomsapi Clarify that POST publicRooms is implemented (#743) 2019-07-19 00:21:06 +08:00
roomserver Fix getAliasesForRoomID has no HTTP handler in aliasAPI (#705) 2019-07-09 17:13:43 +01:00
scripts Backup and restore go.mod & go.sum during linting (#735) 2019-07-12 14:23:27 +01:00
syncapi Lots of small typo fixes (#737) 2019-07-12 16:43:01 +01:00
typingserver Lots of small typo fixes (#737) 2019-07-12 16:43:01 +01:00
.editorconfig Add .editorconfig (#179) 2017-08-05 02:25:40 +01:00
.gitignore use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
.golangci.yml Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
build.sh Not all systems have bash (#720) 2019-06-24 13:35:29 +01:00
CODE_STYLE.md Code Style: Prefer WithFields over Infof (#349) 2017-11-22 09:35:25 +00:00
CONTRIBUTING.md Update Docker files and remove references to gb (#703) 2019-05-22 10:44:25 +01:00
dendrite-config.yaml Remove riot.im from the list of trusted ID servers in the default config (#688) 2019-01-31 10:06:11 +00:00
DESIGN.md Clean up README a bit (#289) 2017-10-10 09:33:41 +01:00
go.mod Moved to gomatrix latest in gomod (#738) 2019-07-13 08:32:47 +01:00
go.sum Moved to gomatrix latest in gomod (#738) 2019-07-13 08:32:47 +01:00
INSTALL.md Fix broken Kafka download URL in INSTALL.md (#740) 2019-07-16 16:16:43 +01:00
LICENSE Add Apache Version 2.0 license and headers to all golang files 2017-04-21 00:40:52 +02:00
README.md Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
show-expected-fail-tests.sh Update testfile and fix empty warning in show-expected-fail-tests.sh (#729) 2019-07-05 12:42:23 +01:00
testfile Correctly create new device when device_id is passed to /login (#753) 2019-07-22 15:05:38 +01:00
WIRING.md Document internal APIs and Application Services component (#499) 2018-07-06 02:33:53 -07:00

Dendrite Build Status CircleCI Dendrite Dev on Matrix Dendrite on Matrix

Dendrite will be a matrix homeserver written in go.

It's still very much a work in progress, but installation instructions can be found in INSTALL.md

An overview of the design can be found in DESIGN.md

Contributing

Everyone is welcome to help out and contribute! See CONTRIBUTING.md to get started!

We aim to try and make it as easy as possible to jump in.

Discussion

For questions about Dendrite we have a dedicated room on Matrix #dendrite:matrix.org. Development discussion should happen in #dendrite-dev:matrix.org.

Progress

There's plenty still to do to make Dendrite usable! We're tracking progress in a project board.