dendrite/clientapi/routing
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
..
account_data.go Added checks for JSON body in accounts_data endpoint (#863) 2020-04-12 00:47:05 +08:00
auth_fallback.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
capabilities.go Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
createroom.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
device.go Remove httputil.LogThenError so that the line numbers are reported properly - make error reporting slightly more useful (#879) 2020-03-02 16:20:44 +00:00
directory.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
filter.go Remove httputil.LogThenError so that the line numbers are reported properly - make error reporting slightly more useful (#879) 2020-03-02 16:20:44 +00:00
getevent.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
joinroom.go Miscellaneous fixes (#1060) 2020-05-26 14:41:16 +01:00
leaveroom.go Roomserver perform leave (#1004) 2020-05-04 18:34:09 +01:00
login.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
logout.go Remove httputil.LogThenError so that the line numbers are reported properly - make error reporting slightly more useful (#879) 2020-03-02 16:20:44 +00:00
membership.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
memberships.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
profile.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
register.go Fix pg user already exists (#1076) 2020-06-01 18:34:29 +01:00
register_test.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
room_tagging.go Remove httputil.LogThenError so that the line numbers are reported properly - make error reporting slightly more useful (#879) 2020-03-02 16:20:44 +00:00
routing.go Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00
sendevent.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
sendtodevice.go Send-to-device support (#1072) 2020-06-01 17:50:19 +01:00
sendtyping.go Rename the typing server to EDU server (#948) 2020-03-30 15:02:20 +01:00
state.go Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
threepid.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
voip.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
whoami.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00