Commit Graph

1108 Commits

Author SHA1 Message Date
Butter Cat
ccfe7d0eeb
Make embedded images keep aspect ration when shrinking 2024-04-07 19:24:55 -04:00
Butter Cat
f7c182dcd8
Fix a couple of edge cases with image embedding and don't check if REDDIT_PREVIEW_REGEX matches before executing loop 2024-04-07 19:22:20 -04:00
Matthew Esposito
7c87d63d34
Merge pull request #85 from ButteredCats/embed_images
Embed Reddit preview links
2024-04-07 14:01:47 -04:00
Butter Cat
75b139dff2
Update image link test to account for embedded images 2024-04-07 12:08:53 -04:00
Butter Cat
10499df423
Make image preview links embed 2024-04-07 12:07:53 -04:00
Matthew Esposito
c86ca16c1a
Merge pull request #80 from ButteredCats/fix_multiple_images
Fix multiple Reddit preview links becoming the same
2024-04-07 11:58:51 -04:00
Butter Cat
858299c861
Add test for rewriting multiple preview links 2024-04-07 11:24:18 -04:00
Matthew Esposito
75f5c6668c
Merge pull request #77 from EMarshal/main
Update PUSHSHIFT_FRONTEND examples to undelete.pullpush.io
2024-04-07 10:53:40 -04:00
Butter Cat
e6b9a2e426
Fix anchor tags scrolling to the wrong place when fixed navbar is enabled (#82) 2024-04-07 10:52:59 -04:00
Daniel Nathan Gray
d4a2b3edc6
Add SVG logo (#84)
* Add SVG version of logo

* Add PNG generated from SVG
2024-04-07 10:51:33 -04:00
Butter Cat
4f0b29f930
Fix failing checks 2024-03-30 18:53:46 -04:00
Butter Cat
4e2648280d
Fix multiple Reddit preview links becoming the same 2024-03-30 18:36:28 -04:00
Éli Marshal
35ae71302f Update PUSHSHIFT_FRONTEND examples to undelete.pullpush.io
Matches the change in 3592728
2024-03-28 17:09:12 -06:00
Matthew Esposito
e79242c9e7
v0.31.2 2024-03-04 20:20:23 -05:00
Matthew Esposito
da581cb79b
Update deps (GHSA-r8w9-5wcg-vfj7) 2024-03-04 20:02:58 -05:00
nohoster
3f4526debe
Container pipeline overhaul (#59)
* Simplified docker image building

* minor name fix

* Optimize container pipeline

* Change config to redlib-org account

* Added README push to Quay.io

* Fixes
2024-03-04 20:02:06 -05:00
Márton
5de171b13a
Make HLS support checking more robust (#61) 2024-03-04 19:59:54 -05:00
perennial
22910956db
Overhaul README.md (#56)
* Use GitHub Flavored Markdown for admonitions

* Add syntax highlighting to code blocks

* Minor raw formatting changes

* Add 'Metric' header to PageSpeed Insights table

* Fix typo

* Minor wording changes

* Add link to launchd page on Wikipedia

* Overhaul README.md

* Add table of contents

* Reorganise About section

* Edit PageSpeed table

* Add instructions for streaming container logs

* Rework Instances section

* Add note about Compose plugin installation

* Add link to instance monitoring

* Move info on architecture specific images into an admonition

* Change NGINX reverse proxy admonition to important

* Change Redlib external links admonition to a note

* Edit section headings

* Fix anchor link under Deployment section

* Add comparison with Libreddit

* Update ToC
2024-02-15 15:58:33 -05:00
Matthew Esposito
94ada2b10c
Remove seccomp profile from yml (#34) 2024-02-12 14:43:36 -05:00
Kirk1984
1f246c956d
Rename compose.dev.yml to compose.dev.yaml (#52)
Minor typo
2024-02-12 14:13:48 -05:00
Matthew Esposito
b7778d5f95
Update dev compose yaml 2024-02-12 13:37:11 -05:00
perennial
f507fcfcf8
Expand Docker documentation and allow using .env (#49)
Fix seccomp error for Docker Compose
2024-02-12 13:34:02 -05:00
Carbrex
c6030064f1
Added video quality feature (#43)
* Fixed docker compose errors

* Added quality selector

* Remove log statement

Co-authored-by: Matthew Esposito <matt@matthew.science>

* Show kbps in quality

Co-authored-by: Matthew Esposito <matt@matthew.science>

* Make highest quality default

* Add styling, default option to highest

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2024-02-06 15:27:23 -05:00
Kirk1984
fe6123e05f
Update docker-compose.yml to remove duplicate 'security_opt' (#45)
* Update docker-compose.yml to remove duplicate 'security_opt'

Docker compose complains with "mapping key "security_opt" already defined"

* Update and rename docker-compose.yml to compose.yaml

`version:` is deprecated:

https://docs.docker.com/compose/compose-file/04-version-and-name/

compose.yaml is the current standard:

https://docs.docker.com/contribute/style/terminology/#composeyaml
2024-02-06 12:14:37 -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
Midou36O
35927287f1
Replace www.unddit.com with undelete.pullpush.io (#42)
* Replace www.unddit.com with undelete.pullpush.io

* Update comment

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2024-02-05 16:50:09 -05:00
Nazar
469d0994f1
Handle errors from reddit (#35)
* Fix error handling logic

A 401 code is still an Ok(<...>) response

* Fix json key

* Run `cargo fmt`
2024-02-02 14:53:15 -05:00
Matthew Esposito
99097da6b8
Remove pedantic clippy's 2024-01-28 13:36:27 -05:00
Nazar
3d2c936a9e
Refresh OAuth on 401 only (#33) 2024-01-28 09:28:42 -05:00
Matthew Esposito
03e267f02e
Fix pedantic clippy 2024-01-27 23:34:23 -05:00
Matthew Esposito
6c2579cda9
Add check for unauthorized - refresh token 2024-01-27 23:31:21 -05:00
Matthew Esposito
d0c5a1d93a
Merge pull request #30 from tmak2002/main
compose: use official image instead building image
2024-01-27 13:36:43 -05:00
tmak2002
119b661639 add developmemt docker compose file 2024-01-26 17:06:30 +01:00
tmak2002
a8e2430e34 use official image 2024-01-26 17:03:56 +01:00
Matthew Esposito
e8c257f801
Update README.md (fix #31) 2024-01-24 14:34:02 -05:00
Matthew Esposito
ea3d248766
Update oauth_resources.rs 2024-01-24 14:30:17 -05:00
Matthew Esposito
5604786146
Add new hls.js version, add script for updating (fixes #29) 2024-01-24 14:26:52 -05:00
Matthew Esposito
9f9ae45f6e
Add many Clippy's, fix many Clippy's 2024-01-19 20:16:17 -05:00
Matthew Esposito
3e459f5415
Cargo update - fix possible DoS 2024-01-19 19:06:47 -05:00
Matthew Esposito
95373f8261
More succinct fix to header parsing 2024-01-19 19:06:05 -05:00
Matthew Esposito
3609564db0
Add error logging when rendering the Error page 2024-01-19 19:00:13 -05:00
Matthew Esposito
fcde6ff689
Fix client.rs - properly return Err on invalid header (fix #28) 2024-01-19 18:58:08 -05:00
Matthew Esposito
0f148c58d3
Merge pull request #21 from dethos/patch-1
Fix app.json
2024-01-12 16:56:59 -05:00
Matthew Esposito
b1ef598f3c
Update README.md to remove old referenced links 2024-01-12 16:53:40 -05:00
Gonçalo Valério
825e38b25f
fix app.json
Remove a comma that was left behind and made the JSON content invalid.
2024-01-12 18:38:56 +00:00
Matthew Esposito
f50872a88c
Merge pull request #18 from ButteredCats/fix_footer
Less buggy solution to solving the floating footer problem
2024-01-07 16:54:50 -05:00
Butter Cat
a445759a69
Be slightly smarter with options, fix footer being 30px above or below bottom on short posts 2024-01-06 16:53:58 -05:00
Butter Cat
b578b717d7
Less buggy solution to solving the floating footer problem 2024-01-06 03:49:38 +00:00
Matthew Esposito
78e51eb11f
Merge pull request #17 from ButteredCats/fix_footer
Fix floating footer with "Keep navbar fixed" off
2024-01-03 21:31:26 -05:00
Butter Cat
5d8529d6bb
Fix floating footer with "Keep navbar fixed" off 2024-01-03 21:26:56 -05:00