Commit Graph

176 Commits

Author SHA1 Message Date
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
1d4ea50a45
Add setting to autoplay videos 2021-10-25 21:27:55 -07:00
mikupls
546c8a4cda
Add poster attribute and disable autoplay on GIFs
* Add the poster attribute even if a post claims to be type gif. Default to none-preloading for gifs like video-typed posts do.

* Disable autoplay for videos in feeds

Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2021-10-23 21:25:51 +00:00
spikecodes
52a1b45014
Lazy load images 2021-09-06 12:02:52 -07:00
spikecodes
5c753ee171
Fix #251 2021-08-04 11:52:24 -07:00
spikecodes
85deb4947d
Support HLS playback in search and user feeds 2021-06-11 17:38:43 -07:00
spikecodes
d2002c9027
Disable dysfunctional moderator list feature 2021-06-11 11:03:36 -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
Tsvetomir Bonev
ed05f5a092
misc: fix HLS typo (#220) 2021-05-16 15:41:47 +00:00
spikecodes
e4f9bd7b8d
Configure default settings using environment variables 2021-05-15 13:59:42 -07:00
spikecodes
83a667347d
Add rel="nofollow" to hardcoded outbound links 2021-05-10 10:31:19 -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
curlpipe
242ffab0da
Fix bug with subreddit subscription case & RTL languages (#214)
* Fixed subreddit subscription case issues

* Fixed formatting

* Fixed flair RTL language issue (#132)

* Convert display_lookup to Vec

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-05-06 19:11:25 +00:00
curlpipe
1211d781d0
Add list of moderators to sidebar (#213)
* Added list of moderators to sidebar & added wiki not found message

* Improved code formatting
2021-05-04 17:30:54 +00:00
curlpipe
9e4066658c
Added 2 new themes: violet & gold (#212)
* Added 2 new themes: violet & gold

* Increased contrast in Violet theme

* Changed accent colour on violet theme
2021-05-03 16:48:21 +00:00
Ben Smith
6f799b2617
Added laserwave theme (#210) 2021-04-30 16:26:49 +00:00
spikecodes
b3e4b7bfae
Add user following functionality 2021-04-06 10:23:05 -07:00
The TwilightBlood
48c3a8c0d0
Added Dracula/Nord theme (#171)
* Added Dracula theme

* Updated accent and added Nord theme

* Updated accent and added Nord theme

* Added official foreground colors
2021-04-02 00:56:28 +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
9b5176f7b9
Sub icons and truncated subscribers in search results 2021-03-18 21:32:54 -07:00
spikecodes
038fafa378
Remove unnecessary trailing slashes 2021-03-17 17:28:05 -07:00
spikecodes
cda19a1912
Remove duplicate "description" meta tag for posts 2021-03-10 21:41:39 -08:00
spikecodes
f0e8deb000
Add alt attribute to user icon 2021-03-10 11:29:36 -08:00
spikecodes
e70dfe2c0b
Fix <video> size attributes 2021-03-10 10:49:18 -08:00
spikecodes
10c73fad7f
Switch favicon to ico 2021-02-26 12:04:11 -08:00
spikecodes
2bddc952cb
Link comment timestamps. Closes #137 2021-02-25 21:53:27 -08:00
spikecodes
5d643277bc
Geometric logo 2021-02-25 09:07:45 -08:00
spikecodes
80fb3a5c18
Fix #110 2021-02-21 20:28:04 -08:00
spikecodes
de38f7ef18
Fix post flairs 2021-02-21 10:11:17 -08:00
spikecodes
9cfab348eb
Filter by flair. Closes #124 2021-02-20 13:59:16 -08:00
spikecodes
a606e48435
Handle 4 more unwraps 2021-02-20 12:14:32 -08:00
Kieran
38230ed473
Add more rich meta tags (#121) 2021-02-16 19:16:32 +00:00
spikecodes
14ecf3cf60
Edit indicator 2021-02-14 14:53:09 -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
spikecodes
ff8685ae4c
Add tooltips for accessibility 2021-02-12 20:53:33 -08:00
spikecodes
f06320a4ae
Subscribe to multireddit button. Closes #104 2021-02-12 20:47:54 -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
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
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
curlpipe
2a475d127a
Added black theme (#101) 2021-02-06 20:04:29 +00:00
robin
653b0e7024 Don't use display contents and remove duplication 2021-02-03 20:11:04 +01:00
robrobinbin
1bcb070fbb
Update user.html 2021-02-02 21:21:29 +01:00
robrobinbin
24bc758090
Update subreddit.html 2021-02-02 21:21:11 +01:00
robrobinbin
ffbb1cf7cd
Update search.html 2021-02-02 21:20:38 +01:00
robrobinbin
cbf1f540d6
Update post.html 2021-02-02 21:20:03 +01:00