Commit Graph

265 Commits

Author SHA1 Message Date
Butter Cat
e6b9a2e426
Fix anchor tags scrolling to the wrong place when fixed navbar is enabled (#82) 2024-04-07 10:52:59 -04:00
Matthew Esposito
3dee29f3ef
Add scrolling to highlighted comment (fix #13) 2024-01-02 19:43:00 -05:00
Matthew Esposito
bfe1c3db57
Fix Settings HTML 2023-12-28 11:35:06 -05:00
Matthew Esposito
b0f985c687
Libreddit -> Redlib 2023-12-26 18:25:52 -05:00
Matthew Esposito
d9f7ebcb79
Update util calls 2023-12-26 16:12:00 -05:00
Matthew Esposito
1c36467c9c
Merge remote-tracking branch 'origin/pull/867' 2023-12-26 15:52:53 -05:00
Matthew Esposito
d76051302e
Merge remote-tracking branch 'origin/pull/738' 2023-12-26 15:51:15 -05:00
Matthew Esposito
902acb257d
Merge remote-tracking branch 'origin/pull/176' 2023-12-26 15:47:12 -05:00
Matthew Esposito
0eb5e18cef
Merge remote-tracking branch 'origin/pull/536' 2023-12-26 15:20:21 -05:00
Matthew Esposito
c17af7db75
Small changes to table and html 2023-12-26 15:18:29 -05:00
Matthew Esposito
6625d106c3
Merge remote-tracking branch 'origin/pull/753' 2023-12-26 15:17:23 -05:00
Matthew Esposito
82fdcf7443
Merge remote-tracking branch 'origin/pull/768' 2023-12-26 15:15:06 -05:00
ccuser44
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
fawn
13394b4a5e
Add ability to hide subreddit panel (closes #801) 2023-06-07 13:51:27 +03:00
gmnsii
38ee0d9428 make comment search bar color change based on theme 2023-05-31 19:41:13 +02:00
Matthew Esposito
4a1b448abb
Merge pull request #776 from iTzBoboCz/polls 2023-04-17 18:12:02 -04:00
Matthew Esposito
5f87875b8e
Merge branch 'master' into bypass-gate 2023-04-15 10:56:28 -04:00
Ondřej Pešek
94a781c82c fix(polls): minor improvements 2023-04-01 14:31:39 +02:00
Ondřej Pešek
75af984154 fix(polls): apply suggestions and fix id parsing 2023-04-01 14:26:04 +02:00
gmnsii
1e418619f1 Feat: search for comments within posts
Add the ability to search for specific comments within posts.
Known issues:
  - Just like on reddit, this does not work with comment sorting. The
    sorting order is ignored during the search and changing the sorting
    order after the search does not change anything. I do not think we
    can fix this before reddit does, since in my understanding we rely
    on them for the sorting. However we could implement a default
    sorting method ourselves by taking the vector of comments returned
    from the search and sorting it manually.
  - The UI could be improved on mobile. On screens with a max width
    inferior to 480 pixels, the comment search bar is displayed below
    the comment sorting form. It would be great if we could make the
    search bar have the same width as the whole comment sorting form
    but I do not have the willpower to write any more css.
2023-03-24 17:41:26 -07:00
gmnsii
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
gmnsii
a0726c5903 Change the bypass message and format code
The bypass message now indicates that the bypass is only temporary.
2023-03-23 11:09:33 -07:00
Ondřej Pešek
c1c867a5ff feat: add polls 2023-03-23 13:21:09 +01:00
gmnsii
e046144bf3 Allow bypassing nsfw gate for posts
On instances that are not sfw-only, the nsfw gate for posts can now be
bypassed.
2023-03-22 23:18:35 -07:00
gmnsii
f8ba3cf815 Fix formatting in some places 2023-03-22 20:29:48 -07:00
gmnsii
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
mikupls
eb0928acc3 add link to reddit status page. 2023-03-14 22:21:41 +01:00
Spike
af6722c053
Move unimportant links to footer (#728) 2023-03-08 22:14:43 -07:00
mikupls
01f9907aaf
show the count of 'more replies'. (#740)
Co-authored-by: Daniel Valentine <daniel@vielle.ws>
Co-authored-by: Matthew Esposito <matt@matthew.science>
2023-03-08 21:30:41 -07:00
mikupls
a7f59ccac1 Display previews and inline images for reddit-hosted images.
This version does not change the svg behaviour in the other cases in an attempt to reduce breakage.
2023-03-03 13:50:05 +01:00
wsy2220
0b39d4f059
Mark search query as safe on Prev/Next button (#731)
Fixes: #677 again. Complement to #686.
2023-02-26 00:35:05 -07:00
Spike
5e03d701e4
Revert "Move unimportant links to footer"
This reverts commit e3df3a9470.
2023-02-19 18:03:55 +00:00
Spike
e3df3a9470
Move unimportant links to footer 2023-02-19 18:00:56 +00:00
Spike
f544daf8c0
Replace snoo with r/ icon 2023-02-09 21:40:51 -08:00
Daniel Valentine
089315f9bb
v0.29.1 (fixes #713) 2023-02-09 22:25:42 -07:00
potatoesAreGod
fa68bf561b
added leaving reddit dialog (#643) 2023-02-08 00:24:06 -07:00
Matthew Esposito
8be5fdee2d
Implement instance info endpoint (JSON, YAML, TXT) (#685)
Co-authored-by: Daniel Valentine <daniel@vielle.ws>
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2023-01-30 02:02:43 -07:00
spikecodes
7efa26e811
Fix #699 2023-01-21 00:35:49 -08:00
Spike
bb5f2674d1
Merge branch 'master' into feature/fixed-navbar 2023-01-16 19:43:54 -08:00
Matthew Esposito
3d0287f04f
Add comment count in post (#659)
* Add comment count in post

* Restyle comment count
2023-01-16 12:05:53 -08:00
potatoesAreGod
eb9ef9f6d9
added leaving reddit dialog (#643) 2023-01-12 01:46:56 -07:00
Matthew E
f6bb53e388
Mark search query as safe in askama template (#686) 2023-01-03 20:55:17 -08:00
Daniel Valentine
e9891236cd
Remove unnecessary SFW-only disclosure in settings in SFW-only mode. 2023-01-03 11:20:55 -07:00
Daniel Valentine
9a7b3b29f5
Merge remote-tracking branch 'origin/master' into hide_awards 2023-01-03 11:12:27 -07:00
Daniel Valentine
c83a4e0cc8
Landing page for NSFW content, SFW-only mode (#656)
Co-authored-by: Matt <matt@matthew.science>
Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2023-01-03 02:39:45 -07:00
Matthew Esposito
6a785baa2c Add hide_awards config 2023-01-01 21:39:38 -05:00
Spenser Black
a49d399f72
Link to libreddit/libreddit and open in new tab
This sets the target of the "code" link to `_blank`, so that it will
open in a new tab in browsers. Because the GitHub page is a different
context from libreddit, and accessing the repository doesn't imply that
the user is finished browsing libreddit, this seemed reasonable. This
also changes the link from `spikecodes/libreddit` to
`libreddit/libreddit`.
2023-01-01 13:43:33 -05:00
Rupert Angermeier
9178b50b73
fix a11y and HTML issues on settings page (#662)
- connect labels with corresponding form controls
- use fieldsets to group form sections
- don't nest details/summary element into label
2023-01-01 01:56:09 -07:00
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
37d1939dc0
Fix #658.
Dimensions for embedded video in post are explicitly set only when defined by Reddit.

c/o: NKIPSC <15067635+NKIPSC@users.noreply.github.com>
2022-12-13 21:15:28 -07:00