Commit graph

1783 commits

Author SHA1 Message Date
Neil Alexander
95476d36ca
Merge branch 'master' into nats 2021-11-24 12:04:32 +00:00
Neil Alexander
c9419e51af
Don't populate config defaults where it doesn't make sense (#2058)
* Don't populate config defaults where it doesn't make sense

* Fix dendritejs builds
2021-11-24 11:57:39 +00:00
Neil Alexander
a796db51f5
Remove roomserver tests for now (they need rewriting) 2021-11-24 11:01:34 +00:00
Neil Alexander
843139c4f1
Merge branch 'master' into nats 2021-11-24 11:00:21 +00:00
Neil Alexander
ec716793eb
Merge federationapi, federationsender, signingkeyserver components (#2055)
* Initial federation sender -> federation API refactoring

* Move base into own package, avoids import cycle

* Fix build errors

* Fix tests

* Add signing key server tables

* Try to fold signing key server into federation API

* Fix dendritejs builds

* Update embedded interfaces

* Fix panic, fix lint error

* Update configs, docker

* Rename some things

* Reuse same keyring on the implementing side

* Fix federation tests, `NewBaseDendrite` can accept freeform options

* Fix build

* Update create_db, configs

* Name tables back

* Don't rename federationsender consumer for now
2021-11-24 10:45:23 +00:00
Neil Alexander
6e93531e94
Don't persist transaction IDs in the roomserver (#2048) 2021-11-22 09:13:12 +00:00
Neil Alexander
403498a85b
Only return non-stub rooms from GetKnownRooms (#2049)
* Only return non-stub rooms from `GetKnownRooms`

This should stop a bunch of errors at startup with invalid server ACLs.

* Fix query
2021-11-18 11:34:19 +00:00
Neil Alexander
e55af7482c
Merge branch 'nats' into add-nats-support 2021-11-17 14:46:15 +00:00
Neil Alexander
eff8b36017
Update dendrite-config.yaml 2021-11-17 12:49:57 +00:00
Neil Alexander
173089de1c
Merge branch 'master' into nats 2021-11-17 10:30:32 +00:00
Neil Alexander
aac7e4187e
Merge branch 'master' into add-nats-support 2021-11-16 12:35:50 +00:00
Neil Alexander
e81ef1649b
Version 0.5.1 (#2047)
* Version bump, changelog

* Update to matrix-org/pinecone@8c7a1ad

* Update to matrix-org/pinecone@febf350
2021-11-16 11:37:03 +00:00
Neil Alexander
a9e715b5c5
Guard in all key consumers 2021-11-16 09:27:49 +00:00
Neil Alexander
ddbef7c3ff
Fix panic in federationsender consumer 2021-11-16 09:25:36 +00:00
Neil Alexander
58b831ad36
Mark room versions 8 and 9 as unstable (update to matrix-org/gomatrixserverlib@15a64d2) 2021-11-15 19:29:03 +00:00
Neil Alexander
5565e40395
Fix default power levels (update to matrix-org/gomatrixserverlib@af2616b) 2021-11-12 15:16:22 +00:00
Neil Alexander
8cc6937fef
Async and sync roomserver input 2021-11-08 13:02:08 +00:00
Neil Alexander
d6229a3c9a
Publish send-to-device messages into correct JetStream subject 2021-11-08 10:49:20 +00:00
Neil Alexander
621dabcb34
Merge branch 'master' into neilalexander/natsrsinput 2021-11-08 10:33:13 +00:00
Neil Alexander
59cf8e936e
Fix sytest 2021-11-08 10:32:21 +00:00
Neil Alexander
4b3ae031af
Merge branch 'master' into neilalexander/natsrsinput 2021-11-08 09:53:18 +00:00
Neil Alexander
9cd4a1f97b
Update to matrix-org/gomatrixserverlib@ed70208 (hopefully will fix sytest) 2021-11-08 09:45:39 +00:00
Neil Alexander
ee35c15467
Update sytest-whitelist 2021-11-08 09:25:01 +00:00
Neil Alexander
323a6fb54f
Resume federation sends (#2039)
* Resume federation sends

* Review comments

* Fix build error
2021-11-08 09:24:16 +00:00
Neil Alexander
14bf1f8a09
Tweak delivery options on RS input 2021-11-04 12:40:15 +00:00
Neil Alexander
b9a575919a
Try to reduce re-allocations a bit in resolveConflictsV2 2021-11-04 10:55:07 +00:00
Neil Alexander
665ca9c6cc
Try to reduce re-allocations a bit in resolveConflictsV2 2021-11-04 10:50:52 +00:00
Neil Alexander
83e4a67194
Merge branch 'master' into neilalexander/natsrsinput 2021-11-04 10:35:56 +00:00
Neil Alexander
77096898f0
Further state resolution v2 optimisations 2021-11-04 10:35:23 +00:00
Neil Alexander
d9d36c075f
Remove internal.PartitionStorer from components that don't consume keychanges 2021-11-04 09:48:12 +00:00
Neil Alexander
b8488f777c
Merge branch 'master' into neilalexander/natsrsinput 2021-11-04 09:10:31 +00:00
Neil Alexander
3c049c068f
State resolution v2 performance improvements (reduce allocs in Kahn's algorithm, update to matrix-org/gomatrixserverlib@91dadfb) 2021-11-04 09:09:26 +00:00
Neil Alexander
ad743f1d67
Update to matrix-org/gomatrixserverlib@91dadfb 2021-11-04 09:07:47 +00:00
Neil Alexander
7a4321ac85
Try to resume transaction re-sends 2021-11-03 17:28:21 +00:00
Neil Alexander
5b67f47547
Try to resume transaction re-sends 2021-11-03 17:27:18 +00:00
Neil Alexander
134ec18614
Ack tweaks 2021-11-03 15:57:36 +00:00
Neil Alexander
eb07c2d5d7
Message acknowledgements 2021-11-03 15:45:51 +00:00
Neil Alexander
fb365a1bec
Update go.mod/go.sum 2021-11-03 14:41:20 +00:00
Neil Alexander
fd4c6a4fe5
Roomserver output topic 2021-11-03 14:36:27 +00:00
Neil Alexander
15d44cd707
Don't try to populate map that doesn't exist 2021-11-03 14:33:52 +00:00
Neil Alexander
dd7f69ffc3
Add missing topic 2021-11-03 14:31:24 +00:00
Neil Alexander
1110f830c6
More refactoring to remove saramajetstream 2021-11-03 14:28:40 +00:00
Neil Alexander
f484285f17
Prometheus metrics 2021-11-03 12:15:53 +00:00
Neil Alexander
e745a7663f
Fix topic naming 2021-11-03 12:05:25 +00:00
Neil Alexander
6b835b83bf
Roomserver input API queuing using NATS 2021-11-03 11:41:51 +00:00
Neil Alexander
9eb89515d2
Update go.mod/go.sum 2021-11-03 10:20:41 +00:00
Neil Alexander
84c53759a4
Update nats-server 2021-11-03 09:59:05 +00:00
Neil Alexander
837f50ac89
Reduce CPU usage of SelectStateInRange (#2038) 2021-11-03 09:53:37 +00:00
Neil Alexander
a9eaff54cd
Merge branch 'add-nats-support' of github.com:S7evinK/dendrite into add-nats-support 2021-11-02 17:41:05 +00:00
Neil Alexander
e304e80335
Fix build problems 2021-11-02 17:40:46 +00:00