From d27d579915f02091cad9abc24d39cf24d4688565 Mon Sep 17 00:00:00 2001 From: roileviK Date: Sun, 4 Feb 2024 14:49:14 +0200 Subject: [PATCH 1/4] SUP-35859 move kalvidres css to view --- mod/kalvidres/mod_form.php | 1 - mod/kalvidres/view.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/kalvidres/mod_form.php b/mod/kalvidres/mod_form.php index feebc35f..627dcb7c 100644 --- a/mod/kalvidres/mod_form.php +++ b/mod/kalvidres/mod_form.php @@ -38,7 +38,6 @@ class mod_kalvidres_mod_form extends moodleform_mod { public function definition() { global $CFG, $COURSE, $PAGE; - $PAGE->requires->css('/mod/kalvidres/styles.css'); $pageclass = 'kaltura-kalvidres-body'; $PAGE->add_body_class($pageclass); diff --git a/mod/kalvidres/view.php b/mod/kalvidres/view.php index 3bf64ca7..08475715 100644 --- a/mod/kalvidres/view.php +++ b/mod/kalvidres/view.php @@ -66,6 +66,7 @@ $completion = new completion_info($course); $completion->set_module_viewed($cm); +$PAGE->requires->css('/mod/kalvidres/styles.css'); echo $OUTPUT->header(); $renderer = $PAGE->get_renderer('mod_kalvidres'); From e410e79faaf82a7b8ba0c5a35bc646662be7fc34 Mon Sep 17 00:00:00 2001 From: roileviK Date: Sun, 4 Feb 2024 14:54:15 +0200 Subject: [PATCH 2/4] SUP-38296 update icons --- local/kaltura/pix/quiz.png | Bin 0 -> 370 bytes local/kaltura/pix/quiz.svg | 3 +++ mod/kalvidassign/pix/icon.gif | Bin 572 -> 0 bytes mod/kalvidassign/pix/icon.png | Bin 1020 -> 302 bytes mod/kalvidassign/pix/icon.svg | 4 +++- mod/kalvidres/pix/icon.gif | Bin 618 -> 0 bytes mod/kalvidres/pix/icon.png | Bin 1136 -> 350 bytes mod/kalvidres/pix/icon.svg | 4 +++- 8 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 local/kaltura/pix/quiz.png create mode 100644 local/kaltura/pix/quiz.svg delete mode 100644 mod/kalvidassign/pix/icon.gif delete mode 100644 mod/kalvidres/pix/icon.gif diff --git a/local/kaltura/pix/quiz.png b/local/kaltura/pix/quiz.png new file mode 100644 index 0000000000000000000000000000000000000000..d10ae9377b90ca89fdebbf0b7f1fabcb1dae40aa GIT binary patch literal 370 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjoCO|{#S9GG!XV7ZFl!D-1!HlL zyA#8@b22Z19F}xPUq=Rpjs4tz5?O(A?4B-;Ar*{!r*`umQV?j<_dCELdr;7-N&1TD z9EZ6M<`;Y=7AikrD{Y?a?d^Q>qlMQWA)%uK4r(TgfCl?{oZV0*Kl`z<*C9J`seBc?zcY**rvOwi99~H?ZKYy_b2uy+RW|D zFqyWeB + + diff --git a/mod/kalvidassign/pix/icon.gif b/mod/kalvidassign/pix/icon.gif deleted file mode 100644 index c90fa097a6e37cf6dcf6f5bab665a7aa11583421..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 572 zcmZ?wbhEHb6krfwIOfYBAiyakE-xgmAT22%EUhgft1BlbuBm6FZ)Roa5FYBtYUAQ% z;u>e^m6qhmX6v8h5gg+bURD{&=o;7Q8Q)YB%i*8i7m(Q>m^q;{og*k~Qhk=@#4LtM zxtvq-Ip-9!#8xhgt6mvhy(zVRX}^-7w|T(e%-SAWy_k^EoTsBda+X>Ao3laT7}k!Z8Cm^f*oDO2l&$&;o|w-e-<&%^0F zyJdoj@d{%@izUr=R=Qf7v@~tjHrZLLDeh5Ju-{%k!P4sJ(KXYS+KKR=<>z%WWt?u| z;CTJIgKPgx3o`}*_9j_%W^*I6$t+&-9!+}g+HNk=O18qvtUfZ{P5PdC342aFU}$Aw Xt{0dPp|GNf-H|I|ih+uT0E0CEpXon5 diff --git a/mod/kalvidassign/pix/icon.png b/mod/kalvidassign/pix/icon.png index a8e0cfb28a649f1cb08fdf0aebccd8ece981859e..1465b4bab2e36974a0542326bc5f0e6f7c9da705 100644 GIT binary patch delta 275 zcmV+u0qp+#2d)B;B!3BTNLh0L01FcU01FcV0GgZ_00001b5ch_0Itp)=>Px#1ZP1_ zK>z@;j|==^1poj5!%0LzRCodHl(V zE@=ofZ=r-gJV}#-JNn#5IienBE+u~Kqn5Z4LO*yeB_ik`5P!EMK#+K@Etr-B3KI7` z?w~*DUI?hb=x!v+npRdtZ(AbPTTQtQm&yp2Dzyg`nhpjRM5|~@0Dx{XUxbrv! znKvR>at43bXvYdFiK{ygAgJ^o8ZJPIJOhYbu)W}<+KogJQAwn(a=n5F*>^ljn&>M( Zw9S{XrD?R27z_Xa002ovPDHLkV1lcdY6<`V delta 998 zcmV;@;H2?quiAh93R7l6olv`+ARTPH5edbJ($;@OfiJ8e|+T5s+ zRwHVmt+t9riJ@B1YOxPq+J}G-1;GoF7m?Dw_@F3)3WbWHAb+BTSiwjeG`6N`8)=hR z8frbN2F~NgC?RB=O1r?XdP*|6c$9@1sbMSU6e{QXnEIWf*RSQt6M1 z5)nfwr2(0`F+62ii9Y}hkhUott?b>@uy?)I4giMBB*XMuPzpo<7`WIu(%0GgD9{gJ zraNC$S{an^JoSV&yo&Zz5C|3HXkl)80%cExlx|m zswltuJzxCpB34edh+>5L7Marg5@mCl@Fa$XCqXgo{1G z+K7ww)n2r+>FfWQE!DqKWv4jVlQ@6vy8PJHe<&G^tvhj{y>npn&!Nw2YVXS*KX;g4 z+uIJ#&CawhmGh0CKJ>{iAN%CxhMZAPu3y?$Q)cXH+~n@+_{b~P@qk?awm|khn>$q! zRxcF?4KLuHmskNtPOc|Z6e)Qy5GpK9m(Bq21W*q|?x<~l=pOUy9JksJSKNj3< Uw`wXVE&u=k07*qoM6N<$f@gy33IG5A diff --git a/mod/kalvidassign/pix/icon.svg b/mod/kalvidassign/pix/icon.svg index 0d00ae79..16945176 100644 --- a/mod/kalvidassign/pix/icon.svg +++ b/mod/kalvidassign/pix/icon.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/mod/kalvidres/pix/icon.gif b/mod/kalvidres/pix/icon.gif deleted file mode 100644 index 308c8f3b915ec73b9532eff9a3ae48bbac8a3f6e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 618 zcmZ?wbhEHb6lM@$I9AD^pv|bL!>nV$u5Rk3Yw4qF9b)OpY30vq?I&y-SmYAL?iwxW z6jALKT^E)mACk+Lmg4P~KFKd*a&?AMex`G1-t@5i8DaUeI|^hInm7u}vZ5NdJ4)IMo%s=gz;DZgKPd14y+`50k)|1P(ZJ&Ee zbk)wiOZS{#bWvp4-t+S=^RL`{YT;$UC6~mOT@_z*@Z8!%=YH+yUw8QY`orfp9l!SX zxWqpoIwAG{gyjEIVmmI}+j-&M?hAK!1Idf`_g#IwABe62(Ubkxo*lUMQW@|(Yx-~PGs_Rpnvf3Lm&clG1{8z28;1&Tje7`Yhg8FUzc02C(-?8h7Go0?l% zTUljfySjU1<)xXMd4vR~PMbbeh_l%vF@Anra?<=I@d;MVL3!D0N(EHP^Vh7&b8imL z&CD#YHuMy>OU>Dp>(Lxin3GfJs1@L6shoAH(5pH0y_ x@?m3Jw>^tPi-hN-B^|6TK~r`p9-iRMV3u`2V9|l4rx_%DWHy{E4p3mQ1_0u{KZO7Q diff --git a/mod/kalvidres/pix/icon.png b/mod/kalvidres/pix/icon.png index 0cf52aa5d133e7a9fbe0160a8a63e4488d1e5464..e0e492aaae96277e0b4918b8c2373904ab20836b 100644 GIT binary patch literal 350 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjoCO|{#S9GG!XV7ZFl!D-1!HlL zyA#8@b22Z19F}xPUq=Rpjs4tz5?O)#&z>%hAr*{wr#|FuG7xBu?`5`dy31f*zfeE;(t+n%Ey{_5)c5BT}=I+J`IU$qJ8StfEl{n3Ck8RKG%`urj7TGqp>4j(H&Ntp5lT>t}pqDx&G3`0*t9}w(xOYHCl(hUH8}Dv`b6Ur r6S>{}y(TZB7dk8IFL-s#cfR?zNAEYR{-0?N^ge^9tDnm{r-UW|*Z_sb literal 1136 zcmV-$1dscPP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/4] SUP-38296 update icons background color --- mod/kalvidassign/lib.php | 3 +++ mod/kalvidres/lib.php | 2 ++ 2 files changed, 5 insertions(+) diff --git a/mod/kalvidassign/lib.php b/mod/kalvidassign/lib.php index f8d999c7..bfaf0da1 100644 --- a/mod/kalvidassign/lib.php +++ b/mod/kalvidassign/lib.php @@ -269,6 +269,9 @@ function kalvidassign_supports($feature) { case FEATURE_BACKUP_MOODLE2: return true; break; + case FEATURE_MOD_PURPOSE: + return MOD_PURPOSE_ASSESSMENT; + break; default: return null; break; diff --git a/mod/kalvidres/lib.php b/mod/kalvidres/lib.php index 63cd3fc5..0f9ba853 100644 --- a/mod/kalvidres/lib.php +++ b/mod/kalvidres/lib.php @@ -177,6 +177,8 @@ function kalvidres_supports($feature) { return true; case FEATURE_SHOW_DESCRIPTION: return true; + case FEATURE_MOD_PURPOSE: + return MOD_PURPOSE_CONTENT; default: return null; } From 248c7fbf453eced68f7204ece989768c456a6703 Mon Sep 17 00:00:00 2001 From: roileviK Date: Sun, 4 Feb 2024 14:59:22 +0200 Subject: [PATCH 4/4] ILMS-578 bump version 4.4.7 --- blocks/kalturamediagallery/version.php | 10 +++++----- filter/kaltura/version.php | 8 ++++---- lib/editor/atto/plugins/kalturamedia/version.php | 8 ++++---- lib/editor/tiny/plugins/kalturamedia/version.php | 8 ++++---- lib/editor/tinymce/plugins/kalturamedia/version.php | 8 ++++---- local/kaltura/version.php | 6 +++--- local/kalturamediagallery/version.php | 8 ++++---- local/mymedia/version.php | 8 ++++---- mod/kalvidassign/version.php | 8 ++++---- mod/kalvidres/version.php | 8 ++++---- 10 files changed, 40 insertions(+), 40 deletions(-) diff --git a/blocks/kalturamediagallery/version.php b/blocks/kalturamediagallery/version.php index c9538480..c1486c7f 100644 --- a/blocks/kalturamediagallery/version.php +++ b/blocks/kalturamediagallery/version.php @@ -14,11 +14,11 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2023042400; -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; +$plugin->version = 2023042401; +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; $plugin->component = 'block_kalturamediagallery'; $plugin->dependencies = array( - 'local_kaltura' => 2023042400, - 'local_kalturamediagallery' => 2023042400 + 'local_kaltura' => 2023042401, + 'local_kalturamediagallery' => 2023042401 ); diff --git a/filter/kaltura/version.php b/filter/kaltura/version.php index 6f8d75d8..d384cad5 100644 --- a/filter/kaltura/version.php +++ b/filter/kaltura/version.php @@ -24,11 +24,11 @@ */ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2023042400; //version date YYYYMMDDXX 10 represent 3.0 for future option to moodle use 2 digit version +$plugin->version = 2023042401; //version date YYYYMMDDXX 10 represent 3.0 for future option to moodle use 2 digit version $plugin->component = 'filter_kaltura'; -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array( - 'local_kaltura' => 2023042400 + 'local_kaltura' => 2023042401 ); diff --git a/lib/editor/atto/plugins/kalturamedia/version.php b/lib/editor/atto/plugins/kalturamedia/version.php index e0820d05..5245ff98 100644 --- a/lib/editor/atto/plugins/kalturamedia/version.php +++ b/lib/editor/atto/plugins/kalturamedia/version.php @@ -24,10 +24,10 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2023042400; // The current plugin version (Date: YYYYMMDDXX). -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; // Requires this Moodle version. +$plugin->version = 2023042401; // The current plugin version (Date: YYYYMMDDXX). +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; // Requires this Moodle version. $plugin->component = 'atto_kalturamedia'; // Full name of the plugin (used for diagnostics). $plugin->dependencies = array( - 'local_kaltura' => 2023042400 + 'local_kaltura' => 2023042401 ); diff --git a/lib/editor/tiny/plugins/kalturamedia/version.php b/lib/editor/tiny/plugins/kalturamedia/version.php index 0bffeae9..f7f14e89 100644 --- a/lib/editor/tiny/plugins/kalturamedia/version.php +++ b/lib/editor/tiny/plugins/kalturamedia/version.php @@ -24,10 +24,10 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2023042400; -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; +$plugin->version = 2023042401; +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; $plugin->component = 'tiny_kalturamedia'; $plugin->dependencies = array( - 'local_kaltura' => 2023042400 + 'local_kaltura' => 2023042401 ); diff --git a/lib/editor/tinymce/plugins/kalturamedia/version.php b/lib/editor/tinymce/plugins/kalturamedia/version.php index bda853a0..99109ee5 100644 --- a/lib/editor/tinymce/plugins/kalturamedia/version.php +++ b/lib/editor/tinymce/plugins/kalturamedia/version.php @@ -23,12 +23,12 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2023042400; -$plugin->release = 'Kaltura release 4.4.6'; +$plugin->version = 2023042401; +$plugin->release = 'Kaltura release 4.4.7'; // Required Moodle version. -$plugin->requires = 2023042400; +$plugin->requires = 2023042401; // Full name of the plugin (used for diagnostics). $plugin->component = 'tinymce_kalturamedia'; $plugin->dependencies = array( - 'local_kaltura' => 2023042400 + 'local_kaltura' => 2023042401 ); diff --git a/local/kaltura/version.php b/local/kaltura/version.php index 8b54c2a6..ced6009b 100644 --- a/local/kaltura/version.php +++ b/local/kaltura/version.php @@ -25,10 +25,10 @@ die('Direct access to this script is forbidden.'); } -$plugin->version = 2023042400; +$plugin->version = 2023042401; $plugin->component = 'local_kaltura'; -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; $plugin->maturity = MATURITY_STABLE; try { diff --git a/local/kalturamediagallery/version.php b/local/kalturamediagallery/version.php index 518b31ef..07e47fdc 100644 --- a/local/kalturamediagallery/version.php +++ b/local/kalturamediagallery/version.php @@ -26,11 +26,11 @@ die('Direct access to this script is forbidden.'); } -$plugin->version = 2023042400; +$plugin->version = 2023042401; $plugin->component = 'local_kalturamediagallery'; -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array( - 'local_kaltura' => 2023042400 + 'local_kaltura' => 2023042401 ); diff --git a/local/mymedia/version.php b/local/mymedia/version.php index 71d868de..a27cbce0 100644 --- a/local/mymedia/version.php +++ b/local/mymedia/version.php @@ -25,11 +25,11 @@ die('Direct access to this script is forbidden.'); } -$plugin->version = 2023042400; +$plugin->version = 2023042401; $plugin->component = 'local_mymedia'; -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array( - 'local_kaltura' => 2023042400 + 'local_kaltura' => 2023042401 ); diff --git a/mod/kalvidassign/version.php b/mod/kalvidassign/version.php index a7b7b5c2..99513b90 100644 --- a/mod/kalvidassign/version.php +++ b/mod/kalvidassign/version.php @@ -25,12 +25,12 @@ die('Direct access to this script is forbidden.'); } -$plugin->version = 2023042400; +$plugin->version = 2023042401; $plugin->component = 'mod_kalvidassign'; -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; $plugin->cron = 0; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array( - 'local_kaltura' => 2023042400, + 'local_kaltura' => 2023042401, ); diff --git a/mod/kalvidres/version.php b/mod/kalvidres/version.php index 3045b350..9d2d17af 100644 --- a/mod/kalvidres/version.php +++ b/mod/kalvidres/version.php @@ -25,12 +25,12 @@ die('Direct access to this script is forbidden.'); } -$plugin->version = 2023042400; +$plugin->version = 2023042401; $plugin->component = 'mod_kalvidres'; -$plugin->release = 'Kaltura release 4.4.6'; -$plugin->requires = 2023042400; +$plugin->release = 'Kaltura release 4.4.7'; +$plugin->requires = 2023042401; $plugin->cron = 0; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array( - 'local_kaltura' => 2023042400 + 'local_kaltura' => 2023042401 );