Timo Kösters
caf9834e50
feat: cache capacity modifier
2022-02-01 14:42:13 +01:00
Timo Kösters
e17bbdd42d
tests
2022-01-31 14:49:00 +01:00
Timo Kösters
5d3ba5c628
Merge branch 'WIP_persy_batch_next' into 'next'
...
feat: Integration with persy using background ops
See merge request famedly/conduit!231
2022-01-21 15:31:46 +00:00
Jonas Platte
756a41f22d
Fix rustc / clippy warnings
2022-01-20 00:10:39 +01:00
Timo Kösters
03b174335c
improvement: lower default pdu cache capacity
2022-01-17 14:46:53 +01:00
Tglman
ab15ec6c32
feat: Integration with persy using background ops
2022-01-15 14:17:15 +00:00
Timo Kösters
d434dfb3a5
feat: config option for rocksdb max open files
2022-01-14 11:44:20 +01:00
Timo Kösters
80e51986c4
improvement: better default cache capacity
2022-01-14 11:08:31 +01:00
Timo Kösters
447639054e
improvement: higher default pdu capacity
2022-01-13 22:44:27 +01:00
Timo Kösters
fa6d7f7ccd
feat: database backend selection at runtime
2022-01-13 22:42:22 +01:00
Timo Kösters
1bd9fd74b3
feat: partially support sync filters
2022-01-13 22:38:52 +01:00
Timo Kösters
68e910bb77
feat: lazy loading
2022-01-13 22:38:50 +01:00
Timo Kösters
a30b588ede
rocksdb as default
2022-01-13 22:10:50 +01:00
Timo Kösters
1d647a1a9a
improvement: allow rocksdb again
2022-01-13 22:10:43 +01:00
Moritz Bitsch
fe8cfe0556
Add database migration to remove stored passwords
...
uiaarequests can contain plaintext passwords, which were stored on disk
2021-12-18 18:57:36 +01:00
Moritz Bitsch
3d25d46dc5
Use simple BTreeMap to store uiaa requests
...
some uiaa requests contain plaintext passwords which should never be
persisted to disk.
Currently there is no cleanup implemented (you have to restart conduit)
2021-12-18 18:57:36 +01:00
Jonas Platte
bffddbd487
Simplify identifier parsing code
2021-12-15 13:00:37 +01:00
Jonas Platte
892a0525f2
Upgrade Ruma
2021-12-15 13:00:37 +01:00
Moritz Bitsch
9fccbb014a
Implement TURN server authentication with hmac
...
This is a prefered method to allow limited access to the TURN server
2021-11-12 12:43:15 +00:00
Moritz Bitsch
109892b4b7
Implement turn server settings
...
this fills out the infos in /_matrix/client/r0/voip/turnServer with
values specified in the server config
2021-11-12 12:43:15 +00:00
Timo Kösters
dc8bc4a880
Merge branch 'up-ruma' into 'next'
...
Upgrade Ruma
See merge request famedly/conduit!210
2021-10-15 11:38:12 +00:00
Jonas Platte
f2ef5677e0
Reduce turbofish usage
...
Should make the code a little bit easier to read.
2021-10-13 12:25:58 +02:00
Jonas Platte
1c4d9af586
Enable more lints and apply their suggestions
2021-10-13 10:24:39 +02:00
Nyaaori
6bc8fb2ae7
Implement admin check and add config option for allowing room creation
2021-09-24 07:16:34 +00:00
Jonas Platte
d68c93b5fa
Clean up (mostly automated with cargo clippy --fix)
2021-09-13 20:58:58 +02:00
Jonathan de Jong
23c5ec8099
fix sync not firing on new events in room
2021-09-08 14:50:44 +02:00
Rasmus Thomsen
51245d34f1
fix(database): handle errors in config parsin or database creation
...
Showing the user a backtrace can be pretty confusing, so just printing
a nice error message makes errors easier to understand for end users.
fixes #121
2021-09-08 09:08:45 +01:00
Timo Kösters
8518d59a0b
Merge branch 'clippy' into 'master'
...
Fix a bunch of clippy lints
See merge request famedly/conduit!178
2021-09-01 10:47:23 +00:00
Timo Kösters
73d876643c
improvement: make pdu cache capacity configurable
2021-09-01 11:03:45 +02:00
Jonas Platte
a6bb9bbe68
Fix a bunch of clippy lints
2021-08-31 21:20:03 +02:00
Jonathan de Jong
9ec8b7f2b3
registration default true
2021-08-31 18:25:35 +02:00
Timo Kösters
632a1343eb
fix: make appservices more efficient
2021-08-29 20:00:43 +02:00
Timo Kösters
afca61fe7c
fix: don't retry soft failed events
2021-08-28 11:39:33 +02:00
Timo Kösters
41d07be97b
improvement: persist cached auth chains in db
2021-08-26 14:19:08 +02:00
Timo Kösters
bef4fe50ce
fix: better migration, force e2ee device key updates
2021-08-26 14:19:08 +02:00
Timo Kösters
9152b877a7
fix: wrong soft fail check, too many events in /sync state response
2021-08-26 14:19:07 +02:00
Timo Kösters
81e056417c
improvement: better e2ee over fed, faster incoming event handling
2021-08-24 19:52:05 +02:00
Timo Kösters
3b78e43a18
fmt
2021-08-21 14:24:10 +02:00
Timo Kösters
4956fb9fba
improvement: limit prev event fetching
2021-08-21 14:22:21 +02:00
Timo Kösters
46d8a46e1f
improvement: faster incoming transaction handling
2021-08-19 11:01:43 +02:00
Timo Kösters
bf7e019a68
improvement: better prev event fetching, perf improvements
2021-08-17 16:06:09 +02:00
Timo Kösters
a4310f840e
improvement: state info cache
2021-08-15 06:48:25 +02:00
Timo Kösters
38effda799
fix: delta calculation
2021-08-14 19:11:10 +02:00
Timo Kösters
3eabaa2a95
finish implementing better state store
2021-08-13 19:49:16 +02:00
Timo Kösters
31f60ad6fd
improvement: migrations, batch inserts
2021-08-12 17:56:35 +02:00
Timo Kösters
41dd620d74
WIP improvement: much better state storage
2021-08-12 17:56:35 +02:00
Timo Kösters
9410d3ef9c
fix: long prev event fetch times for huge rooms
2021-08-12 17:56:14 +02:00
Timo Kösters
5173d0deb5
improvement: cache for short event ids
2021-08-12 17:56:14 +02:00
Timo Kösters
096e0971f1
improvement: smaller cache, better prev event fetching
2021-08-12 17:56:13 +02:00
Timo Kösters
d2f406e0e8
fix: handle bad events in db better
2021-08-08 21:33:28 +02:00