Skip to content

updates bbb-export-annotations - #19707

Merged
antobinary merged 1 commit into
bigbluebutton:v2.7.x-releasefrom
ben-ba:bbb-export-annotations-redis-fix
Mar 28, 2024
Merged

antobinary merged 1 commit into
bigbluebutton:v2.7.x-releasefrom
ben-ba:bbb-export-annotations-redis-fix

Conversation

@ben-ba

@ben-ba ben-ba commented Feb 29, 2024 •

Copy link
Copy Markdown

What does this PR do?

  1. update function redis.createClient to use redis host+port from config/settings.json otherwise redis use default host (localhost) and default port (6379)

see;
https://redis.io/docs/connect/clients/nodejs/
under "Connect to your production Redis with TLS"

  1. force cairosvg to create pdf files with embedded pictures - necessary for cairosvg since version 2.7.0
    see;
    https://github.com/Kozea/CairoSVG/releases/tag/2.7.0

Closes Issue(s)

maybe
#18746
#18739

Motivation

to build my own docker image for bbb-export-annotations

More

when i debug the errors (no background image, no redis communication) no errors where thrown.
furthermore the try-catch block aren't helpful because the error wouldn't catched.

and the logger with debug and trace haven't any benefits, because no such log messages are created.

…/settings.json otherwise redis use default host (localhost) and default port (6379)

)
@welcome

welcome Bot commented Feb 29, 2024

Copy link
Copy Markdown

Thank you for this contribution! Could you please confirm if you already sent in the signed Contributor License Agreement? See https://docs.bigbluebutton.org/support/faq.html#why-do-i-need-to-sign-a-contributor-license-agreement-to-contribute-source-code Thanks in advance!

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

ben-ba pushed a commit to ben-ba/bbb-export-annotations-image that referenced this pull request Feb 29, 2024
@antobinary antobinary added this to the Release 2.7 milestone Mar 1, 2024
@antobinary

Copy link
Copy Markdown
Member

Hi @ben-ba
Thank you very much for the contribution!! Will you be able please to fill out the Contributor License Agreement (see the comment above)?

@ben-ba

ben-ba commented Mar 11, 2024

Copy link
Copy Markdown
Author

@antobinary cla signed and sent.

@github-actions

Copy link
Copy Markdown

Automated tests Summary

✅ All the CI tests have passed!

@antobinary

Copy link
Copy Markdown
Member

Hi @ben-ba !
We wanted to make the -u unsafe flag congifurable. @danielpetri1 wrote a commit 2c3939d in #19779

Please double check the value when deploying. We plan on making your work and @danielpetri1 's change available as part of next BBB 2.7 (and 3.0+) iterations.

@danielpetri1 danielpetri1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for the contribution. LGTM with as long as changes from #19779 are included. I was surprised to see CairoSVG 2.7 being used in your BBB environment. We should look into deploying the same version across BBB instances.

@ben-ba

ben-ba commented May 13, 2024

Copy link
Copy Markdown
Author

@danielpetri1
the reason was the missing docker image; see
bigbluebutton/docker#322

@antobinary

Copy link
Copy Markdown
Member

Thanks for the update @ben-ba !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants