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
Timo Kösters
df727688ef
remove rocksdb
2021-08-04 21:17:40 +02:00
Timo Kösters
902404d48d
improvement: save member count + sled fixes
2021-08-04 21:15:01 +02:00
Timo Kösters
9bb4c3cd01
improvement: batched inserts for tokenids
2021-08-04 12:54:26 +02:00
Timo Kösters
49ade0cfbd
improvement: allow batch inserts
2021-08-03 11:24:21 +02:00
Timo Kösters
bd63797213
improvement: make better use of sqlite connections
2021-08-03 10:24:14 +02:00
Timo Kösters
2c4f966d60
improvement: use sqlite properly
2021-08-01 16:59:52 +02:00
Timo Kösters
dc85a8fafd
fix: migration and push edu bugs
2021-07-30 18:05:26 +02:00
Timo Kösters
5df6b8cd5f
improvement: better account data implementation
2021-07-30 16:08:24 +02:00
Timo Kösters
5c776e9ba7
feat: heed db backend (LMDB)
2021-07-29 23:11:53 +02:00
Timo Kösters
5e924227b6
feat: add threadpool for iterator threads, bug fixes, tracing_flame support
2021-07-29 08:49:28 +02:00
Timo Kösters
cfaa900e83
improvement: auth chain cache
2021-07-20 15:25:16 +02:00
Timo Kösters
f5273f7eb1
improvement: upgrade ruma and implement blurhashes
2021-07-20 15:25:16 +02:00
Jonathan de Jong
d253f9236a
change fraction type
2021-07-20 11:01:35 +02:00
Jonathan de Jong
ec44f3d568
change to f64
2021-07-20 10:47:36 +02:00
Jonathan de Jong
7e579f8d34
change to fraction-based approach
2021-07-19 16:25:41 +02:00