Neil Alexander
8d4e5b447a
Merge branch 'master' into nats
2021-12-16 10:49:09 +00:00
Neil Alexander
3113210f17
Fix keyring regressions in previous P2P demo
2021-12-13 13:24:49 +00:00
Neil Alexander
9bc0731ec4
Merge branch 'master' into nats
2021-12-03 17:35:36 +00:00
Neil Alexander
11f588b0d6
Fixes for multiple Pinecone peers
2021-11-25 11:18:01 +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
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
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
73d6964fb4
Merge branch 'master' into add-nats-support
2021-11-02 17:36:22 +00:00
PiotrKozimor
dec05c3347
Run gofmt on dendrite - apply go 1.17 preferred build tags ( #2021 )
2021-11-02 16:48:48 +00:00
Neil Alexander
4c129e3e3d
Update Pinecone demo
2021-10-22 11:38:04 +01:00
Neil Alexander
a5cb8c00bd
Update Pinecone demo
2021-10-08 15:29:30 +01:00
Ryan W
1cd4d50181
Added .well-known/matrix/server endpoint ( #1988 )
...
* Added .well-known/matrix/server endpoint
Signed-off-by: Ryan Whittington <twentybitdev@gmail.com>
* Replaced tabs with spaces
Signed-off-by: Ryan Whittington <twentybitdev@gmail.com>
2021-09-10 10:05:31 +01:00
Ryan W
a624eab309
- Removed double imports ( #1989 )
...
- Lower cased error messages
Signed-off-by: Ryan Whittington <twentybitdev@gmail.com>
Co-authored-by: kegsay <kegan@matrix.org>
2021-09-08 17:31:03 +01:00
Neil Alexander
eb0efa4636
Cross-signing groundwork ( #1953 )
...
* Cross-signing groundwork
* Update to matrix-org/gomatrixserverlib#274
* Fix gobind builds, which stops unit tests in CI from yelling
* Some changes from review comments
* Fix build by passing in UIA
* Update to matrix-org/gomatrixserverlib@bec8d22
* Process master/self-signing keys from devices call
* nolint
* Enum-ify the key type in the database
* Process self-signing key too
* Fix sanity check in device list updater
* Fix check
* Fix sytest, hopefully
* Fix build
2021-08-04 17:56:29 +01:00
Till Faelligen
a833f5764a
Merge branch 'master' of https://github.com/matrix-org/dendrite into add-nats-support
2021-07-24 11:27:24 +02:00
Neil Alexander
f63068df3b
Only include go-sqlite3 on the relevant binaries ( #1900 )
...
* Only include go-sqlite3 on the relevant binaries
* The driver name is always sqlite3 now
* Update to matrix-org/go-sqlite3-js@e537baa
2021-07-20 11:18:14 +01:00
Neil Alexander
e2e1a966e1
Merge branch 'master' into add-nats-support
2021-07-20 10:36:13 +01:00
S7evinK
da2023ba04
Rename Riot to Element ( #1874 )
...
* s/riot/element/g
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
* fix formatting
Co-authored-by: kegsay <kegan@matrix.org>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-07-20 09:45:40 +01:00
Neil Alexander
48322bc2b2
Various other refactoring
2021-07-14 14:06:14 +01:00
Neil Alexander
4c45de81b3
Jetstream package
2021-07-14 13:34:42 +01:00
kegsay
1ed732cc78
Implement /_synapse/admin/v1/register ( #1911 )
...
* Implement /_synapse/admin/v1/register
This is implemented identically to Synapse, so scripts which work
with Synapse should work with Dendrite.
```
Test 27 POST /_synapse/admin/v1/register with shared secret... OK
Test 28 POST /_synapse/admin/v1/register admin with shared secret... OK
Test 29 POST /_synapse/admin/v1/register with shared secret downcases capitals... OK
Test 30 POST /_synapse/admin/v1/register with shared secret disallows symbols... OK
```
Sytest however has `implementation_specific => "synapse"` which stops these
tests from running.
* Add missing muxes to gobind
* Linting
2021-07-09 16:52:31 +01:00
Neil Alexander
a6f7e83596
Fix bugs in P2P demos
2021-06-25 15:59:59 +01:00
Neil Alexander
097a5833c8
dendritejs-pinecone
2021-06-25 14:20:36 +01:00
Neil Alexander
6ae976a55a
dendrite-demo-pinecone: Accept any origin
2021-06-22 15:39:29 +01:00
Neil Alexander
bd9dec8e06
Pinecone demo updates
2021-06-14 13:13:07 +01:00
Neil Alexander
a7f2845a6a
Demo tweaks
2021-05-24 13:12:05 +01:00
Neil Alexander
79c5485c8d
Allow clearing federation blacklist at startup for P2P demos
2021-05-24 11:43:24 +01:00
Neil Alexander
d2d2164025
Update pinecone demo
2021-05-24 11:17:32 +01:00
Neil Alexander
140cae81cc
Update dendrite-demo-pinecone
2021-05-18 15:47:15 +01:00
Neil Alexander
a49d06138e
Updates to dendrite-demo-pinecone
2021-05-10 16:59:03 +01:00
Neil Alexander
81d60d5448
Update room directory in Pinecone demo some more
2021-05-07 12:48:30 +01:00
Neil Alexander
603bf590f0
Fix public room directory in Pinecone demo
2021-05-07 12:17:14 +01:00
Neil Alexander
1002e87b60
Pinecone P2P demo ( #1856 )
...
* Pinecone demo
* Enable multicast, fix HTTP routing
* Fix multicast import
* Fix build
* Update Pinecone demo
* Fix the keys
* Tweaks
* Pinecone room directory support (early)
* Fix gobind-pinecone
* Add pinecone listener
* Fix public key value
* Use AuthenticatedConnect for dial
* Fix gobind-pinecone
* Stop panics
* Give fsAPI to keyserver
* Pinecone demo fixes
* Update gobind build scripts
* Account creation
* Tweaks
* Setup tweaks
* API tweaks
* API tweaks
* API tweaks
* Port mutex
* Re-enable multicast
* Add ReadCopy
* Update quic-go, fixes
* Shutdowns fixed for iOS
* Update build script
* Add WebSocket support
* Bug fixes
* Netconn context
* Fix WebSocket connectivity
* Fixes to gobind API
* Strip frameworks
* Configurability updates
* Update go.mod
* Update go.mod/go.sum
* Update go.mod/go.sum
* Update go.mod/go.sum
* Try to stay connected tto static peer
* Update gobind-pinecone
* Update go.mod/go.sum
* Test uTP+TLS
* Use HTTP/2
* Don't use HTTP/2
* Update go.mod/go.sum
* Attempt to reconnect to the static peer if it drops
* Stay connected to static peers more stickily
* Retry room directory lookups if they fail
* NewQUIC -> NewSessions
* Storage updates
* Don't return immediately when there's nothing to sync
* Updates
* Try to reconnect to static peer more
* Update go.mod/go.sum
* Require Go 1.14
* Update go.mod/go.sum
* Update go.mod/go.sum
2021-05-06 12:00:42 +01:00