Commit graph

846 commits

Author SHA1 Message Date
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
318d9c1a35 revert docker-compose.yml file 2021-07-09 14:43:04 +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
494585267a remove rjbench 2021-07-07 20:43:30 +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
9df86c2c1e lock update 2021-07-03 21:30:40 +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
787e18b2a4 Merge branch 'jfowl-master-patch-57056' into 'master'
Fix: Nightly release tag name should not be a branch name

See merge request famedly/conduit!112
2021-07-02 15:18:26 +00:00
Jonas Zohren
fcc30f059e Fix: Nightly release tag name should not be a branch name
According to tulir this breaks the GitLab Matrix bot, and nightly is a better match anyway
2021-07-02 14:58:00 +00:00
Timo Kösters
f1a2aa3a94 Merge branch 'jfowl-master-patch-97252' into 'master'
Publish master builds as nightly releases & also build debs

See merge request famedly/conduit!111
2021-07-02 12:26:27 +00:00
Jonas Zohren
a7cb1c999a Publish master builds as nightly releases & also build debs 2021-07-02 12:26:26 +00: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
Devin Ragotzy
c30cc50a0b Switch ruma to a commit from next 2021-07-02 06:40:40 -04:00
Timo Kösters
5f6b0c673c Merge branch 'feature/proxy' into 'master'
add support for arbitrary proxies

See merge request famedly/conduit!54
2021-07-01 19:46:18 +00:00
Aiden McClelland
c53cc03ff8
address pr comments 2021-07-01 13:38:25 -06:00
Timo Kösters
af903ceac3 Merge branch 'ci-build-artifacts-1' into 'master'
Generate binaries for 3 architectures in the CI

See merge request famedly/conduit!94
2021-07-01 19:06:40 +00: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
cc9111059d Merge branch 'search-impovements' into 'master'
improvement: /search works for multiple rooms

See merge request famedly/conduit!106
2021-06-30 08:32:55 +00: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
Timo Kösters
1a70ea5702 Merge branch 'upgrade-deps' into 'master'
Upgrade Ruma

See merge request famedly/conduit!104
2021-06-21 10:14:12 +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