SUMUKHA-PK
cfeda08f1c
Some minor changes
2019-08-02 14:32:30 +05:30
SUMUKHA-PK
6926685e54
Incremental sync op made aysnc
2019-08-02 10:11:44 +05:30
SUMUKHA-PK
19b867fbbc
Incremental sync op made aysnc
2019-08-02 10:09:43 +05:30
SUMUKHA-PK
aa9fafa263
Some changes
2019-08-01 18:10:49 +05:30
SUMUKHA-PK
ac8de44d79
Remove go mod and sum from commit
2019-08-01 18:04:25 +05:30
SUMUKHA-PK
54bfefdb84
Some changes
2019-08-01 18:01:13 +05:30
SUMUKHA-PK
ef35c5f9da
Added tests to testfile
2019-08-01 17:57:55 +05:30
SUMUKHA-PK
57976a0aca
Code cleaned up, commented
2019-08-01 16:28:20 +05:30
SUMUKHA-PK
8a46edbddf
All necessary tests pass
2019-08-01 15:10:59 +05:30
SUMUKHA-PK
425215ade9
Merge branch 'master' of https://github.com/matrix-org/dendrite
2019-08-01 15:03:54 +05:30
SUMUKHA-PK
192b263bf0
THAT test finally passed!
2019-08-01 12:00:22 +05:30
SUMUKHA-PK
d28f245a32
Some changes
2019-08-01 11:34:31 +05:30
Alex Chen
3578d77d25
Implement "full_state" query parameter for /sync ( #751 )
...
Closes #637 .
2019-08-01 12:36:13 +08:00
SUMUKHA-PK
6ace5d0737
Some changes
2019-07-31 19:21:38 +05:30
Alex Chen
0dcf0a7d64
Fix /sync may contain duplicate EDUs and EDUs for left rooms ( #752 )
...
In 29841be (#718 ), EDUs are added to /sync responses for rooms listed
in joinedRoomIDs returned by addPDUDeltaToResponse. However this list
may contain rooms other than those currently joined.
Some variable renamings are done to make golangci-lint pass.
Signed-off-by: Alex Chen minecnly@gmail.com
2019-07-31 14:36:41 +01:00
Alex Chen
92db6cd0ea
Fix index in invites_table.go ( #770 )
...
This PR fixes a possible typo in an index created in invites_table.go.
Signed-off-by: Alex Chen minecnly@gmail.com
2019-07-31 14:36:21 +01:00
Alex Chen
3e1abe9ad3
Fix /sync may contain duplicate EDUs and EDUs for left rooms ( #752 )
...
In 29841be (#718 ), EDUs are added to /sync responses for rooms listed
in joinedRoomIDs returned by addPDUDeltaToResponse. However this list
may contain rooms other than those currently joined.
Some variable renamings are done to make golangci-lint pass.
Signed-off-by: Alex Chen minecnly@gmail.com
2019-07-31 14:20:11 +01:00
Alex Chen
40e44c5f3b
Add newly passing tests from matrix-org/sytest ( #771 )
...
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-07-31 13:45:45 +01:00
Alex Chen
3e6d0a6246
Add newly passing tests from matrix-org/sytest 56de891 ( #769 )
2019-07-29 15:18:21 +08:00
Alex Chen
e66933b108
Fix data races reported by go test -race ./... ( #748 )
2019-07-26 00:00:22 +08:00
Andrew Morgan
45d24d3fb5
Remove the buildkite pipeline ( #763 )
...
New repo: https://github.com/matrix-org/pipelines/
2019-07-24 18:41:39 +01:00
Alex Chen
604685c503
Implement room creation content ( #754 )
...
Fixes #660 .
Signed-off-by: Alex Chen minecnly@gmail.com
2019-07-24 17:15:36 +01:00
Thibaut CHARLES
b729a10366
Store & retrieve filters as structs rather than []byte ( #436 )
...
Manipulate filters as gomatrix.Filter structures, instead of their []byte JSON representation.
This lays ground work for using filters in dendrite for /sync requests.
2019-07-25 00:08:51 +08:00
Alex Chen
6773572907
Update gomatrixserverlib to v0.0.0-20190724145009-a6df10ef35d6 ( #762 )
...
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-07-24 16:27:40 +01:00
Andrew Morgan
4410acc673
Add filepath and function name to log output ( #755 )
...
Adds detailed logging, describing which file/line a log message came from, as well as the name of the function that it was contained within.
2019-07-24 12:44:05 +08:00
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
SUMUKHA-PK
97e7729021
Weird error commit
2019-07-19 16:27:32 +05:30
Andrew Morgan
bdd1a87d4d
Add appservice API to config unit test ( #744 )
...
Fixes #558
2019-07-19 14:04:06 +08:00
SUMUKHA-PK
57c01adf72
Fixing errors
2019-07-18 22:03:35 +05:30
Andrew Morgan
6ff7b6a72a
Clarify that POST publicRooms is implemented ( #743 )
...
As a response to #638 , it seems that POST /publicRooms is already implemented. It is, however, unclear from the code that it is.
Add some comments and change a method name to make this more clear.
2019-07-19 00:21:06 +08:00
Andrew Morgan
e56d6e41fd
Remove the trailing slash from /send/{txnID} and /backfill/{roomID} ( #746 )
...
In conjunction with matrix-org/sytest#651 , /send/{txnID} and /backfill/{roomID} should not have trailing slashes according to the spec.
2019-07-18 15:41:29 +08:00
Andrew Morgan
504d23f468
Remove unnecessary http method checks ( #747 )
...
Closes #523
There were a lot of unnecessary checks for HTTP methods of requests. gorilla/mux makes sure that these methods will only be called if certain HTTP methods are used, thus there's no reason to have these extra checks.
2019-07-18 15:40:10 +08:00
Andrew Morgan
bff60953f3
Prevent duplicate entries in the completed registration flows ( #741 )
2019-07-17 11:55:25 +08:00
Andrew Morgan
c494d81235
Small clarification for method ( #742 )
2019-07-16 18:01:16 +01:00
Alex Chen
9bef5d52f4
Fix broken Kafka download URL in INSTALL.md ( #740 )
...
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-07-16 16:16:43 +01:00
SUMUKHA-PK
0970119217
Made changes to go mod and sum
2019-07-14 19:57:23 +05:30
SUMUKHA-PK
327580c398
Some minor changes
2019-07-14 19:54:54 +05:30
SUMUKHA-PK
65f9050214
Fixed linting errors, names of vars changed
2019-07-13 22:29:24 +05:30
SUMUKHA-PK
8fa1b41f73
Fixed linting errors, names of vars changed
2019-07-13 21:10:44 +05:30
SUMUKHA-PK
1aec16883c
Merge branch 'master' of https://github.com/matrix-org/dendrite
2019-07-13 13:10:29 +05:30
SUMUKHA-PK
fe0e489919
Added test names to testfile
2019-07-13 13:06:23 +05:30
Sumukha Pk
fd4ea78dbf
Moved to gomatrix latest in gomod ( #738 )
...
Moved to gomatrix latest in gomod
2019-07-13 08:32:47 +01:00
SUMUKHA-PK
5138fbfffc
Resolved comments on PR; changes in design
2019-07-13 12:22:10 +05:30
SUMUKHA-PK
ef2006a431
Some changes
2019-07-13 11:41:09 +05:30
Andrew Morgan
e2251199a4
Lots of small typo fixes ( #737 )
2019-07-12 16:43:01 +01:00
Alex Chen
29841bed6b
Add typing notifications to /sync responses - fixes #635 ( #718 )
...
This PR adds a new consumer for typing notifications in syncapi. It also brings changes to syncserver.go and some related files so EDUs can better fit in /sync responses.
Fixes #635 .
Fixes #574 .
2019-07-12 22:59:53 +08:00
Alex Chen
f8463063ac
Fix #661 appservice can't set aliases in its own namespace ( #731 )
...
Fixes #661 .
2019-07-12 21:36:17 +08:00
Andrew Morgan
7edf197ecc
Fix response to /rooms/{roomId}/join v2 ( #734 )
...
Continuation of #684 but merged-forward.
Also did a little code cleanup and added a new, passing test to the testfile.
2019-07-12 14:29:30 +01:00
Andrew Morgan
d4918b83c6
Backup and restore go.mod & go.sum during linting ( #735 )
...
Every time before sending a PR I like to run ./scripts/build-test-lint.sh to make sure the CI won't complain about anything.
The problem is that this script attempts to install golangci-lint, which causes modifications to go.mod/go.sum. This PR backs up and restores those files before and after linting.
Ideally instead of this hacky backing up/restoring we'd use go gets -mod=readonly option, but that still modifies go.sum. This will be fixed in go 1.13 apparently. golang/go#30667
2019-07-12 14:23:27 +01:00
Alex Chen
86e65bb22d
Add back missing returns for httputil.LogThenError calls ( #730 )
...
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-07-09 17:33:52 +01:00