244 Commits

Author SHA1 Message Date
Víctor Déniz Falcón
47627abe9d MDL-67156 core_h5p: change DIRECTORY_SEPARATOR by slashes
In Windows, the value of DIRECTORY_SEPARATOR is "\", causing failures in
the tests when compared to the path strings that use "/".
2019-11-08 22:18:11 +00:00
Andrew Nicols
fc0ded848c MDL-67058 h5p: Correct PHPUNIT_LONGTEST usage 2019-11-08 15:48:58 +08:00
Andrew Nicols
fd9333ca93 MDL-67058 h5p: Content fetch should use save_h5p API 2019-11-08 15:48:58 +08:00
Andrew Nicols
ab8f1c3b8c MDL-67058 h5p: System user has permission 2019-11-08 15:20:17 +08:00
Andrew Nicols
1e96159444 Merge branch 'MDL-66404-master' of git://github.com/cescobedo/moodle 2019-11-08 09:24:10 +08:00
Andrew Nicols
284af93b5e MDL-67043 h5p: Whitespace fix 2019-11-08 08:27:13 +08:00
Andrew Nicols
6f1b145ea8 Merge branch 'MDL-67043-master' of git://github.com/cescobedo/moodle 2019-11-08 08:25:14 +08:00
Eloy Lafuente (stronk7)
f34c8e86e7 Merge branch 'MDL-67058-master' of git://github.com/vmdef/moodle 2019-11-08 00:30:08 +01:00
cescobedo
3b85322940 MDL-67173 core_h5p: Translate non-localURL in WS to invalidurl
The WebService should return invalidurl when the coding error is
"Coding error detected, it must be fixed by a programmer: out_al_local_url called on a non-local URL"
So, we translate the error to be used by Mobile App.
2019-11-07 23:05:41 +01:00
cescobedo
0477e526e4 MDL-66404 core_h5p: Add new h5p_deleted event 2019-11-07 10:43:20 +01:00
cescobedo
fba5bba829 MDL-66404 core_h5p: Add new h5p_viewed event 2019-11-07 10:43:13 +01:00
Amaia Anabitarte
b57e1c9590 MDL-67059 core_h5p: UI to manually upload H5P content type libraries
Co-authored by: Mihail Geshoski <mihail@moodle.com>
2019-11-07 16:54:28 +08:00
cescobedo
65ae2441f3 MDL-67043 core_h5p: Add new ws to get the H5P trusted file 2019-11-07 08:47:25 +01:00
Adrian Greeve
d5e303f8e3 Merge branch 'MDL-67057-master' of git://github.com/andrewnicols/moodle 2019-11-07 11:59:00 +08:00
Andrew Nicols
1c66ef98ed MDL-67057 h5p: Set framework file when saving package 2019-11-07 11:56:12 +08:00
Andrew Nicols
6f44f09495 Merge branch 'MDL-67076-master' of git://github.com/sarjona/moodle 2019-11-07 09:44:35 +08:00
Andrew Nicols
884ba60a50 Merge branch 'MDL-67057-master' of git://github.com/andrewnicols/moodle 2019-11-07 09:20:27 +08:00
Andrew Nicols
021c180c83 MDL-67057 h5p: Remove unreachable code 2019-11-07 09:13:25 +08:00
Sara Arjona
c07f31ae2c MDL-67057 core_h5p: Add capability to update content-type libraries 2019-11-07 07:19:59 +08:00
Sara Arjona
7a0d9bd5e4 MDL-67057 core_h5p: New method to get latest library version 2019-11-07 07:19:59 +08:00
Sara Arjona
285976f1bd MDL-67057 core_h5p: Improve displaying errors 2019-11-07 07:19:59 +08:00
Sara Arjona
5a266a579c MDL-67057 core_h5p: Add helper class 2019-11-07 07:19:58 +08:00
Victor Deniz Falcon
5315acb47c MDL-67058 core_h5p: task to get latest content types version from H5P 2019-11-06 18:17:34 +00:00
cescobedo
c0c489bb06 MDL-67082 core_h5p: Add new contexts to check h5p file permissions 2019-11-06 12:51:04 +08:00
cescobedo
3f6c7446ff MDL-67082 core_h5p: Check component_callback called for right context 2019-11-06 12:51:04 +08:00
Andrew Nicols
f18ab990f2 Merge branch 'MDL-67100-master' of git://github.com/sarjona/moodle 2019-11-01 11:07:40 +08:00
Sara Arjona
ca7de4b6d7 MDL-67100 core_h5p: Add autoloader to the h5p_file_storage_test 2019-10-31 11:07:16 +01:00
Sara Arjona
743462111f MDL-67076 core_h5p: Add preventredirect parameter to embed 2019-10-30 10:04:26 +01:00
Mihail Geshoski
ab02687e30 MDL-67067 core_h5p: Fix coding style issues and undocumented functions 2019-10-30 15:22:40 +08:00
Mihail Geshoski
b54ab19093 MDL-67067 core_h5p: Remove unused method in framework implementation 2019-10-30 15:22:25 +08:00
Mihail Geshoski
abf6d1c395 MDL-67067 core_h5p: Load cached assets by default 2019-10-30 15:21:57 +08:00
Eloy Lafuente (stronk7)
229ce2a754 NOBUG: Fixed SVG browser compatibility 2019-10-29 21:03:41 +01:00
Andrew Nicols
884670687f MDL-66609 core_h5p: Whitespacep fix 2019-10-29 11:23:07 +08:00
Sara Arjona
8fda136dc8 MDL-66609 core_h5p: Add capability to deploy H5P content 2019-10-29 10:22:44 +08:00
Amaia Anabitarte
a3cdaa8dd9 MDL-66609 core_h5p: Autoload for H5P third party library classes 2019-10-29 10:22:44 +08:00
Mihail Geshoski
df74cd4aea MDL-66609 core_h5p: Use factory methods instead of framework::instance() 2019-10-29 10:22:44 +08:00
Andrew Nicols
9e67f5e366 MDL-66609 core_h5p: Make use of upstream change for getting itemid 2019-10-29 10:22:43 +08:00
Amaia Anabitarte
e96569cc1e MDL-66609 core_h5p: Unit test coverage 2019-10-29 10:22:43 +08:00
Mihail Geshoski
27fa4ba3d4 MDL-66609 core_h5p: Unit test framework interface implementation 2019-10-29 10:22:43 +08:00
Mihail Geshoski
09d8143d84 MDL-66609 core_h5p: Framework interface implementation 2019-10-29 10:22:43 +08:00
Sara Arjona
35b62d00b8 MDL-66609 core_h5p: Player and embed.php implementation 2019-10-29 10:22:43 +08:00
Adrian Greeve
9ea303e773 MDL-66609 core_h5p: Unit tests for file_storage. 2019-10-29 10:22:43 +08:00
Adrian Greeve
e55cc513f4 MDL-66609 core_h5p: Implement the file_storage interface. 2019-10-29 10:22:43 +08:00
Amaia Anabitarte
45899564b3 MDL-66609 core_h5p: New core_h5p subsystem
New H5P libraries have been added to Moodle core_h5p in /lib/h5p.
2019-10-29 10:22:43 +08:00