Commit graph

13 commits

Author SHA1 Message Date
db4454b52b Add websockets into the api scope 2020-04-20 10:25:47 -05:00
217efdd706 Allow rustfmt on api config 2020-04-19 23:47:20 -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
bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
2020-04-10 16:55:57 -04:00
96a7e99e57 Removing PostLikeResponse in favor of PostResponse. Consolidating comment and post_sends. 2020-02-02 12:45:41 -05:00
2f21071606 api fixes 2020-01-23 15:22:17 +01:00
cde4a8a977 rewrite api endpoint urls 2020-01-18 14:26:05 +01:00
643189160e fix typo 2020-01-18 14:26:05 +01:00
2c55292544 fix formatting 2020-01-18 14:26:05 +01:00
f1035dacc2 working! 2020-01-18 14:26:04 +01:00
19afdf993e try to simplify code with higher order functions 2020-01-18 14:23:44 +01:00
1e60e1e351 Implement HTTP API using generics (fixes #380) 2020-01-18 14:23:43 +01:00