Commit graph

20 commits

Author SHA1 Message Date
cf9f53e446 Change code for idiomatic Elixir 2021-08-30 22:53:10 +02:00
91a06aff1b Change primary keys for accounts and devices table 2021-08-30 22:36:01 +02:00
072ef27480 Move event generators to seperate modules 2021-08-30 14:12:28 +02:00
2088f0a869 Implement client ban and unban endpoints 2021-08-26 22:09:45 +02:00
bb7c3b07e9 Implement client kick endpoint 2021-08-26 14:32:24 +02:00
ae860a768c Implement client leave endpoint
Add documentation and type specs
2021-08-26 11:01:19 +02:00
bcc6cbb24b Implement client invite endpoint
Refactor room server to automatically determine auth events
Add documentation in various places
2021-08-25 01:27:03 +02:00
6f8c224d50 Implement client joined rooms endpoint
Track which rooms a local account has joined
Add some documentation to modules
2021-08-23 12:59:12 +02:00
e510c3bb6a Implement retrieving a single event over federation
Fix url encoding during homeserver signature check
2021-08-21 11:25:36 +02:00
1881b7f3d6 Add more type checking 2021-08-19 23:42:24 +02:00
4b60a145ca Split Identifier struct into seperate types 2021-08-19 16:31:03 +02:00
58d3e17259 Add dialyzer dependency
Add typespecs to several functions
2021-08-18 23:22:04 +02:00
7b011123f8 Fix prev events not being hashed and signed during room creation. 2021-08-18 19:04:09 +02:00
1781575e75 Calculate and set event id using reference hash 2021-08-18 13:54:18 +02:00
02edff90e7 Add function to query whether server participates in a room
Move from integer timestamps to datetimes
2021-08-16 19:30:47 +02:00
be9860f7d0 Create tesla middleware for adding signature to federation requests
Change repo structure
2021-08-14 15:20:42 +02:00
c5de486dba Handle enacl exceptions during signature checks
Fix usage of undecoded signing key during server authentication
Fix several bugs in profile query endpoint
2021-08-13 17:36:34 +02:00
fb59fee754 Add schemas and functions to query signing keys from servers 2021-08-13 00:45:07 +02:00
33b64d80f5 Add code for verifying homeservers' signatures on API requests 2021-08-08 19:20:10 +02:00
f50f08061c Restructure code base 2021-08-06 23:14:27 +02:00