aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2021-02-17fix database names to reflect renaming (#1636)Marco Kundt
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-01-22Peeking over federation via MSC2444 (#1391)Matthew Hodgson
* a very very WIP first cut of peeking via MSC2753. doesn't yet compile or work. needs to actually add the peeking block into the sync response. checking in now before it gets any bigger, and to gather any initial feedback on the vague shape of it. * make PeekingDeviceSet private * add server_name param * blind stab at adding a `peek` section to /sync * make it build * make it launch * add peeking to getResponseWithPDUsForCompleteSync * cancel any peeks when we join a room * spell out how to runoutside of docker if you want speed * fix SQL * remove unnecessary txn for SelectPeeks * fix s/join/peek/ cargocult fail * HACK: Track goroutine IDs to determine when we write by the wrong thread To use: set `DENDRITE_TRACE_SQL=1` then grep for `unsafe` * Track partition offsets and only log unsafe for non-selects * Put redactions in the writer goroutine * Update filters on writer goroutine * wrap peek storage in goid hack * use exclusive writer, and MarkPeeksAsOld more efficiently * don't log ascii in binary at sql trace... * strip out empty roomd deltas * re-add txn to SelectPeeks * re-add accidentally deleted field * reject peeks for non-worldreadable rooms * move perform_peek * fix package * correctly refactor perform_peek * WIP of implementing MSC2444 * typo * Revert "Merge branch 'kegan/HACK-goid-sqlite-db-is-locked' into matthew/peeking" This reverts commit 3cebd8dbfbccdf82b7930b7b6eda92095ca6ef41, reversing changes made to ed4b3a58a7855acc43530693cc855b439edf9c7c. * (almost) make it build * clean up bad merge * support SendEventWithState with optional event * fix build & lint * fix build & lint * reinstate federated peeks in the roomserver (doh) * fix sql thinko * todo for authenticating state returned by /peek * support returning current state from QueryStateAndAuthChain * handle SS /peek * reimplement SS /peek to prod the RS to tell the FS about the peek * rename RemotePeeks as OutboundPeeks * rename remote_peeks_table as outbound_peeks_table * add perform_handle_remote_peek.go * flesh out federation doc * add inbound peeks table and hook it up * rename ambiguous RemotePeek as InboundPeek * rename FSAPI's PerformPeek as PerformOutboundPeek * setup inbound peeks db correctly * fix api.SendEventWithState with no event * track latestevent on /peek * go fmt * document the peek send stream race better * fix SendEventWithRewrite not to bail if handed a non-state event * add fixme * switch SS /peek to use SendEventWithRewrite * fix comment * use reverse topo ordering to find latest extrem * support postgres for federated peeking * go fmt * back out bogus go.mod change * Fix performOutboundPeekUsingServer * Fix getAuthChain -> GetAuthChain * Fix build issues * Fix build again * Fix getAuthChain -> GetAuthChain * Don't repeat outbound peeks for the same room ID to the same servers * Fix lint * Don't omitempty to appease sytest Co-authored-by: Kegan Dougal <kegan@matrix.org> Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-01-14Add madvdontneed=1 to decrease RAM consumption for systemd service (#1690)rany
* Add madvdontneed=1 to decrease RAM consumption for systemd service * Update monolith-example.service Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-12-14Update INSTALL.md (#1637)Neil Alexander
2020-12-12Update INSTALL.mdNeil Alexander
2020-12-07Update links to golangci-lint documentation (#1617)bodqhrohro
Signed-off-by: Bohdan Horbeshko <bodqhrohro@gmail.com>
2020-12-07Update FAQNeil Alexander
2020-12-04Fix broken image in CONTRIBUTING.md (#1612)TR_SLimey
2020-12-03Hiawatha reverse proxy sample for monolith and fixes to polylith sample (#1609)Petter Jakub Økland
* Created polylith reverse proxy sample for Hiawatha * Create monolith-sample.conf * Added timeout to proxies and binding explanation. * Fixed typo. * Consistency with regards to polylith-sample.conf.
2020-12-03Update PROFILING.mdNeil Alexander
2020-12-03Update PROFILING.mdNeil Alexander
2020-12-03Add PROFILING.mdNeil Alexander
2020-12-03Update FAQ.mdNeil Alexander
2020-12-03Update FAQ.mdNeil Alexander
2020-12-03Add FAQ.mdNeil Alexander
2020-12-01Assign CREATEDB permission to the test user (#1591)bodqhrohro
During the tests databases get recreated, and this fails despite of the user being the owner of a dropped database. Maybe related to certain PostgreSQL version. Signed-off-by: Bohdan Horbeshko <bodqhrohro@gmail.com>
2020-11-18Add IPv6 setting to nginx conf (#1582)TR_SLimey
* Added IPv6 setting to nginx conf https://matrix.to/#/!yomrOFwgFXzmeMAbzX:matrix.org/$sIkSxL002BKottY1Fop-bkusuyCJ1Y0zIFzqSWDYRrc?via=matrix.org&via=privacytools.io&via=dendrite.link * Add IPv6 support to polylith nginx conf also
2020-10-28Created polylith reverse proxy sample for Hiawatha (#1571)Petter Jakub Økland
2020-10-26Update documentation (#1569)Neil Alexander
* Update dendrite-config.yaml * Update README.md * Update INSTALL.md * Update INSTALL.md
2020-10-22Document dendrite server key format (#1520)Adit Sachde
Co-authored-by: Kegsay <kegan@matrix.org>
2020-10-20Multi-personality polylith binary (#1552)Neil Alexander
* Initial work oon multipersonality binary * Remove old binaries * Monolith and polylith binaries * Better logging * dendrite-poly-multi * Fix path * Copyright notices etc * Tweaks * Update Docker, INSTALL.md * Take first argument if flags package doesn't find any args * Postgres 9.6 or later, fix some more Docker stuff * Don't create unnecessary e2ekey DB * Run go mod tidy
2020-10-20Update INSTALL.md (#1549)Neil Alexander
2020-10-12Add systemd example service to docs (#1512)Pieter
Signed-off-by: Pieter Hollander <git@pieterhollander.nl>
2020-10-08Version 0.1.0v0.1.0Kegsay
Beta README (#1466) * Beta docs * More tweaks * More docs * Update README.md (#1497) * Call out missing features * Add CHANGES * Call out CHANGES * Update INSTALL.md * Update README.md Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-10-07Rename serverkeyapi to signingkeyserver (#1492)Kegsay
* Rename serverkeyapi to signingkeyserver We use "api" for public facing stuff and "server" for internal stuff. As the server key API is internal only, we call it 'signing key server', which also clarifies the type of key (as opposed to TLS keys, E2E keys, etc) * Convert docker/scripts to use signing-key-server * Rename missed bits
2020-10-02Route several paths to sync_api (#1473)S7evinK
2020-10-01Fix bugs in nginx sample configsNeil Alexander
2020-10-01Add nginx sample reverse proxy configs (#1458)Neil Alexander
* Add nginx sample reverse proxy configs * Add line breaks at end of files
2020-09-29Fix a small typo (#1448)bn4t
Signed-off-by: Benjamin Nater <me@bn4t.me>
2020-09-10Peeking via MSC2753 (#1370)Matthew Hodgson
Initial implementation of MSC2753, as tested by https://github.com/matrix-org/sytest/pull/944. Doesn't yet handle unpeeks, peeked EDUs, or history viz changing during a peek - these will follow. https://github.com/matrix-org/dendrite/pull/1370 has full details.
2020-09-07Remove current state server (#1405)Kegsay
* Remove current state server Closes #1365 #1272 #1357 * Remove current state server from scripts/docs
2020-08-27Add OpenTracing documentation (#1345)Kegsay
* Add OpenTracing documentation Closes #274 * Reshuffle * Update setup.md
2020-08-25Update README/CONTRIBUTING/sytest for AWSY issues (#1333)Kegsay
* Update README/CONTRIBUTING/sytest for AWSY issues * More docs
2020-08-24Fix scripts path in documentation (#1294)oliverpool
Broken by 24d8df664c21fa8bd68d80b5585a496e264c410a Signed-off-by: Olivier Charvin <git@olivier.pfad.fr>
2020-07-20Adding the e2ekey database to the create_db script and docs (#1206)Creed Haymond
Signed-off-by: Creed Haymond <creedasaurus@gmail.com>
2020-07-14Update README/docs (#1199)Kegsay
* Update README * Update docs
2020-07-02Remove publicroomsapi (#1176)Kegsay
* Remove all of publicroomsapi * Remove references to publicroomsapi * Remove doc references to publicroomsapi
2020-06-19User API polylith component (#1151)Neil Alexander
* User API polylith component * Add docker-pull.sh
2020-06-16Make syncapi use userapi (#1136)Kegsay
* Make syncapi use userapi * Unbreak things * Fix tests * Lint
2020-06-15Current wiring (#1125)Kegsay
* Current wiring * Add ServerKeyAPI lines
2020-05-27Update p2p docsKegan Dougal
2020-05-14Update INSTALL.md, move docs (#1034)Neil Alexander
* Update INSTALL.md * Move some things * Clean up * Move some more things * Don't build all the things for the monolith * Update INSTALL.md * Nuke hooks
2020-04-12Update guides for running sytest (#958)Alex Chen
* Update guides for running sytest Bring the details for running sytest against postgres up to date; prefer docker over manual setup Signed-off-by: Alex Chen <minecnly@gmail.com> * Better flags Signed-off-by: Alex Chen <minecnly@gmail.com>
2020-02-11Adding sslmode: disable to sytest server config (#813)Thibaut CHARLES
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-01-22Add a Sytest blacklist file (#849)Andrew Morgan
2019-08-07Add CI information to CONTRIBUTING.md (#778)Andrew Morgan
Add information about how the continuous integration is set up in Dendrite and how to run the tests locally so that people don't need to wait around for things to churn.
2019-06-25Fix testfile path hardcoded in show-expected-fail-tests.sh (#719)Alex Chen
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-06-21Refine config and docs for sytest (#714)Alex Chen
This PR adds the "passed but expected fail" tests to testfile, as well as instructions on finding which tests to add for new PRs.
2019-05-24Add SyTest support to CI (#704)Andrew Morgan
Adds SyTest CI through CircleCI. Also need to add all the tests that currently pass to testfile, but I don't think that's a hard blocker for merging.
2017-12-05Add some basic docs about opentracing (#366)Erik Johnston