Commit Graph

70 Commits

Author SHA1 Message Date
gmnsii ab30b8bbec
Bugfix: 'all posts are hidden because NSFW' when no posts where found (#666)
* Fix 'all_posts_hidden_nsfw' when there are no posts.

If a search query yielded no results and the user set nsfw posts to be
hidden, libreddit would show 'All posts are hidden because they are NSFW.
Enable "Show NSFW posts" in settings to view'. This is fixed by
verifying tnat posts.len > 0 before setting 'all_posts_hidden_nsfw' to
true.

* Add a message when no posts were found.

* Delete 2
2022-12-31 19:11:59 -07:00
Daniel Valentine 465d9b7ba7
Implement 'posts hidden because of NSFW'. (Resolves #159) (#619) 2022-11-07 20:54:49 -07:00
spikecodes 50665bbeb3
Switch titles to <h1>s (Fixes #444) 2022-05-21 15:47:58 -07:00
spikecodes d558127306
Add keyboard shortcuts to nav buttons (closes #466) 2022-05-20 23:10:11 -07:00
Nick Lowery 322aa97a18
Fix HTML encoding in templating (#404) 2022-05-21 05:28:31 +00:00
Nick Lowery 70ff150ab4
Add user listing buttons (#400)
* Add user listing buttons

* Update to v0.22

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2022-03-13 19:06:27 +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
spikecodes 52a1b45014
Lazy load images 2021-09-06 12:02:52 -07:00
spikecodes 85deb4947d
Support HLS playback in search and user feeds 2021-06-11 17:38:43 -07:00
spikecodes b3e4b7bfae
Add user following functionality 2021-04-06 10:23:05 -07:00
spikecodes 966e0ce921
Expand truncated numbers on mouseover. Close #156 2021-03-20 15:42:47 -07:00
spikecodes f0e8deb000
Add alt attribute to user icon 2021-03-10 11:29:36 -08:00
robin 653b0e7024 Don't use display contents and remove duplication 2021-02-03 20:11:04 +01:00
robrobinbin 1bcb070fbb
Update user.html 2021-02-02 21:21:29 +01:00
robrobinbin dd908c9f68
Update user.html 2021-02-01 21:00:03 +01:00
robrobinbin 58f4fc4e77
Update user.html 2021-02-01 20:27:08 +01:00
spikecodes 1653d4fb4c
Hide NSFW content by default 2021-01-30 21:43:46 -08:00
Matthew Crossman 8cc01c58f3
Move the subs list into the navbar. 2021-01-31 09:52:18 +11:00
Matthew Crossman dc2030e6f3
Vertical list subscriptions. 2021-01-30 21:21:54 +11:00
Matthew Crossman ef5a1cd66e
Rename block sub_list > subscriptions 2021-01-30 19:47:30 +11:00
Matthew Crossman 75bbcefbec
Display sub list from list in cookie.
Very basic sub list setup. Cookie must be manually added in devtools.
2021-01-30 16:00:55 +11:00
robin baf7272cfd Absolutly no jumping when images (fail to) load 2021-01-21 22:04:06 +01:00
spikecodes 7360503234 Make posts single-color 2021-01-18 21:32:25 -08:00
spikecodes dd60cb5b2b SVG arrow 2021-01-17 15:51:03 -08:00
Robin d45ee03122 Resolve merge conflicts 2021-01-17 23:54:48 +01:00
Robin 162e00b243 Improve accessibility rating 2021-01-17 23:49:36 +01:00
spikecodes 138f8320e9 Create media struct 2021-01-17 12:58:12 -08:00
Robin 090ca1a140 Add comment counter and other post improvements 2021-01-17 20:39:57 +01:00
spikecodes ef9bc791e1 Fix inline style tags 2021-01-16 19:21:47 -08:00
spikecodes a0bc1732cf Moderator and admin distinguishers 2021-01-16 15:02:24 -08:00
spikecodes fdf60e7255 Separate datetime into relative and absolute 2021-01-16 11:40:32 -08:00
spikecodes 21ff8d7b6f Fix #56 2021-01-15 11:21:59 -08:00
robrobinbin d19e73f059 Add placeholder for posts without thumbnail 2021-01-14 21:45:43 +01:00
robrobinbin a4d77926b6 Rich flairs 2021-01-12 23:34:16 +01:00
robrobinbin bbe7024323 Start richtext flairs 2021-01-12 22:43:03 +01:00
spikecodes 7a33ed3434 Card thumbnails for users 2021-01-11 17:38:35 -08:00
spikecodes 08683fa5a6 Light theme 2021-01-10 18:15:34 -08:00
spikecodes f445c42f55 Wide UI Mode 2021-01-10 13:08:36 -08:00
spikecodes b13874d0db Add "hide nsfw" option 2021-01-08 17:35:04 -08:00
spikecodes 3444989f9a Default Comment Sort Setting 2021-01-07 08:38:05 -08:00
spikecodes aa7b4b2af7 Settings with Layouts 2021-01-05 18:04:49 -08:00
spikecodes 2185d895c0 Prevent user datetimes from floating 2021-01-04 21:32:22 -08:00
spikecodes 9c1a932214 Clean Up Post Headers 2021-01-04 21:17:19 -08:00
spikecodes df89c5076e Compact Libreddit Posts on Mobile 2021-01-04 19:26:41 -08:00
spikecodes a422a74747 Make Design More Compact 2021-01-03 19:44:44 -08:00
spikecodes 0dd114c166 Post upvote ratio, permalink and reddit link 2021-01-03 13:06:49 -08:00
spikecodes 2d77a91150 Refactor Page Titles and Add Subreddit/User Titles 2020-12-31 20:21:56 -08:00
spikecodes a6dc7ee043 Rewrite + Searching 2020-12-31 15:54:13 -08:00
spikecodes aa9aad6743 Stickied Posts 2020-12-29 19:01:02 -08:00
spikecodes f65ee2eb6a Sort Top by Timeframe 2020-12-29 17:11:47 -08:00