spikecodes
34ea679519
Update crates and optimize parameters
2021-11-14 18:51:36 -08:00
mikupls
0f7ba3c61d
Add "open in reddit" button to all pages ( #304 )
...
* Pass the url parameter to all templates. Add a reddit_link to the navbar, which opens the current url on reddit.
* Add icon for reddit link
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-15 02:39:33 +00:00
spikecodes
4defb58f2a
Optimizations and commenting
2021-05-20 12:24:06 -07:00
spikecodes
43ed9756dc
Upgrade to v0.14
2021-05-16 09:11:38 -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
spikecodes
e4f9bd7b8d
Configure default settings using environment variables
2021-05-15 13:59:42 -07: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
6a7f725c12
Default subreddit post sorting. Closes #166
2021-03-25 21:41:58 -07:00
spikecodes
966e0ce921
Expand truncated numbers on mouseover. Close #156
2021-03-20 15:42:47 -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
4a06882dc8
Simplify routes in main.rs
2021-02-24 09:26:01 -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
spikecodes
58127b17d8
Individually proxy videos
2021-02-18 10:04:59 -08:00
spikecodes
14ecf3cf60
Edit indicator
2021-02-14 14:53:09 -08:00
spikecodes
aa7c8c85df
Templatize redirects
2021-02-13 15:02:38 -08: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
robrobinbin
4a40e16277
Fix comment structuring ( #113 )
...
* Start recursive comments
* Update comment.html
* Fix move error
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-02-10 10:48:51 -08:00
spikecodes
8785bc95f5
Fix extra slashes in post bodies
2021-02-09 21:54:55 -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
robrobinbin
7edca18f8d
Inline videos/gifs for card view ( #107 )
...
* Basic gallery support
* Inline videos for card view
2021-02-08 00:22:14 +00:00
robrobinbin
cf45d53fdd
Basic gallery support ( #103 )
2021-02-06 20:05:11 +00:00
spikecodes
effaeb7508
Fix debug logging error
2021-01-31 19:08:50 -08:00
spikecodes
971f14bb55
Fix #66
2021-01-31 14:10:13 -08:00
Robin
077c222a4e
Experiment with caching
2021-01-23 10:48:33 +01:00
spikecodes
138f8320e9
Create media struct
2021-01-17 12:58:12 -08:00
Robin
090ca1a140
Add comment counter and other post improvements
2021-01-17 20:39:57 +01:00
spikecodes
a0bc1732cf
Moderator and admin distinguishers
2021-01-16 15:02:24 -08:00
spikecodes
0f6e73dd87
Reformat code
2021-01-16 11:50:12 -08:00
spikecodes
fdf60e7255
Separate datetime into relative and absolute
2021-01-16 11:40:32 -08:00
spikecodes
0bf5576427
Categorize routes and refactor error handlers
2021-01-13 19:53:52 -08:00
spikecodes
09c98c8da6
Refactor code
2021-01-13 12:52:00 -08:00
robrobinbin
c6627ceece
Merge branch 'master' into rich-flairs
2021-01-13 08:27:39 +01:00
robrobinbin
d9affcdefc
Rich flairs
2021-01-13 08:23:48 +01:00
spikecodes
eb9a0dcb4a
Fix GIFs
2021-01-12 19:52:02 -08:00
robrobinbin
b0540d2c57
Rich flairs
2021-01-13 00:10:06 +01:00
robrobinbin
bbe7024323
Start richtext flairs
2021-01-12 22:43:03 +01:00
spikecodes
eb735a42fe
Handle comment parsing errors
2021-01-11 18:05:13 -08:00
spikecodes
541c741bde
Parse GIFs correctly
2021-01-11 17:47:14 -08:00
robrobinbin
6dbd002acd
Add direct link to thumbnail
2021-01-11 23:08:12 +01:00
spikecodes
c58b077330
Update Dependencies
2021-01-10 13:20:47 -08:00
spikecodes
f445c42f55
Wide UI Mode
2021-01-10 13:08:36 -08:00
spikecodes
ef2f9ad12b
Unify preferences under one struct
2021-01-08 17:50:03 -08:00
spikecodes
6e8cf69227
Fix Default Comment Sorting
2021-01-07 10:32:55 -08:00
spikecodes
3444989f9a
Default Comment Sort Setting
2021-01-07 08:38:05 -08:00
spikecodes
7e96bb3d80
Optimize use of Result<>
2021-01-06 21:27:24 -08:00