Commit Graph

24 Commits

Author SHA1 Message Date
892b0e89c8 Cargo fmt 2024-05-29 19:15:54 -04:00
a64e2143f3 Fix Display impl, resolving clippy 2024-05-29 18:51:20 -04:00
6b11d936b3 Fix clippys 2024-05-29 18:44:19 -04:00
9f9ae45f6e Add many Clippy's, fix many Clippy's 2024-01-19 20:16:17 -05:00
53e8811f32 Remove all stats tracking (fixes #7) 2023-12-30 10:22:49 -05:00
9850109326 Minor stylistic changes 2023-12-28 12:42:06 -05:00
c5d11f220e Fix clippy warnings 2023-12-26 18:27:25 -05:00
b0f985c687 Libreddit -> Redlib 2023-12-26 18:25:52 -05:00
3e3c30d7f1 Update cookie + changes 2023-12-26 16:24:53 -05:00
5f562876f4 Make stats collection opt-out 2023-06-09 17:26:23 -04:00
de68409610 Add request stats to instance info page 2023-05-31 19:39:44 -04:00
f465394f93 Address fmt + clippy 2023-03-25 16:32:42 -04:00
5d518cfc18 Cache result of server::determine_compressor. 2022-12-04 17:56:02 -07:00
ae3ea2da7c HTTP compression (Reddit -> Libreddit -> client) (#612)
Implements HTTP compression, between both Reddit and Libreddit and Libreddit
and a web browser. Compression between Reddit and Libreddit is mandatory,
whereas compression between Libreddit and a client is opt-in (client must
specify a compressor in the Accept-Encoding header).

Supported compressors are gzip and brotli. gzip support is ubiquitous,
whereas brotli is supported by almost all modern browsers except Safari
(iOS, iPhone, macOS), although Safari may support brotli in the future.

Co-authored-by: Matthew E <matt@matthew.science>
2022-11-03 22:04:34 -06:00
f5cd48b07f Fix #514 2022-05-21 21:06:03 -07:00
0708fdfb37 Cover more Reddit domains with libreddit link rewrites 2021-12-29 11:38:35 -08:00
6a4191f3b5 Fix #272 2021-09-09 17:28:55 -07:00
d2002c9027 Disable dysfunctional moderator list feature 2021-06-11 11:03:36 -07:00
4defb58f2a Optimizations and commenting 2021-05-20 12:24:06 -07:00
f0f484288e Fix server.rs function name 2021-03-31 13:03:44 -07:00
66ac72beab Fix clippy errors 2021-03-26 20:00:47 -07:00
4c66e75f6b Add HSTS command line flag 2021-03-20 22:10:31 -07:00
fb7faf6477 Handle HeaderValue and Uri parsing errors 2021-03-17 16:32:28 -07:00
b14b4ff551 Rewrite server and client using Hyper 2021-03-17 15:30:33 -07:00