Commit Graph

77 Commits

Author SHA1 Message Date
b0f985c687 Libreddit -> Redlib 2023-12-26 18:25:52 -05:00
d9f7ebcb79 Update util calls 2023-12-26 16:12:00 -05:00
1c36467c9c Merge remote-tracking branch 'origin/pull/867' 2023-12-26 15:52:53 -05:00
2b06d22687 Made userpage posts show subreddit name
Made userpage posts show subreddit name instead of ambigious `COMMENT`
2023-11-08 13:13:46 +02:00
e3b1c5b587 Use a bullet instead of empty margin when score is hidden
This is prettier and keeps consistency across the app.
2023-03-23 11:29:28 -07:00
f8ba3cf815 Fix formatting in some places 2023-03-22 20:29:48 -07:00
df3d894947 Add option to hide score
Add the option to hide score for posts and comments in preferences.
There is still however a blank margin where the score is supposed to be.
2023-03-22 20:08:20 -07:00
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
465d9b7ba7 Implement 'posts hidden because of NSFW'. (Resolves #159) (#619) 2022-11-07 20:54:49 -07:00
50665bbeb3 Switch titles to <h1>s (Fixes #444) 2022-05-21 15:47:58 -07:00
d558127306 Add keyboard shortcuts to nav buttons (closes #466) 2022-05-20 23:10:11 -07:00
322aa97a18 Fix HTML encoding in templating (#404) 2022-05-21 05:28:31 +00:00
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
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
52a1b45014 Lazy load images 2021-09-06 12:02:52 -07:00
85deb4947d Support HLS playback in search and user feeds 2021-06-11 17:38:43 -07:00
b3e4b7bfae Add user following functionality 2021-04-06 10:23:05 -07:00
966e0ce921 Expand truncated numbers on mouseover. Close #156 2021-03-20 15:42:47 -07:00
f0e8deb000 Add alt attribute to user icon 2021-03-10 11:29:36 -08:00
653b0e7024 Don't use display contents and remove duplication 2021-02-03 20:11:04 +01:00
1bcb070fbb Update user.html 2021-02-02 21:21:29 +01:00
dd908c9f68 Update user.html 2021-02-01 21:00:03 +01:00
58f4fc4e77 Update user.html 2021-02-01 20:27:08 +01:00
1653d4fb4c Hide NSFW content by default 2021-01-30 21:43:46 -08:00
8cc01c58f3 Move the subs list into the navbar. 2021-01-31 09:52:18 +11:00
dc2030e6f3 Vertical list subscriptions. 2021-01-30 21:21:54 +11:00
ef5a1cd66e Rename block sub_list > subscriptions 2021-01-30 19:47:30 +11:00
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
baf7272cfd Absolutly no jumping when images (fail to) load 2021-01-21 22:04:06 +01:00
7360503234 Make posts single-color 2021-01-18 21:32:25 -08:00
dd60cb5b2b SVG arrow 2021-01-17 15:51:03 -08:00
d45ee03122 Resolve merge conflicts 2021-01-17 23:54:48 +01:00
162e00b243 Improve accessibility rating 2021-01-17 23:49:36 +01:00
138f8320e9 Create media struct 2021-01-17 12:58:12 -08:00
090ca1a140 Add comment counter and other post improvements 2021-01-17 20:39:57 +01:00
ef9bc791e1 Fix inline style tags 2021-01-16 19:21:47 -08:00
a0bc1732cf Moderator and admin distinguishers 2021-01-16 15:02:24 -08:00
fdf60e7255 Separate datetime into relative and absolute 2021-01-16 11:40:32 -08:00
21ff8d7b6f Fix #56 2021-01-15 11:21:59 -08:00
d19e73f059 Add placeholder for posts without thumbnail 2021-01-14 21:45:43 +01:00
a4d77926b6 Rich flairs 2021-01-12 23:34:16 +01:00
bbe7024323 Start richtext flairs 2021-01-12 22:43:03 +01:00
7a33ed3434 Card thumbnails for users 2021-01-11 17:38:35 -08:00
08683fa5a6 Light theme 2021-01-10 18:15:34 -08:00
f445c42f55 Wide UI Mode 2021-01-10 13:08:36 -08:00
b13874d0db Add "hide nsfw" option 2021-01-08 17:35:04 -08:00
3444989f9a Default Comment Sort Setting 2021-01-07 08:38:05 -08:00
aa7b4b2af7 Settings with Layouts 2021-01-05 18:04:49 -08:00
2185d895c0 Prevent user datetimes from floating 2021-01-04 21:32:22 -08:00
9c1a932214 Clean Up Post Headers 2021-01-04 21:17:19 -08:00