Commit Graph

1460 Commits

Author SHA1 Message Date
12a1cf386d Merge pull request 'Add additional features to readme' (#16) from readme-updates into main
Reviewed-on: #16
2025-05-24 01:42:50 +12:00
7f6994883e README.md (B -> b)
stunning
2025-05-24 01:39:46 +12:00
641121789f groundbreaking changes (slightly styled infobox) 2025-05-24 01:37:24 +12:00
026e456855 Merge branch 'main' into readme-updates 2025-05-24 01:09:50 +12:00
d8b547547b user flair with mixed RTL-LTR text, Fixes #23 2025-05-24 01:07:20 +12:00
6b0ee8eafb quick bodge (fix later) 2025-05-24 01:02:46 +12:00
9001a92273 Merge remote-tracking branch 'upstream/main' 2025-05-24 01:01:17 +12:00
dcb507d567 feat: Improve OAuth error handling with custom AuthError type and better timeout management 2025-04-21 14:17:27 -04:00
ddeefb5917 Merge pull request #407 from n8pjl/patch-1
fix: correct typo bockquote -> blockquote in template
2025-04-08 22:02:58 -04:00
7582871e61 Merge pull request #408 from redlib-org/dependabot/cargo/tokio-1.44.2
build(deps): bump tokio from 1.44.0 to 1.44.2
2025-04-08 21:52:30 -04:00
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
1fc3669493 fix: correct typo bockquote -> blockquote in template 2025-04-08 21:17:26 -04:00
dbdc4fc2a3 fix: Copy and Import button layouts (#402) 2025-03-31 00:33:39 -04:00
cbc3e49923 v0.36.0 2025-03-19 23:05:28 -04:00
15147cea8e fix: add resource limits on encoded prefs route 2025-03-19 22:58:51 -04:00
3d85df5044 chore(deps): resolve dependabot, other cargo updates 2025-03-07 17:10:21 -05:00
c9e6ffd33c clippy fix 2025-03-07 17:08:58 -05:00
526c0d0797 fix: opensearch.xml route 2025-03-07 17:08:27 -05:00
357e7c2e09 chore: remove "official" instance 2025-03-01 12:35:43 -05:00
d097495a41 fix: handle case insensitivity for subs 2025-02-27 20:10:01 -05:00
f3ca7bb7d1 feat: allow for case-insensitive search redirects (fix #389) 2025-02-27 14:35:09 -05:00
35688e4af7 fix: update default setting for removing default feeds 2025-02-26 13:17:08 -05:00
efcf2fc24c feat: display contexted title if link is single-thread (#383) 2025-02-17 22:41:01 -05:00
9afe886c2c chore(clippy) 2025-02-13 21:42:29 -05:00
c9dbd7a3cc fix: debug string 2025-02-13 21:42:09 -05:00
bb20190555 fix: control rendering behavior based on routing 2025-02-09 17:10:12 -05:00
ebc682da2d chore: update error page 2025-02-08 16:59:32 -05:00
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
7d3160c149 style(theme): add MidnightPurple (#346)
* Create midnightPurple.css

a pure black theme with midnight purple accent

* Update midnightPurple.css

changed the purple accent to a lighter lavender
2025-02-06 16:45:39 -05:00
5265ccb033 feat: hide default feeds option (#370) 2025-02-06 13:03:42 -05:00
85329c96a7 fix: remove stray trace 2025-02-06 09:02:55 -05:00
a732f18143 chore: remove scraper cli 2025-02-03 14:25:16 -05:00
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
c7f55c146a fix(clippy): minor clippy changes 2025-02-03 00:53:13 -05:00
ef2cc01bf7 refactor(utils): avoid redundant String conversions & use match (#347)
* refactor(utils): avoid redundant String conversions & use match

* ci: fix clippy lint
2025-02-03 00:51:54 -05:00
7930b19809 fix: fix clippy + tests 2025-02-03 00:47:25 -05:00
257871b56c fix(tests) 2025-02-03 00:30:48 -05:00
bbe5f81914 fix: gracefully shutdown on CTRL+C and SIGTERM (#273)
Fixes #205
2025-02-02 23:40:19 -05:00
51386671d3 Fix embedded images sometimes having gaps around them (#295)
* Fix images embedded by rewrite_urls() having an empty <p></p> above and below them that caused weird gaps in some scenarios

* Fix test for new embedding behavior

* fix: remove println

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2025-02-02 23:38:52 -05:00
68a0517115 update devcontainer image, that includes a more recent version of rust (#294) 2025-02-02 23:32:23 -05:00
2e0e1a1aaa Fix crossposted galleries not working (#293) 2025-02-02 23:31:37 -05:00
23cda23d01 feat: add environment variables and dedicated flags for ipv4/6 only (#307)
* feat: add environment variables and dedicated flags for ipv4/6 only

* fix(readme): mention all flags on README
2025-02-02 23:30:33 -05:00
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
9e39a75e82 build(nix): update deps (#331) 2025-02-02 23:16:59 -05:00
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
cb659cc8a3 rss: proxy links in users and subreddit feeds, fixes #359 (#361) 2025-02-02 22:00:58 -05:00
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
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
9e47bc37c7 Support HEAD requests (resolves #292) (#363)
* Support HEAD requests

* Remove body from error responses too
2025-02-02 21:49:46 -05:00
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