Commit Graph

700 Commits

Author SHA1 Message Date
spikecodes 6b59976fcf
Fix #376 2021-12-27 23:16:01 -08:00
spikecodes f9b3981448
Fix debug log in post.rs 2021-12-27 19:56:37 -08:00
spikecodes db3196df5a
Use Reveddit to show removed posts/comments. Closes #299 2021-12-27 19:40:35 -08:00
spikecodes b3d4f6f91c
Show external page links again 2021-12-27 18:00:19 -08:00
spikecodes 45b875b85d
Continue Rust workflow if version is already published 2021-12-27 14:21:06 -08:00
spikecodes 992d7889c4
Automatically publish to crates.io 2021-12-27 13:53:58 -08:00
spikecodes 3188f9d8e7
Tweak settings page design 2021-12-27 13:43:44 -08:00
spikecodes 90fa0b5496
Automatically generate release notes 2021-12-27 10:15:25 -08:00
spikecodes 7aeabfc4bc
Rewrite Reddit post links to Libreddit equivalents 2021-12-26 21:18:20 -08:00
Spike 150ebe38f3
Add Buy Me a Coffee button as donation option 2021-12-27 01:38:14 +00:00
Spike 2905d114fa
Add Buy Me a Coffee donation option 2021-12-27 00:48:56 +00:00
Esmail EL BoB 40e97cc75d
Add esmailelbob.xyz instance (#369)
* add new instance

I want to add my own instance - i'm new to selfhosting so i can't guarantee it will be running all the time but i can guarantee whenever it's down i will fix it within hours!

* Fix onion protocol for instance

Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2021-12-25 05:11:30 +00:00
spikecodes 7c73e352ce
Fix [deleted] user link color 2021-12-19 17:12:33 -08:00
mikupls 341c623be8
Refactor Media parsing (#334)
* Parse video data from cross_post_parent_list as vanilla Reddit does.

introduce testdata directory for testing JSON parsing functions.

refactor Media::parse for slightly more readability.

Add various test cases.

* Trim down to just refactoring

Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2021-12-20 01:07:20 +00:00
Spike 4c8b724a9d
Merge pull request #367 from alyaeanyx/no-href-to-deleted-user
Don't create hrefs to u/[deleted]
2021-12-19 16:58:04 -08:00
Spike 227d74b187
Add totaldarkness.net instance. Closes #366 2021-12-20 00:50:20 +00:00
alyaeanyx f05a818edd
Don't create hrefs to u/[deleted] 2021-12-19 12:20:37 +01:00
Spike ceee13cfb7
docs: add the missing `AUTOPLAY_VIDEOS` in README
Merge pull request #361 from xatier/patch-2
2021-12-14 22:03:43 -08:00
xatier a39495b3cb
Update README.md
This config was introduced in 1d4ea50a45 , but missed from the documentation.
2021-12-12 14:41:00 -08:00
Spike 38cfe4ad71
Add libreddit.hu instsance. Closes #357 2021-12-08 23:13:09 +00:00
Spike 0b89539c2b
Add lr.cowfee.moe instance. Closes #353 2021-12-01 03:44:44 +00:00
Spike 046b8b3edc
Add new onion instance. Closes #349 2021-12-01 03:42:54 +00:00
spikecodes 0656756d21
Fix #196 2021-11-29 22:29:41 -08:00
Spike 43551f70fd
Add leddit onion instance 2021-11-30 04:09:41 +00:00
spikecodes 364c29c4d5
Use resized icons for awards. Fixes #346 2021-11-28 14:47:50 -08:00
spikecodes e6c978a2f7
Update to v0.20 2021-11-27 20:34:43 -08:00
Nick Lowery 91cc140091
Set sub and user descriptions to `overflow-wrap: anywhere` (#345) 2021-11-28 02:49:41 +00:00
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