Commit Graph

211 Commits

Author SHA1 Message Date
Ben Beasley
f71b0cd178
chore(deps): Update brotli from 6.0 to 7.0 (#277)
* chore(deps): Update brotli from 6.0 to 7.0

* Update Cargo.lock for brotli 7.0
2024-10-02 14:18:41 -04:00
Butter Cat
a807002ddf
Fix #206 and make (most) emotes embed in comments (#209)
* Fix links not being converted when multiple emojis are in one comment

* Make (most) emotes embed within comments

* Restore the behavior that the "rewrite_urls_removes_backslashes_and_rewrites_url" test looks for

* Listen to cargo fmt and cargo clippy's suggestions as well as removing some leftover comments and code

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2024-09-25 13:36:23 -04:00
Matthew Esposito
b54620b5aa fix(client): use async_recursion crate 2024-09-21 15:44:27 -04:00
Matthew Esposito
793047f63f fix(client): revert to hyper-rustls=0.24.2 2024-09-18 11:24:00 -04:00
Matthew Esposito
374238abc3
Add RSS feeds (fix #57) (#90)
* Add RSS feeds

* feat(rss): feature-ify rss

* feat(rss): config-ify rss

* fix(rss): update info page

* feat(rss): conditionally add RSS feeds to user and sub pages

* feat(rss): implement URLs for RSS
2024-07-21 14:09:34 -04:00
Matthew Esposito
d9e7681004 v0.35.1 2024-06-29 13:28:18 -04:00
Matthew Esposito
f44638a2cb v0.35.0 2024-06-29 12:00:34 -04:00
Matthew Esposito
3b2ad212d5 fix(oauth): arc_swap 2024-06-28 18:14:47 -04:00
Matthew Esposito
00dee52320 chore(deps): Cargo update 2024-06-25 20:42:06 -04:00
Matthew Esposito
7a099f259f v0.34.0 2024-05-29 20:59:27 -04:00
Matthew Esposito
96a7e155c5 v0.33.3 2024-05-29 20:49:29 -04:00
Matthew Esposito
4cc8bf8318 v0.33.2 2024-05-29 20:05:56 -04:00
Matthew Esposito
6102b08894 v0.33.1 2024-05-29 19:24:09 -04:00
Matthew Esposito
33411a7588 Bump version 2024-05-29 18:40:09 -04:00
Matthew Esposito
da581cb79b
Update deps (GHSA-r8w9-5wcg-vfj7) 2024-03-04 20:02:58 -05:00
Nazar
3bb5dc5f3e
Update dependencies (Hyper v1.x) (#39)
* Cargo update

* Update major non-breaking changes

* Add deprecation feature-flags to hyper v0.14

* Semi-upgrade hyper-rustls

* Revert deprecated warnings
2024-02-06 08:01:59 -05:00
Matthew Esposito
3e459f5415
Cargo update - fix possible DoS 2024-01-19 19:06:47 -05:00
Matthew Esposito
5cb36ee15d
v0.31.0 2024-01-02 18:45:19 -05:00
Matthew Esposito
5f84d12774
0.30.2 (update config handling + test GH release) 2023-12-27 00:11:24 -05:00
Matthew Esposito
b0f985c687
Libreddit -> Redlib 2023-12-26 18:25:52 -05:00
Matthew Esposito
dac059573d
Update rest of Cargo.toml, excepting askama, futures-lite, hyper 2023-12-26 17:50:56 -05:00
Matthew Esposito
3e3c30d7f1
Update cookie + changes 2023-12-26 16:24:53 -05:00
Matthew Esposito
e82c3fbea0
Update 11-15 of deps 2023-12-26 16:12:42 -05:00
Matthew Esposito
36357e2609
Cargo update 2023-12-26 15:55:35 -05:00
Matthew Esposito
e94a9c81e2
Add deps - rand, logging 2023-06-06 14:33:01 -04:00
Matthew Esposito
383d2789ce
Initial PoC of spoofing Android OAuth 2023-06-05 20:31:25 -04:00
Tokarak
f9fd54aa3c Specify newer dependencies + cargo update 2023-06-03 19:41:32 +01:00
Matthew Esposito
3c892d3cfd
Update Cargo.lock - h2 moderate 2023-04-19 10:27:50 -04:00
Daniel Valentine
6bcc4aa368
Update version string in Cargo.lock. 2023-03-17 09:36:52 -06:00
Daniel Valentine
51cdf574f7
v0.30.0 2023-03-08 22:15:31 -07:00
Daniel Valentine
d3b4f4e379
Update tempfile to v3.4.0. 2023-02-26 03:11:17 -07:00
Daniel Valentine
b90b41c009
v0.29.4 2023-02-26 03:01:35 -07:00
Daniel Valentine
35504eda14
v0.29.3 -- fix layout bugs on mobile
Addresses the following layout bugs in mobile view:

* improper rendering of award images on posts
* upvote ratio no longer appearing on bottom-right corner of post as
  before
* Reddit warning pop-up background cut off at bottom of page

Fixes #713.
2023-02-14 20:19:19 -07:00
Daniel Valentine
a05cfe60fe
v0.29.2 2023-02-12 03:36:48 -07:00
Daniel Valentine
089315f9bb
v0.29.1 (fixes #713) 2023-02-09 22:25:42 -07:00
Daniel Valentine
1f7e14dd4e
v0.29.0 2023-02-08 00:33:57 -07:00
Daniel Valentine
9bf6194b09
v0.28.1
Remove font-weight associated with instance info button, which made the
icon look ghastly in Chrome.
2023-01-31 00:14:23 -07:00
Daniel Valentine
f405f509c4
v0.28.0 2023-01-30 02:07:32 -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
spikecodes
7cb132af01
Update packages 2023-01-16 11:09:57 -08:00
Daniel Valentine
412122d7d9
v0.27.1 2023-01-12 01:57:03 -07:00
dependabot[bot]
e238a7b168
Bump tokio from 1.23.0 to 1.23.1 (#691)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.23.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-12 01:39:23 -07:00
Daniel Valentine
0ff92cbfe3
v0.27.0 2023-01-03 11:21:27 -07:00
Tokarak
050eaedf15 Remove unused dep "async-recursion"
Found using cargo-udeps. Checked.
2023-01-03 14:56:17 +00: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
4817f51bc0
v0.26.0 2023-01-03 02:40:44 -07:00
Daniel Valentine
c15f305be0
v0.25.3 2023-01-01 23:54:35 -07:00
Daniel Valentine
b5d04f1a50
v0.25.2 2022-12-31 21:34:15 -07:00
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