Devin Ragotzy
da1c53aaef
Make State struct constructable by lib user
5 years ago
Guillem Nieto
b575593647
Do not ignore db errors
5 years ago
Guillem Nieto
47abe6686e
Send invites only if invited during the sync request
...
Fixes: https://git.koesters.xyz/timo/conduit/issues/175
5 years ago
timokoesters
98f37302a6
feat: handle /publicRooms pagination
5 years ago
timokoesters
0616acbde6
feat: handle inhibit_login in /register
5 years ago
timokoesters
c1c62b7eb4
refactor: put endpoints into modules
5 years ago
Devin Ragotzy
7a70d8488f
Rebase with master and update append_pdu call
5 years ago
Devin Ragotzy
c8d7d80eb2
Fix start/end token swap left from dropped commits
5 years ago
Devin Ragotzy
99220565d4
Fix invite leave auth error by moving update_membership
5 years ago
Devin Ragotzy
25c0e75f29
Cargo fmt
5 years ago
Devin Ragotzy
8aac332b3a
Move ignore invite logic into update_member
5 years ago
Devin Ragotzy
f2fab27d81
Implement filtering invites if sender is ignored by receiver
5 years ago
timokoesters
52b1df6fd2
improvement: handle limit and set limited in /user_directory/search
5 years ago
timokoesters
ce460ea159
fix: send device list updates when user is in no rooms
5 years ago
timokoesters
b67372b11b
refactor: make all mods in database pub
...
Now they can easily export their own structs
5 years ago
Devin Ragotzy
d948f896c0
Turn append_pdu args into struct PduBuilder
5 years ago
Devin Ragotzy
1c6f211933
Create media::FileMeta to represent a file and meta data
5 years ago
Devin Ragotzy
2da48b941d
Convert all map_err -> expect when deserializing to Raw
5 years ago
Devin Ragotzy
62df9ca580
Fix all clippy warnings, shorten line len in client_server
5 years ago
timokoesters
e0d0fb4703
fix: only send device_one_time_keys_count when there are updates
5 years ago
timokoesters
66bc25fcd3
feat: implement /keys/changes
5 years ago
timokoesters
0693387769
improvement: more efficient /sync and only send device updates when sharing a room
5 years ago
timokoesters
d891bbb5dc
improve: presence
5 years ago
timokoesters
05f9d927b8
fix: account data
5 years ago
timokoesters
21eb8d4fe3
fix: problems with pdu serialization
5 years ago
timokoesters
dd3dab39ae
feat: whoami route
5 years ago
timokoesters
489cbc0a93
refactor: use <_> instead of <_parameter_name>
5 years ago
gnieto
cc411c530b
Fix custom account data serialization ( #165 )
...
Stylistic change
Fix custom data serialization
Build a custom event before storing global account data
Co-authored-by: Guillem Nieto <gnieto.talo@gmail.com>
Reviewed-on: https://git.koesters.xyz/timo/conduit/pulls/165
Reviewed-by: Timo Kösters <timo@koesters.xyz>
5 years ago
Devin Ragotzy
e6a1b0b66f
Add cfg_attr gate to server_server endpoints
6 years ago
Devin Ragotzy
42e0102a2a
Conditionally emit rocket::http_verb attr macros if lib/bin
6 years ago
CapsizeGlimmer
4d4969862a
Implement /rooms/<room_id>/joined_members
6 years ago
CapsizeGlimmer
8fcf8e20b8
fix MR 153 requests; cargo fmt
6 years ago
CapsizeGlimmer
fa2da9e048
Implement max_request_size config option
6 years ago
timokoesters
808a7deae3
cargo fmt
6 years ago
timokoesters
dc5fb7e33a
feat: encryption_disabled config option
...
Can be used with ROCKET_ENCRYPTION_DISABLED=true
6 years ago
gnieto
5a8705bd25
Add room tags ( #140 )
...
Merge branch 'master' into task/add-tags
Add room tagging support
Co-authored-by: Timo Kösters <timo@koesters.xyz>
Co-authored-by: Guillem Nieto <gnieto.talo@gmail.com>
Reviewed-on: https://git.koesters.xyz/timo/conduit/pulls/140
Reviewed-by: Timo Kösters <timo@koesters.xyz>
6 years ago
timokoesters
b7df8fe83c
fix: stop /messages at `to`
...
Fixes #150
6 years ago
Jonas Platte
09561ccea3
Upgrade ruma
6 years ago
timokoesters
16576d19cd
improvement: only remove to-device events when sure the client received them
...
To make this work, I had to remove the recommended limit of 100
to-device events per /sync
(https://matrix.org/docs/spec/client_server/latest#id72 )
6 years ago
Devin Ragotzy
87fd432527
Refactor account_data to be more similar to other endpoints
6 years ago
Devin Ragotzy
60381ddcf4
Update to latest ruma/master rev
6 years ago
aura
630196f0a3
Implement get_joined_rooms ( #155 )
...
whitelist /joined_rooms in sytest
Signed-off-by: Aurabindo Pillai <mail@aurabindo.in>
style: fmt
feat: implement /joined_rooms (#78 )
Signed-off-by: Aurabindo Pillai <mail@aurabindo.in>
Co-authored-by: Aurabindo Pillai <mail@aurabindo.in>
Co-authored-by: timokoesters <timo@koesters.xyz>
Reviewed-on: https://git.koesters.xyz/timo/conduit/pulls/155
Reviewed-by: Timo Kösters <timo@koesters.xyz>
6 years ago
timokoesters
d8e1248df6
improvement: switch to stable rust
6 years ago
Devin R
84d47da392
Simplify deserialization and deconstruction for Responses
6 years ago
Devin R
33bc666859
Use sync ephemeral events in sync Resposne (remove room_id)
...
Bump ruma to latest master which also fixes some server name as String
to now being of type Box<ServerName>.
6 years ago
Devin R
9a993fa7c1
Convert Pdu to a validated ruma type when calling to_*_event
6 years ago
Devin R
75959cdc10
Resolve stying review issues
6 years ago
Devin R
029c60be78
Replace to_string into_boxed_str with into
6 years ago
Devin R
d02685a4fd
Update to latest ruma/ruma commit
...
This will most likely be the API that is released to crates.io so it
should be fairly stable...
6 years ago
Devin R
63e23154f3
Rebase with key backups and cross signing
...
Moved back to a fork of ruma with timo's key-backup and cross-signing
branch. Ephemeral events in sync responses are EphemeralRoomEventStub
(they also have no room_id like all of sync responses events)
6 years ago