Commit Graph

1074 Commits

Author SHA1 Message Date
spikecodes
6f29d94337
List Liberapay as donation method 2021-11-27 15:07:44 -08:00
Spike
67e26479ae
Add leddit.xyz instance. Closes #344 2021-11-27 22:57:56 +00:00
Spike
1a1dee36b8
Update FUNDING.yml 2021-11-27 22:55:27 +00:00
Spike
b63000a93f
Create FUNDING.yml 2021-11-27 22:27:47 +00:00
Spike
401ee2ee41
Create FUNDING.yml 2021-11-27 22:27:39 +00:00
Spike
99a83ea11b
Add northboot.xyz instance 2021-11-27 19:13:15 +00:00
Nick Lowery
888e7b302d
Filter subreddits and users (#317)
* Initial work on filtering subreddits and users

* Fix doubly-prefixed subreddit name in search alt text (e.g. r/r/pics)

* Don't set post title to "Comment" if empty - this could throw off actual posts with the title "Comment"

* Filter search results

* Fix filtering to differentiate between "this subject itself is filtered" vs "all posts on this current page have been filtered"

* Remove unnecessary check

* Clean up

* Cargo format

* Collapse comments from filtered users

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-26 04:02:04 +00:00
Spike
beada1f2b2
Update privacy policy 2021-11-25 05:38:09 +00:00
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
obscurity
3054b9f4a0
Add rosebox theme (#237) 2021-11-24 19:31:19 +00:00
spikecodes
1cccef12a4
Add settings helper for HLS toggle 2021-11-23 22:43:25 -08:00
spikecodes
8e332b0630
Show full subreddit results in search 2021-11-23 22:24:23 -08:00
spikecodes
85ae7c1f60
Fix indentation and formatting 2021-11-23 22:23:29 -08:00
spikecodes
6d73024183 Remove obselete HTML comment 2021-11-22 18:16:06 -08:00
spikecodes
923ff776bd
Fix HLS + autoplay from breaking videos 2021-11-22 18:07:00 -08:00
spikecodes
e181e3f57d Improve Replit deployment method 2021-11-22 13:01:34 -08:00
spikecodes
79bb913fa6 Condense free hosting options into one deployment method 2021-11-22 13:00:39 -08:00
Spike
632b64c98b
Add Glitch deployment option. Closes #339 2021-11-22 20:50:12 +00:00
spikecodes
2878d9c799
Shrink and widen comment scores to fit better 2021-11-22 12:19:51 -08:00
spikecodes
9f8d36cb00
Prevent post previews from overflowing on Chromium 2021-11-22 08:40:36 -08:00
spikecodes
25e641e7b3
Don't run GitHub Workflow when README.md changes 2021-11-21 22:46:01 -08:00
spikecodes
4faa9d46d6
Fix HTTPS connector 2021-11-21 22:44:05 -08:00
spikecodes
7220190811 Link subscriptions in settings to their respective feeds 2021-11-21 22:30:44 -08:00
mikupls
768820cd4c
Render markdown correctly in text post previews by using selftext_html. (#335)
* Render markdown correctly in text post previews by using selftext_html.

I was mistakenly under the impression that we somehow render markdown ourselves, but turns out we just take whatever HTML reddit gives us, and we also need to do this for text previews.

Use CSS to limit the size of the previews instead of truncating in the template.

Fix table CSS.

* Fix post_body padding and trim post_previews

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-21 23:17:52 +00:00
Spike
2ef7957a66
Create feature parity issue template 2021-11-21 19:48:48 +00:00
Spike
7df8e7b4c6
Tweak feature request template 2021-11-21 19:27:33 +00:00
Spike
67d3be06e1
Fix Jamie's instance address 2021-11-21 04:17:06 +00:00
Spike
6be5eb8991
Update README.md 2021-11-21 04:15:35 +00:00
mikupls
5d9c320a7e
Format post and comment votes with a decimal place, like vanilla reddit does. (#324)
* Format post and comment votes with a decimal place, like vanilla reddit does.

Before this change, a vote count of 1999 was displayed as 1k, which is a pretty big gap. The displayed count also differed from what Reddit does. Now, the behaviour is consistent.

Added some tests for format_num.

* Provide more space for post scores

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-21 04:07:45 +00:00
Ruben Elshof
f7de5285e4
Hide post preview in compact mode. (#329) 2021-11-21 02:05:37 +00:00
mikupls
c2053524c7
Add text post previews. (#328)
* Add text post previews.

* Add mask gradient over post preview text

* Increase post title font weight for contrast

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-20 21:13:50 +00:00
Spike
3a9e6b4ca0
Add mutahar.rocks instance 2021-11-20 17:29:27 +00:00
mikupls
731a407466
Collapse (sticky) bot comments by default. (#321)
* Collapse bot comments by default.

Comments are considered bot comments if they are posted by a moderator and are stickied. Some false positives are expected.

* Remove unneeded String conversion

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-19 05:42:53 +00:00
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
Nick Lowery
2486347b14
Fix follows not being case-sensitive (#316) 2021-11-15 00:45:18 +00:00
Wichai
c298109a7b
Change healthcheck script to utilise "wget" (#309)
* Change healthcheck script to utilise "wget"

* add "tries=1" option
2021-11-11 00:47:13 +00:00
RiversideRocks
a0509890b7
Add Riverside onion (#314) 2021-11-11 00:45:22 +00:00
Kavin
5644d621f7
Remove cloudflare checkmark from my instance. (#313) 2021-11-11 00:45:13 +00:00
Kieran
1fc5bda486
Move libreddit.dothq.co to German server (#311) 2021-11-06 02:58:36 +00:00
TheFrenchGhosty
b3255c22cf
Add libreddit.pussthecat.org (#310) 2021-11-05 01:36:39 +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
Spike
03336ecafd
Add libreddit.de and onion host. Closes #300 2021-10-19 13:59:46 -07:00
Spike
957e1c7728
Add oversold.host instance. Closes #289 2021-10-08 23:28:21 +00:00
Spike
09053ef0ad
Add drivet.xyz instance. Closes #287 2021-10-07 00:13:48 +00:00
Spike
aff030fc3a
Remove bcow instances 2021-10-02 05:12:49 +00:00
obeho
97555dbfdd
Fix silkky.cloud Cloudflare Status (#284) 2021-09-29 00:56:09 +00:00
spikecodes
32360e5165
Update v0.15.3 2021-09-19 14:37:31 -07:00
dacousb
350b796571
Support Deployment to Heroku (#280)
* Added heroku.yml

* Added app.json

* PORT as env var
2021-09-19 19:03:01 +00:00