Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(calls): Allow moderators to download a call participants list #13519

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Oct 11, 2024

☑️ Resolves

🛠️ API Checklist

🚧 Tasks

  • Download as CSV
  • Add docs
  • Add tests

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@nickvergessen nickvergessen added 2. developing enhancement feature: api 🛠️ OCS API for conversations, chats and participants feature: call 📹 Voice and video calls labels Oct 11, 2024
@nickvergessen nickvergessen added this to the 🖤 Next Major (31) milestone Oct 11, 2024
@nickvergessen nickvergessen self-assigned this Oct 11, 2024
@nickvergessen nickvergessen marked this pull request as draft October 11, 2024 14:47
@nickvergessen nickvergessen force-pushed the feat/13453/download-call-participants branch 3 times, most recently from a6b1e79 to fa97223 Compare October 15, 2024 04:12
@nickvergessen nickvergessen force-pushed the feat/13453/download-call-participants branch from fa97223 to 18c12a9 Compare October 15, 2024 04:16
}

if ($format !== 'csv') {
// FIXME Remove once pdf was implemented.
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: Currently only CSV is functional

@nickvergessen
Copy link
Member Author

/backport to stable30

@nickvergessen nickvergessen marked this pull request as ready for review October 15, 2024 04:18
@nickvergessen nickvergessen force-pushed the feat/13453/download-call-participants branch from 18c12a9 to 5be3f06 Compare October 15, 2024 04:19
Copy link
Contributor

@DorraJaouad DorraJaouad left a comment

Choose a reason for hiding this comment

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

Tested 👍🏻

Comment on lines +149 to +153
fputcsv($output, [
'name',
'type',
'identifier',
]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we prettify the output? (headers with capital letters)
image

Copy link
Member Author

Choose a reason for hiding this comment

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

We can do that for the PDF version later. For the CSV I would keep it "ugly"

Copy link
Contributor

Choose a reason for hiding this comment

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

as-is should be less confusing for later use (like import)

@nickvergessen nickvergessen merged commit 700aa58 into main Oct 15, 2024
69 checks passed
@nickvergessen nickvergessen deleted the feat/13453/download-call-participants branch October 15, 2024 10:07
@nickvergessen nickvergessen restored the feat/13453/download-call-participants branch October 18, 2024 06:37
@nickvergessen nickvergessen deleted the feat/13453/download-call-participants branch October 18, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement feature: api 🛠️ OCS API for conversations, chats and participants feature: call 📹 Voice and video calls
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Moderators must be able to download the participant list as PDF and CSV
3 participants