aboutsummaryrefslogtreecommitdiff
path: root/go.sum
AgeCommit message (Collapse)Author
2022-05-13Resolve over old and new extremities (#2457)Neil Alexander
* Feed existing state into state res when calculating state from new extremities * Remove duplicates * Fix bug * Sort and unique * Update to matrix-org/gomatrixserverlib#308 * Trim the slice properly * Update gomatrixserverlib again * Update to matrix-org/gomatrixserverlib#308
2022-05-13Update NATS Server to version 2.8.2 (#2460)Neil Alexander
2022-05-09Add roomserver tests (1/?) (#2434)Till
* Add EventJSONTable tests * Add eventJSON tests * Add EventStateKeysTable tests * Add EventTypesTable tests * Add Events Table tests Move variable declaration outside loops Switch to testify/assert for tests * Move variable declaration outside loop * Remove random data * Fix issue where the EventReferenceSHA256 is not set * Add more tests * Revert "Fix issue where the EventReferenceSHA256 is not set" This reverts commit 8ae34c4e5f78584f0edb479f5a893556d2b95d19. * Update GMSL * Add tests for duplicate entries * Test what happens if we select non-existing NIDs * Add test for non-existing eventType * Really update GMSL
2022-05-09Update to matrix-org/gomatrixserverlib#307Neil Alexander
2022-05-06Fix power level event auth bugs (update to matrix-org/gomatrixserverlib#306)Neil Alexander
2022-05-06Produce more useful event auth errors (update to ↵Neil Alexander
matrix-org/gomatrixserverlib#305)
2022-05-05Update to matrix-org/gomatrixserverlib#303Neil Alexander
2022-05-05Use `gomatrixserverlib.Client` instead of `http.Client` (#2421)Neil Alexander
* Update to matrix-org/gomatrixserverlib#303 * Use `gomatrixserverlib.Client` for phone-home stats * Use `gomatrixserverlib.Client` for push notifications * Use `gomatrixserverlib.Client` for appservices * Use `gomatrixserverlib.Client` for three-PID invites
2022-04-27Prevent JetStream from handling OS signals, allow running as a Windows ↵Neil Alexander
service (#2385) * Prevent JetStream from handling OS signals, allow running as a Windows service (fixes #2374) * Remove double import
2022-04-21Remove libp2p demos (#2337)Neil Alexander
* Remove libp2p demos * Put it back
2022-04-20Update to NATS Server v2.8.0 and nats.go v1.14.0 (#2359)Neil Alexander
2022-04-19Update `go-sqlite3-js` to matrix-org/go-sqlite3-js#2 (SQLite 3.36.0)Neil Alexander
2022-04-11Correctly use provided filters (#2339)Till
* Apply filters correctly * Fix issues; Use prepareWithFilters * Update gmsl & tests * go.mod.. * PR comments
2022-04-08Update to matrix-org/pinecone@2999ea2Neil Alexander
2022-04-08Update to matrix-org/pinecone@9b3963248c9bdc22cf0789bc3ca58e8f274371e6Neil Alexander
2022-04-08Update dependencies (#2336)Neil Alexander
2022-04-05Update to matrix-org/gomatrixserverlib#300Neil Alexander
2022-04-04Update to matrix-org/gomatrixserverlib#299Neil Alexander
2022-04-04Update to matrix-org/pinecone@e526fa8Neil Alexander
2022-03-30Update Pinecone P2P demoNeil Alexander
2022-03-23Update to matrix-org/pinecone@6fb0773Neil Alexander
2022-03-18Update to matrix-org/pinecone@8687b0dNeil Alexander
2022-03-17Update to matrix-org/gomatrixserverlib@0980b7fNeil Alexander
2022-03-17Update to matrix-org/gomatrixserverlib@a62d9f3Neil Alexander
2022-03-16Update Yggdrasil P2P demo (also remove QUIC dependency)Neil Alexander
2022-03-16Update to NATS Server 2.7.4 (#2282)Neil Alexander
* Update to NATS Server v2.7.4-beta2 * Bump to release v2.7.4 * Listen for TCP * Revert "Listen for TCP" This reverts commit 28dff0ab4d807417a9eda8feab9f8efdf13837c7.
2022-03-16Federation client improvements (HTTP/2, reaping federation trippers, TLS ↵Neil Alexander
client session cache, keepalive tweaks, update to matrix-org/gomatrixserverlib#297)
2022-03-10Implement MSC3383 (update to matrix-org/gomatrixserverlib#296)Neil Alexander
2022-03-09Update to matrix-org/pinecone@cfde1f8Neil Alexander
2022-03-04Revert NATS server upgrade in 00b3545b14ca5e6987be93cabafc51e771f8bcc7Neil Alexander
2022-03-02Update NATS Server to v2.7.3Neil Alexander
2022-03-01Bump GMSL versionKegan Dougal
2022-03-01MSC2946: Spaces Summary (round 2) (#2232)kegsay
* Initial cut at fixing up MSC2946 to work with latest spec * bugfix: send response back correctly * Initial working version of MSC2946 * msc2946: handle suggested_only; remove custom database As the MSC doesn't require reverse lookups, we can just pull the room state and inspect via the roomserver database. To handle this, expand QueryCurrentState to support wildcards. Use all this and handle `?suggested_only`. * Sort child rooms * msc2946: Make TestClientSpacesSummary pass * msc2946: allow invited rooms to be spidered * msc2946: support basic federation requests * fix up go mod
2022-02-28Update `Events` call-sites which now don't return an error, update ↵Neil Alexander
`parsedRespState` to sort (#2227) * Topologically sort with `SendEventWithState`, so that earlier events should satisfy auth for later ones * Revert "Topologically sort with `SendEventWithState`, so that earlier events should satisfy auth for later ones" This reverts commit b0cd706012b4c9b6724b11e16f19c4cb732ab286. * Update to matrix-org/gomatrixserverlib#293 * `Events` no longer returns an error, other tweaks * Make sure `Events` is sorted for `parsedRespState` too
2022-02-24Reduce allocations significantly in state res v2, which should help to keep ↵Neil Alexander
memory down when joining rooms too (update to matrix-org/gomatrixserverlib@f6ab9c5)
2022-02-23Update to matrix-org/pinecone@0f0afd1a46aabf7b1e48cb607bc9fa6a083aade6Neil Alexander
2022-02-17Update NATS Server to v2.7.2 (#2193)Neil Alexander
* Update NATS JetStream to v2.7.2 * Remove deprecated option
2022-02-15Update prometheusNeil Alexander
2022-02-15Update to matrix-org/gomatrixserverlib@20632ddNeil Alexander
2022-02-09Unmarshal events at the Dendrite level not GMSL level (#2164)kegsay
* Use new event json types in gmsl * Fix EventJSON to actually unmarshal events * Update GMSL * Bump GMSL and improve error messages * Send back the correct RespState * Update GMSL
2022-02-08Update to matrix-org/gomatrixserverlib@a05e156fd8a0c7bd326cbdadfff2bc7b2a70b44aNeil Alexander
2022-02-04Remove sarama/saramajetstream dependencies (#2138)S7evinK
* Remove dependency on saramajetstream & sarama Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Remove internal.ContinualConsumer from federationapi * Remove internal.ContinualConsumer from syncapi * Remove internal.ContinualConsumer from keyserver * Move to new Prepare function * Remove saramajetstream & sarama dependency * Delete unneeded file * Remove duplicate import * Log error instead of silently irgnoring it * Move `OffsetNewest` and `OffsetOldest` into keyserver types, change them to be more sane values * Fix comments Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-02-04Remove roomserver input deadlines (#2144)Neil Alexander
It isn't really clear that the deadlines actually help in any way. Currently we can use up our 2 minutes doing something, run out of context time and then return an error which causes the transaction to rollback and forgetting everything we've done. If the message came to us from NATS then we probably will end up retrying just to be in the same situation. We'd be really a lot better if we just spent the time reconciling the problem in the first place, and then we're much less likely to need to fetch those missing auth or prev events in the future. Also includes matrix-org/gomatrixserverlib#287 so we don't wait so long for servers that are obviously dead.
2022-01-31Update to matrix-org/gomatrixserverlib#286Neil Alexander
2022-01-31Revert Prometheus client upgrades altogetherNeil Alexander
2022-01-31Update prometheus clientNeil Alexander
2022-01-31Update to matrix-org/gomatrixserverlib@801c51af9f29e3630c8d83b0772c7ba52c0d8908Neil Alexander
2022-01-31Tweak some logging (#2130)Neil Alexander
* Modify some log levels * Update gomatrixserverlib to matrix-org/gomatrixserverlib@336334f * Update gomatrixserverlib to matrix-org/gomatrixserverlib@cde7ac8 * Demote warning about key change producer * Add more useful roomserver logging * Further tweaking
2022-01-28Update Sarama to fix 32-bit builds (#2120)v0.6.0Neil Alexander
2022-01-28Upgrade dependencies (#2074)Neil Alexander
* Upgrade dependencies * Revert gjson/sjson due to panics * Revert sarama as it requires Go 1.16 * Revert quic-go as it requires Go 1.16 * Revert sarama again