313d023eef
Changing wait to spawn in websocket.
2020-04-22 00:29:25 -04:00
d98c936295
Adding web::blocks to routes.
2020-04-21 16:40:03 -04:00
d058db95e5
Use get_ip in ratelimit middleware
2020-04-20 13:02:25 -05:00
904ebf34a5
Guard CreateCommunity, represent impossible error with Infallible
2020-04-20 12:31:22 -05:00
db4454b52b
Add websockets into the api scope
2020-04-20 10:25:47 -05:00
ac43b86b60
Change RateLimit to act as a middleware
2020-04-19 22:59:07 -05:00
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
62ab68d317
Adding full logging.
2020-03-13 11:08:42 -04:00
81c6d276d5
Fix issue with adding multiple instances of chatserver.
2020-01-15 22:01:14 -05:00
8f32b84b5a
A first pass at using materialized views.
2020-01-13 20:02:02 -05:00
dff8b947bb
Trying to add r2d2 connection pooling to websockets.
2020-01-12 10:31:51 -05:00
d8c84e2541
Upgrade actix to 2.0 ( fixes #392 )
2020-01-10 23:41:08 +01:00
d08e09fbdc
Apply changes suggested by cargo clippy ( fixes #395 )
2020-01-02 12:30:00 +01:00
80f76f2efd
Use actix config to handle routes in seperate folders ( #378 )
2019-12-31 14:17:24 +01:00