Commit Graph

90 Commits

Author SHA1 Message Date
spikecodes
66ac72beab
Fix clippy errors 2021-03-26 20:00:47 -07:00
spikecodes
772d20615b
Sidebar about page. Closes #162 2021-03-21 19:28:05 -07:00
spikecodes
4c66e75f6b
Add HSTS command line flag 2021-03-20 22:10:31 -07:00
spikecodes
966e0ce921
Expand truncated numbers on mouseover. Close #156 2021-03-20 15:42:47 -07:00
spikecodes
dc7e087ed0
Truncate negative scores 2021-03-19 22:04:44 -07:00
spikecodes
467342edf4
Patch broken homepage sorting 2021-03-18 08:51:31 -07:00
spikecodes
a81502dde1
Fix wiki routing 2021-03-17 21:40:55 -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
spikecodes
b2ae5e486f
Rename subreddit::page to subreddit::community 2021-03-10 21:43:06 -08:00
spikecodes
e59b2b1346
Custom HTTP client with Rustls 2021-03-09 22:13:46 -08:00
spikecodes
5fb88d4744
Allow certain clippy lints 2021-03-08 19:22:10 -08:00
spikecodes
bf783c2f3a
Optimize type casting 2021-03-08 18:49:06 -08:00
spikecodes
10873dd0c6
Fix #144 2021-03-05 06:24:40 -08:00
spikecodes
20f6945160
Fix #140 2021-02-27 13:34:02 -08:00
spikecodes
10c73fad7f
Switch favicon to ico 2021-02-26 12:04:11 -08:00
spikecodes
5d643277bc
Geometric logo 2021-02-25 09:07:45 -08:00
spikecodes
47d01a0dca
Fix logging 2021-02-24 11:00:04 -08:00
spikecodes
4a06882dc8
Simplify routes in main.rs 2021-02-24 09:26:01 -08:00
spikecodes
518d5753a7
Handle about pages 2021-02-21 10:13:20 -08:00
spikecodes
dd67b52199
Fix #126 2021-02-20 18:36:30 -08:00
spikecodes
2091f26bda
Fix media previews 2021-02-19 21:49:02 -08:00
spikecodes
b3341b49c0
Individually proxy subreddit and user icons 2021-02-19 21:46:44 -08:00
spikecodes
65e4ceff7b
Individually proxy previews 2021-02-19 20:50:55 -08:00
spikecodes
902c9a6e42
Individually proxy custom emojis 2021-02-19 18:18:09 -08:00
spikecodes
c586de66ba
Individually proxy images and thumbnails 2021-02-19 12:55:07 -08:00
spikecodes
8560e8a37a
Add "port" command line argument 2021-02-18 11:49:50 -08:00
spikecodes
3652342f46
Use clap for arg parsing 2021-02-18 11:40:10 -08:00
spikecodes
58127b17d8
Individually proxy videos 2021-02-18 10:04:59 -08:00
spikecodes
aa7c8c85df
Templatize redirects 2021-02-13 15:02:38 -08:00
robrobinbin
93cfc713c6
Generate URL to restore settings, including subscriptions. Closes #89 (#116)
* Start recursive comments

* Update comment.html

* Fix move error

* Comment improvements

* Fix merge

* Remove extra endif from post.html

* Fix post.html

* Restore setting from link

* Tweak settings page

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-02-13 20:55:23 +00:00
robrobinbin
809be42e01
Add "View all comments" and "Show parent comments" buttons when viewing a single thread. Closes #65 (#115)
* Start recursive comments

* Update comment.html

* Fix move error

* Comment improvements

* Fix merge

* Remove extra endif from post.html

* Fix post.html

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-02-12 09:16:59 -08:00
spikecodes
6feb347c27
Fix post ID parsing 2021-02-09 12:08:38 -08:00
spikecodes
e731cfbac4
Support post links without titles 2021-02-09 10:11:39 -08:00
spikecodes
008924fff8
Fix listen address 2021-02-09 09:54:13 -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
spikecodes
ac5ef89dff
Fix gallery unwrapping 2021-02-07 17:33:54 -08:00
Spike
8a27b2bac8
Support /w/ for Wikis 2021-02-02 08:59:50 -08:00
JPyke3
e837d84105
Add Support for iOS "Add to Homescreen"
* Adds basic Manifest.json
 * Adds Meta Tags for iOS
 * Adds Meta Tags for Android
 * Adds Logo for Manifest.json
 * Adds iOS Logo for homescreen
2021-02-01 11:10:53 +01:00
spikecodes
bfcc4c985d
Fix subreddit sorting and media 2021-01-30 21:46:35 -08:00
spikecodes
269bb0bfb6
Convert subscription requests to POST 2021-01-30 21:21:46 -08:00
spikecodes
21d96e261f
Set subscriptions as default front page 2021-01-30 20:18:57 -08:00
Matthew Crossman
449899962a
Change subscription to get. Add subs to settings. 2021-01-30 22:27:49 +11:00
Matthew Crossman
11e4ff42ed
Clean-up and more consistent styles. 2021-01-30 19:33:38 +11:00
Matthew Crossman
c71df35b22
Add basic unsubscribe. 2021-01-30 18:18:53 +11:00
Matthew Crossman
345308a9ac
Basic subscribe functionality. 2021-01-30 18:00:00 +11:00
spikecodes
49a6168607 Improve CSP 2021-01-29 14:39:03 -08:00
spikecodes
f55ea5a353 Specify default headers for security 2021-01-28 21:53:10 -08:00
spikecodes
dea7f33910 Add code optimizations 2021-01-20 17:38:34 -08:00
spikecodes
138f8320e9 Create media struct 2021-01-17 12:58:12 -08:00