Commit graph

1783 commits

Author SHA1 Message Date
Neil Alexander
1628db8f8f
Fix version in config.Defaults 2022-01-05 15:59:47 +00:00
Neil Alexander
81ac9bb440
Set version in generate-config 2022-01-05 15:58:46 +00:00
Neil Alexander
abbbbbb2b4
More useful error message when the config version does not match 2022-01-05 15:21:09 +00:00
Neil Alexander
91e7a82e61
Add comments around asynchronous sends to roomserver in processEventWithMissingState 2022-01-05 15:16:59 +00:00
Neil Alexander
1099a1cc0c
Bump version number of config to 2 2022-01-05 15:15:36 +00:00
Neil Alexander
773a082cb4
Finish that sentence that I apparently forgot to finish in INSTALL.md 2022-01-05 14:17:34 +00:00
Neil Alexander
42a5a52fbd
Tweaks to roomserver input with comments 2022-01-05 14:09:25 +00:00
Neil Alexander
ffa793426c
Add comment explaining where streams are defined 2022-01-05 13:49:45 +00:00
Neil Alexander
066aeb40b4
Fix consumer component name in federation API 2022-01-05 13:46:57 +00:00
Neil Alexander
51de6612a6
Add jetstream.WithJetStreamMessage to make ack/nak-ing less messy, use process context in consumers 2022-01-05 13:45:27 +00:00
Neil Alexander
1e92206fbc
Merge in NATS Server v2.6.6 and nats.go v1.13 into the in-process connection fork 2022-01-04 16:27:48 +00:00
Neil Alexander
33fe78e0de
Merge branch 'add-nats-support' into nats 2022-01-04 16:06:54 +00:00
Neil Alexander
5f0bcddb49
Various tweaks to make tests happier
Squashed commit of the following:

commit 13f9028e7a
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Tue Jan 4 15:47:14 2022 +0000

    Do the same for leave

commit e6be7f05c3
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Tue Jan 4 15:33:42 2022 +0000

    Enforce state key matches sender

commit 85ede6d64b
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Tue Jan 4 14:07:04 2022 +0000

    Fix panics on closed channel sends

commit 9755494a98
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Tue Jan 4 13:38:22 2022 +0000

    Don't report any errors on `/send` to see what fun that creates

commit 3bb4f87b5d
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Tue Jan 4 13:00:26 2022 +0000

    Revert "Don't report event rejection errors via `/send`, since apparently this is upsetting tests that don't expect that"

    This reverts commit 368675283f.

commit fe2673ed7b
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Tue Jan 4 12:09:34 2022 +0000

    Go 1.16 instead of Go 1.13 for upgrade tests and Complement

commit 368675283f
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Tue Jan 4 11:51:45 2022 +0000

    Don't report event rejection errors via `/send`, since apparently this is upsetting tests that don't expect that

commit b028dfc085
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Tue Jan 4 10:29:08 2022 +0000

    Send final event in `processEvent` synchronously (since this might stop Sytest from being so upset)
2022-01-04 16:06:10 +00:00
Neil Alexander
13f9028e7a
Do the same for leave 2022-01-04 15:47:14 +00:00
Neil Alexander
e6be7f05c3
Enforce state key matches sender 2022-01-04 15:33:42 +00:00
Neil Alexander
85ede6d64b
Fix panics on closed channel sends 2022-01-04 14:07:04 +00:00
Neil Alexander
9755494a98
Don't report any errors on /send to see what fun that creates 2022-01-04 13:38:22 +00:00
Neil Alexander
3bb4f87b5d
Revert "Don't report event rejection errors via /send, since apparently this is upsetting tests that don't expect that"
This reverts commit 368675283f.
2022-01-04 13:00:26 +00:00
Neil Alexander
fe2673ed7b
Go 1.16 instead of Go 1.13 for upgrade tests and Complement 2022-01-04 12:09:34 +00:00
Neil Alexander
368675283f
Don't report event rejection errors via /send, since apparently this is upsetting tests that don't expect that 2022-01-04 11:51:45 +00:00
Neil Alexander
b028dfc085
Send final event in processEvent synchronously (since this might stop Sytest from being so upset) 2022-01-04 10:29:08 +00:00
Neil Alexander
1c3635ae93
Merge branch 'nats' into add-nats-support 2021-12-17 14:42:07 +00:00
Neil Alexander
901adbf066
Fix lint issues 2021-12-17 14:40:54 +00:00
Neil Alexander
a4bf763409
Update Docker readme again 2021-12-17 14:35:44 +00:00
Neil Alexander
580a256c37
More Docker updates 2021-12-17 14:20:34 +00:00
Neil Alexander
f22f649a05
Docker updates 2021-12-17 14:03:42 +00:00
Neil Alexander
b6827b68fb
Update documentation 2021-12-17 13:32:17 +00:00
Neil Alexander
3f44499ad1
Merge branch 'nats' into add-nats-support 2021-12-16 11:40:36 +00:00
Neil Alexander
8d4e5b447a
Merge branch 'master' into nats 2021-12-16 10:49:09 +00:00
Neil Alexander
002c3e0a5f
Fix build error 2021-12-13 13:29:43 +00:00
Neil Alexander
6b574ac537
Update to matrix-org/pinecone@aa2808d 2021-12-13 13:29:01 +00:00
Neil Alexander
3113210f17
Fix keyring regressions in previous P2P demo 2021-12-13 13:24:49 +00:00
Neil Alexander
c3dda0779d
Return event NID from StoreEvent, match PSQL vs SQLite behaviour, tweak backfill persistence (#2071) 2021-12-09 15:03:26 +00:00
Neil Alexander
172bd7c478
Set @matrix-org/dendrite-core as repository code owner 2021-12-09 13:29:49 +00:00
Neil Alexander
9bc0731ec4
Merge branch 'master' into nats 2021-12-03 17:35:36 +00:00
Neil Alexander
61406a6747
Cherry-pick removal of unused HTTP client from #2061
Co-authored-by: Tommie Gannert <tommie@gannert.se>
2021-12-03 17:30:14 +00:00
Neil Alexander
b7f09f78b0
Cherry-pick typing fix from #2061
Co-authored-by: Tommie Gannert <tommie@gannert.se>
2021-12-03 17:26:30 +00:00
S7evinK
08a0278760
Add missing HTTP mode for userapi (#1982)
* Add missing internal api endpoint

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Add missing performKeyBackup endpoint

* Add missing http mode for userapi

* Fix failing tests

* Add error checks

* Fix sytest

* Update startup logic for HTTP mode

* Use userImpl for AS (annoying)

* Don't send device list updates for appservice devices

* Fix build

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-12-03 17:18:35 +00:00
S7evinK
f9bac2f78a
Add missing internal routes (#2064)
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2021-12-03 09:49:14 +00:00
nymori
388d7a1974
Squash username to lowercase at login (#2065)
Signed-off-by: Bernard Zhao <bernard.zhao.us@gmail.com>
2021-12-03 09:48:49 +00:00
Ben Yanke
83b9cb4d79
Updating example to Postgres v14 (#2062)
See issue #2052
2021-11-29 10:17:16 +00:00
Neil Alexander
11f588b0d6
Fixes for multiple Pinecone peers 2021-11-25 11:18:01 +00:00
Neil Alexander
310edd737c
Fix P2P demo builds 2021-11-25 10:48:44 +00:00
Neil Alexander
8f2a838452
Update to matrix-org/pinecone@0cc483b 2021-11-25 09:49:00 +00:00
Neil Alexander
9bc1c36ff6
Support connecting to multiple Pinecone static peers in the P2P demos (supply a comma-separated list) 2021-11-25 09:46:26 +00:00
S7evinK
25dcf80180
Ratelimit requests to /media/r0/download|upload (#2020)
* Add /media/r0/config handler

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Add rate limiting to media api

* Rename variable

* Add passing tests

* Don't send multiple headers

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-11-24 12:55:44 +00:00
The Stranjer
17227f8e98
Don't let things added to the media_store/ directory find their way into the repo (#2057) 2021-11-24 12:55:13 +00:00
Neil Alexander
1565d392db
Merge branch 'nats' into add-nats-support 2021-11-24 12:49:09 +00:00
Neil Alexander
5bd833d1ad
Remove roomserver test again (was merged back in) 2021-11-24 12:48:42 +00:00
Neil Alexander
8b3ae12ee0
Merge branch 'nats' into add-nats-support 2021-11-24 12:14:45 +00:00