Neil Alexander
068f2619aa
Update to matrix-org/gomatrixserverlib#322
2022-07-11 13:53:54 +01:00
Neil Alexander
fbf32819e2
Merge branch 'main' into neilalexander/ristretto
2022-07-08 15:27:48 +01:00
Neil Alexander
eb8dc50a97
Update Pinecone to matrix-org/pinecone@1ce778f
2022-07-08 14:54:08 +01:00
Neil Alexander
a7024f8720
Update GMSL
2022-07-01 10:56:40 +01:00
Neil Alexander
86760e90db
Merge branch 'main' into neilalexander/ristretto
2022-07-01 10:55:21 +01:00
Till
89cd0e8fc1
Try to fix backfilling ( #2548 )
...
* Try to fix backfilling
* Return start/end to not confuse clients
* Update GMSL
* Update GMSL
2022-07-01 11:49:26 +02:00
Neil Alexander
5697980795
Merge branch 'main' into neilalexander/ristretto
2022-06-27 09:44:50 +01:00
Jean Lucas
920a20821b
Fix nats.go commit ( #2540 )
...
Signed-off-by: Jean Lucas <jean@4ray.co>
2022-06-27 09:15:19 +01:00
Neil Alexander
97e05aac16
Update GMSL
2022-06-16 10:59:40 +01:00
Neil Alexander
52aa240586
Update ristretto
2022-06-15 16:23:43 +01:00
Neil Alexander
8460f1dc08
Cost estimation fixes
2022-06-15 15:59:00 +01:00
Neil Alexander
2425354b6d
Update GMSL
2022-06-14 15:13:52 +01:00
Neil Alexander
f7e2cbbb16
Update cost estimation, add metric
2022-06-14 15:06:30 +01:00
Neil Alexander
7f2584a7c5
Update GMSL
2022-06-14 14:00:41 +01:00
Neil Alexander
202b25a694
It's beautiful
2022-06-14 13:59:12 +01:00
Neil Alexander
4613203763
Try Ristretto cache
2022-06-14 09:56:51 +01:00
Neil Alexander
4c2a10f1a6
Handle state before, send history visibility in output ( #2532 )
...
* Check state before event
* Tweaks
* Refactor a bit, include in output events
* Don't waste time if soft failed either
* Tweak control flow, comments, use GMSL history visibility type
2022-06-13 15:11:10 +01:00
Neil Alexander
c4df6d7723
Optimise state res v2 by only updating the allower when necessary (update to matrix-org/gomatrixserverlib@e55d796 )
2022-06-07 15:34:58 +01:00
Neil Alexander
b21a2223ef
Optimise state res v2 by parsing power level content less often (update to matrix-org/gomatrixserverlib@e938c07 )
2022-06-07 15:04:00 +01:00
Neil Alexander
3d9fe20748
Fix bugs related to state resolution ( #2507 )
...
* Fix bugs related to state resolution
* Clean up `resolve-state`
* Don't panic when entries can't be found
* Ensure we have state entries for the auth events
* Revert "Ensure we have state entries for the auth events"
This reverts commit 9b13b7ed37 .
* Revert "Revert "Ensure we have state entries for the auth events""
This reverts commit d86db197e3 .
* Fix bug
* Try that again
* Update gomatrixserverlib
* Remove recursion from `loadAuthEvents`
2022-06-01 09:46:21 +01:00
Neil Alexander
500124dd18
Add support for room version 10 (update to matrix-org/gomatrixserverlib#315 )
2022-05-30 09:50:23 +01:00
Neil Alexander
b541f3043f
Add support for MSC3787 and org.matrix.msc3787 room version (update to matrix-org/gomatrixserverlib#310 )
2022-05-26 15:08:17 +01:00
Neil Alexander
9e46d5025a
Upgrade various dependencies ( #2496 )
...
* Upgrade various dependencies
* Yaml dependency too
2022-05-26 12:34:43 +01:00
Neil Alexander
5a878b6e14
Update to matrix-org/gomatrixserverlib#314
2022-05-26 11:52:39 +01:00
Neil Alexander
ff53398635
Mark room versions 8 and 9 as stable
2022-05-25 16:39:51 +01:00
Neil Alexander
ac4d0072cf
Fix using the remote provided event from /send_join ( #2490 )
2022-05-25 14:31:07 +01:00
Neil Alexander
d621dd2986
Allow authing invited user in rooms with "restricted" join rule (update to matrix-org/gomatrixserverlib#313 )
2022-05-24 11:08:28 +01:00
Neil Alexander
8a7567c652
Fix control flow related to joining restricted v8/v9 rooms (update to matrix-org/gomatrixserverlib#312 )
2022-05-23 17:49:48 +01:00
Neil Alexander
028963af1c
Update to matrix-org/gomatrixserverlib#311 ( #2479 )
...
* Update to matrix-org/gomatrixserverlib#311
* Update to squash commit
2022-05-23 14:26:56 +01:00
Neil Alexander
be9be2553f
Resolve over old and new extremities ( #2457 )
...
* 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-13 11:52:04 +01:00
Neil Alexander
cafc2d2c10
Update NATS Server to version 2.8.2 ( #2460 )
2022-05-13 11:36:04 +01:00
Till
f69ebc6af2
Add roomserver tests (1/?) ( #2434 )
...
* 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 8ae34c4e5f .
* 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-09 15:30:32 +02:00
Neil Alexander
79e2fbc663
Update to matrix-org/gomatrixserverlib#307
2022-05-09 13:53:51 +01:00
Neil Alexander
85c00208c5
Fix power level event auth bugs (update to matrix-org/gomatrixserverlib#306 )
2022-05-06 15:41:16 +01:00
Neil Alexander
a1a5357f79
Produce more useful event auth errors (update to matrix-org/gomatrixserverlib#305 )
2022-05-06 12:46:01 +01:00
Neil Alexander
e4da04e75b
Update to matrix-org/gomatrixserverlib#303
2022-05-05 14:06:05 +01:00
Neil Alexander
d9e71b93b6
Use gomatrixserverlib.Client instead of http.Client ( #2421 )
...
* 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-05-05 11:33:16 +01:00
Neil Alexander
d7cc187ec0
Prevent JetStream from handling OS signals, allow running as a Windows service ( #2385 )
...
* Prevent JetStream from handling OS signals, allow running as a Windows service (fixes #2374 )
* Remove double import
2022-04-27 13:36:40 +01:00
Neil Alexander
144c060fa7
Remove libp2p demos ( #2337 )
...
* Remove libp2p demos
* Put it back
2022-04-21 13:31:43 +01:00
Neil Alexander
a9f0a390c6
Update to NATS Server v2.8.0 and nats.go v1.14.0 ( #2359 )
2022-04-20 15:13:04 +01:00
Neil Alexander
711e377b9c
Update go-sqlite3-js to matrix-org/go-sqlite3-js#2 (SQLite 3.36.0)
2022-04-19 10:34:33 +01:00
Till
69f2ff7c82
Correctly use provided filters ( #2339 )
...
* Apply filters correctly
* Fix issues; Use prepareWithFilters
* Update gmsl & tests
* go.mod..
* PR comments
2022-04-11 09:05:23 +02:00
Neil Alexander
986d27a128
Update to matrix-org/pinecone@2999ea2
2022-04-08 16:39:09 +01:00
Neil Alexander
9bd9f2beba
Update to matrix-org/pinecone@9b3963248c
2022-04-08 16:23:50 +01:00
Neil Alexander
4312b87ab0
Update dependencies ( #2336 )
2022-04-08 12:24:49 +01:00
Neil Alexander
4d9d9cc9b1
Update to matrix-org/gomatrixserverlib#300
2022-04-05 14:43:44 +01:00
Neil Alexander
562d742240
Update to matrix-org/gomatrixserverlib#299
2022-04-04 19:04:17 +01:00
Neil Alexander
c69159bda7
Update to matrix-org/pinecone@e526fa8
2022-04-04 15:16:02 +01:00
Neil Alexander
8213b2ba30
Update Pinecone P2P demo
2022-03-30 15:01:22 +01:00
Neil Alexander
6c95f9b535
Update to matrix-org/pinecone@6fb0773
2022-03-23 14:45:22 +00:00