Commit Graph

62 Commits

Author SHA1 Message Date
spikecodes 4defb58f2a
Optimizations and commenting 2021-05-20 12:24:06 -07:00
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 66ac72beab
Fix clippy errors 2021-03-26 20:00:47 -07:00
spikecodes a81502dde1
Fix wiki routing 2021-03-17 21:40:55 -07:00
spikecodes b14b4ff551
Rewrite server and client using Hyper 2021-03-17 15:30:33 -07:00
spikecodes 4173362ce1
Fix #148 2021-03-11 20:15:26 -08:00
spikecodes 1c36549134
Fix #146 2021-03-09 07:22:17 -08:00
spikecodes bf783c2f3a
Optimize type casting 2021-03-08 18:49:06 -08:00
spikecodes a3ec44149c
Categorize utilities 2021-02-24 21:29:23 -08:00
spikecodes dd67b52199
Fix #126 2021-02-20 18:36:30 -08:00
spikecodes 9cfab348eb
Filter by flair. Closes #124 2021-02-20 13:59:16 -08:00
Spike ebbdd7185f
Move from Actix Web to Tide (#99)
* Initial commit

* Port posts

* Pinpoint Tide Bug

* Revert testing

* Add basic sub support

* Unwrap nested routes

* Front page & sync templates

* Port remaining functions

* Log request errors

* Clean main and settings

* Handle /w/ requests

* Create template() util

* Reduce caching time to 30s

* Fix subscription redirects

* Handle frontpage sorting
2021-02-09 17:38:52 +00:00
Robin 077c222a4e Experiment with caching 2021-01-23 10:48:33 +01:00
spikecodes 078d6fe25b Request about pages before posts 2021-01-15 15:05:55 -08:00
spikecodes dbe617d7eb Switch to awc 2021-01-14 09:53:54 -08:00
spikecodes 0bf5576427 Categorize routes and refactor error handlers 2021-01-13 19:53:52 -08:00
spikecodes 740641cb4e Move nested_val() to user.rs 2021-01-13 15:55:10 -08:00
spikecodes 541c741bde Parse GIFs correctly 2021-01-11 17:47:14 -08:00
spikecodes 91746908a1 Switch to ureq 2021-01-11 10:33:48 -08:00
spikecodes fac56d7f87 Markdown spoilers and post footers on videos 2021-01-08 21:57:36 -08:00
spikecodes ef1ad17234 Unknown path error handling 2021-01-08 21:11:20 -08:00
spikecodes b8cdc605a2 Front page config and settings note 2021-01-08 20:55:40 -08:00
spikecodes b13874d0db Add "hide nsfw" option 2021-01-08 17:35:04 -08:00
spikecodes 7e96bb3d80 Optimize use of Result<> 2021-01-06 21:27:24 -08:00
spikecodes da5c4603d9 Switch from chrono to time-rs 2021-01-05 20:01:21 -08:00
spikecodes aa7b4b2af7 Settings with Layouts 2021-01-05 18:04:49 -08:00
spikecodes c046d00060 Handle Unwrapping Errors 2021-01-03 21:31:21 -08:00
spikecodes 5ea504e6e8 Restrict Proxy to Reddit Domains 2021-01-02 20:50:23 -08:00
spikecodes f49bff9853 Optimize Sequencing 2021-01-02 11:09:26 -08:00
spikecodes 0925a9b334 Add Wiki Pages 2021-01-01 22:21:43 -08:00
spikecodes 2f2ed6169d Optimize use of .unwrap() 2021-01-01 15:28:13 -08:00
spikecodes 59ef30c76d Remove .clone() in favor of borrowing 2021-01-01 12:55:09 -08:00
spikecodes d43b49e7e4 Optimize Rust code with Clippy 2021-01-01 12:33:57 -08:00
spikecodes 39ba50dada Error Page 2020-12-31 21:03:44 -08:00
spikecodes 2d77a91150 Refactor Page Titles and Add Subreddit/User Titles 2020-12-31 20:21:56 -08:00
spikecodes a6dc7ee043 Rewrite + Searching 2020-12-31 15:54:13 -08:00
spikecodes f65ee2eb6a Sort Top by Timeframe 2020-12-29 17:11:47 -08:00
spikecodes 443b198c12 Markdown and Subreddit Sidebars 2020-12-28 18:42:46 -08:00
spikecodes 68495fb280 Add Pages to User Profiles 2020-12-27 12:36:10 -08:00
spikecodes ace21b21d5 Redesign User/Subreddit About Boxes 2020-12-23 22:16:04 -08:00
spikecodes 280e16bd7f Fix Subreddit Icons 2020-12-23 20:36:49 -08:00
spikecodes 11cfbdc3ed More Replies Button 2020-12-21 17:17:40 -08:00
spikecodes 4b7cbb3de2 Fix User Icons 2020-12-21 14:12:53 -08:00
spikecodes 75bc170eba Rewrite URL Dispatch 2020-12-14 16:35:04 -08:00
spikecodes 9a6430656d Added Percent Encoding Support 2020-11-29 18:50:29 -08:00
spikecodes 3902a36ea3 Reorganize Crate References 2020-11-25 13:53:30 -08:00
spikecodes 0f2a3713ef Unify Post Fetching into 1 Function 2020-11-20 22:05:27 -08:00
spikecodes cef3266186 Add Status Codes to Error Pages 2020-11-20 20:43:20 -08:00
spikecodes 1960e8a0fb Error Pages 2020-11-19 20:42:18 -08:00