aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-04remove obsolete config entry "federation_certificates" (#2318)Sebastian Spaeth
* Remove all federation_certificates occurencs This configuration value has not been used since 2019 apparently, and indeed it is never really used in the code base. So remove all traces of it from the various configuration files. Also remove the unused variable FederationCertificatePaths Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> * setup/config/config_test.go: remove federation_sender config snippet The federation_sender: section was folded into the federation_api some time ago, and this seems to be the only leftover in the code base. So remove it.
2022-04-04Fix `dendritejs-pinecone` buildNeil Alexander
2022-04-04Enhanced calm at startup of Pinecone demosNeil Alexander
2022-04-04Update to matrix-org/pinecone@e526fa8Neil Alexander
2022-04-04Slower federation warm-up (#2320)Neil Alexander
* Wake destination queues gradually, rather than all at once * Delay device list updates too * Maximum two minute warmup period
2022-04-04Fix sign-off link in `CONTRIBUTING.md`Neil Alexander
2022-04-04Fix unlimitedSize uploads (#2317)S7evinK
2022-04-01Include joined and invite member counts in room summary (#2315)Neil Alexander
* Include joined and invite member counts in room summary This should fix #2314 and also fix the problem where some clients like Element Android, Fluffychat etc would display the wrong member count for a given room. * Improve SQLite query precision * Check existence of state key for membership events
2022-03-30Update Pinecone P2P demoNeil Alexander
2022-03-29Remove eduserver (#2306)S7evinK
* Move receipt sending to own JetStream producer * Move SendToDevice to producer * Remove most parts of the EDU server * Fix SendToDevice & copyrights * Move structs, cleanup EDU Server traces * Use HeadersOnly subscription * Missing file * Fix linter issues * Move consumers to own files * Rename durable consumer; Consumer cleanup * Docs/config cleanup
2022-03-28User directory for nearby Pinecone peers (P2P demo) (#2311)Neil Alexander
* User directory for nearby Pinecone peers * Fix mux routing * Use config to determine which server notices user to exclude
2022-03-28Fix account availability on registerNeil Alexander
2022-03-28P2P demo tweaksNeil Alexander
2022-03-28Ensure Dendrite has stopped in Pinecone demo `Stop()`Neil Alexander
2022-03-28Allow stored session parameters to be overwritten in the registration ↵Neil Alexander
request (#2309) * Allow stored session parameters to be overwritten in the registration request * Remove logging * Close request body * Use `httputil.UnmarshalJSON` as that should enforce UTF-8 correctness * Return `M_NOT_JSON` on read error * Whoops, return the value of `httputil.UnmarshalJSON` * Remove redundant comment
2022-03-25Version 0.7.0 (#2304)v0.7.0Neil Alexander
2022-03-25Pass DOCKER_TOKEN secret into Docker workflowNeil Alexander
2022-03-25One final tweak to the GHA pipelineNeil Alexander
2022-03-25Fixes for `create-account` (#2285)S7evinK
* Check user existence Fallback to asking for the password if non is defined * Add missing tests * Update to not use pointers, verify username length * Re-add possibilty to create passwordless account * Fix config issue * Fix test again Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-03-25Give packages permission to `update-docker-images`Neil Alexander
2022-03-25Use correct path nameNeil Alexander
2022-03-25Factor Docker step into own jobNeil Alexander
2022-03-25Specify branch name in Docker flowNeil Alexander
2022-03-25Healthcheck endpoints (#2303)Neil Alexander
* Health monitoring endpoints * Rename endpoints
2022-03-25Fix Docker flowNeil Alexander
2022-03-25Use most recent event in response to get latest stream position in ↵Neil Alexander
incremental sync (#2302) * Use latest event position in response for advancing the stream position in an incremental sync * Create some calm * Use To in worst case * Don't waste CPU cycles on an empty response after all * Bug fixes * Fix another bug
2022-03-25Try to recover from corrupted NATS streams in memory temporarily (#2301)Neil Alexander
2022-03-25Chain Docker update onto `main`Neil Alexander
2022-03-25Update Docker workflow some moreNeil Alexander
2022-03-24Refactor appservice & client API to use userapi internal (#2290)S7evinK
* Refactor user api internal * Refactor clientapi to use internal userapi * Use internal userapi instead of user DB directly * Remove AccountDB dependency * Fix linter issues Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-03-24Update database when rejecting federated invite (#2300)S7evinK
* Actually set the DB entry to "leave" * Try to rollback in case of error * Fix linter issue
2022-03-24Use `github.actor` for GHCR uploadNeil Alexander
2022-03-24Fix Docker flowNeil Alexander
2022-03-24Allow manual Docker tasks in GHANeil Alexander
2022-03-24Upload Docker images for releases to both Docker Hub and GitHub Container ↵Neil Alexander
Registry (#2299) * Upload Docker images for releases to both Docker Hub and GitHub Container Registry * Build current images on `:main` tag * Use Dendrite flow to trigger Docker flow for `:main` * Tweaks * Fix references to `env.GHCR_NAMESPACE`
2022-03-24fixup treat the sender_localpart as an exclusive namespace of one user (#2255)Nick Cao
Signed-off-by: Nick Cao <nickcao@nichi.co> Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-03-24Update dendrite.ymlNeil Alexander
2022-03-24Update `on` section of GHA workflowNeil Alexander
2022-03-24Update README.mdNeil Alexander
2022-03-24Check for success of initial tests on GHANeil Alexander
2022-03-24Hopefully fail `Initial tests passed` if they actually failed (#2298)Neil Alexander
2022-03-24Move CI to Github Actions (#2297)S7evinK
* Initial test * Move CI to GHA * Naming * Always report all linter issues * Remove if true * Test complement in different variations * Try again * Move Complement back after initial tests and readd timeout Make linting fail further checks Remove CodeQL * Update and rename tests.yml to dendrite.yml Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-03-24Fix lint errorsNeil Alexander
2022-03-23Update to matrix-org/pinecone@6fb0773Neil Alexander
2022-03-23Fix #2287 by trying to fetch account by lowercase localpart (#2292)S7evinK
* Fix #2287 by trying to fetch account by lowercase localpart and as passed by request
2022-03-23Update PR template (#2294)kegsay
2022-03-23Per-room consumers (#2293)Neil Alexander
* Roomserver input refactoring — again! * Ensure the actor runs again * Preserve consumer after unsubscribe * Another sprinkling of magic * Rename `TopicFor` to `Prefixed` * Recreate the stream if the config is bad * Check streams too * Prefix subjects, preserve inboxes * Recreate if subjects wrong * Remove stream subject * Reconstruct properly * Fix mutex unlock * Comments * Fix tests * Don't drop events * Review comments * Separate `queueInputRoomEvents` function * Re-jig control flow a bit
2022-03-21Wait for safe shutdown of NATS Server (#2289)Neil Alexander
2022-03-21Remove unused partition_offset_table (#2288)S7evinK
2022-03-18Fix panic that can occur from nil pointer exception in media API ↵Neil Alexander
`fetchRemoteFile`