Commit Graph

11 Commits

Author SHA1 Message Date
Dessalines
d98c936295 Adding web::blocks to routes. 2020-04-21 16:40:03 -04:00
Dessalines
f300c67a4d Adding websocket notification system.
- HTTP and APUB clients can now send live updating messages to websocket
  clients
- Rate limiting now affects both HTTP and websockets
- Rate limiting / Websocket logic is now moved into the API Perform
  functions.
- TODO This broke getting current online users, but that will have to
  wait for the perform trait to be made async.
- Fixes #446
2020-04-19 18:08:25 -04:00
Dessalines
1571a4acd4 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
Felix
bd34b2a083 Use actual structs for nodeinfo 2020-01-19 12:32:02 +01:00
Dessalines
a7a0d35ed3 Fixing nodeinfo endpoint. 2020-01-12 16:57:48 -05:00
Dessalines
aeec25838a Cleaning up nodeinfo. 2020-01-12 12:52:19 -05:00
Dessalines
dff8b947bb Trying to add r2d2 connection pooling to websockets. 2020-01-12 10:31:51 -05:00
Felix
4361f48b98 Make various functions async 2020-01-11 13:50:07 +01:00
Felix Ableitner
d08e09fbdc Apply changes suggested by cargo clippy (fixes #395) 2020-01-02 12:30:00 +01:00
Dessalines
cd9df4455e Adding open_registration to nodeinfo. 2019-12-31 10:44:30 -05:00
Felix Ableitner
80f76f2efd Use actix config to handle routes in seperate folders (#378) 2019-12-31 14:17:24 +01:00