Commit Graph

212 Commits

Author SHA1 Message Date
gmnsii
9e434e7db6
Search - add support for raw reddit links (#663)
* Search - add support for raw reddit links

If a search query starts with 'https://www.reddit.com/' or 'https://old.reddit.com/',
this prefix will be truncated and the query will be processed normally.
For example, a search query 'https://www.reddit.com/r/rust' will redirect to
r/rust.

* Search - support a wider variety of reddit links.

Add once cell dependency for static regex support (avoid compiling the
same regex multiple times).
All search queries are now matched against a regex (provided by @Daniel-Valentine)
that determines if it is a reddit link. If it is, the prefix specifying
the reddit instance will be truncated from the query that will then be
processed normally.
For example, the query 'https://www.reddit.com/r/rust' will be treated
the same way as the query 'r/rust'.
2022-12-31 20:57:42 -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
Daniel Valentine
7391a5bc7a
v0.25.0 2022-12-03 01:18:23 -07:00
Daniel Valentine
8fa8a449cf
Sign release (resolves #651). 2022-12-01 16:42:04 -07:00
laazyCmd
92f5286667 Make the column size in posts consistent.
Signed-off-by: Daniel Valentine <Daniel-Valentine@users.noreply.github.com>
2022-11-30 21:06:21 -07:00
Daniel Valentine
6912307349 Update version to v0.24.1. 2022-11-22 12:14:12 -07:00
spikecodes
3f3d9e9c3b
Indicate pinned posts on user profiles (close #606) 2022-11-14 18:08:44 -08:00
spikecodes
377634841c
Upgrade to v0.23.2 2022-11-03 21:31:32 -07:00
Daniel Valentine
ae3ea2da7c
HTTP compression (Reddit -> Libreddit -> client) (#612)
Implements HTTP compression, between both Reddit and Libreddit and Libreddit
and a web browser. Compression between Reddit and Libreddit is mandatory,
whereas compression between Libreddit and a client is opt-in (client must
specify a compressor in the Accept-Encoding header).

Supported compressors are gzip and brotli. gzip support is ubiquitous,
whereas brotli is supported by almost all modern browsers except Safari
(iOS, iPhone, macOS), although Safari may support brotli in the future.

Co-authored-by: Matthew E <matt@matthew.science>
2022-11-03 22:04:34 -06:00
spikecodes
b170a8dd99
Switch Reveddit to Unddit 2022-10-31 22:30:31 -07:00
spikecodes
aa54301054
Upgrade to version 0.23 2022-10-31 20:35:00 -07:00
spikecodes
b4d3f03335
Upgrade dependencies 2022-10-31 20:23:59 -07:00
spikecodes
5f20e8ee27
Fix dark theme hidden in settings 2022-05-28 19:55:13 -07:00
Mario A
90828cc71c
Fix "Post url contains non-ASCII characters" error (#479) 2022-05-21 05:48:59 +00:00
spikecodes
428dc58e3c
Update to v0.22.8 2022-05-20 19:20:44 -07:00
mikupls
60c7b6b23f
Embed css themes to simplify adding and testing new themes (#489) 2022-05-21 01:41:31 +00:00
spikecodes
bb7fb1313d
Fix multireddit subscription redirect url 2022-05-15 13:50:17 -07:00
spikecodes
47ab857103
Scroll overflowing tables (fixes #469) 2022-04-02 21:24:20 -07:00
mikupls
eb6c5e5e1e
Fix backslash url rewriting and add tests for rewrite_urls. (#461)
* Fix backslash url rewriting.

Add test for rewrite_urls.

Fixes #281.

* Update to v0.22.5

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2022-03-26 20:26:30 +00:00
spikecodes
ed11135af8
Update to v0.22.4 2022-03-26 13:09:24 -07:00
spikecodes
9eb42932df
Hide empty sidebar 2022-03-24 21:19:21 -07:00
spikecodes
59043456ba
Wrap long post titles (fixes #435) 2022-03-13 12:59:15 -07: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
spikecodes
977cd0763a
Fix #379 2022-01-05 16:46:45 -08:00
spikecodes
fcadd44cb3
Update dependencies 2022-01-05 16:39:56 -08: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
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
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
spikecodes
0656756d21
Fix #196 2021-11-29 22:29:41 -08: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
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
923ff776bd
Fix HLS + autoplay from breaking videos 2021-11-22 18:07:00 -08:00
spikecodes
9f8d36cb00
Prevent post previews from overflowing on Chromium 2021-11-22 08:40:36 -08:00
spikecodes
7220190811 Link subscriptions in settings to their respective feeds 2021-11-21 22:30:44 -08:00
spikecodes
34ea679519
Update crates and optimize parameters 2021-11-14 18:51:36 -08:00
spikecodes
1d4ea50a45
Add setting to autoplay videos 2021-10-25 21:27:55 -07:00
spikecodes
32360e5165
Update v0.15.3 2021-09-19 14:37:31 -07:00
spikecodes
6a4191f3b5
Fix #272 2021-09-09 17:28:55 -07:00
spikecodes
982f57efd9
Fix user profiles showing up in search engines 2021-09-06 12:05:03 -07:00
spikecodes
52a1b45014
Lazy load images 2021-09-06 12:02:52 -07:00
spikecodes
41b3dc5739
More apt error messages for Reddit outages 2021-08-11 20:49:42 -07:00
spikecodes
5c753ee171
Fix #251 2021-08-04 11:52:24 -07:00
spikecodes
45a5778571
Escape text-only flairs 2021-07-19 10:20:00 -07:00
spikecodes
345f8e7b80
Dampen title color of visited posts. Fixes #222 2021-07-18 14:53:08 -07:00
spikecodes
a190890239
Fix Regex matching of Reddit links 2021-07-17 22:24:28 -07:00
spikecodes
56998b8332
Rewrite redd.it links 2021-06-21 22:51:50 -07:00
spikecodes
85deb4947d
Support HLS playback in search and user feeds 2021-06-11 17:38:43 -07:00
spikecodes
d2002c9027
Disable dysfunctional moderator list feature 2021-06-11 11:03:36 -07:00
spikecodes
ca3f6c0579
Fix #228 2021-05-28 12:01:20 -07:00
spikecodes
d27bd782ce
Specify fallback fonts 2021-05-26 20:30:08 -07:00
spikecodes
4defb58f2a
Optimizations and commenting 2021-05-20 12:24:06 -07:00
spikecodes
ba42fc066f
Fix two subscription bugs 2021-05-19 20:30:10 -07:00
spikecodes
2cd35fb3b6
Upgrade to v0.14.2 2021-05-19 16:12:21 -07:00
spikecodes
73732a2a44
Fix subscription clearing when saving settings 2021-05-19 15:59:32 -07:00
spikecodes
43ed9756dc
Upgrade to v0.14 2021-05-16 09:11:38 -07:00
spikecodes
4f09333cd7
Handle three unwraps 2021-05-15 14:51:57 -07:00
spikecodes
e4f9bd7b8d
Configure default settings using environment variables 2021-05-15 13:59:42 -07:00
spikecodes
499a56aed4
Bump version to v0.12.0 2021-05-09 18:27:25 -07:00
spikecodes
7ae7a88eed
Upgrade to v0.11.2 2021-05-09 08:51:01 -07:00
spikecodes
e34329cfee
Upgrade to v0.11.1 2021-05-08 22:09:47 -07:00
spikecodes
c1560f4eba
Upgrade to v0.11.0 2021-05-06 12:31:59 -07:00
curlpipe
9e4066658c
Added 2 new themes: violet & gold (#212)
* Added 2 new themes: violet & gold

* Increased contrast in Violet theme

* Changed accent colour on violet theme
2021-05-03 16:48:21 +00:00
spikecodes
e3fb93946a
Revert ARM builds to only arm64 2021-04-17 21:32:48 -07:00
spikecodes
c844655c98
Use rust:latest as base Docker image for arm tag 2021-04-17 20:56:12 -07:00
spikecodes
cac83493da
Add arm/v7 platform for Docker builds 2021-04-17 18:58:18 -07:00
spikecodes
b47cfd1ba5
Only scroll overflowing tables in Wikis 2021-04-16 14:47:42 -07:00
spikecodes
28ca3589ed
Add scrollbar to overflowing wikipages. Fixes #192 2021-04-15 15:56:48 -07:00
spikecodes
3cf787cf98
Fix #195 2021-04-14 21:53:17 -07:00
spikecodes
5c2e134924
Include Cargo.lock. Fixes #191 2021-04-14 21:44:16 -07:00
spikecodes
84009fbb8e
Remove Cargo.lock 2021-03-08 18:49:35 -08:00
spikecodes
213babb057
Update dependencies 2021-03-08 16:30:34 -08:00
spikecodes
10873dd0c6
Fix #144 2021-03-05 06:24:40 -08:00
spikecodes
56cfeba9e5
Update to v0.3.1 2021-03-03 09:35:40 -08:00
spikecodes
890d5ae625
Revert to curl-client 2021-03-03 09:24:31 -08:00
spikecodes
caa8f1d49e
Test h1-client 2021-03-03 09:15:19 -08:00
spikecodes
dd51b23dc4
Switch Surf backend to h1-client-rustls 2021-03-02 19:44:51 -08:00
spikecodes
10c73fad7f
Switch favicon to ico 2021-02-26 12:04:11 -08:00
spikecodes
be2a1d876b
Fix url rewrites 2021-02-25 11:01:25 -08:00
spikecodes
5d643277bc
Geometric logo 2021-02-25 09:07:45 -08:00
spikecodes
83ba0fb913
Reduce dependencies 2021-02-24 20:26:12 -08:00
spikecodes
4a06882dc8
Simplify routes in main.rs 2021-02-24 09:26:01 -08:00
spikecodes
2f3315dcfc
Fixes #130 2021-02-22 12:56:23 -08:00
spikecodes
de38f7ef18
Fix post flairs 2021-02-21 10:11:17 -08:00
spikecodes
a606e48435
Handle 4 more unwraps 2021-02-20 12:14:32 -08:00
spikecodes
b3341b49c0
Individually proxy subreddit and user icons 2021-02-19 21:46:44 -08:00
spikecodes
c586de66ba
Individually proxy images and thumbnails 2021-02-19 12:55:07 -08:00
spikecodes
e466be8946
Fix manifest and update dependencies 2021-02-19 11:10:48 -08:00
spikecodes
3652342f46
Use clap for arg parsing 2021-02-18 11:40:10 -08:00
spikecodes
58127b17d8
Individually proxy videos 2021-02-18 10:04:59 -08:00
spikecodes
2f4deb221a
Reduce dependencies 2021-02-16 11:39:56 -08:00
spikecodes
71501b064c
Update dependencies 2021-02-15 14:09:45 -08:00
spikecodes
aa7c8c85df
Templatize redirects 2021-02-13 15:02:38 -08:00