aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-06Remove KindRewrite (#1481)Neil Alexander
* Don't send rewrite events * Remove final traces of rewrite events * Remove test that is no longer needed * Revert "Remove test that is no longer needed" This reverts commit 9a45babff690480acd656a52f2c2950a5f7e9ada. * Update test to use KindOutlier
2020-10-06Yggdrasil demo tweaksNeil Alexander
2020-10-05Update to matrix-org/gomatrixserverlib#232Neil Alexander
2020-10-05Resolve state after event against current room state when determining latest ↵Neil Alexander
state changes (#1479) * Resolve state after event against current room state when determining latest state changes * Update sytest-whitelist * Update sytest-whitelist, blacklist
2020-10-05Update to matrix-org/gomatrixserverlib#230Neil Alexander
2020-10-05Add example goose sqlite3 migration (#1474)S7evinK
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2020-10-05Don't store backfilled events using request context (#1478)Neil Alexander
2020-10-02Route several paths to sync_api (#1473)S7evinK
2020-10-02Implement account deactivation (#1455)Loïck Bonniot
* Implement account deactivation See #610 Signed-off-by: Loïck Bonniot <git@lesterpig.com> * Rename 'is_active' to 'is_deactivated' Signed-off-by: Loïck Bonniot <git@lesterpig.com> Co-authored-by: Kegsay <kegan@matrix.org>
2020-10-02Add history visibility guards (#1470)Kegsay
* Add history visibility guards Default to 'joined' visibility to avoid leaking events, until we get around to implementing history visibility completely. Related #617 * Don't apply his vis checks on shared rooms * Fix order of checks * Linting and remove another misleading check * Update whitelist
2020-10-02Update PULL_REQUEST_TEMPLATE.mdNeil Alexander
2020-10-02Don't drop federation retries for Yggdrasil demosNeil Alexander
2020-10-02Add 'completed' field in Interactive Auth API (#1469)Loïck Bonniot
This field must be present even after authentication failure, as tested by sytest. This is needed by #1455. Signed-off-by: Loïck Bonniot <git@lesterpig.com>
2020-10-02Fix initial sync (#1465)Neil Alexander
* Fix complete sync check * Remove unnecessary 'since' copy * Fix failing test * Un-whitelist a couple of tests Co-authored-by: Kegan Dougal <kegan@matrix.org>
2020-10-02Fix build.shNeil Alexander
2020-10-02Log origin in /sendNeil Alexander
2020-10-02Update to matrix-org/gomatrixserverlib#227Neil Alexander
2020-10-01Fix golangci-lint issues (#1464)S7evinK
* Fix S1039: unnecessary use of fmt.Sprintf * Fix S1036: unnecessary guard around map access Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2020-10-01Update version imprinting (#1462)Neil Alexander
* Add version tag constant * Update build imprinting
2020-10-01Bring docker sample config into sync with normal oneNeil Alexander
2020-10-01Update README.mdNeil Alexander
2020-10-01Update README.md (#1461)Neil Alexander
* Update README.md * Maybe bullet points * Tweaks * Put the shields back, use text instead, less OCD problems * One more tweak
2020-10-01Set internal HTTP API timeout to 10 minutes (#1459)Neil Alexander
2020-10-01Add custom issue templates; fixes #1421 (#1460)Kegsay
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-10-01Update HTTP clients (#1457)Neil Alexander
* Update gomatrixserverlib * Use separate HTTP client for API calls, set User-Agent for outbound HTTP requests
2020-10-01Fix bug in error handling in SQLite InsertPreviousEvent (#1456)Neil Alexander
2020-09-30CodeQL analysisNeil Alexander
2020-09-30Consider old keys in handleLocalKeys (#1454)Neil Alexander
2020-09-30Update gobind database pathsNeil Alexander
2020-09-30Fix panic on verifySigError in fetching missing eventsNeil Alexander
2020-09-29Fix perspective fetchingNeil Alexander
2020-09-29Tweak log level of a fairly common log lineNeil Alexander
2020-09-29Remove TLS fingerprints, improve perspective unmarshal handling (#1452)Neil Alexander
* Add prefer_direct_fetch option * Update gomatrixserverlib * Update gomatrixserverlib * Update gomatrixserverlib * Don't deal in TLS fingerprints anymore
2020-09-29Ignore depth in federation API (#1451)Neil Alexander
2020-09-29Fix old verify keysNeil Alexander
2020-09-29Fetch missing auth events, implement QueryMissingAuthPrevEvents, try other ↵Neil Alexander
servers in room for /event and /get_missing_events (#1450) * Try to ask other servers in the room for missing events if the origin won't provide them * Logging * More logging * Implement QueryMissingAuthPrevEvents * Try to get missing auth events badly * Use processEvent * Logging * Update QueryMissingAuthPrevEvents * Try to find missing auth events * Patchy fix for test * Logging tweaks * Send auth events as outliers * Update check in QueryMissingAuthPrevEvents * Error responses * More return codes * Don't return error on reject/soft-fail since it was ultimately handled * More tweaks * More error tweaks
2020-09-29Fix a small typo (#1448)bn4t
Signed-off-by: Benjamin Nater <me@bn4t.me>
2020-09-29Finish implementing the capabilities endpoint (#1449)bn4t
Closes #1310 Signed-off-by: Benjamin Nater <me@bn4t.me>
2020-09-28Use workers when fetching events from /state_ids, use /state only if ↵Neil Alexander
significant portion of events missing (#1447) * Don't fall back to /state on incoming /send * Event workers for /state_ids, use /state only if significant percentage of events are missing
2020-09-28Don't fall back to /state on incoming /send (#1446)Neil Alexander
2020-09-27oopsMatthew Hodgson
2020-09-27unbreak CORS on /capabilities.Matthew Hodgson
fixes https://github.com/vector-im/element-web/issues/15297
2020-09-25Update gomatrixserverlib to matrix-org/gomatrixserverlib#225Neil Alexander
2020-09-25Set default room version to v6 (#1438)Neil Alexander
2020-09-25Allow configuring old verify keys (#1443)Neil Alexander
* Allow configuring old verify keys * Update sample config * Update sample config * Fix config population * Key ID formatting validity of old_verify_keys * Update comment
2020-09-24Return the correct error codes for v6 invite JSON violations (#1440)Neil Alexander
* Return the correct error codes for v6 invite JSON violations * Update sytest-whitelist
2020-09-24Reject make_join for empty rooms (#1439)Neil Alexander
* Sanity-check room version on RS event input * Update gomatrixserverlib * Reject make_join when no room members are left * Revert some changes from wrong branch * Distinguish between room not existing and room being abandoned on this server * nolint
2020-09-24Update all usages of tx.Stmt to sqlutil.TxStmt (#1423)Sam
* Replace all usages of txn.Stmt with sqlutil.TxStmt Signed-off-by: Sam Day <me@samcday.com> * Fix sign off link in PR template. Signed-off-by: Sam Day <me@samcday.com> Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>