Butter Cat
f7c182dcd8
Fix a couple of edge cases with image embedding and don't check if REDDIT_PREVIEW_REGEX matches before executing loop
2024-04-07 19:22:20 -04:00
Butter Cat
75b139dff2
Update image link test to account for embedded images
2024-04-07 12:08:53 -04:00
Butter Cat
10499df423
Make image preview links embed
2024-04-07 12:07:53 -04:00
Butter Cat
858299c861
Add test for rewriting multiple preview links
2024-04-07 11:24:18 -04:00
Butter Cat
4f0b29f930
Fix failing checks
2024-03-30 18:53:46 -04:00
Butter Cat
4e2648280d
Fix multiple Reddit preview links becoming the same
2024-03-30 18:36:28 -04:00
Matthew Esposito
9f9ae45f6e
Add many Clippy's, fix many Clippy's
2024-01-19 20:16:17 -05:00
Matthew Esposito
3609564db0
Add error logging when rendering the Error page
2024-01-19 19:00:13 -05:00
Matthew Esposito
c597a20311
Add websockets URL to parsing
2024-01-03 20:06:08 -05:00
Matthew Esposito
89ba46e15d
Redirect and proxy redditstatic gifs in-body ( fix #14 )
2024-01-03 09:36:19 -05:00
Matthew Esposito
dea805936c
Fix preview URL (fixes libreddit/libreddit/issues/559)
2024-01-02 19:21:24 -05:00
Matthew Esposito
6d97f4c8dd
Change Tokio tests - fix GHA runner (again)
2023-12-30 21:33:27 -05:00
Matthew Esposito
cd836308db
Update oauth.rs to use Android client only ( fixes #8 )
2023-12-30 17:32:54 -05:00
Matthew Esposito
c5d11f220e
Fix clippy warnings
2023-12-26 18:27:25 -05:00
Matthew Esposito
b0f985c687
Libreddit -> Redlib
2023-12-26 18:25:52 -05:00
Matthew Esposito
3e3c30d7f1
Update cookie + changes
2023-12-26 16:24:53 -05:00
Matthew Esposito
d76051302e
Merge remote-tracking branch 'origin/pull/738'
2023-12-26 15:51:15 -05:00
Matthew Esposito
de268314f3
Fix tests
2023-12-26 15:42:41 -05:00
Matthew Esposito
0eb5e18cef
Merge remote-tracking branch 'origin/pull/536'
2023-12-26 15:20:21 -05:00
Matthew Esposito
82fdcf7443
Merge remote-tracking branch 'origin/pull/768'
2023-12-26 15:15:06 -05:00
Matthew Esposito
9b71822be6
Match on both http and https in format_url (414)
2023-12-26 15:11:16 -05:00
Nazar
97f0f69059
Rebase #811 ( #812 )
...
Co-authored-by: Matthew Esposito <matt@matthew.science>
2023-06-03 17:32:46 +00:00
Kavin
4d5c52b83b
Rename variables to more descriptive names.
2023-05-01 05:00:49 +01:00
Kavin
6c47ea921b
performance: compile regex only once
2023-05-01 04:22:10 +01:00
Matthew Esposito
af8fe176ea
Fix clippy warnings
2023-04-19 10:37:47 -04:00
Matthew Esposito
4a1b448abb
Merge pull request #776 from iTzBoboCz/polls
2023-04-17 18:12:02 -04:00
Matthew Esposito
991677cd1e
Add variable for now_utc, format
2023-04-17 18:00:41 -04:00
Matthew Esposito
3b8a13d050
Merge pull request #773 from libreddit/fmt_clippy
2023-04-15 11:01:19 -04:00
Ondřej Pešek
ec226e0cab
fix(polls): apply clippy suggestions
2023-04-08 10:41:12 +02:00
Ondřej Pešek
75af984154
fix(polls): apply suggestions and fix id parsing
2023-04-01 14:26:04 +02:00
Ondřej Pešek
8bed342a6d
fix: print time suffix only for relative dates
2023-04-01 13:21:15 +02:00
Matthew Esposito
f465394f93
Address fmt + clippy
2023-03-25 16:32:42 -04:00
gmnsii
8be69f6fe5
Checks if the link contains the parameter instead of ends with it
...
To know if the gate should be bypassed, we check if the link contains
the pasameter instead of checking if the link ends with it. This is
impostant, for example if we were to implement searching for comments
within a post. If we wanted to search for comments within a post that we
have bypassed the gate to view: the link will look like
https://libreddit-instance/r/somesub/comments/post-id/post-title&bypass_nsfw_landing/?q=some-query&type=comment
2023-03-23 12:36:04 -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
Ondřej Pešek
5dc3279ac3
fix: make time work with future dates
2023-03-23 13:18:48 +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
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
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
bf19ff513f
add support for gifs in galleries. ( #744 )
2023-03-08 21:04:26 -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
potatoesAreGod
fa68bf561b
added leaving reddit dialog ( #643 )
2023-02-08 00:24:06 -07:00
Spike
bb5f2674d1
Merge branch 'master' into feature/fixed-navbar
2023-01-16 19:43:54 -08:00
potatoesAreGod
eb9ef9f6d9
added leaving reddit dialog ( #643 )
2023-01-12 01:46:56 -07:00
Daniel Valentine
9a7b3b29f5
Merge remote-tracking branch 'origin/master' into hide_awards
2023-01-03 11:12:27 -07:00
Matthew E
5b06a3fc64
Add config system to read from file ( #664 )
...
Co-authored-by: Daniel Valentine <daniel@vielle.ws>
2023-01-03 02:55:22 -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
Daniel Valentine
e579b97442
List post duplicates ( resolves #574 ).
2022-12-03 01:08:36 -07:00
spikecodes
3f3d9e9c3b
Indicate pinned posts on user profiles ( close #606 )
2022-11-14 18:08:44 -08:00