Commit graph

1304 commits

Author SHA1 Message Date
mooons
96ad7bf163
feat: render bullet lists (#321)
* feat: render bullet lists

* tests: add tests

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2025-02-02 23:26:36 -05:00
Joel Koen
9e39a75e82
build(nix): update deps (#331) 2025-02-02 23:16:59 -05:00
Vivek
0703fa1036
[build] add new dockerfiles for building from source (#244)
* add new dockerfiles

* update default ubuntu base images

* updates

* update comment

* update cargo command

Co-authored-by: Pim <pimlie@hotmail.com>

* update cargo command

Co-authored-by: Pim <pimlie@hotmail.com>

* specify binary

* use label instead of maintainer

---------

Co-authored-by: Pim <pimlie@hotmail.com>
2025-02-02 22:10:12 -05:00
Martin Lindhe
cb659cc8a3
rss: proxy links in users and subreddit feeds, fixes #359 (#361) 2025-02-02 22:00:58 -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
Kot C
9e47bc37c7
Support HEAD requests (resolves #292) (#363)
* Support HEAD requests

* Remove body from error responses too
2025-02-02 21:49:46 -05:00
Butter Cat
5c1e15c359
Make subscription and filter cookies split into multiple cookies if they're too large (#288)
* Split subscriptions and filters cookies into multiple cookies and make old cookies properly delete

* Cleanup

* Fix mispelling for removing subscription cookies

* Fix many subscription misspellings

* Fix subreddits and filters that were at the end and beginning of the cookies getting merged

* Make join_until_size_limit take the +'s into account when calculating length

* Start cookies without number to be backwards compatible

* Fix old split cookies not being removed and subreddits/filters between cookies occasionally getting merged

* Make updating subscription/filters cookies safer

* Small cleanup

* Make restore properly add new subscriptions/filters cookies and delete old unused subscriptions/filters cookies

* Fix misspellings on variable name
2025-02-02 21:48:46 -05:00
Jeidnx
d7ec07cd0d
Implement a serializer for user preferences (#336) 2024-12-02 11:29:57 -05:00
Integral
e4fc22cf90
refactor: replace static with const for global constants (#340) 2024-12-02 11:28:31 -05:00
Matthew Esposito
9f6b08cbb2 fix(main): reduce rate limit check fail to warned error 2024-11-26 22:55:48 -05:00
Matthew Esposito
a4f511f67e fix(client): update rate limit self-check (fix #335) 2024-11-24 10:50:21 -05:00
Matthew Esposito
7fe109df22 style(clippy) 2024-11-23 21:41:30 -05:00
Matthew Esposito
100a7b65a6 fix(client): update headers management, add self check (fix #334, fix #318) 2024-11-23 21:36:46 -05:00
Matthew Esposito
6be6f892a4 feat(oauth): better oauth client matching 2024-11-20 19:19:29 -05:00
Matthew Esposito
95ab6c5385 fix(oauth): update oauth resources and script 2024-11-20 18:50:06 -05:00
Matthew Esposito
d3ba5f3efb feat(error): add new instance buttom 2024-11-19 16:30:37 -05:00
Matthew Esposito
cb9a2a3c39 fix(client): revert to hyper_rustls :P hi SWE 👋 2024-11-19 15:48:42 -05:00
Matthew Esposito
6ecdedd2ed feat(client): additionally randomize headers 2024-11-19 14:54:06 -05:00
Matthew Esposito
18efb8c714 fix(client): update headers 2024-11-19 14:10:59 -05:00
James Musselman
0bc36d529c
Add Quadlet Container File (#319)
* Add Quadlet Container File

* Update README.md with Quadlet instructions
2024-11-19 13:19:48 -05:00
Matthew Esposito
96ebfd2d3a fix(ci): statically build on artifacts 2024-11-19 12:53:36 -05:00
Matthew Esposito
3e1718bfc9 fix(client): ??? no accept language 2024-11-19 12:44:20 -05:00
Matthew Esposito
96e40e8887 style(clippy): small clippy change 2024-11-19 11:40:17 -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
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 2024-11-15 16:53:00 -05:00
Matthew Esposito
62717ef6b2 fix: update error template 2024-11-14 11:49:47 -05:00
Matthew Esposito
a301afc383 fix(scraper): truncate to post count 2024-11-13 16:43:41 -05:00
pratclot
6a18ea17ec
Use quotes for kaniko to expand ARG in Dockerfile (#314) 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) 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 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) 2024-10-12 11:42:15 -04:00
Ben Sherman
f4a457e529
Add additional themes to README (#284) 2024-10-11 15:43:45 -04:00
DokterKaj
7dda8d9bbb
use better accent colour + add libreddit styles (#281)
* 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)
* 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) 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)
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 2024-09-29 22:31:23 -04:00