Commit Graph

50 Commits

Author SHA1 Message Date
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
spikecodes
7a176c6804 Add pages to subreddits 2020-11-19 13:49:32 -08:00
spikecodes
0054557c86 Make a request() utility 2020-11-18 18:50:59 -08:00
spikecodes
f455e2095d Use std::fs over actix-files 2020-11-18 16:31:46 -08:00
spikecodes
05ea0fe1fd Fixed Sorting 2020-11-17 16:03:28 -08:00
spikecodes
2c06ae1d8f Create utils.rs for Utilities 2020-11-17 11:37:40 -08:00
spikecodes
4350d5b7b3 Update Dependencies 2020-11-16 20:36:36 -08:00
spikecodes
6853d21ea9 1.1.2 Flairs 2020-11-16 18:49:08 -08:00
spikecodes
c5b64e2168 Rustfmt Code Format 2020-10-25 20:57:19 -07:00
spikecodes
1b5a3a59c0 Add Markdown Table Support 2020-10-25 19:55:00 -07:00
spikecodes
a1e6f95151 Switch Pages to UTF-8 2020-10-25 19:05:09 -07:00
spikecodes
bfc05adbce Escape HTML Text 2020-10-25 17:52:57 -07:00
spikecodes
9bd1b247bd Actix Rewrite 2020-10-25 13:25:59 -07:00