Skip to content

Conversation

@DigitalTimK
Copy link
Contributor

Background

The current way to manage documents is very inconsistent (following the same inconsistent way as on the BBB-Server API side). Sometimes they are called documents and sometimes presentations. For example there is currently a class called "SomeThingDocument" but has a addPresentation-function.
In addition the addPresentation-function is unclear regarding their parameter and how they will support the required result. Either by URL or by embedded data stream. So a separation into two cases (=classes) makes senses.
On top the addPresentation-function required the user to pass the data-stream directly.

This PR will

  • introduce DocumentUrl-class and DocumentFile-class (including their related abstract class and interface class)
  • add related tests
  • no passing of data-stream directly. Only the filename is required and this is done by the classes automatically.
  • deprecate former presentation-related function and classes

This PR will close #244

@GhaziTriki GhaziTriki added this to the 3.0.0 milestone May 5, 2024
@GhaziTriki
Copy link
Member

@DigitalTimK Do you think you can merge with dev branch please?

# Conflicts:
#	src/Parameters/CreateMeetingParameters.php
#	src/Parameters/DocumentableTrait.php
#	src/Parameters/InsertDocumentParameters.php
#	tests/BigBlueButtonTest.php
#	tests/Parameters/CreateMeetingParametersTest.php
#	tests/Parameters/InsertDocumentParametersTest.php
#	tests/fixtures/insert_document_presentations.xml
#	tests/fixtures/presentation_with_filename.xml
#	tests/fixtures/requests/presentation_with_url.xml
@GhaziTriki GhaziTriki merged commit 7c742d7 into bigbluebutton:develop Apr 3, 2025
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