udima-university / moodle-mod_jitsi

Plugin Jitsi viceoconference for Moodle
GNU General Public License v3.0
39 stars 36 forks source link

group moodle in jitsi #109

Open atamabou opened 2 years ago

atamabou commented 2 years ago

Hello Sergio With appreciation from the OSS4SDG Hackathon “Get plugged into Education!”. This is the integration of moodle course groups in the jitsi plugin.

The invitation link is in some cases very important for teachers to facilitate meetings. Cordially

SergioComeron commented 2 years ago

Hi @atamabou First of all, thank you for the pull request to improve the plugin. I have been testing your plugin enhancement to integrate Moodle groups. I have seen some things that should be corrected to be able to integrate it:

The main problem I see is the theme of the invite button, I think if we remove that and do some tweaking we could integrate the improvement into the plugin.. Why did you include that button? Is it for some special reason?

atamabou commented 2 years ago

Hi @SergioComeron Thanks for the comments. I just fixed the errors seen with debugging. I think the rest is up to you for aesthetics. Regarding the invitation link I thought it was an oversight but actually it is not important since it is already taken into account otherwise. Regards

atamabou commented 2 years ago

Hello @SergioComeron I took into account all your comments:

thank you so much.

SergioComeron commented 2 years ago

Thank you @atamabou! I'm reviewing your code more thoroughly and I think you are not using the groups api that moodle offers, right? You are making queries directly to the database.

atamabou commented 2 years ago

Hello @SergioComeron After a long search in the group API library, I didn't see a function that simply answers both queries. However, the syntaxes come from the group API library. I would propose to make it two functions in the jitsi library, one of which returns the course groups that teachers will access to the sessions and the other which returns the user groups in a course. Good for you.