Commit graph

17 commits

Author SHA1 Message Date
Till Faelligen 5781716af7
Never expire m.direct_to_device 2022-08-09 09:27:28 +02:00
Till Faelligen d0f15d3aef
Fix migrations 2022-08-03 09:03:49 +02:00
Till Faelligen 3f6008cf0c
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/expireedus 2022-08-03 08:50:06 +02:00
Till 081f5e7226
Update database migrations, remove goose (#2264)
* Add new db migration

* Update migrations
Remove goose

* Add possibility to test direct upgrades

* Try to fix WASM test

* Add checks for specific migrations

* Remove AddMigration
Use WithTransaction
Add Dendrite version to table

* Fix linter issues

* Update tests

* Update comments, outdent if

* Namespace migrations

* Add direct upgrade tests, skipping over one version

* Split migrations

* Update go version in CI

* Fix copy&paste mistake

* Use contexts in migrations

Co-authored-by: kegsay <kegan@matrix.org>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-07-25 10:39:22 +01:00
Neil Alexander 247604979a
Add missing indexes to federation API destination queues (#2502)
* Add missing indexes to federation API destination queues

* Fix duplicate name
2022-05-30 11:01:20 +01:00
Till Faelligen 54e383972f Don't allow NULL 2022-05-16 15:51:58 +02:00
Till Faelligen 531a557e9d Set expires_at to tomorrow 2022-05-16 15:49:58 +02:00
Neil Alexander 55e0f08194
Merge branch 'main' into s7evink/expireedus 2022-05-06 16:29:51 +01:00
Neil Alexander 4ad5f9c982
Global database connection pool (for monolith mode) (#2411)
* Allow monolith components to share a single database pool

* Don't yell about missing connection strings

* Rename field

* Setup tweaks

* Fix panic

* Improve configuration checks

* Update config

* Fix lint errors

* Update comments
2022-05-03 16:35:06 +01:00
Till Faelligen 733dde497c Fix copy & paste mistake 2022-04-29 19:33:24 +02:00
Till Faelligen 778b981879 Fix upgrade 2022-04-28 14:25:51 +02:00
Till Faelligen 5e8fb2ca53 Fix queries 2022-04-28 14:02:06 +02:00
Till Faelligen c3951b8474 Add migrations 2022-04-28 13:47:01 +02:00
Till Faelligen 7638187b3a Add housekeeping function to delete old/expired EDUs 2022-04-28 13:46:28 +02:00
S7evinK 8336ce972e
Remove unused partition_offset_table (#2288) 2022-03-21 10:47:41 +01:00
Neil Alexander 8a1bc70524
Exclude our own server name in GetJoinedHostsForRooms (#2110)
* Exclude our own servername

* Make excluding self behaviour optional
2022-01-25 17:00:39 +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