Commit graph

377 commits

Author SHA1 Message Date
Dessalines 88e1251d6b Version v0.6.56 2020-05-03 17:27:25 -04:00
Dessalines 2f7a4ecdb2 Updating Cargo deps. Fixes #666 2020-05-03 17:25:55 -04:00
pfcoder 6d73b16716 fix shell quotation error of server db-init.sh 2020-05-01 21:58:52 +08:00
Dessalines 66134823bf Version v0.6.55 2020-04-27 09:07:31 -04:00
Dessalines 92e4edf9b7 Version v0.6.54 2020-04-26 10:57:27 -04:00
Dessalines c22090c602 Version v0.6.53 2020-04-22 00:30:43 -04:00
Dessalines 313d023eef Changing wait to spawn in websocket. 2020-04-22 00:29:25 -04:00
Dessalines b2a89cd217 Version v0.6.52 2020-04-21 20:43:38 -04:00
Dessalines 6b58080067 Adding websocket blocking. 2020-04-21 17:57:20 -04:00
Dessalines 809cc1049e Fixing closures. 2020-04-21 16:48:54 -04:00
Dessalines 01b7ac5fb9 Merge branch 'master' into routes_web_block 2020-04-21 16:41:07 -04:00
Dessalines d98c936295 Adding web::blocks to routes. 2020-04-21 16:40:03 -04:00
Dessalines b98fa12741 Version v0.6.51 2020-04-20 15:40:56 -04:00
Dessalines 217a9b00b8 Merge branch 'abstract_websocket_sends' 2020-04-20 15:39:34 -04:00
Dessalines c0f4d5260f Merge branch 'asonix-abstract_websocket_sends' into abstract_websocket_sends 2020-04-20 15:03:32 -04:00
Dessalines 0d4679a37b Making websocket create community do register rate limit. 2020-04-20 14:55:37 -04:00
asonix 05b961a90a Remove unused methods 2020-04-20 13:09:10 -05:00
asonix d11af012fc post -> register 2020-04-20 13:05:07 -05:00
asonix d058db95e5 Use get_ip in ratelimit middleware 2020-04-20 13:02:25 -05:00
asonix 4df2031ae0 Give ratelimit fields explicit names 2020-04-20 12:51:42 -05:00
asonix 904ebf34a5 Guard CreateCommunity, represent impossible error with Infallible 2020-04-20 12:31:22 -05:00
asonix db4454b52b Add websockets into the api scope 2020-04-20 10:25:47 -05:00
Dessalines c18fa5a38e Changing warn to debug for rate limiting message. 2020-04-20 10:45:14 -04:00
asonix 217efdd706 Allow rustfmt on api config 2020-04-19 23:47:20 -05:00
asonix 4712ae4eb0 appease clippy 2020-04-19 23:43:30 -05:00
asonix ac43b86b60 Change RateLimit to act as a middleware 2020-04-19 22:59:07 -05: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
charleshthomasiii 09836bffef Add apache benchmark installation check 2020-04-15 13:52:46 -04:00
Dessalines be6a7876b4 Version v0.6.50 2020-04-14 19:38:20 -04:00
Dessalines 6d5518cbd4 Merge branch 'dev' into admin_settings 2020-04-14 10:54:04 -04:00
Dessalines 8192f69584 Version v0.6.49 2020-04-12 14:57:37 -04:00
Dessalines a26bff6921 Version v0.6.48 2020-04-12 14:08:02 -04:00
Dessalines c92201a674 Removing redundant to_owned 2020-04-11 14:10:33 -04:00
Dessalines 61815bce2e 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 bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
2020-04-10 16:55:57 -04:00
Dessalines cb49a7e790 Version v0.6.45 2020-04-03 14:44:30 -04:00
Dessalines a006f498b1 Merge branch 'nutomic-auto-setup' into dev 2020-03-31 16:29:57 -04:00
Felix 76bf71162e Automatic instance setup based on config variables (fixes #404) 2020-03-29 00:13:13 +01:00
Dessalines 1571a4acd4 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
Felix bafc2fc7ac Convert md to html for feeds, try to deduplicate code 2020-03-28 16:56:20 +01:00
Dessalines ac6dc65342 Version v0.6.44 2020-03-24 10:47:38 -04:00
Dessalines ef9ae09c2b Version v0.6.43 2020-03-21 10:38:42 -04:00
Dessalines da36f1dacc Version v0.6.42 2020-03-20 19:33:11 -04:00
Dessalines 807f33f748 Version v0.6.41 2020-03-19 12:17:26 -04:00
Dessalines 10b0667764 Version v0.6.40 2020-03-19 00:53:34 -04:00
Dessalines d2cf36bf02 Updating chttp to isahc. 2020-03-18 23:11:37 -04:00
Dessalines dc14719b08 Updating rust, rust deps, yarn deps. Fixes #605 2020-03-18 22:30:16 -04:00
Dessalines 62ab68d317 Adding full logging. 2020-03-13 11:08:42 -04:00
Felix Ableitner ef6df1339f Proper error logging for websocket 2020-03-12 12:03:04 +01:00
Dessalines 62679090a3 Version v0.6.39 2020-03-09 23:26:15 -04:00