Timo Kösters
2423de2d51
improvement: locks
2021-07-13 15:48:10 +02:00
Timo Kösters
553fea9a41
improvement: efficient /sync, mutex for federation transactions
2021-07-13 10:29:02 +02:00
Timo Kösters
25c7333112
fix: stuck messages
...
Conduit did not send the event in /sync because of a race condition.
There is a brief moment in time where Conduit accepted the event, but
did not store it yet. So when the client /syncs it updates the since
token without sending the event. I hope I fixed it by significantly
shortening the race-condition period.
2021-07-13 10:26:39 +02:00
Timo Kösters
1bba271916
fix: e2ee verification
2021-07-13 10:26:36 +02:00
Timo Kösters
ea2fc3adc0
improvement: more efficient state res
2021-07-13 10:24:51 +02:00
Jonathan de Jong
b89cffed34
warn on deprecated keys
2021-07-12 21:23:20 +02:00
Jonathan de Jong
3260ae01b8
change references of cache_capacity to db_cache_capacity
2021-07-12 19:53:06 +02:00
Jonathan de Jong
7e0aab7852
shuffle main.rs to allow deprecation warnings
2021-07-12 19:09:14 +02:00
Jonathan de Jong
6e8beb604d
support some deprecations
2021-07-12 18:05:43 +02:00
Jonathan de Jong
735d7a0815
database iter_from fix
2021-07-12 00:07:10 +02:00
Jonathan de Jong
caa0cbfe1d
change fairmutex to mutex
2021-07-11 21:48:55 +02:00
Jonathan de Jong
7e9014d5c9
implement sync rotation
2021-07-11 20:10:24 +02:00
Jonathan de Jong
bcfea98457
replace ReadGuard with DatabaseGuard
2021-07-11 15:42:06 +02:00
Jonathan de Jong
3a76fda92b
incorperate feedback
2021-07-11 15:41:10 +02:00
Jonathan de Jong
f4aabbdaa7
add some flushes
2021-07-08 17:17:42 +02:00
Jonathan de Jong
7c82213ee7
change to use path joining properly
2021-07-08 14:27:28 +02:00
Jonathan de Jong
0719377c6a
merge one more {use}
2021-07-08 12:13:39 +02:00
Jonathan de Jong
0c23874194
add config and optimise
2021-07-07 20:36:41 +02:00
Jonathan de Jong
dc5f1f41fd
some more fixes to allow sled to work
2021-07-07 14:04:11 +02:00
Jonathan de Jong
f81018ab2d
reverse iterator funk
2021-07-04 13:30:47 +02:00
Jonathan de Jong
e5a26de606
misc cleanup
2021-07-04 13:14:01 +02:00
Jonathan de Jong
5ec0be2b41
fmt
2021-07-04 02:15:04 +02:00
Jonathan de Jong
a55dec9035
add better performance around syncs
2021-07-04 02:03:46 +02:00
Jonathan de Jong
14e6afc45e
remove eldrich being and install good being
2021-07-04 01:18:06 +02:00
Jonathan de Jong
0753076e94
chutulu is my copilot
2021-07-03 21:27:11 +02:00
Jonathan de Jong
22e3416745
YEET
2021-07-03 21:26:50 +02:00
Timo Kösters
5711467ad9
Merge branch 'state-res-closure' into 'master'
...
Remove auth_cache using a closure to fetch events in state-res
See merge request famedly/conduit!108
2021-07-02 10:56:21 +00:00
Aiden McClelland
c53cc03ff8
address pr comments
2021-07-01 13:38:25 -06:00
Aiden McClelland
f25f61d4a9
fix errors introduced by rebase
2021-07-01 12:48:12 -06:00
Aiden McClelland
b2d5516058
add support for arbitrary proxies
2021-07-01 12:41:12 -06:00
Devin Ragotzy
1bb84a8e2d
Fix docs for fetch_and_handle_events
2021-06-30 07:48:16 -04:00
Devin Ragotzy
98f1480e2b
Remove auth_cache using a closure to fetch events in state-res
2021-06-30 12:54:19 +02:00
Timo Kösters
05821d6fd5
improvement: pdu cache, /sync cache
2021-06-30 10:31:34 +02:00
Timo Kösters
dcac1361ec
improvement: /search works for multiple rooms
2021-06-21 15:21:00 +02:00
Timo Kösters
fee7d3d2e3
Merge branch 'allow_appservice_registration' into 'master'
...
Always allow appservices to register new users
See merge request famedly/conduit!105
2021-06-21 10:15:48 +00:00
phesch
637d9d3b6f
Always allow appservices to register new users
2021-06-19 16:12:05 +02:00
Jonas Platte
808741bcb6
Remove unnecessary Option-wrapping and successive unwrapping
2021-06-17 20:44:29 +02:00
Jonas Platte
b291e76572
Use try operator for Option more
2021-06-17 20:37:07 +02:00
Jonas Platte
f3e630c064
Fix lots of clippy lints
2021-06-17 20:34:14 +02:00
Jonas Platte
af2ce5803e
Remove pointless double deserialization
2021-06-17 20:29:02 +02:00
Jonas Platte
7fa54e4411
Use Ruma-provided default power levels for shorter code
2021-06-17 20:14:37 +02:00
Jonas Platte
f6046871f4
Upgrade Ruma
2021-06-17 20:12:36 +02:00
Timo Kösters
67f9592b17
feat: /event_auth
2021-06-14 11:36:40 +02:00
Timo Kösters
77a23f8969
improvement: filter our room directory
...
Fixes #35
2021-06-14 11:26:41 +02:00
Timo Kösters
3c9ea55938
feat: /state
2021-06-14 11:01:12 +02:00
Timo Kösters
e8f6708927
improvement: show more users in our user directory
2021-06-12 18:40:33 +02:00
Timo Kösters
cd4bc520d8
improvement: feature flags for sled, rocksdb
2021-06-12 15:13:04 +02:00
hamidreza kalbasi
2078af59d8
fix fmt problems
2021-06-09 22:22:05 +02:00
hamidreza kalbasi
2385bd1cfd
add migrations
2021-06-09 22:22:05 +02:00
hamidreza kalbasi
affa124864
create media folder in init
2021-06-09 22:22:05 +02:00