Commit Graph

817 Commits

Author SHA1 Message Date
potatoesAreGod eb9ef9f6d9
added leaving reddit dialog (#643) 2023-01-12 01:46:56 -07:00
Daniel Valentine 8fa8a449cf
Sign release (resolves #651). 2022-12-01 16:42:04 -07:00
Daniel Valentine 473a498bea Update CREDITS file. 2022-11-30 21:08:51 -07:00
laazyCmd 92f5286667 Make the column size in posts consistent.
Signed-off-by: Daniel Valentine <Daniel-Valentine@users.noreply.github.com>
2022-11-30 21:06:21 -07:00
Daniel Valentine 0a6bf6bbee Update CREDITS file. 2022-11-27 15:57:31 -07:00
Macic 618b074ad5
Fix embeds (#648) 2022-11-27 11:42:34 -07:00
Daniel Valentine d86cebf975 Request CSS with explicit version.
base.html will now request with a query parameter `v=` whose value is
the current version of Libreddit. This will cause the browser to request
the stylesheet for a specific version of Libreddit, bypassing the cache.
A new version of Libreddit will cause the browser to fetch a new
stylesheet.

Resolves #622. Credit is due to GitHub user @chloekek for offering this
solution in the following post:
        https://github.com/libreddit/libreddit/issues/622#issuecomment-1315961742
2022-11-23 14:43:36 -07:00
Daniel Valentine ab39b62533 Dockerfile.arm: Add git to builder. 2022-11-22 15:42:10 -07:00
Daniel Valentine 5aee695bae Dockerfile.arm: Force cargo to use git binary.
Hopefully resolves #641.
2022-11-22 15:38:17 -07:00
Daniel Valentine c9633e1464 Revert "Dockerfile.arm: Verbose cargo install."
This reverts commit 0152752913.
2022-11-22 15:32:45 -07:00
Daniel Valentine 0152752913 Dockerfile.arm: Verbose cargo install.
Temporarily provide `--verbose` to `cargo install` to track when during
the build the process(es) receive SIGKILL.
2022-11-22 15:29:02 -07:00
Daniel Valentine 6912307349 Update version to v0.24.1. 2022-11-22 12:14:12 -07:00
Daniel Valentine f76243e0af Revert "Dockerfile.arm: disable cargo build parallelization"
This reverts commit f0fa2f2709.

This did not stop the OS from issuing SIGKILL to cargo and/or one of its
child processes.
2022-11-22 00:22:15 -07:00
Daniel Valentine f0fa2f2709 Dockerfile.arm: disable cargo build parallelization 2022-11-22 00:16:55 -07:00
Daniel Valentine 88bed73e5e
Extract Location URL path correctly in client::request. (fixes #645) (#646) 2022-11-21 08:58:40 -07:00
Daniel Valentine 3a33c70e7c Update CREDITS file. 2022-11-20 17:52:28 -07:00
Lena 40dfddc44d
Added gruvbox-dark and gruvbox-light themes (#490) 2022-11-20 13:49:20 -07:00
spikecodes 3f3d9e9c3b
Indicate pinned posts on user profiles (close #606) 2022-11-14 18:08:44 -08:00
Artemis 501b47894c
Add "BLUR_NSFW" to the list of settings in README (#639) 2022-11-12 10:37:58 -08:00
Spike d8c661177b
Update Google PageInsights speed comparison 2022-11-11 09:43:18 -08:00
NKIPSC fade305f90 Blur NSFW posts.
Reimplementation of libreddit/libreddit#482.

Co-authored by: Daniel Valentine <Daniel-Valentine@users.noreply.github.com>
2022-11-09 08:49:39 -07:00
NKIPSC e62d33ccae Blur NSFW posts.
Reimplementation of libreddit/libreddit#482.

Co-authored by: Daniel Valentine <Daniel-Valentine@users.noreply.github.com>
2022-11-08 09:01:12 -07:00
Daniel Valentine 465d9b7ba7
Implement 'posts hidden because of NSFW'. (Resolves #159) (#619) 2022-11-07 20:54:49 -07:00
Daniel Valentine 5c366e14a3 Add CREDITS file and script to generate. (Resolves ferritreader/ferrit#33) 2022-11-06 16:04:02 -07:00
Matthew E d4ca376e8d
Add format_url tests (#615) 2022-11-05 23:51:56 -06:00
Daniel Valentine 371b7b2635 Update Libreddit GitHub links. 2022-11-05 21:24:16 -06:00
Daniel Valentine cc27dc2a26 Update README.md to point to markdown instances list. 2022-11-05 20:50:42 -06:00
Daniel Valentine bfe03578f0 Update Instances section in README.md. 2022-11-05 13:25:12 -06:00
Daniel Valentine c6487799ed
Redirect /:id to canonical URL for post. (#617)
* Redirect /:id to canonical URL for post.

This implements redirection of `/:id` (a short-form URL to a post) to
the post's canonical URL. Libreddit issues a `HEAD /:id` to Reddit to get
the canonical URL, and on success will send an HTTP 302 to a client with
the canonical URL set in as the value of the `Location:` header.

This also implements support for short IDs for non-ASCII posts, c/o
spikecodes.

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2022-11-05 02:29:04 -06:00
Daniel Valentine 584cd4aac1
Add DoomOne theme, c/o Tildemaster <root@vern.cc> (#611) 2022-11-03 23:08:03 -06:00
spikecodes 377634841c
Upgrade to v0.23.2 2022-11-03 21:31:32 -07:00
spikecodes c0e37443ae
Allow the spoilering of links (fixes #610) 2022-11-03 21:30:35 -07:00
Daniel Valentine 8348e20724
Use permalink offered by Reddit (fixes #613). (#614) 2022-11-03 21:08:36 -07:00
Daniel Valentine ae3ea2da7c
HTTP compression (Reddit -> Libreddit -> client) (#612)
Implements HTTP compression, between both Reddit and Libreddit and Libreddit
and a web browser. Compression between Reddit and Libreddit is mandatory,
whereas compression between Libreddit and a client is opt-in (client must
specify a compressor in the Accept-Encoding header).

Supported compressors are gzip and brotli. gzip support is ubiquitous,
whereas brotli is supported by almost all modern browsers except Safari
(iOS, iPhone, macOS), although Safari may support brotli in the future.

Co-authored-by: Matthew E <matt@matthew.science>
2022-11-03 22:04:34 -06:00
Spike 8435b8eab9
Update hls.js.min to v1.2.4
Mirrors ferritreader/ferrit#6
2022-11-02 08:46:59 -07:00
spikecodes 510c8679d6
Show full "Submissions" btn on mobile (fixes #548) 2022-11-01 21:59:16 -07:00
Spike 98674310bc
Remove some-things.org instance (closes #561) 2022-11-01 21:29:50 -07:00
Spike 170ea384fb
Support /comments endpoint (closes #568)
Code based on @Daniel-Valentine's [implementation](e2c84879d6)
2022-11-01 20:53:42 -07:00
Spike 1b5e9a4279
Fix #592 2022-11-01 20:47:47 -07:00
spikecodes b170a8dd99
Switch Reveddit to Unddit 2022-10-31 22:30:31 -07:00
spikecodes aa54301054
Upgrade to version 0.23 2022-10-31 20:35:00 -07:00
spikecodes b4d3f03335
Upgrade dependencies 2022-10-31 20:23:59 -07:00
arthomnix 1a1ff2e600
Use singular form of "comment" for posts with 1 comment (#567)
* Use singular form of "comment" for posts with 1 comment

* Fix incorrect text on comment count tooltip

Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2022-10-31 18:36:24 -07:00
igna 4fc07c02b5
update instance (igna.rocks => intent.cool) (#603)
* update instance (igna.rocks => intent.cool)

* Remove accidentally-added broken instances

Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2022-10-31 18:22:20 -07:00
guaddy 8d58cf61d2
Removed 8 dead links from instance list (#545)
* Update README.md

Removed the following instances for dead links:

* libreddit.sugoma.tk
* libreddit.jamiethalacker.dev
* libreddit.database.red
* reddit.phii.me
* libreddit.autarkic.org
* lr.oversold.host
* libreddit.datatunnel.xyz
* libreddit.crewz.me

* Fix double pipe on flux.industries instance

Co-authored-by: Mohammed Anas <triallax@tutanota.com>

Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
Co-authored-by: Mohammed Anas <triallax@tutanota.com>
2022-10-31 18:06:32 -07:00
Vladislav Nepogodin 711e3c205d
Add libreddit.cachyos.org instance (#571)
Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2022-10-31 17:50:59 -07:00
Om G 0704eb10b8
Add new instance (libreddit.oxymagnesium.com) (#591) 2022-10-31 17:49:20 -07:00
Artemis ef86c1be86
Remove reddit.artemislena.eu (uses Teddit, not Libreddit now) (#586)
* L: Fixed two swapped config variables in the documentation.

* L: reddit.artemislena.eu is now Teddit, not Libreddit anymore
2022-10-31 17:46:16 -07:00
Esmail EL BoB 8141b74817
Update Esmail's onion instance (#593) 2022-10-31 17:45:05 -07:00
Arya K 57d304161b
Add ~vern onion instance (#537)
* Add ~vern onion instance

 Add vern.cc's onion instance of libreddit to instance list

* Remove http:// from link name

* Fix previous commit
2022-06-24 10:52:08 -07:00