Commit graph

12 commits

Author SHA1 Message Date
Cnly 8610c97dec Merge branch 'master' into event-redaction 2019-08-12 11:36:44 +08:00
Alex Chen 94ea325c93
Fix permission and 404 response for alias deletion - #654 (#706) 2019-08-07 11:00:58 +08:00
Alex Chen f8d2860765 Replace membership and visibility values with constants (#774)
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-08-06 15:07:36 +01:00
Cnly 99859a8afc Add docs for validateRedactions
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-08-01 12:33:05 +08:00
Cnly 2fb994ad1d Ignore error from rows.Close()
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-08-01 12:23:58 +08:00
Cnly 1772d830da Variable and type clarifications
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-08-01 11:03:24 +08:00
Cnly ac775bb79d Add more sanity checks
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-07-31 17:13:10 +08:00
Cnly 40fd47957a Implement event redaction
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-07-27 17:56:26 +08:00
Alex Chen 6106ec1399 Fix getAliasesForRoomID has no HTTP handler in aliasAPI (#705)
This PR adds back the HTTP handler for internal API GetAliasesForRoomID in roomserver, which seemed to be missing.
2019-07-09 17:13:43 +01:00
Serra Allgood a0dec456c1 rommserver/alias: Do not call appserviceAPI in GetRoomIDForAlias if local alias found #631 (#702)
A conditional is added to wrap the call to appserviceAPI if a local alias is not found in the database.

Fixes #631

Signed-off-by: Serra Allgood <serra@allgood.dev>
2019-06-25 13:43:18 +01:00
Andrew Morgan bc382bba46
Fix pipeline, emoji and syntax (#713)
Fixes #697

Switched to golangci-lint, fixes issues with buildkite and does some linting fixes to appease the new linters.
2019-06-19 14:05:03 +01:00
ruben 74827428bd use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00