timokoesters
8328eeb5ac
Make sytest not fail
6 years ago
timokoesters
b192fddf2f
fix: show device display names
6 years ago
timokoesters
325e373684
refactor: small changes
6 years ago
timokoesters
19c9e4b916
fix: room version 6
6 years ago
gnieto
ed9b544ace
Implement devices API ( #20 )
...
small improvements
Cargo fmt
Simplify insert and update methods
Review feedback
Remove has_device method calls
Load all devices with a single db call
Remove device as in logout
Put all metadata on the same tree
Create userdevice key fucntion
Implement devices API
Implement all the devices endpoints. There's a couple of pending tasks:
- Integrate the "logout" logic once it lands to master (this should
remove the given device from the database).
- Track and store last seen timestamp and IP.
Co-authored-by: timokoesters <timo@koesters.xyz>
Co-authored-by: Guillem Nieto <gnieto.talo@gmail.com>
6 years ago
Jean-Baptiste Petit
1222289c75
get_state_events_for_key_route return the content of the requested event instead of the all event.
6 years ago
timokoesters
5a47c75427
fix: make redactions permanent
6 years ago
timokoesters
b519bc6962
fix: only show notifications for messages
6 years ago
timokoesters
4e507ef706
feat: room visibility and aliases
6 years ago
timokoesters
9c26e22ad7
improvement: load aliases from database
6 years ago
timokoesters
18bf67748c
feat: redaction
6 years ago
timokoesters
ca77c79222
fix: /register lowercases user ids
...
fixes #24
6 years ago
Guillem Nieto
4b3b562347
Get device_id from body instead of auth data
...
Device_id was retrieved from the auth data instead of login's body and
this was causing that a new device was created on every login.
This is (I guess) provoking that some sytests are failing (for example,
"POST /login returns the same device_id as that in the request").
6 years ago
timokoesters
58683585cc
improvement: show more info in public rooms list
6 years ago
timokoesters
b6c0e9bfb2
feat: access control
6 years ago
timokoesters
c8ba9dce01
feat: proper room creation
6 years ago
josias
b106d1393b
Add logout route and database methods ( #21 )
...
Condense keys
Move remove methods to remove_device
Code cleanup
Add method for removing todevice events
Remove unnecessary existence checks
Add logout route and database methods
Co-authored-by: Josias <justjosias@tutanota.com>
6 years ago
timokoesters
1014388a9c
fix: one time keys are never removed
6 years ago
timokoesters
d95e8b4880
fix: problem with to-device for all devices
6 years ago
timokoesters
43478a5870
fix: send correct membership events when joining / creating rooms
6 years ago
timokoesters
8df2a1a072
improvement: add room topic to public room dir
6 years ago
timokoesters
e0fccffde0
fix: changing avatar url now sends room events
6 years ago
timokoesters
d544d28b6e
feat: image thumbnails
6 years ago
timokoesters
61f4f2c716
improvement: implement GET publicRooms
6 years ago
timokoesters
821c608c6a
feat: media
6 years ago
timokoesters
42ae433b25
fix: send devicekeyupdate users in /sync
6 years ago
timokoesters
f0aed35ecf
improvement: user dir search also searches in displaynames
6 years ago
timokoesters
56dd6cb16f
improvement: get state
6 years ago
timokoesters
6215218c3c
fix: account data json
6 years ago
timokoesters
7fc71b3968
feat: end to end encryption
6 years ago
timokoesters
4fb79ebb4c
chore: update dependencies
6 years ago
timokoesters
d08f91d1c3
fix: only allow valid usernames in /register
6 years ago
Rudi Floren
00a9424719
feat: sytests
6 years ago
timokoesters
8e041f90dd
refactor: make cargo clippy happier
6 years ago
timokoesters
1dbde0e1c1
improvement: add option to get device id from token
6 years ago
timokoesters
ee0d6940bd
feat: presence updates
6 years ago
timokoesters
551308e9a8
Update dependencies and send displayname updates again
6 years ago
timokoesters
8f67c01efd
refactor: split database into multiple files, more error handling, cleaner code
6 years ago
timokoesters
4b191a9311
improvement: set default push rules on register
6 years ago
Marcel
4bc7712ee4
[ClientServer] Add /_matrix/client/r0/register/available endpoint
...
Took 1 hour 25 minutes
6 years ago
timokoesters
4ca1ada73e
update ruma
6 years ago
timokoesters
b02c568941
feat: notifications, simple permission systems
6 years ago
timokoesters
169dbe6c37
fix: send full state after joining a room
6 years ago
timokoesters
c769283953
Update readme
6 years ago
timokoesters
fd1aea7e36
Update dependencies
6 years ago
timokoesters
23cb550d00
forget rooms, load history
6 years ago
timokoesters
4cc0a07092
feat: user renaming
6 years ago
timokoesters
720cc0cffc
feat: federated room directory
6 years ago
timokoesters
120b6f4b95
Bump dependencies and fixes
6 years ago
timokoesters
873d191569
fix: http body as content when signing
6 years ago