Commit Graph

810 Commits

Author SHA1 Message Date
674Y3r
91bff826f0
Fix and improve admin/mod distinguishers (#386)
* Fix regression with comments from deleted mods

Starting with https://github.com/spikecodes/libreddit/pull/367/files
comments from deleted moderators and admins(?) aren't highlighted.

* Highlight mod and admin usernames in posts

Works like on reddit + shows highlight for mods on the search page.
2022-01-09 02:50:53 +00:00
Kazi
af6606a855
leddit.xyz instance location change (#387) 2022-01-09 01:14:05 +00:00
spikecodes
977cd0763a
Fix #379 2022-01-05 16:46:45 -08:00
spikecodes
fcadd44cb3
Update dependencies 2022-01-05 16:39:56 -08:00
Andrew Kaufman
9c325c2cbf
Search fixes (#384)
* Default to searching within subreddit

* Redirect to subreddit from search
2022-01-05 14:06:41 -08:00
Spike
e9038f4fe2
Add stilic.ml instance. Closes #380 2021-12-31 20:33:53 +00:00
spikecodes
8b8f55e09a
Fix sort button scrollbars 2021-12-31 10:42:44 -08:00
spikecodes
f1b3749cf0
Fix #378 — formatting of dates/times 2021-12-29 12:48:57 -08:00
spikecodes
0708fdfb37
Cover more Reddit domains with libreddit link rewrites 2021-12-29 11:38:35 -08:00
Spike
cad29e9544
Add libreddit.nl instance. Closes #377 2021-12-28 16:16:53 +00:00
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