Neil Alexander
2d10757653
Update gomatrixserverlib
2020-03-27 14:19:14 +00:00
Neil Alexander
e9c3e7b19c
Update gomatrixserverlib
2020-03-27 14:13:10 +00:00
Neil Alexander
dc6168129b
Update gomatrixserverlib
2020-03-27 13:24:27 +00:00
Neil Alexander
2211db7609
Fix count of EDUs in logging
2020-03-27 11:56:46 +00:00
Neil Alexander
886523e4f8
Merge branch 'master' into neilalexander/stateresv2
2020-03-27 11:53:54 +00:00
Neil Alexander
3e0c02d677
Temporarily disable room versions 3 and 4 until gmsl is fixed
2020-03-27 10:05:34 +00:00
Neil Alexander
c25b0ca413
Update sytest whitelist and blacklist
2020-03-26 17:37:58 +00:00
Neil Alexander
a7cadd7b9e
Fix formatting directive
2020-03-26 17:14:26 +00:00
Neil Alexander
f97343d409
Maybe fix federation
2020-03-26 17:10:00 +00:00
Neil Alexander
ca63b969e9
Update gomatrixserverlib
2020-03-26 12:25:46 +00:00
Neil Alexander
c2bcc70127
Update gomatrixserverlib
2020-03-26 10:38:16 +00:00
Neil Alexander
4981ad60d6
Return more useful error if room version query doesn't find the room
2020-03-26 10:22:21 +00:00
Neil Alexander
3c2811e705
Update gomatrixserverlib
2020-03-26 10:09:48 +00:00
Neil Alexander
7ef6290cf2
Fix bug in clientapi profile room version query
2020-03-26 10:05:23 +00:00
Suvid Sahay
314da91f1d
Fixed Didn't call Close on UserStreamListener log messages when syncing ( #940 )
...
Signed-off-by: Suvid Sahay <sahay.suvid61@gmail.com>
Removing the extra imports
2020-03-26 09:57:18 +00:00
Neil Alexander
eedb355b57
Strip headers on federationapi endpoints
2020-03-26 09:40:46 +00:00
Neil Alexander
50bb441215
Update gomatrixserverlib
2020-03-25 17:57:25 +00:00
Neil Alexander
f319de1fbe
Use NewEventFromTrustedJSON when getting events from the database
2020-03-25 16:54:55 +00:00
Neil Alexander
b54d33a3e8
whoops commit federation API too
2020-03-25 16:41:18 +00:00
Neil Alexander
9e00f0e828
Sorta fix federation (kinda)
2020-03-25 16:40:55 +00:00
Neil Alexander
c888ac2bd4
Handle transaction marshalling/unmarshalling within Dendrite
2020-03-25 15:13:32 +00:00
Neil Alexander
153c9924b0
Query room version in syncapi backfill
2020-03-25 14:16:21 +00:00
Neil Alexander
b620099df7
Versioned SendJoin
2020-03-25 13:38:23 +00:00
Neil Alexander
35de2f444b
Update gomatrixserverlib
2020-03-24 16:27:11 +00:00
Neil Alexander
6dbdfd59da
Merge branch 'master' into neilalexander/stateresv2
2020-03-24 15:46:39 +00:00
Neil Alexander
0b732d6f45
Use HeaderedEvents in appservice component ( #939 )
...
* App service HeaderedEvents
* Fix database queries
* Fix lint error
2020-03-24 15:46:17 +00:00
Neil Alexander
c12b493b7a
Lint tweaks
2020-03-24 15:11:49 +00:00
Neil Alexander
b5a53546c7
Merge branch 'master' into neilalexander/stateresv2
2020-03-24 14:47:11 +00:00
Neil Alexander
6fe6fc6704
Make room server producers use headered events
2020-03-24 14:28:38 +00:00
Kegan Dougal
951b5d5e68
Missing whitelist
2020-03-24 13:39:50 +00:00
Neil Alexander
a8c23426e7
Improvements to make_join send_join dance
2020-03-24 12:36:07 +00:00
Kegsay
6bac7e5efd
Implement backfill over federation ( #938 )
...
* Implement history visibility checks for /backfill
Required for p2p to show history correctly.
* Add sytest
* Logging
* Fix two backfill bugs which prevented backfill from working correctly
- When receiving backfill requests, do not send the event that was in the original request.
- When storing backfill results, correctly update the backwards extremity for the room.
* hack: make backfill work multiple times
* add sqlite impl and remove logging
* Linting
2020-03-24 12:20:10 +00:00
Neil Alexander
8b85fa6fd2
Query room version in federation API, client API as needed
2020-03-24 09:59:48 +00:00
Neil Alexander
8624cbb0ab
Revert "Remove room version cquery"
...
This reverts commit a170d58733 .
2020-03-23 12:48:21 +00:00
Alex Chen
5a1a1ded1b
Fix dendrite config file location in docker guide ( #934 )
2020-03-23 11:16:17 +00:00
Neil Alexander
55a54100db
Don't generate event IDs unless needed
2020-03-23 10:51:15 +00:00
Prateek Sachan
c5b7a17272
Added special case for m.room.member event in appservice component ( #874 )
...
* Added special case for m.room.member event in appservice component
* fix review changes
Co-authored-by: Kegsay <kegan@matrix.org>
2020-03-20 21:40:24 +00:00
Neil Alexander
8b37191d99
Reset default back to room version 2
2020-03-20 17:39:39 +00:00
Neil Alexander
1cffb0aad0
Get room version when getting events from the roomserver database
2020-03-20 17:38:51 +00:00
Neil Alexander
a170d58733
Remove room version cquery
2020-03-20 17:28:57 +00:00
Neil Alexander
63cbc614ff
Send all room versions when joining, not just stable ones
2020-03-20 17:25:48 +00:00
Neil Alexander
7b7f48c589
Update gomatrixserverlib
2020-03-20 17:23:14 +00:00
Neil Alexander
8060c5c388
Fix some more nil pointer exceptions hopefully
2020-03-20 10:53:54 +00:00
Neil Alexander
c1c81afbf6
Fix nil pointer exception
2020-03-20 10:42:11 +00:00
Neil Alexander
139904f604
Room version 2 by default, other wiring updates, update gomatrixserverlib
2020-03-20 09:59:32 +00:00
Neil Alexander
f2030286de
Room server changes for room versions ( #930 )
...
* Rearrange state package a bit, add some code to look up the right state resolution algorithm
* Remove shared
* Add GetRoomVersionForRoomNID
* Try to use room version to get correct state resolution algorithm
* Fix room joins over federation
* nolint resolveConflictsV2 because all attempts to break it up so far just result in it being awfully less obvious how it works
* Rename Prepare to NewStateResolution
* Update comments
* Re-add missing tests
2020-03-19 18:33:04 +00:00
Neil Alexander
944d454cb0
Fix SQLite problems after sync API changes
2020-03-19 13:15:35 +00:00
Neil Alexander
ad5849d222
HeaderedEvents in sync API ( #922 )
...
* Use HeaderedEvent in syncapi
* Update notifier test
* Fix persisting headered event
* Clean up unused API function
* Fix overshadowed err from linter
* Write headered JSON to invites table too
* Rename event_json to headered_event_json in syncapi database schemae
* Fix invites_table queries
* Update QueryRoomVersionCapabilitiesResponse comment
* Fix syncapi SQLite
2020-03-19 12:07:01 +00:00
Kegsay
bfbf96eec9
p2p: Implement published rooms ( #923 )
...
* Create and glue ExternalPublicRoomsProvider into the public rooms component
This is how we will link p2p stuff to dendrite proper.
* Use gmsl structs rather than our own
* Implement federated public rooms
- Make thirdparty endpoint r0 so riot-web loads the public room list
* Typo
* Missing callsites
2020-03-19 11:04:08 +00:00
Prateek Sachan
dc06c69887
Implement /joined_rooms ( #911 )
...
* Implemented /joined_rooms
* Removed account endpoint added by mistake
* trigger ci
2020-03-19 10:25:36 +00:00