Dendrite is a second-generation Matrix homeserver written in Go!
Find a file
S7evinK 895c8f03c0
Fix pg user already exists (#1076)
* Return newly created error if user already exists (#1002)

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Rename variable

* Remove check for account and use returned error

* Return ErrUserExists

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* State that CreateAccount will return err ErrUserExists if the user exists

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Also check sqlite for constraint error

* Revert "Also check sqlite for constraint error"

This reverts commit 7d310514

* Check for sqlite3 constraint error

* Add documentation to CreateAccount

* Move ErrUserExists to accounts package

* Revert "Move ErrUserExists to accounts package"
Import Cycle..

This reverts commit be3d4cda

Co-authored-by: Kegsay <kegan@matrix.org>
2020-06-01 18:34:29 +01:00
.github Add SyTest support to CI (#704) 2019-05-24 15:00:03 +01:00
appservice Fix pg user already exists (#1076) 2020-06-01 18:34:29 +01:00
build Add Dockerfile for building p2p riot 2020-05-29 21:01:58 +01:00
clientapi Fix pg user already exists (#1076) 2020-06-01 18:34:29 +01:00
cmd Fix pg user already exists (#1076) 2020-06-01 18:34:29 +01:00
docs Update p2p docs 2020-05-27 09:39:26 +01:00
eduserver Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00
federationapi Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00
federationsender Add a way to force federationsender to retry sending transactions (#1077) 2020-06-01 18:34:08 +01:00
internal Fix pg user already exists (#1076) 2020-06-01 18:34:29 +01:00
keyserver Separate muxes for public and internal APIs (#1056) 2020-05-22 11:43:17 +01:00
mediaapi dendritejs tweaks for persisting sqlite DBs (#1058) 2020-05-22 12:28:48 +01:00
publicroomsapi p2p: de-dupe and shuffle public rooms; implement keydb (#1074) 2020-05-29 15:34:15 +01:00
roomserver Merge Updater structs (#1069) 2020-05-28 11:15:21 +01:00
serverkeyapi Parse URIs correctly 2020-05-28 12:28:21 +01:00
syncapi Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00
.dockerignore Docker Hub (#1053) 2020-05-21 13:02:28 +01:00
.gitignore Update .gitignore 2020-03-10 11:42:40 +00:00
.golangci.yml Get room versions from database (#918) 2020-03-17 18:00:10 +00:00
are-we-synapse-yet.list Direct messages (#1012) 2020-05-07 16:46:11 +01:00
are-we-synapse-yet.py Are we synapse yet? (#960) 2020-04-14 16:05:15 +01:00
build-dendritejs.sh Bake in git commit into dendritejs binary (#1048) 2020-05-19 16:42:30 +01:00
build.sh Unbreak the wasm build (#986) 2020-04-28 16:22:00 +01:00
dendrite-config.yaml Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00
go.mod Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00
go.sum Send-to-device support (#1072) 2020-06-01 17:50:19 +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 Update INSTALL.md, move docs (#1034) 2020-05-14 16:49:18 +01:00
show-expected-fail-tests.sh Fix newlines between white/blacklist test names in buildkite annotations (#1003) 2020-05-04 14:48:49 +01:00
sytest-blacklist Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00
sytest-whitelist Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00

Dendrite Build Status Dendrite Dev on Matrix Dendrite on Matrix

Dendrite will be a second-generation Matrix homeserver written in Go.

It's still very much a work in progress, but installation instructions can be found in INSTALL.md. It is not recommended to use Dendrite as a production homeserver at this time.

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!

Please note that, as of February 2020, Dendrite now only targets Go 1.13 or later. Please ensure that you are using at least Go 1.13 when developing for Dendrite.

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.