Matthew Esposito
6b2aab23c8
Merge pull request #92 from ButteredCats/fix_preview_captions
...
Update embedding Reddit preview links to include captions and support i.redd.it embeds
2024-05-29 18:44:48 -04:00
Matthew Esposito
6b11d936b3
Fix clippys
2024-05-29 18:44:19 -04:00
Butter Cat
34692359cf
Merge branch 'redlib-org:main' into fix_preview_captions
2024-05-29 18:42:39 -04:00
Matthew Esposito
33411a7588
Bump version
2024-05-29 18:40:09 -04:00
Matthew Esposito
5a0f0f96f5
Update OAuth resources
2024-05-29 18:37:13 -04:00
Matthew Esposito
273d889f1b
Fix retrieval of multi-subs
2024-05-29 18:36:56 -04:00
Butter Cat
62b791bb24
Add in support for embedding i.redd.it images and gifs and remove leftover println
2024-05-23 21:29:36 -04:00
Butter Cat
e9af28b6eb
Make sure that the extra <p></p> at the bottom of a comment containing only an image doesn't get a margin
2024-05-23 20:31:40 -04:00
Butter Cat
2f2cded671
Make sure new system can handle both normal and external previews
2024-05-22 17:22:10 -04:00
Butter Cat
b22fb7cd7b
Fix embedded preview images having a gap from the top of a comment
2024-05-22 16:40:57 -04:00
Butter Cat
75b0149313
Remove useless replace
2024-05-22 16:34:39 -04:00
Butter Cat
50fad938dd
Fix infinite loop when replacing text that contains dollar signs
2024-05-22 16:31:07 -04:00
Butter Cat
6484ebf897
Fix failing check
2024-04-14 17:32:10 -04:00
Butter Cat
3f863c8991
Prevent panic if image_caption is empty, don't replace <p>'s in case text is inside them with the image, update test to reflect change in image replacing
2024-04-14 17:26:43 -04:00
Butter Cat
e581f432dd
Use substring instead of .remove and .pop, change image_text to image_caption to better reflect its usage, only replace quotes in image_caption when needed, and add comments for what some of the code does
2024-04-10 10:47:24 -04:00
Butter Cat
2c8f5a7ac1
Make figure margins only apply to comments to bring embedded previews more in line with gallery posts
2024-04-09 18:51:32 -04:00
Butter Cat
6d83b07aaa
Update embedding Reddit preview links to include captions where applicable
2024-04-09 18:33:13 -04:00
Matthew Esposito
27f25e0fb1
Merge pull request #88 from ButteredCats/better_preview_handling
...
Handle preview embedding better
2024-04-08 10:04:23 -04:00
Butter Cat
89140c8cf7
Actually fix checks this time
2024-04-07 19:59:54 -04:00
Butter Cat
99048c4683
Fix failing checks
2024-04-07 19:51:20 -04:00
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