239 Commits

Author SHA1 Message Date
Mark Lopez
af002ab216 chore: speculative fix for weird failures 2026-04-04 18:30:45 -05:00
Mark Lopez
35352a8d52 chore: use os certificates 2026-04-04 16:06:12 -05:00
Mark Lopez
883728f3b0 chore: reduced random emulation list for privacy 2026-04-04 15:26:45 -05:00
Mark Lopez
5bfa7d6e89 feat: added proxy support 2026-04-04 15:02:18 -05:00
Mark Lopez
c005e6f2d3 chore: switch gzip to default wreq handling, enabled device emulation, removed unused crates 2026-04-04 13:08:30 -05:00
Mark Lopez
0f66cb1b3b chore: proof of concept of wreq 2026-04-04 12:34:15 -05:00
Mark Lopez
ff47763627 chore: added wreq, updated README.md 2026-04-04 11:46:22 -05:00
Mark Lopez
9e1c09610c fix: avoid 403 by matching cipher suites to that of FF 2025-12-04 17:42:08 -06:00
Matthew Esposito
2dc6b5f3c0 feat(oauth): add additional fallback oauth backend 2025-10-06 12:27:12 -04:00
Thomas Hebb
cf58f2f654 Use std::sync::LazyLock instead of once_cell version
This has been in std since Rust 1.80. We currently need Rust 1.81 to
build (#478), so there's no reason not to use it and remove our direct
dependency on once_cell.
2025-09-09 14:11:53 -04:00
Benjamin A. Beasley
78f8dcc3ac Replace rinja with askama
“New versions of `rinja` will be released under the name `askama`.”

https://crates.io/crates/rinja
2025-08-17 08:34:07 -04:00
dependabot[bot]
e80ec5d16b build(deps): bump tokio from 1.44.0 to 1.44.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.44.0 to 1.44.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.0...tokio-1.44.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 01:45:01 +00:00
Matthew Esposito
cbc3e49923 v0.36.0 2025-03-19 23:05:28 -04:00
Matthew Esposito
3d85df5044 chore(deps): resolve dependabot, other cargo updates 2025-03-07 17:10:21 -05:00
Matthew Esposito
2e95e1fc6e feat: smaller imports and exports (#373)
* feat: smaller imports and exports

* test(prefs): extend tests

* style(clippy)

* style: bubble up error

* style: update some wording
2025-02-06 20:34:12 -05:00
freedit-dev
7770c57856 fix Code blocks err #227 (#323)
* fix Code blocks https://github.com/redlib-org/redlib/issues/227

* add pulldown-cmark

* add pulldown-cmark

* fix Code blocks err #227

* add pre style for post codeblock

* Update style.css (fix Code blocks err #227 )

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2025-02-03 00:58:14 -05:00
Martin Lindhe
fd1c32f555 rss: add <pubDate> field, fixes #356 (#358)
* rss: add <pubDate> field, fixes #356

* rss: also add pub_date on user feed

* fix(fmt)

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2025-02-02 22:00:44 -05:00
Martin Lindhe
adf25cb15b unescape selftext_html from json api, fixes #354 (#357)
* unescape selftext_html from json api, fixes #354

* fix(fmt)

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2025-02-02 21:56:47 -05:00
Jeidnx
d7ec07cd0d Implement a serializer for user preferences (#336) 2024-12-02 11:29:57 -05:00
Matthew Esposito
6be6f892a4 feat(oauth): better oauth client matching 2024-11-20 19:19:29 -05:00
Matthew Esposito
cb9a2a3c39 fix(client): revert to hyper_rustls :P hi SWE 👋 2024-11-19 15:48:42 -05:00
Matthew Esposito
f8a9ad363d chore(deps): updates 2024-11-19 11:37:30 -05:00
Matthew Esposito
f7240208f1 fix(tls): vendor native-tls 2024-11-19 11:18:20 -05:00
Matthew Esposito
a96bebb099 fix(client): switch to hyper-tls 2024-11-19 11:08:00 -05:00
Matthew Esposito
6c64ebd56b fix(scraper): additionally grab common words 2024-11-15 16:53:00 -05:00
Nolan Poe
d17d097b12 Fix parts of CI (#304)
* Run cargo fmt, hide clippy::cmp_owned errors

* Bump deps

* Fix failing test

* Update src/client.rs

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2024-10-31 22:50:50 -04:00
Matthew Esposito
f3d2f0cc59 feat(scraper): add scraper CLI 2024-10-21 20:54:05 -04:00
Guillaume Gomez
1838fdaea4 Replace askama with rinja (#276) 2024-10-02 17:43:13 -04:00
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