Skip to content

Refactor presentation files - #234

Merged
FelixJacobi merged 10 commits into
masterfrom
refactor-presentation-files
Aug 29, 2026
Merged

Refactor presentation files#234
FelixJacobi merged 10 commits into
masterfrom
refactor-presentation-files

Conversation

@samuelwei

@samuelwei samuelwei commented Feb 18, 2026

Copy link
Copy Markdown
  • Add support for downloadable, removable and current attribute for pre-uploaded slides in create api call
  • Add support for embedded slides in insert document api call

Based on #228, extended to to more complete PR and change

Official docs: bigbluebutton/bigbluebutton#24657 updated

@samuelwei
samuelwei force-pushed the refactor-presentation-files branch from d2f0671 to 807a026 Compare July 14, 2026 16:27
@samuelwei

Copy link
Copy Markdown
Author

@FelixJacobi What do you think about this approach? (Using a dedicated class and deprecating the many parameters)

Comment thread src/Core/InlinePresentation.php Outdated
Comment thread src/Core/UrlPresentation.php Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Signature changes to existing methods of this Class are a breaking change since this class isn't final. We should mark it @final for next major release.

/**
* @return $this
*/
public function addPresentation(string|Presentation $nameOrUrlOrPresentation, ?string $content = null, ?string $filename = null): self

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sadly: Breaking change :/ . I need to think about a solution. Maybe we must move this to a new major version or add a new method.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

We also need a major version for #243, as the parameter and return type changed

@FelixJacobi
FelixJacobi merged commit 443b3c6 into master Aug 29, 2026
12 checks passed
@FelixJacobi
FelixJacobi deleted the refactor-presentation-files branch August 29, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants