Commit Graph

1246 Commits

Author SHA1 Message Date
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
George Roubos
567556711b
Update style.css (#282)
Add cursor pointer on hover of summary bar
2021-09-19 19:00:07 +00:00
Spike
1ff725ba2e
Add flux.industries instance. Closes #279 2021-09-11 19:46:50 +00:00
spikecodes
6a4191f3b5
Fix #272 2021-09-09 17:28:55 -07:00
Spike
668493b72c
Add autarkic.org instance. Closes #274 2021-09-10 00:18:03 +00:00
Spike
db04dcb238
Add igna.rock instance. Closes #276 2021-09-10 00:16:46 +00:00
Laurențiu Nicola
cc0a1e0324
Use proper spelling of systemd (#275) 2021-09-10 00:15:09 +00:00
alefvanoon
e073fc87aa
Add alefvanoon.xyz (#271) 2021-09-08 14:28:53 -07:00
spikecodes
982f57efd9
Fix user profiles showing up in search engines 2021-09-06 12:05:03 -07:00
spikecodes
52a1b45014
Lazy load images 2021-09-06 12:02:52 -07:00
Spike
6f88fdfc75
Add mint.lgbt instance. Closes #269 2021-09-04 20:07:42 +00:00
Spike
015d0b3414
Add stuehieyr.com instance. Closes #267 2021-09-01 00:20:11 +00:00
git-bruh
b41eabecf7
Remove instance (#266) 2021-08-29 18:41:30 +00:00
AndreVuillemot160
5cb5f46fa2
Add new instance (libreddit.sugoma.tk) (#262) 2021-08-21 16:52:39 +00:00
Spike
a900339529
Add some-things.org instances. Closes #260 2021-08-18 17:06:04 +00:00
spikecodes
41b3dc5739
More apt error messages for Reddit outages 2021-08-11 20:49:42 -07:00
spikecodes
b3b5782373
Handle Docker amd64 builds in GitHub Actions 2021-08-04 12:08:25 -07:00
spikecodes
5c753ee171
Fix #251 2021-08-04 11:52:24 -07:00
Spike
229518c40b
Remove cyberhost instance. Closes #252 2021-08-01 16:48:26 +00:00
spikecodes
45a5778571
Escape text-only flairs 2021-07-19 10:20:00 -07:00
accountForIssues
be253d40dd
Escape html characters in post flairs (#247)
* Encode HTML characters in flairs

* Encode HTML characters in flairs

* Use esc! macro for HTML escaping

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-07-19 17:15:15 +00:00
spikecodes
e571cc3b1e
Tweak styling of Dracula theme 2021-07-19 10:07:00 -07:00
spikecodes
345f8e7b80
Dampen title color of visited posts. Fixes #222 2021-07-18 14:53:08 -07:00
spikecodes
a190890239
Fix Regex matching of Reddit links 2021-07-17 22:24:28 -07:00
git-bruh
ee51ce1a76
Add instance (#242) 2021-07-07 00:08:02 +00:00
Spike
81a2df98cb
Add awesomehub.io instance. Closes #239 2021-07-05 00:14:38 +00:00
Spike
e79a4b704a
Add cyberhost.uk instance. Closes #238 2021-07-05 00:03:38 +00:00
spikecodes
56998b8332
Rewrite redd.it links 2021-06-21 22:51:50 -07:00
dbrennand
5418303b08
ARMV7 Docker Image (#234)
* feat: Push dockerfile.

Progress on trying to get armv7 image.

* feat: Add Dockerfile.

Using rust:slim as builder image.

* refactor: Changes to build for armv7.

* feat: Add .cargo config.

Taken from: https://medium.com/swlh/compiling-rust-for-raspberry-pi-arm-922b55dbb050

* refactor: Add environment variable for linker.

Instead of .cargo config file.

* feat: Working cross compile version.

For Armv7.

* refactor: Clean up dockerfile.

* refactor: Rename to armv7.

Rename Dockerfile.armv7rust to Dockerfile.armv7.

* feat: Add workflow to build ARMv7 docker image.

* docs: Add armv7 deployment instructions.
2021-06-21 23:03:27 +00:00