Commit Graph

12 Commits

Author SHA1 Message Date
curlpipe 8bb247af3b
Added support for quarantined subreddits (#219)
* Added support for quarantined subreddits

* Added confirmation wall for quarantined subreddits

* Added quarantine walls to other routes and fixed case issue

* Correct obsolete use of cookie()

* Refactor param() and quarantine()

Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2021-05-16 15:53:39 +00:00
Adrian Lebioda 928907086c
HLS video playback (#182)
* HLS video playback

Signed-off-by: Adrian Lebioda <adrianlebioda@gmail.com>

* Add LibreJS compliance

* Locally host hls.js

* Notification about HLS under videos that support it

Signed-off-by: Adrian Lebioda <adrianlebioda@gmail.com>

* Use .contains() instead of .find() == None

* Make list of preferences constant

* Change headers_keys from Vector into Array

* Fix incorrect detecting of # in paths

* Remove trailing-slash-appending if statement

* Change HLS notification styling

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-05-10 01:25:52 +00:00
spikecodes a18db1e2b7
Properly pass preview queries to media proxy 2021-04-08 22:26:03 -07:00
spikecodes 66ac72beab
Fix clippy errors 2021-03-26 20:00:47 -07:00
spikecodes 0bb1677520
Revert client to HTTP/1.1 2021-03-21 13:56:05 -07:00
spikecodes da4883db29
Upgrade client to HTTP/2 2021-03-21 11:37:03 -07:00
spikecodes dc7e087ed0
Truncate negative scores 2021-03-19 22:04:44 -07:00
spikecodes a81502dde1
Fix wiki routing 2021-03-17 21:40:55 -07:00
spikecodes 0ce2d9054e
Handle non-ASCII post headers 2021-03-17 21:26:06 -07:00
spikecodes 07363e47a9
Request building error handler 2021-03-17 16:53:49 -07:00
spikecodes fb7faf6477
Handle HeaderValue and Uri parsing errors 2021-03-17 16:32:28 -07:00
spikecodes b14b4ff551
Rewrite server and client using Hyper 2021-03-17 15:30:33 -07:00