Commit graph

353 commits

Author SHA1 Message Date
Marina Glancy
a800e7e62f MDL-74853 various: add second parameter to htmlentities functions
Default value of the $flag argument changed in PHP 8.1 from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE
To ensure consistent behavior across different PHP version the second parameter is now required for the functions:
htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), html_entity_decode() and get_html_translation_table()
2022-11-28 16:12:20 +01:00
Jun Pataleta
c6ab792ddf MDL-76497 upgrade: add the 4.1.0 separation line to all upgrade scripts 2022-11-28 14:43:04 +08:00
Ilya Tregubov
3c36928805 Merge branch 'MDL-76291' of https://github.com/paulholden/moodle 2022-11-24 10:59:29 +03:00
Andrew Nicols
08a19dbed8 Merge branch 'MDL-76403-master' of https://github.com/junpataleta/moodle 2022-11-24 10:18:22 +08:00
Víctor Déniz
d4de7b630e MDL-76395 lang: Use fixed strings in tests 2022-11-23 17:03:58 +00:00
Helen Foster
74828e8149 MDL-76395 lang: Import fixed English strings (en_fix) 2022-11-23 17:03:58 +00:00
Paul Holden
3d5af37615 MDL-76291 mod_bigbluebuttonbn: tell Behat to wait while polling.
While fetching recording data, and updating room info. Should reduce
random scenario failures.
2022-11-23 10:15:32 +00:00
Jun Pataleta
00bae8b8a4 MDL-76403 versions: bump all versions and requires near release 2022-11-23 09:45:23 +08:00
Jun Pataleta
e9326dfcfb Merge branch 'MDL-76332-master' of https://github.com/call-learning/moodle 2022-11-18 11:58:18 +08:00
Helen Foster
ae2f8cfa67 MDL-76105 lang: Import fixed English strings (en_fix) 2022-11-17 09:44:35 +00:00
Laurent David
c233f2e2fa MDL-76332 mod_bigbluebuttonbn: Fix JS exception, recording only room
* The room updater should only run on room that have the join button
2022-11-16 18:09:04 +01:00
Jun Pataleta
38fcf6acff Merge branch 'MDL-75415-master' of https://github.com/ssj365/moodle 2022-11-16 17:51:45 +08:00
Jun Pataleta
8db40f9d0d Merge branch 'MDL-74558-master' of https://github.com/ssj365/moodle 2022-11-16 17:51:24 +08:00
Paul Holden
104cc446d2 MDL-76322 mod_bigbluebuttonbn: fix template/JS logic around guests.
Only render template partials, and attempt to interact with the guest
access button if the feature is enabled.
2022-11-15 20:53:31 +00:00
Jun Pataleta
8228b800d9 MDL-74638 mod_bigbluebuttonbn: Fix unit tests
* Guest URL and passwords are not supposed to be included in the backup
file so they should be excluded in assert_bbb_activities_same.
* Removed redundant entry 'course' in the filter list as well.
2022-11-11 19:09:55 +08:00
Shamim Rezaie
6225af4106 MDL-74638 mod_bigbluebuttonbn: Allow logged-in users to join as guest
Logged in users should also be able to join as guest. They may not
normally have access to the meeting maybe because not enrolled to the
course.
2022-11-11 15:27:26 +11:00
Shamim Rezaie
dcbf1deb20 MDL-74638 mod_bigbluebuttonbn: document ws change in upgrade.txt 2022-11-11 15:02:25 +11:00
Laurent David
315f4f2bd4 MDL-74638 mod_bigbluebuttonbn: Guest access for meetings
* Provide a way for external participants to be invited to a meeting by giving them an url/password
  for external users (not registered in Moodle)
* Add guest access page with username and password prompt
* Add form and modify API calls to take into account guest login
* Add a form modal to add guest users emails
* Allow copy of link and password in both popup form and module form
* The guest should be approved by default. It should be intentional to let them
in without checks.
* Guest access URL and password should not be copied when duplicating or backing
up the activity.
* The mod_bigbluebuttonbn_meeting_info web service function now
returns guestjoinurl and guestpassword only for moderators.
* Redirect if user already logged in

Note: this will allow guest to connect to an existing and running meeting. The moderator will then
be able to adjust the guest user's right. For security reasons we do not yet allow moderators
to join the meeting directly (or start a meeting)
2022-11-11 14:56:24 +11:00
Laurent David
7de01c97c2 MDL-74638 mod_bigbluebutton: Multiple fixes to room layout
* In preparation for the guest access trigger button, move the join session
button to the right
* Fix id in the templates to be more consistent
* Fix issue with room refreshing process so it replaces the node instead of node content.
2022-11-09 16:31:00 +01:00
Andrew Nicols
2f74405d6c MDL-74468 mod_bigbluebuttonbn: Coding style violation fix 2022-11-07 12:14:04 +08:00
Andrew Nicols
dc2a6ea8f8 Merge branch 'MDL-74468-master' of https://github.com/call-learning/moodle 2022-11-07 12:14:00 +08:00
Laurent David
c4b37ea393 MDL-74468 mod_bigbluebuttonbn: Fix logger count method
* The logger::count_callback_events was confusing and needs clarification
and small refactoring.
2022-11-04 09:03:58 +01:00
Laurent David
0dcc799d8f MDL-74468 mod_bigbluebuttonbn: Remove getallheader
* getallheader is only fully compatible with Apache servers. Replace it
with a polyfill.
2022-11-03 22:16:15 +01:00
Shamiso.Jaravaza
16656917a7 MDL-74468 mod_bigbluebuttonbn: Fix custom completion for BBB
* BBB has specific completion indicator that need to be taken into account
* Fix mock requests so we can send participant id and then attach events to them
* Refactor slightly the broker to split meeting logic from request (decoding)
* Fix update completion state cron
2022-11-03 22:16:15 +01:00
Shamiso.Jaravaza
3bd76aea67 MDL-75415 mod_bigbluebuttonbn: Fix session times 2022-11-03 11:25:02 -06:00
Laurent David
1077d473c4 MDL-74545 mod_bigbluebuttonbn: Allow changing the polling value
* The polling time on the BBB room page can be changed via the poll_interval
settings (general settings)
2022-11-02 20:30:07 +01:00
Jake Dallimore
77a1212d41 Merge branch 'MDL-76041-master' of https://github.com/call-learning/moodle 2022-10-31 11:43:49 +08:00
Andrew Nicols
d07cbb7641 Merge branch 'MDL-75763-master' of https://github.com/call-learning/moodle 2022-10-25 11:10:32 +08:00
Jun Pataleta
d98380b272 Merge branch 'MDL-75894-master' of https://github.com/jleyva/moodle 2022-10-20 14:40:22 +08:00
Laurent David
07735e1165 MDL-76041 mod_bigbluebuttonbn: Exception on Recording only page
* This fixes a the parameter provided to the get_recordings method of recording class
2022-10-19 19:47:41 +02:00
Ilya Tregubov
4f88b1bee7 Merge branch 'MDL-74654-master' of https://github.com/ssj365/moodle 2022-10-19 09:19:31 +03:00
Shamiso.Jaravaza
74b2989f13 MDL-74654 mod_bigbluebuttonbn: Add role parameter 2022-10-18 08:27:15 -06:00
Sara Arjona
2ee1ad4eb7 Merge branch 'MDL-75711-master' of https://github.com/ssj365/moodle 2022-10-17 16:55:52 +02:00
Sara Arjona
b7ad4d8636 Merge branch 'MDL-74986-master' of https://github.com/call-learning/moodle 2022-10-17 16:16:48 +02:00
Shamiso.Jaravaza
b047174996 MDL-74558 mod_bigbluebuttonbn: Fix deletion error 2022-10-14 08:59:09 -06:00
Laurent David
76e77b6385 MDL-74986 mod_bigbluebuttonbn: Outline display is a bit verbose
* Change language string to shorten the user outline display
2022-10-13 15:04:52 +02:00
Jake Dallimore
9d9a825efe Merge branch 'MDL-75383-master' of https://github.com/call-learning/moodle 2022-10-12 13:14:30 +08:00
Juan Leyva
afc85e6bd5 MDL-75894 bigbluebuttonbn: Return instance features info 2022-10-10 17:01:59 +02:00
Laurent David
cc3fe310b3 MDL-75383 mod_bigbluebuttonbn: Warn user when cron is disabled
* Add a last update date for the recordings
* Check cron is running and if not show an error message
2022-10-06 18:59:58 +02:00
Laurent David
059e2b91cf MDL-75176 mod_bigbluebuttonbn: Remove the lockonjoin settings
* Remove the setting "lock on join" and related settings
* Hard-code the lockSettingsLockOnJoin=true parameter on create when any of the lock settings is used.
2022-10-06 14:51:49 +02:00
Shamiso.Jaravaza
f55cde3175 MDL-75711 mod_bigbluebuttonbn: Fix recent activity 2022-10-03 10:57:48 -06:00
Andrew Nicols
d511681a3b Merge branch 'MDL-75460-master' of https://github.com/ssj365/moodle 2022-09-27 13:03:54 +08:00
Laurent David
bfcb5446a2 MDL-75763 mod_bigbluebuttonbn: Fix get_server_not_available_url
* The redirection should go to xxx?section=modsettingbigbluebuttonbn in case of error
2022-09-20 08:36:49 +02:00
Víctor Déniz
db13ed76ff Merge branch 'MDL-75558-master' of https://github.com/ssj365/moodle 2022-09-14 22:30:33 +01:00
Shamiso.Jaravaza
8e37c9f24d MDL-74965 mod_bigbluebuttonbn: Fix error in role 2022-09-14 09:10:41 -06:00
Jun Pataleta
d0f5778391 Merge branch 'MDL-75227' of https://github.com/call-learning/moodle 2022-09-08 09:40:10 +08:00
Jun Pataleta
27222f3faf Merge branch 'MDL-74081-master' of https://github.com/call-learning/moodle 2022-09-08 09:05:05 +08:00
Laurent David
0f1c59747e MDL-75227 mod_bigbluebuttonbn: Optimize User logs retrieval
* When loading a course with the Recent Activity block the bigbluebuttonbn_print_recent_activity
takes too much time to load the logs. Using the courseid (index of log table) improves the
time taken by the query.
2022-09-07 17:38:32 +02:00
Laurent David
38b9319580 MDL-74081 mod_bigbluebuttonbn: Fix codechecker related issues
* Opening braces should be on the same line
* Unwanted MOODLE_INTERNAL
* Behat edit_instance.feature should use "activity editing" page locator
* Coverage indication
2022-09-07 17:26:27 +02:00
Ilya Tregubov
295e6fee8f Merge branch 'MDL-74782-master' of https://github.com/ssj365/moodle 2022-09-07 15:48:56 +04:00