Commit Graph

74 Commits

Author SHA1 Message Date
Diego Magdaleno
bd413060c6
Support displaying awards (#168)
* Initial implementation of award parsing

* Posts: Implement awards as part of post

* Posts: remove parse_awards dead code

* Posts: initial implementation of displaying Awards at the post title

* Posts: Proxy static award images

* Client: i.redd.it should take path as argument not ID

* Posts: Just like Reddit make award size 16px

* Templates: limit the awards to 4 awards to increase performance

* Comments: Make awards a property of comments and display them

* Format and correct /img/:id

* Update comment.html

* [Optimization] Awards is not longer async

* [Revert] Posts can now display more than 4 awards again

* [Implementation] Awards not display on the frontpage

* [Implementation] Display count on awards

* Post: Start working on awards css

* Awards: Move the image size to css

* Awards: Start implementing tooltips

* Refactor awards code and tweak CSS indentation

* Unify Awards::new and Awards::parse

* Use native tooltips and brighten awards background

Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2021-11-25 02:08:27 +00:00
spikecodes
923ff776bd
Fix HLS + autoplay from breaking videos 2021-11-22 18:07:00 -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
1d4ea50a45
Add setting to autoplay videos 2021-10-25 21:27:55 -07:00
spikecodes
52a1b45014
Lazy load images 2021-09-06 12:02:52 -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
spikecodes
966e0ce921
Expand truncated numbers on mouseover. Close #156 2021-03-20 15:42:47 -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
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
Kieran
38230ed473
Add more rich meta tags (#121) 2021-02-16 19:16:32 +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
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
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
robin
653b0e7024 Don't use display contents and remove duplication 2021-02-03 20:11:04 +01:00
robrobinbin
cbf1f540d6
Update post.html 2021-02-02 21:20:03 +01:00
robrobinbin
ba9b5afd4e
Update post.html 2021-02-01 20:25:57 +01:00
Matthew Crossman
8cc01c58f3
Move the subs list into the navbar. 2021-01-31 09:52:18 +11:00
Matthew Crossman
dc2030e6f3
Vertical list subscriptions. 2021-01-30 21:21:54 +11:00
Matthew Crossman
ef5a1cd66e
Rename block sub_list > subscriptions 2021-01-30 19:47:30 +11:00
Matthew Crossman
75bbcefbec
Display sub list from list in cookie.
Very basic sub list setup. Cookie must be manually added in devtools.
2021-01-30 16:00:55 +11:00
spikecodes
f55ea5a353 Specify default headers for security 2021-01-28 21:53:10 -08:00
spikecodes
30c33d91e1 Specify video MIME in posts 2021-01-28 20:06:35 -08:00
robin
baf7272cfd Absolutly no jumping when images (fail to) load 2021-01-21 22:04:06 +01:00
spikecodes
7360503234 Make posts single-color 2021-01-18 21:32:25 -08:00
spikecodes
dd60cb5b2b SVG arrow 2021-01-17 15:51:03 -08:00
Robin
d45ee03122 Resolve merge conflicts 2021-01-17 23:54:48 +01:00
Robin
162e00b243 Improve accessibility rating 2021-01-17 23:49:36 +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
ef9bc791e1 Fix inline style tags 2021-01-16 19:21:47 -08:00
spikecodes
a0bc1732cf Moderator and admin distinguishers 2021-01-16 15:02:24 -08:00
spikecodes
fdf60e7255 Separate datetime into relative and absolute 2021-01-16 11:40:32 -08:00
robrobinbin
998b301229 Improve support for text-only browsers 2021-01-16 11:00:15 +01:00
robrobinbin
c6627ceece
Merge branch 'master' into rich-flairs 2021-01-13 08:27:39 +01:00
spikecodes
96607256fc Add Favicon 2021-01-12 20:18:20 -08:00
spikecodes
eb9a0dcb4a Fix GIFs 2021-01-12 19:52:02 -08:00
robrobinbin
a4d77926b6 Rich flairs 2021-01-12 23:34:16 +01:00
robrobinbin
bbe7024323 Start richtext flairs 2021-01-12 22:43:03 +01:00
spikecodes
08683fa5a6 Light theme 2021-01-10 18:15:34 -08:00
spikecodes
f445c42f55 Wide UI Mode 2021-01-10 13:08:36 -08:00
spikecodes
fac56d7f87 Markdown spoilers and post footers on videos 2021-01-08 21:57:36 -08:00
spikecodes
3444989f9a Default Comment Sort Setting 2021-01-07 08:38:05 -08:00
spikecodes
aa7b4b2af7 Settings with Layouts 2021-01-05 18:04:49 -08:00
spikecodes
9c1a932214 Clean Up Post Headers 2021-01-04 21:17:19 -08:00
spikecodes
df89c5076e Compact Libreddit Posts on Mobile 2021-01-04 19:26:41 -08:00