Commit Graph

1280 Commits

Author SHA1 Message Date
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 0714d58efe fix(ci): install new openssl requirements 2024-11-19 11:12:04 -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
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-11-15 16:53:00 -05:00
Matthew Esposito 62717ef6b2 fix: update error template
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
2024-11-14 11:49:47 -05:00
Matthew Esposito a301afc383 fix(scraper): truncate to post count
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-11-13 16:43:41 -05:00
pratclot 6a18ea17ec Use quotes for kaniko to expand ARG in Dockerfile (#314)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-11-10 20:19:40 -05:00
Matthew Esposito f03bdcf472 feat: display whether or not the instance is up to date on error (#310)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-11-01 18:16:25 -04:00
Matthew Esposito 2fd358f3ed feat(hls): add video quality preference (#306) 2024-11-01 12:28:52 -04:00
Matthew Esposito 5ef57812f8 style: fix clippy 2024-11-01 11:39:05 -04: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
Alex a96894c743 enables http2 crate feature, replaces http1 protocol with http2 on co… (#305) 2024-10-31 22:48:19 -04:00
Matthew Esposito 9aea9c90a2 fix: reduce to minimum patch, fix clippy 2024-10-31 16:09:35 -04:00
Matthew Esposito efdf1848ac fix: emergency patch for 403 2024-10-31 16:06:29 -04:00
Matthew Esposito bc9530821d feat(scraper): add output file 2024-10-30 15:15:38 -04:00
Matthew Esposito f3d2f0cc59 feat(scraper): add scraper CLI
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-10-21 20:54:05 -04:00
Matthew Esposito 49ef59e000 chore: make library 2024-10-21 20:46:03 -04:00
DokterKaj 3ff907d6c1 additional new colour tweaks (#285)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-10-12 11:42:15 -04:00
Ben Sherman f4a457e529 Add additional themes to README (#284)
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
2024-10-11 15:43:45 -04:00
DokterKaj 7dda8d9bbb use better accent colour + add libreddit styles (#281)
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
* update favicon with new logo

* only have 32x32 .ico file

* use #d74253 as new accent colour + add old libreddit styles + bolden accented buttons

* fix unrenamed libreddit themes
2024-10-10 18:45:39 -04:00
DokterKaj b99412b4a1 feat: update logos and accents (#280)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
* feat: update logos, accents

* fix apple-touch-icon.png size

* remove width, length

---------

Co-authored-by: DokterKaj <dokterkaj@gmail.com>
2024-10-06 15:19:37 -04:00
Guillaume Gomez 1838fdaea4 Replace askama with rinja (#276)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
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
Guanran Wang 604db902e9 Fix systemd service (#275)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
This format is not recognized by systemd. As shown in the following log:

/etc/systemd/system/redlib.service:33: System call ~@privileged is not known, ignoring.
/etc/systemd/system/redlib.service:33: System call ~@resources is not known, ignoring.
2024-10-01 15:55:42 -04:00
Matthew Esposito e57eaa0b78 fix(issue): render checkbox in issue template
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-09-29 22:31:23 -04:00
Matthew Esposito 31ad8c5f7b fix(issue): add checkbox for latest commit
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
Rust Build & Publish / build (push) Has been cancelled
2024-09-29 16:29:38 -04:00
mdnghtman 5aef97410c Update redlib.conf (#271)
This setting expects an array of subs and not a boolean value. 
This confuses new users and also seems to be unintentional. 

Removing the comment character would lead to an error output on the start page. “Couldn't send request to Reddit: Post url contains non-ASCII characters | /r/off (sub1%2Bsub2%2Bsub3)/hot.json?&raw_json=1”
2024-09-29 14:45:03 -04:00
DokterKaj 8d0ed4682e feat(search): redirect u/ and user/ to profile (#268)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-09-27 08:29:33 -04:00
Butter Cat fe4fed0504 Make jump to comment work from user's page and make last <p> in the post and comment bodies get the margin above it like the others (#219)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
* Make last <p> in post body get padding above it

* When going to a comment from a user's page jump to it on page load
2024-09-27 00:44:32 -04:00
Matthew Esposito 6e2e679a0e chore(oauth): add additional logging to login routine
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
2024-09-26 15:06:39 -04:00
Matthew Esposito 6b44c1abf2 chore(oauth): add additional logging to login routine 2024-09-26 15:04:36 -04:00
Butter Cat a807002ddf Fix #206 and make (most) emotes embed in comments (#209)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
* 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 403513ac4c fix(search): handle queries' urlencoding (#264)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
* fix(search): handle queries' urlencoding

* fix(search): handle queries' urlencoding
2024-09-24 23:30:06 -04:00
Matthew Esposito 72f7d9d08c fix(search): handle multi-sub search (#263) 2024-09-24 23:20:12 -04:00
Matthew Esposito e6273e2ed5 fix(client): catch json suspended user error (#262)
* fix(client): catch json suspended user error
2024-09-24 23:13:36 -04:00
Matthew Esposito f1d4e6a417 fix(client): catch various json errors to properly render error page (#261)
* fix(client): catch various json errors to properly render error page

* fix(client): catch various json errors to properly render error page
2024-09-24 23:01:28 -04:00
Matthew Esposito e0d7837c02 fix(client): don't catch network policy errors, since they indicate q… (#259) 2024-09-24 21:45:47 -04:00
Matthew Esposito 2d6ac78acf chore(client): update new oauth path (#258) 2024-09-24 21:28:54 -04:00
Matthew Esposito 1e54c639d3 fix(client): add a timeout and retry logic to oauth daemon (#256)
* fix(client): add a timeout and retry logic to oauth daemon

* fix(client): add a timeout and retry logic to oauth daemon
2024-09-24 21:02:12 -04:00
Matthew Esposito d5f137ce47 fix(funding): add sponsor link
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-09-21 15:48:19 -04:00
Matthew Esposito 245fd9d408 fix(funding): update funding 2024-09-21 15:47:44 -04:00
Matthew Esposito b54620b5aa fix(client): use async_recursion crate 2024-09-21 15:44:27 -04:00
freedit-dev 69c7a69afd add description for rss item (just like https://news.ycombinator.com/… (#220)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
fix #201
2024-09-21 00:05:32 -04:00
Butter Cat 2991813c2d Make poll results appear inside of a post (#218) 2024-09-21 00:02:34 -04:00
Matthew Esposito 7156be6ad0 fix(client): fix failing tests, retries for canonical_path 2024-09-20 23:57:18 -04:00
Matthew Esposito 793047f63f fix(client): revert to hyper-rustls=0.24.2
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Has been cancelled
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Has been cancelled
Rust Build & Publish / build (push) Has been cancelled
Pull Request / cargo test (push) Has been cancelled
Pull Request / cargo fmt --all -- --check (push) Has been cancelled
Pull Request / cargo clippy -- -D warnings (push) Has been cancelled
2024-09-18 11:24:00 -04:00
Matthew Esposito 3625fdfdbe fix(ci): temporarily disable README updates
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run
2024-09-17 14:42:09 -04:00
Matthew Esposito 28f85f2599 Attempting to fix main-docker.yml for downloading digests 2024-09-17 14:39:42 -04:00
wuchyi 7be29f609c Attempting to fix main-docker.yml for downloading digests (#243)
* Update main-docker.yml (digests)

Updated digest name on upload (as per 1187084)

* Update main-docker.yml (digests download)

Trying another fix based on the template provided here https://github.com/actions/download-artifact for downloading multiple (filtered) Artifacts to the same directory
2024-09-17 14:37:39 -04:00