Commit Graph

777 Commits (804105479c7ae275a79c9fdeeb32e7a20b22fa3b)
 

Author SHA1 Message Date
Rudi Floren 4027cbd01d Fix various clippy errors 3 years ago
Rudi Floren 6309506a48 Allow suspicious_else_formatting
This is probably unfixable because it is caused by macros
3 years ago
Devin Ragotzy 0d55964d24 Run nightly cargo fmt 3 years ago
Devin Ragotzy d0df8b495c Merge remote-tracking branch 'upstream/master' into correct-sendtxn 3 years ago
Devin Ragotzy e239014fa3 Query for the correct server 3 years ago
Timo Kösters 1ce00f90fe
fix: don't accept incoming pdus if we know about them already 3 years ago
Timo Kösters bd6507eafb Merge branch 'valkum-master-patch-25423' into 'master'
Make clippy happy (needless-return, etc.)

See merge request famedly/conduit!23
3 years ago
Rudi Floren 231c6032f4 Make clippy happy (needless-return, etc.) 3 years ago
Timo Kösters eaeba35f3c Merge branch 'valkum/complement' into 'master'
Sync paths with CI pipeline due to dockerignore

See merge request famedly/conduit!24
3 years ago
Timo Kösters 3e274d7d2c Merge branch 'valkum/conduit-update_rocket' into 'master'
update dependencies

See merge request famedly/conduit!32
3 years ago
Timo Kösters 105f893cf3
chore: bump other dependencies to make it work 3 years ago
Timo Kösters a04860b513 Merge branch 'as-fix' into 'master'
fix: apply the same appservice sending rules to events coming from federation

See merge request famedly/conduit!31
3 years ago
Timo Kösters 437cb5783a
fix: apply the same appservice sending rules to events coming from federation
currently this code is duplicated from database/rooms.rs, when we
refactor server_server.rs we should deduplicate it
3 years ago
Rudi Floren f4039902d8 Bump Rocket to current HEAD 3 years ago
Timo Kösters 1a940b6e05 Merge branch 'as-fix' into 'master'
fix: don't always query aliases of appservices

See merge request famedly/conduit!29
3 years ago
Timo Kösters f2ec2be821
fix: don't always query aliases of appservices
only do so if the alias matches the regex in the registration file
3 years ago
Timo Kösters 1a198e7336 Merge branch 'jaeger' into 'master'
feat: opentelemetry/jaeger support

See merge request famedly/conduit!28
3 years ago
Timo Kösters 4155a47db1
feat: opentelemetry/jaeger support 3 years ago
Timo Kösters 066d5b92da Merge branch 'sending' into 'master'
fix: sending code got stuck sometimes

See merge request famedly/conduit!25
3 years ago
Timo Kösters f7713fdf2e
fix: sending code got stuck sometimes 3 years ago
Timo Kösters 566b8ebabb Merge branch 'receipt-and-txnid' into 'master'
/receipt and transaction ids for federated requests

Closes #11

See merge request famedly/conduit!27
3 years ago
Timo Kösters 278751eb23
improvement: use transaction ids for federation requests 3 years ago
Timo Kösters dd68031b69
improvement: implement /receipt 3 years ago
Devin Ragotzy 79c9de98cd Add trusted_servers, filter servers to query keys by trusted_servers 3 years ago
Devin Ragotzy c9f4ff5cf8 Ask multiple servers for keys when not known or sending server failed 3 years ago
Devin Ragotzy f3253f2033 Move comments about Rooms trees to doc comments 3 years ago
Devin Ragotzy 0dd8a15c49 Fix leaves not being replaced by correct eventId in membership
Update ruma
3 years ago
Timo Kösters a9239a4d0b Merge branch 'larodar-master-patch-53953' into 'master'
Chore: Add Issue Template

See merge request famedly/conduit!26
3 years ago
Niklas Zender a601c29c97 Chore: Add Issue Template 3 years ago
Devin Ragotzy 0cc6448dbe Temp disable rust_2018_idioms for CI 3 years ago
Devin Ragotzy 8f283510aa Fix unused import clippy warning 3 years ago
Devin Ragotzy 48601142f8 Use auth_cache to avoid db, save state for every event when joining 3 years ago
Devin Ragotzy 74d530ae0e Address review issues, fix forward extremity calc
Keep track of all prev_events since if we know that an event is a
prev_event it is referenced and does not qualify as a forward extremity.
3 years ago
Devin Ragotzy 591769d5f3 Fiter PDU's before main incoming PDU loop 3 years ago
Devin Ragotzy 64374b4679 Use eventId when saving outliers 3 years ago
Devin Ragotzy e09be2f7ee Add incoming event to the current room state then resolve
All state snapshots that are used in the resolve call are state after
snapshots, they have the event inserted.
3 years ago
Devin Ragotzy 6661de50ab Fix and integrate outlier tree, build forks after adding event to DB 3 years ago
Devin Ragotzy 6fd3e1d1dd Append state event that pass resolution to DB, update to tokio 1.1 3 years ago
Devin Ragotzy e0453e2348 Cleanup dbg prints and error messages 3 years ago
Devin Ragotzy 68f60933e6 Resolved state is set as the current room state on incoming events 3 years ago
Devin Ragotzy 05a4c0b325 Finish forward extremity gathering, use resolved state as new snapshot 3 years ago
Timo Kösters 602edfd849 feature: push rule settings 3 years ago
Devin Ragotzy 88c60605b4 Add ability to update room leaves with multiple eventIds
Tokio seems a bit broken with Rocket...
3 years ago
Devin Ragotzy 66af1ff695 Update ruma and rocket to latest git rev and tokio to 1.0
Ruma updated the event signing validation code and there was a dep
resolving failure with serde rocket and tokio so I updated rocket latest and
tokio 1.0 to fix.
3 years ago
Valkum aa7b6b6e09 Sync paths with CI pipeline due to dockerignore#
As the docker ignore file includes the target dir, content in this dir
is no accessible to the docker daemon.
We circumvent this by providing the build artifact in a dir called
cached_dir
3 years ago
Timo Kösters 835cf80acd
fix: pushers 3 years ago
Devin Ragotzy 7309b2fba9 WIP gather and update forward extremities 3 years ago
Devin Ragotzy 94da569119 Fixing the incoming events algorithm (review with time) 3 years ago
Devin Ragotzy db0aee3318 Use the auth_events for step 6, WIP forward_extremity_ids fn 3 years ago
Devin Ragotzy 4b2eb5ab82 Fix ALL clippy warnings 3 years ago