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

UCSFCLE 405/T 2331/Merge Kaltura plugin repo #165

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
462 commits
Select commit Hold shift + click to select a range
39ef3de
version bump
alon1980 Dec 6, 2017
3c5f74f
KMS-17117 update client libs; remove all plugins except metadata; rem…
muli May 27, 2018
ce65677
fix gitignore - don't ignore our plugins recursively
muli May 27, 2018
d67e026
KMS-17117 update client libs; remove all plugins except metadata; rem…
muli May 27, 2018
ace0ccd
KMS-17612 remove 'Kaltura' from page title and module name; remove re…
muli May 28, 2018
8b99216
KMS-17612 instead of using the site name, use the user name for my me…
muli May 28, 2018
d84043c
Merge pull request #169 from kaltura/KMS-17612_remove_redundant_strings
muli Jun 7, 2018
e243441
Merge pull request #168 from kaltura/KMS-17117_update_client_libs
muli Jun 7, 2018
1e5d8ce
version bump - 2018060735
muli Jun 7, 2018
b01be6f
KMS-17612 remove pix directory from plugin, it's not needed
muli Jun 20, 2018
7904218
KMS-17612 remove pix directory from createPackage
muli Jun 20, 2018
e0934bd
KMS-17612 add new icons for my media and media gallery
muli Jun 20, 2018
7f6be39
KMS-17612 use new icons in navigation links
muli Jun 20, 2018
5f94fe9
Merge pull request #170 from kaltura/KMS-17612_icons
muli Jun 24, 2018
e6b56cd
version bump - 2018062435; update moodle minimal version requiremenet
muli Jun 24, 2018
c706f57
version bump 4.1.2
muli Jun 24, 2018
480553f
KMS-18359 fix typo in comment
atarsh Oct 14, 2018
1db958d
KMS-18359 listen to resize postmessages from KAF
atarsh Oct 14, 2018
bafcbf6
Merge pull request #175 from kaltura/KMS-18359-correct-base
atarsh Oct 15, 2018
287d44f
KMS-15075 listen to KEA ready event to re-calculate the KAF iframe si…
Oct 22, 2018
948c62d
KMS-15075 use lti protocol for postMessage
Oct 22, 2018
50e9ecf
Merge pull request #176 from kaltura/SUP-15075_kea_resize_when_fully_…
Oct 24, 2018
aabbe5d
SUP-15906 add 'allow' attribute to iframe elements in order to allow …
muli Nov 26, 2018
0d495ad
KMS-18437 update Kaltura Video Resource video_title column length to …
muli Nov 27, 2018
1dec571
KMS-18572 only email enrolled graders, not all users capable of gradi…
muli Nov 27, 2018
bbe4754
Merge pull request #181 from kaltura/KMS-18572_email_enrolled_graders
muli Nov 29, 2018
954580a
implement missing required grading method
muli Dec 2, 2018
1144b9b
Merge pull request #182 from kaltura/fix_moodle_missing_implementatio…
muli Dec 2, 2018
1fda1f1
KMS-18791 fix 'updategrade' flag, it should be true when submission f…
muli Dec 2, 2018
6a3d0c8
Merge pull request #179 from kaltura/SUP-15906_add_autoplay_in_kaf_if…
muli Dec 2, 2018
7d0bcde
Merge pull request #183 from kaltura/KMS-18791_update_grade_flag_logic
muli Dec 2, 2018
4d17efe
Merge pull request #180 from kaltura/KMS-18437_upgrade_video_title_ma…
muli Dec 2, 2018
d2617fc
version bump - 4.1.3
muli Dec 3, 2018
12bf0f7
version bump - 4.1.4
muli Dec 3, 2018
7286cf6
update version for Moodle 3.6 release
muli Dec 3, 2018
70815dd
KMS-18947 add iframe allow privilige for microphone and camera
alon1980 Jan 14, 2019
89c40f9
KMS-18947 add iframe allow privilige for microphone and camera
alon1980 Jan 14, 2019
5c1389c
Merge branch 'KMS-18947-Krec---KAF-(Moodle-BB)---Error-is-displayed-w…
alon1980 Jan 14, 2019
7bd49ce
Merge pull request #186 from kaltura/KMS-18947-Krec---KAF-(Moodle-BB)…
alon1980 Jan 14, 2019
663672a
version bump
alon1980 Jan 14, 2019
eaa2681
remove require_once for deprecated library
muli Jan 15, 2019
e778f44
KMS-19394: embedded files in text intro are backed up
noychn-kaltura Apr 7, 2019
0387b5b
KMS-19278 remove 14 part match in browse and embed
noychn-kaltura Apr 8, 2019
db45365
KMS-19277 remove "kaltura-uri.com" template domain
noychn-kaltura Apr 10, 2019
b2a832e
KMS-19207 passing moodle plugin version in lti launch request
noychn-kaltura Apr 14, 2019
f6cc562
KMS-19277 add build files
noychn-kaltura Apr 14, 2019
1abb143
Merge pull request #198 from kaltura/KMS-19394-Moodle-Fix-Embedded-fi…
noychn-kaltura Apr 14, 2019
a0e7924
Merge pull request #200 from kaltura/KMS-19207-BSE-embed-settings-Ope…
noychn-kaltura Apr 14, 2019
b3ccb12
Merge pull request #199 from kaltura/KMS-19278-Moodle-removal-of-the-…
noychn-kaltura Apr 15, 2019
5b72404
KMS-19276 escape special characters in iframe src
noychn-kaltura Apr 16, 2019
3e9042f
Merge pull request #208 from kaltura/KMS-19276-Moodle-fix-XSS-at-ltib…
noychn-kaltura Apr 16, 2019
c6ba7f9
version bump - 4.2.0
noychn-kaltura Apr 16, 2019
4eba902
KMS-18813 now replace media can't be accessed when its disabled
noychn-kaltura Jun 26, 2019
5bd8382
KMS-19614 remove protocol from source url instead of kaf url
noychn-kaltura Jun 26, 2019
5cd220b
Merge pull request #218 from kaltura/KMS-19614-moodle-creating-hyperl…
noychn-kaltura Jul 7, 2019
22fb7c6
Merge pull request #217 from kaltura/KMS-18813-Moodle---Assignment---…
noychn-kaltura Jul 7, 2019
46d7a18
SUP-18609 set the my media navigation in the global navigation if the…
Adirv Jun 18, 2019
bb13120
Merge pull request #225 from kaltura/SUP-18609-My-Media-not-showing-i…
noychn-kaltura Jul 7, 2019
c6c9d92
Button classes added for Bootstrap based themes.
lucaboesch May 23, 2019
2d83243
Merge pull request #226 from kaltura/KMS-19643-Moodle-Button-classes-…
noychn-kaltura Jul 8, 2019
9789f68
version bump - 4.2.1
noychn-kaltura Jul 8, 2019
ff9fd50
Merge branch 'MOODLE_37_DEV' of https://github.com/kaltura/moodle_plu…
noychn-kaltura Jul 8, 2019
94fa3d2
SUP-18923 set to kaltura iframe height to 600px if the calculation re…
Adirv Jul 11, 2019
5f78aa4
SUP-18923 return if the new height is lower than original (600px)
Adirv Jul 11, 2019
2e65af7
SUP-18923 return if the new height is lower than original (600px)
Adirv Jul 11, 2019
40ab4df
SUP-18923 add a comment for the function that gets the correct height
Adirv Jul 16, 2019
07f0615
Update lticontainer.js
noychn-kaltura Jul 21, 2019
2b6bb4e
Merge pull request #230 from kaltura/SUP-18923-Moodle-KAF-iFrame-too-…
noychn-kaltura Jul 21, 2019
b7c0424
version bump - 4.2.2
noychn-kaltura Jul 25, 2019
122cbea
KMS-19513 kaltura filter will be active automatically after installing
noychn-kaltura Jul 29, 2019
4135da5
Merge pull request #231 from kaltura/KMS-19513-KAF---Moodle-3.7---Emb…
noychn-kaltura Aug 1, 2019
cf7632a
version bump - 4.2.3
noychn-kaltura Aug 1, 2019
8533742
KMS-19513 fixed function name
noychn-kaltura Aug 4, 2019
334c72e
Merge pull request #234 from kaltura/KMS-19513-KAF---Moodle-3.7---Emb…
noychn-kaltura Aug 4, 2019
f0514e7
version bump - 4.2.4
noychn-kaltura Aug 4, 2019
0c646e8
Adding SVG icons fixes #152.
lucaboesch Sep 22, 2019
dfc055d
KMS-19457 implement all null providers
noychn-kaltura Jun 24, 2019
3809fac
KMS-19457 add support to GDPR
noychn-kaltura Jul 7, 2019
2ad8a55
KMS-19457 refactor kalvidassign provider
noychn-kaltura Jul 10, 2019
3d44e2a
KMS-19457 remove unnecessary requires from atto_kalturamedia
noychn-kaltura Oct 29, 2019
4ff048f
KMS-19457 add courseid property to $eventdata
noychn-kaltura Oct 29, 2019
90828d6
KMS-19457 change 'notifysuccess' parameter to 'success' in notificati…
noychn-kaltura Oct 29, 2019
3a2edc9
PSVAMB-9245 Pass course short name in LTI publish data
ysitnikov Nov 14, 2019
abe857b
Merge pull request #241 from kaltura/PSVAMB-9245-lti-course-short-name
yusitnikov Nov 14, 2019
ec2b714
Bump version to 4.2.5
ysitnikov Nov 14, 2019
565b81b
KMS-19891 - add new setting field to enable submission as assignment
Channa53 Nov 25, 2019
16c5995
KMS-19891 - add translation to a new setting field
Channa53 Nov 25, 2019
e586511
KMS-19891 - add assignment param in assignment flow when assignment i…
Channa53 Nov 25, 2019
ca587f1
KMS-19891 - add assignment param to lti request
Channa53 Nov 25, 2019
b57f964
KMS-19891 - change description
Channa53 Nov 27, 2019
d47b710
KMS-19891 - update admin field name+description
Channa53 Nov 28, 2019
2bc4c40
Remove redundant button css classes
Dec 16, 2019
a725342
Merge pull request #238 from lucaboesch/svgicon37
noychn-kaltura Dec 23, 2019
db1e140
Merge pull request #245 from ffhs/ffhs-patch-1
noychn-kaltura Dec 23, 2019
67c16a1
Merge pull request #248 from kaltura/KMS-19457-Moodle-Add-support-for…
noychn-kaltura Dec 23, 2019
0b2a020
Merge branch 'MOODLE_37_DEV' into KMS-19891-submission-flow
noychn-kaltura Dec 24, 2019
ee80452
Merge pull request #242 from kaltura/KMS-19891-submission-flow
noychn-kaltura Dec 24, 2019
6843f69
Implemented index.php for kaltura video resources.
rlorenzo Jun 28, 2019
783e5ad
Merge pull request #219 from rlorenzo/mod_kalvidres-index
noychn-kaltura Dec 25, 2019
f055d14
KMS-20301 remove redundant http/https
noychn-kaltura Dec 31, 2019
bcd730f
KMS-20194 remove preview screen before embed in atto editor
noychn-kaltura Dec 31, 2019
ecbd9b3
KMS-20194 remove preview page before embed in tinymce editor
noychn-kaltura Dec 31, 2019
435441c
KMS-17285 change mymedia and mediagallery's iframes height to 1500px …
noychn-kaltura Jan 1, 2020
de857e4
KMS-20301 moved removeProtocolFromUrl call to another location
noychn-kaltura Jan 2, 2020
8b979b6
Merge pull request #256 from kaltura/KMS-20194-Moodle-remove-the-redu…
noychn-kaltura Jan 2, 2020
855ea26
Merge pull request #257 from kaltura/KMS-17285-Moodle-larger-size-of-…
noychn-kaltura Jan 2, 2020
7f29e86
Merge pull request #255 from kaltura/KMS-20301-Moodle-Video-is-presen…
noychn-kaltura Jan 2, 2020
24ebccd
KMS-20296 changed all "assignment" appearances to "submission"
noychn-kaltura Jan 2, 2020
30c2d0c
Revert "KMS-17285 change mymedia and mediagallery's iframes height to…
noychn-kaltura Jan 5, 2020
01d0fab
Merge pull request #267 from kaltura/revert-257-KMS-17285-Moodle-larg…
noychn-kaltura Jan 5, 2020
3ead6ee
Merge pull request #264 from kaltura/KMS-20296-moodle-change-of-name-…
noychn-kaltura Jan 5, 2020
4545c70
version bump - 4.2.6
noychn-kaltura Jan 5, 2020
0ed4ba2
version bump - 4.2.6
noychn-kaltura Jan 6, 2020
12d9e29
unit tests updates - now there are 100% passes
alon1980 Feb 23, 2020
661c1f6
add a missing attoembed.php file that I accidentally didn't commit be…
noychn-kaltura Mar 9, 2020
2bcf284
Merge pull request #281 from kaltura/KMS-20194-Moodle-remove-the-redu…
noychn-kaltura Mar 9, 2020
ff64564
version bump - 4.2.7
noychn-kaltura Mar 9, 2020
9c6966c
KMS-21327 update format_module_intro function calls in calendar events
noychn-kaltura Jul 1, 2020
756a914
KMS-21327 remove using of global OUTPUT and PAGE variables and change…
noychn-kaltura Jul 1, 2020
dd81beb
Merge pull request #295 from kaltura/KMS-21327-update-format_module_i…
noychn-kaltura Jul 2, 2020
24e9444
Merge pull request #296 from kaltura/KMS-21327-remove-usings-of-globa…
noychn-kaltura Jul 2, 2020
cfaa643
KMS-21422 Add missing heading in view of kalvidassign
noychn-kaltura Jul 2, 2020
c969693
Merge pull request #297 from kaltura/KMS-21422-Add-missing-heading-in…
noychn-kaltura Jul 2, 2020
717729a
Add bootstrap btn classes and toggle classes after add/replace of med…
Apr 6, 2020
93c6bef
Merge pull request #299 from kaltura/KMS-21423-Add-bootstrap-btn-clas…
noychn-kaltura Jul 2, 2020
052e52e
KMS-20594 check if submission is set in ltirequest object
noychn-kaltura Jul 2, 2020
0fb6637
Merge pull request #301 from kaltura/KMS-20594-Undefined-index-submis…
noychn-kaltura Jul 5, 2020
9195279
version bump - 4.2.8
noychn-kaltura Jul 5, 2020
4dc4a4a
SUP-24983 move the 'activity_not_migrated' error to be thrown before …
noychn-kaltura Dec 13, 2020
c50c483
Merge pull request #320 from kaltura/SUP-24983--Lafayette-College--BS…
noychn-kaltura Dec 15, 2020
8976953
version bump - 4.2.9
noychn-kaltura Dec 15, 2020
af43f56
KMS-22949 remove kavidpres activity module
noychn-kaltura Jun 16, 2021
835a2fb
KMS-22949 remove kavidpres activity module references
noychn-kaltura Jun 16, 2021
5765b5c
KMS-20967 add show description feature to kalvidres
noychn-kaltura Jun 20, 2021
745b93f
KMS-22949 remove redundant parentheses
noychn-kaltura Jun 20, 2021
a0638b2
KMS-22949 remove custom_filter_type from lti request object
noychn-kaltura Jun 20, 2021
8b4b6cb
Merge pull request #331 from kaltura/KMS-22949-Moodle---Remove--Kaltu…
noychn-kaltura Jun 20, 2021
1143af0
Merge pull request #332 from kaltura/KMS-20967--FR--Display-descripti…
noychn-kaltura Jun 20, 2021
91e25d0
Implement alternate URI settings
haietza Feb 9, 2021
2b51835
Merge pull request #335 from kaltura/KMS-24178-Moodle---Add-settings-…
noychn-kaltura Jun 20, 2021
b38c52c
version bump - 4.3.0
noychn-kaltura Jun 20, 2021
32b6b37
fix version number to comply with moodle standards
gonenradai Oct 10, 2021
93b4be8
KMS-24816 update upgrade function to support the right moodle plugin …
noychn-kaltura Nov 10, 2021
7c4c8be
KMS-24186 update version to 4.3.1
noychn-kaltura Nov 14, 2021
77989b8
KMS-24186 move the code from upgrade.php to version.php so it'll work
noychn-kaltura Nov 14, 2021
ac66ed2
KMS-24186 return the "return true" statement
noychn-kaltura Nov 14, 2021
bf4d995
Merge branch 'MOODLE_311_DEV' into KMS-24816-moodle---changes-to-vers…
noychn-kaltura Nov 14, 2021
8507e03
KMS-24186 avoid repeating the same code
noychn-kaltura Nov 14, 2021
beea50c
Merge branch 'KMS-24816-moodle---changes-to-versions' of github.com:k…
noychn-kaltura Nov 14, 2021
2b37440
KMS-24186 replace foreach with array_pop
noychn-kaltura Nov 14, 2021
9731c1d
Merge pull request #346 from kaltura/KMS-24816-moodle---changes-to-ve…
noychn-kaltura Nov 16, 2021
e27b29d
Fix - enable Newrow screen share
hilak Apr 14, 2022
e1459d0
Merge pull request #360 from kaltura/KMS-24828
hilak Apr 18, 2022
d4c66ea
releasing 4.3.2 for QA
gonenradai Apr 19, 2022
21c73db
Update version.php to upgrade only Kaltura plugins.
hilak Apr 20, 2022
7ebc9b7
downgrade major version to 3.4.2 to maintain version alignment with o…
hilak May 3, 2022
500baaa
ILMS-28 - support Moodle V4 && LTI 1.3
hilak Jun 24, 2022
98684de
Support showing "My Media" in the top bar.
hilak Jun 24, 2022
422109d
ILMS-28
hilak Jun 24, 2022
f039781
ILMS-118
hilak Jun 27, 2022
1b796ca
ILMS-118
hilak Jun 29, 2022
3b8828f
version upgrade
hilak Jun 29, 2022
602ce81
Upgrade versions
hilak Jun 29, 2022
772a8b8
Code review
hilak Jun 29, 2022
c26069d
Remove unnecessary code
hilak Jul 5, 2022
315e1b9
code review comments
hilak Jul 11, 2022
3f06a15
Fix versioning
hilak Jul 13, 2022
d5f9f4f
ILMS-175
hilak Jul 13, 2022
6165766
ILMS-160
hilak Jul 14, 2022
0000396
ILMS-160
hilak Jul 14, 2022
d4d3084
ILMS-174
hilak Jul 14, 2022
b1cd90c
Fixes after clean install.
hilak Jul 19, 2022
16d34a7
ILMS-174 - issue embedding multiple videos with LTI1.3
hilak Jul 20, 2022
b79d5ec
Merge pull request #369 from kaltura/MOODLE_400_DEV_ILMS_28
hilak Jul 20, 2022
dd4612d
ILMS-182 Fix wrong context id
nireliyahu Jul 22, 2022
a5ace72
Merge pull request #371 from kaltura/ILMS-182-Wrong_Context_id_not
nireliyahu Jul 24, 2022
be3809f
Generate version 4.4.1
nireliyahu Jul 24, 2022
475a8ef
ILMS-183
hilak Jul 26, 2022
727b839
Fix indents
hilak Jul 26, 2022
d74a349
Merge pull request #373 from kaltura/ILMS-183
hilak Jul 26, 2022
bd1d052
Version upgrade
hilak Jul 27, 2022
68dcfd7
Moodle version dependency fix
hilak Jul 28, 2022
52a9fc8
Module title property should be used.
hilak Jul 28, 2022
bda543d
Merge pull request #375 from kaltura/ILMS-191
hilak Jul 28, 2022
e51e16b
Fix a warning
hilak Jul 29, 2022
d878c7d
Merge pull request #376 from kaltura/ILMS-191
hilak Jul 29, 2022
211cf2d
Generate version 4.4.3
nireliyahu Aug 1, 2022
636f5e9
Test && fix issues related to Moodle 401 upgrade
hilak Dec 31, 2022
95d5dbe
ILMS-547 wrap in try catch to not crash new installations when no db …
roileviK Jun 5, 2023
e3c7e5b
ILMS-544 add display-capture to allow express capture screen share
roileviK Jun 5, 2023
7282c9d
ILMS-546 remove duplicate header and description as they are already …
roileviK Jun 5, 2023
c3bbe38
SUP-36897 add my media link location config and allow setting it to s…
roileviK Jun 5, 2023
bfdcbb6
ILMS-577 add tiny integration for BSE
roileviK Jun 5, 2023
5ba75e0
ILMS-540 bump version
roileviK Jun 5, 2023
b493c1f
Merge pull request #400 from kaltura/MOODLE_401_DEV_ILMS_540
roileviK Jun 5, 2023
4093eb3
ILMS-579 add top menu my media item to config only if it does not exi…
roileviK Jun 12, 2023
2b5df9d
ILMS-580 use base layout
roileviK Jun 12, 2023
ab3e48a
ILMS-579 add space
roileviK Jun 12, 2023
9c360ba
ILMS-540 bump version 4.4.6
roileviK Jun 12, 2023
d1304b8
Merge pull request #403 from kaltura/MOODLE_401_DEV_446
roileviK Jun 12, 2023
dc60439
ILMS-504 create moodle plugin for moodle 4.2
roileviK Jun 12, 2023
d27d579
SUP-35859 move kalvidres css to view
roileviK Feb 4, 2024
e410e79
SUP-38296 update icons
roileviK Feb 4, 2024
a58525b
SUP-38296 update icons background color
roileviK Feb 4, 2024
248c7fb
ILMS-578 bump version 4.4.7
roileviK Feb 4, 2024
3b1f51f
Merge pull request #414 from kaltura/MOODLE_402_DEV_447
roileviK Feb 4, 2024
0d1ebe6
ILMS-635 add plugin for moodle 4.3
roileviK Feb 5, 2024
56acede
ILMS-639 remove legacy tinyMCE plugin
roileviK Feb 15, 2024
21dc979
ILMS-639 bump version 4.4.8
roileviK Feb 15, 2024
286ba5b
Merge pull request #421 from kaltura/ILMS-639-Remove-legacy-tinyMCE-p…
roileviK Feb 15, 2024
09c00e1
ILMS-692 fix required moodle version - plugin is supported from moodl…
roileviK Jul 30, 2024
9f644ed
ILMS-692 bump plugin version
roileviK Jul 30, 2024
5d7bbde
ILMS-695 fix error when accessing course completion
roileviK Jul 31, 2024
dd61936
Merge pull request #429 from kaltura/ILMS-692-Fix-required-plugin-ver…
roileviK Jul 31, 2024
091d47c
ILMS-680 create Kaltura moodle plugin version for moodle 4.4
roileviK Aug 1, 2024
3e3ad66
ILMS-680 update icons for moodle 4.4 by MDL-78284 and MDL-78285
roileviK Aug 1, 2024
7e7a5d6
Merge pull request #430 from kaltura/ILMS-680-Support-Moodle-version-4.4
roileviK Aug 4, 2024
ce36e27
ILMS-705 add custom completion submit support to kalvidassign
roileviK Jan 27, 2025
2719625
ILMS-707 add my media link location option - user menu
roileviK Jan 27, 2025
8054f85
ILMS-706 enable add to timeline support - kalvidassign
roileviK Jan 27, 2025
da85fa9
ILMS-706 enable add to timeline support - kalvidres
roileviK Jan 27, 2025
85cb099
ILMS-684 bump version - moodle 404
roileviK Jan 27, 2025
20753e7
ILMS-706 add timeline reminder text
roileviK Jan 27, 2025
7dcd6ab
Merge pull request #450 from kaltura/ILMS-705-Add-activity-completion…
roileviK Jan 27, 2025
e16618a
Merge pull request #451 from kaltura/ILMS-707-Add-another-location-op…
roileviK Jan 27, 2025
52145e6
Merge pull request #452 from kaltura/ILMS-706-Support-Set-reminder-in…
roileviK Jan 27, 2025
8ff8c28
Merge pull request #453 from kaltura/ILMS-684-bump-version-moodle-404
roileviK Jan 27, 2025
bcbca25
ILMS-705 add custom completion submit support to kalvidassign - fix v…
roileviK Jan 27, 2025
1632d0b
Merge pull request #455 from kaltura/ILMS-705-Add-activity-completion…
roileviK Jan 27, 2025
f7dcabd
ILMS-684 create kaltura plugin for moodle 4.5
roileviK Jan 28, 2025
5c80809
SUP-46972 move deprecated filter to text_filter - per MDL-82427
roileviK Feb 19, 2025
1a3c5cc
SUP-46972 move deprecated filter to text_filter - per MDL-82427
roileviK Feb 19, 2025
44f5384
SUP-46972 replace deprecated print_error with moodle_exception
roileviK Feb 19, 2025
0c97d9d
SUP-46972 add context_system for context_system::instance()
roileviK Feb 20, 2025
a110bbe
SUP-46972 move filter_kaltura_callback function into text_filter class
roileviK Feb 20, 2025
d413451
SUP-46972 pass callback with this
roileviK Feb 20, 2025
97e79d2
SUP-46972 use self
roileviK Feb 20, 2025
7d29597
SUP-46972 add moodle_url
roileviK Feb 20, 2025
988399f
SUP-46972 add html_writer
roileviK Feb 20, 2025
f6c823c
Merge pull request #457 from kaltura/SUP-46972-Moodle-plugins-for-4.5
roileviK Feb 20, 2025
f3e3bff
SUP-47089 bump version
roileviK Feb 20, 2025
9fa562c
Merge pull request #458 from kaltura/SUP-47089-Bump-moodle-plugin-ver…
roileviK Feb 20, 2025
4da5f7e
Fixed eslint error: Skipping no-async-promise-executor check.
ctam Apr 12, 2024
a204b9f
Added workaround to the PHP 8.1: Return types in PHP built-in class m…
ctam Apr 11, 2024
fb790be
Fix core unit tests failing
djarran Feb 13, 2024
3893703
Disable eslint max-len check.
ctam Feb 14, 2025
ca816ab
Fix eslint:yui failed tests.
ctam Feb 18, 2025
d48c571
Disable stylelint:css checks for selector-list-comma-newline-after, d…
ctam Feb 21, 2025
acc36f7
Merge pull request #3 from ctam/UCSFCLE_405/Fix_GHA_tests_failures
mirleu Feb 21, 2025
924b20a
Merge remote-tracking branch 'ucsf-education/kaltura-moodle_plugin/UC…
ctam Feb 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions blocks/kalturamediagallery/block_kalturamediagallery.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php

defined('MOODLE_INTERNAL') || die();

class block_kalturamediagallery extends block_base {
function init() {
$this->title = get_string('pluginname', 'local_kalturamediagallery');
}

function get_content() {
if(!is_null($this->content)) {
return $this->content;
}

$this->content = new stdClass();
$this->content->text = '';
$this->content->footer = '';

if($context = $this->getCourseContext()) {
$this->content->text = $this->getKalturaMediaGalleryLink($context->instanceid);
}

return $this->content;
}

function applicable_formats()
{
return array(
'course-view' => true
);
}

private function getKalturaMediaGalleryLink($courseId) {
$mediaGalleryUrl = new moodle_url('/local/kalturamediagallery/index.php', array(
'courseid' => $courseId
));

$link = html_writer::tag('a', get_string('nav_mediagallery', 'local_kalturamediagallery'), array(
'href' => $mediaGalleryUrl->out(false)
));

return $link;
}

private function getCourseContext() {
// Check the current page context. If the context is not of a course or module then return false.
$context = context::instance_by_id($this->page->context->id);
$isCourseContext = $context instanceof context_course;
if (!$isCourseContext) {
return false;
}

// If the context if a module then get the parent context.
$courseContext = ($context instanceof context_module) ? $context->get_course_context() : $context;

return $courseContext;
}
}
20 changes: 20 additions & 0 deletions blocks/kalturamediagallery/classes/privacy/provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace block_kalturamediagallery\privacy;

use \core_privacy\local\metadata\null_provider;

defined('MOODLE_INTERNAL') || die();

class provider implements null_provider {

/**
* Get the language string identifier with the component's language
* file to explain why this plugin stores no data.
*
* @return string
*/
public static function get_reason() : string {
return 'privacy:metadata';
}
}
41 changes: 41 additions & 0 deletions blocks/kalturamediagallery/db/access.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

defined('MOODLE_INTERNAL') || die();

$capabilities = array(
'block/kalturamediagallery:myaddinstance' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_PROHIBIT
),

'clonepermissionsfrom' => 'moodle/my:manageblocks'
),

'block/kalturamediagallery:addinstance' => array(
'riskbitmask' => RISK_SPAM | RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_BLOCK,
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
),

'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
20 changes: 20 additions & 0 deletions blocks/kalturamediagallery/lang/en/block_kalturamediagallery.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

$string['pluginname'] = 'Kaltura Media Gallery';
$string['kalturamediagallery:addinstance'] = 'Add a new Kaltura Media Gallery block';
$string['kalturamediagallery:myaddinstance'] = 'Add a new Kaltura Media Gallery block to Dashboard';
$string['privacy:metadata'] = 'The Kaltura Media Gallery block only displays a link to Kaltura Media Gallery local plugin';
24 changes: 24 additions & 0 deletions blocks/kalturamediagallery/version.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024100702;
$plugin->release = 'Kaltura release 4.5.1';
$plugin->requires = 2024042200;
$plugin->component = 'block_kalturamediagallery';
$plugin->dependencies = array(
'local_kaltura' => 2024100702,
'local_kalturamediagallery' => 2024100702
);
10 changes: 10 additions & 0 deletions createPackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

BRANCH=`git branch | grep '*' |awk -F _ '{print $2}'`
VER=`cat local/kaltura/version.php |grep '>version' | awk '{print $3}' | awk -F ";" '{print $1}'`

echo "Generating package for Kaltura_Video_Package_moodle"$BRANCH"_"$VER".zip\n"

FILENAME="Kaltura_Video_Package_moodle"$BRANCH"_"$VER".zip"

zip -r $FILENAME lib filter mod local blocks
20 changes: 20 additions & 0 deletions filter/kaltura/classes/privacy/provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace filter_kaltura\privacy;

use \core_privacy\local\metadata\null_provider;

defined('MOODLE_INTERNAL') || die();

class provider implements null_provider {

/**
* Get the language string identifier with the component's language
* file to explain why this plugin stores no data.
*
* @return string
*/
public static function get_reason() : string {
return 'privacy:metadata';
}
}
Loading