Commit graph

373 commits

Author SHA1 Message Date
Dessalines
7830e17ccd Version v0.6.54 2020-04-26 10:57:27 -04:00
Dessalines
bf63825bdc Version v0.6.53 2020-04-22 00:30:43 -04:00
Dessalines
d463b52eae Changing wait to spawn in websocket. 2020-04-22 00:29:25 -04:00
Dessalines
dc6f6f98ff Version v0.6.52 2020-04-21 20:43:38 -04:00
Dessalines
14fb5f57c4 Adding websocket blocking. 2020-04-21 17:57:20 -04:00
Dessalines
3f6a4096f8 Fixing closures. 2020-04-21 16:48:54 -04:00
Dessalines
381e3f0757 Merge branch 'master' into routes_web_block 2020-04-21 16:41:07 -04:00
Dessalines
7f3db52516 Adding web::blocks to routes. 2020-04-21 16:40:03 -04:00
Dessalines
eeca08070c Version v0.6.51 2020-04-20 15:40:56 -04:00
Dessalines
d0c38b0927 Merge branch 'abstract_websocket_sends' 2020-04-20 15:39:34 -04:00
Dessalines
ac03cfe2a1 Merge branch 'asonix-abstract_websocket_sends' into abstract_websocket_sends 2020-04-20 15:03:32 -04:00
Dessalines
8050f97379 Making websocket create community do register rate limit. 2020-04-20 14:55:37 -04:00
7fa97614f8 Remove unused methods 2020-04-20 13:09:10 -05:00
63f4283017 post -> register 2020-04-20 13:05:07 -05:00
63b2bde448 Use get_ip in ratelimit middleware 2020-04-20 13:02:25 -05:00
e66b07b96c Give ratelimit fields explicit names 2020-04-20 12:51:42 -05:00
98f90d6800 Guard CreateCommunity, represent impossible error with Infallible 2020-04-20 12:31:22 -05:00
0e0ea559f0 Add websockets into the api scope 2020-04-20 10:25:47 -05:00
Dessalines
b283faf22d Changing warn to debug for rate limiting message. 2020-04-20 10:45:14 -04:00
3b49acda16 Allow rustfmt on api config 2020-04-19 23:47:20 -05:00
2a0f170d58 appease clippy 2020-04-19 23:43:30 -05:00
b55e9c08df Change RateLimit to act as a middleware 2020-04-19 22:59:07 -05:00
Dessalines
6f14f0756b 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
charleshthomasiii
f5f8d2d7be Add apache benchmark installation check 2020-04-15 13:52:46 -04:00
Dessalines
e876f1b17d Version v0.6.50 2020-04-14 19:38:20 -04:00
Dessalines
5e9475c6ef Merge branch 'dev' into admin_settings 2020-04-14 10:54:04 -04:00
Dessalines
ec5471aaec Version v0.6.49 2020-04-12 14:57:37 -04:00
Dessalines
9b329d42f7 Version v0.6.48 2020-04-12 14:08:02 -04:00
Dessalines
d9d52d7d06 Removing redundant to_owned 2020-04-11 14:10:33 -04:00
Dessalines
938c61b94f Adding live reloading of config.hjson changes through UI.
- https://stackoverflow.com/questions/61159698/update-re-initialize-a-var-defined-in-lazy-static/61161271#61161271
- https://stackoverflow.com/questions/29654927/how-do-i-assign-a-string-to-a-mutable-static-variable/47181804#47181804
2020-04-11 14:06:04 -04:00
Dessalines
0a6da1109d Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
2020-04-10 16:55:57 -04:00
Dessalines
37036e68b5 Version v0.6.45 2020-04-03 14:44:30 -04:00
Dessalines
f907420ec5 Merge branch 'nutomic-auto-setup' into dev 2020-03-31 16:29:57 -04:00
c12fd12d9c Automatic instance setup based on config variables (fixes #404) 2020-03-29 00:13:13 +01:00
Dessalines
b0affad981 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
0090ae63e5 Convert md to html for feeds, try to deduplicate code 2020-03-28 16:56:20 +01:00
Dessalines
844b31a507 Version v0.6.44 2020-03-24 10:47:38 -04:00
Dessalines
52b062720f Version v0.6.43 2020-03-21 10:38:42 -04:00
Dessalines
df1445f0e4 Version v0.6.42 2020-03-20 19:33:11 -04:00
Dessalines
b13febd34a Version v0.6.41 2020-03-19 12:17:26 -04:00
Dessalines
b797c2b3ae Version v0.6.40 2020-03-19 00:53:34 -04:00
Dessalines
72a50aae07 Updating chttp to isahc. 2020-03-18 23:11:37 -04:00
Dessalines
43b954c5af Updating rust, rust deps, yarn deps. Fixes #605 2020-03-18 22:30:16 -04:00
Dessalines
902676a9f8 Adding full logging. 2020-03-13 11:08:42 -04:00
2aa3353b98 Proper error logging for websocket 2020-03-12 12:03:04 +01:00
Dessalines
c8e19fa7bf Version v0.6.39 2020-03-09 23:26:15 -04:00
Dessalines
d932aaa27f Version v0.6.38 2020-03-09 23:24:06 -04:00
Dessalines
760bf3c77f Version v0.6.37 2020-03-09 23:22:24 -04:00
Dessalines
73cd755788 Version v0.6.36 2020-03-09 23:21:24 -04:00
Dessalines
3c578d8420 Version v0.6.35 2020-03-09 23:20:13 -04:00