Sara Arjona
08fda3e0f8
MDL-67063 h5p: new h5plib plugintype for supporting multi coreAPI
...
A new plugintype has been created for having more than one installed
third-party H5P libraries. Existing libraries have been moved from
lib/h5p to the new h5plib_v124 plugin.
2020-03-11 08:46:16 +01:00
Sara Arjona
3e3b656795
MDL-68038 core_h5p: rename can_update_library test
2020-03-02 08:00:42 +01:00
Eloy Lafuente (stronk7)
5767ceda85
Merge branch 'MDL-67062-master-fix-oracle' of https://github.com/sarjona/moodle
2020-02-27 13:18:58 +01:00
Sara Arjona
770cfadd68
MDL-67062 core_h5p: fix oracle distinct error
2020-02-27 13:12:52 +01:00
Sara Arjona
91ae2593d6
MDL-67062 core_h5p: behat fix for delete library test
2020-02-27 12:32:21 +01:00
Eloy Lafuente (stronk7)
01689c8fe4
Merge branch 'MDL-67062-master' of git://github.com/sarjona/moodle
2020-02-26 22:44:47 +01:00
Sara Arjona
64a2bd19b0
MDL-67062 core_h5p: delete libraries
...
New feature to let admins to remove H5P libraries/content types.
Thanks Ferran Recio for your contribution with the renderer!
AMOS BEGIN
CPY [actions,core],[actions,core_h5p]
AMOS END
2020-02-26 19:55:34 +01:00
Sara Arjona
2b8d97326d
MDL-67062 core_h5p: delete cache assets when removing libraries
...
The cache assets linked to a library have to be removed also when a
library is deleted, in order to rebuild them again next time they are
required.
2020-02-26 19:55:34 +01:00
Jun Pataleta
47fd698541
Merge branch 'MDL-67921-master' of git://github.com/sarjona/moodle
2020-02-26 16:51:19 +08:00
Eloy Lafuente (stronk7)
b5220abb0f
Merge branch 'MDL-67920-master' of git://github.com/aanabit/moodle
2020-02-25 23:32:17 +01:00
cescobedo
5d81efd1f7
MDL-67131 core_h5p: Allow use webservice/pluginfile|tokenpluginfile url
...
With this fix the player accepts webservice/pluginfile.php, pluginfile.php
and tokenpluginfile.php URLs to find the h5p files.
Also, we allow to build fileurl with the proper endpoint if
the URL is webservice/pluginfile, tokenpluginfile.php or pluginfile.php
as Mobile App needs.
2020-02-21 09:46:23 +01:00
Sara Arjona
92ad6bd901
MDL-67921 core_h5p: re-implement framework->getOption
...
The implementation done for getOption was not correct because it
was only taking into account the displayoptions for download and
embed.
Besides, setOption implementation has been added.
2020-02-21 09:29:07 +01:00
Amaia Anabitarte
f531a30252
MDL-67920 core_h5p: Move upload button into form and fix title
...
Minor bugs in Site administration > H5P > Manage H5P content types admin page'
2020-02-21 08:59:27 +01:00
Sara Arjona
5963c3c8f0
Merge branch 'MDL-67060-master' of git://github.com/aanabit/moodle
2020-02-11 11:40:18 +01:00
Amaia Anabitarte
78f0e17127
MDL-67060 core_h5p: Behats for H5P tools Overview
2020-02-11 10:26:57 +01:00
Amaia Anabitarte
4e7a035f68
MDL-67060 core_h5p: Improvements to Manage H5P setting page
...
Co-authored by: Adrian Greeve <adrian@moodle.com>
AMOS BEGIN
CPY [description,moodle],[description,core_h5p]
CPY [status,moodle],[status,core_h5p]
AMOS END
2020-02-11 10:26:57 +01:00
Amaia Anabitarte
d3ee08dba3
MDL-67060 core_h5p: Improving H5P libraries list
2020-02-11 10:26:57 +01:00
Víctor Déniz Falcón
fe9bb50cb5
MDL-67192 core_h5p: remove redundant assignment
2020-02-10 08:40:13 +00:00
Víctor Déniz Falcón
a23969a5fa
MDL-67192 core_h5p: get site UUID from H5P using the API
2020-02-10 08:40:12 +00:00
Víctor Déniz Falcón
e942844d76
MDL-67296 core_h5p: tests modified to use exttests
2020-01-22 20:40:12 +00:00
Víctor Déniz Falcón
d8fe1eddf9
MDL-67296 core_h5p: minor changes
...
core.php-Avoid to use the factory for each content type
h5p_get_content_types_task-new method to simplify test execution
framework.php-returns error if you get a 404 response after requesting a file
2020-01-22 14:48:16 +00:00
Jun Pataleta
f136aa1933
Merge branch 'MDL-67231-master' of git://github.com/andrewnicols/moodle
2019-11-13 16:00:16 +08:00
Andrew Nicols
8bd3e49cc9
MDL-67231 h5p: Correct naming of h5p unit test files
2019-11-13 14:24:28 +08:00
Andrew Nicols
09ab002746
Merge branch 'MDL-67194-master' of git://github.com/vmdef/moodle
2019-11-13 08:38:34 +08:00
Víctor Déniz Falcón
b7c307f33d
MDL-67194 core_h5p: save core API version that content types require
2019-11-11 21:09:50 +00:00
Sara Arjona
1cb3493ab1
Merge branch 'MDL-67156-master' of git://github.com/vmdef/moodle
2019-11-09 19:53:27 +01:00
Sara Arjona
5e7d8b42ce
Merge branch 'MDL-67158-master' of git://github.com/mihailges/moodle
2019-11-09 19:23:39 +01:00
Mihail Geshoski
d68be5b209
MDL-67158 core_h5p: Unit test fixes
2019-11-10 01:37:44 +08:00
Sara Arjona
b80c1e015a
Merge branch 'MDL-67061-master' of https://github.com/aanabit/moodle
2019-11-09 13:22:03 +01:00
Amaia Anabitarte
2c679b6ea8
MDL-67061 core_h5p: Behat tests for H5P content-types admin settings
2019-11-09 11:11:07 +01:00
Bas Brands
c43f99ca47
MDL-67061 core_h5p: List installed contenttypes/libraries
2019-11-09 11:11:07 +01:00
Sara Arjona
3b381bd2da
Merge branch 'MDL-67173-master' of git://github.com/cescobedo/moodle
2019-11-09 08:55:47 +01:00
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