94 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
713722c3fb MDL-71036 phpunit: Coding style changes, 99% whitespace only
I've gone over a few of the mofified files (those
which were showing warnings and errors to CiBoT. Some of them
have been fixed completely, while others only have fixed
for the lines belonging to this issue (lib/tests/moodlelib_test.php)
for example.
2021-03-11 23:04:32 +01:00
Eloy Lafuente (stronk7)
ba5b6089d5 MDL-71036 phpunit: Renamed various regexp-related assertions
In PHPUnit 9.1, the following regexp-related assertions
have been deprecated and there are new alternatives for
all them:
    - assertRegExp()     -> assertMatchesRegularExpression()
    - assertNotRegExp()  -> assertDoesNotMatchRegularExpression()

This is about to, simply, move all cases to the new alternatives.

Source: https://github.com/sebastianbergmann/phpunit/blob/9.1.0/ChangeLog-9.1.md

Regexp to find all them:

    ag 'assertRegExp|assertNotRegExp' -li
2021-03-11 19:22:24 +01:00
Sara Arjona
7fde34ad55 Merge branch 'MDL-70535' of git://github.com/paulholden/moodle 2021-02-03 11:19:14 +01:00
Paul Holden
c8ed6413f7 MDL-58673 media_videojs: enable playback rates in player. 2021-01-15 14:06:30 +00:00
Paul Holden
c4c5eb9ace MDL-70535 media_videojs: fallback to English language video player.
When current language doesn't have accompanying videojs language file
we should fallback to displaying the player in English, otherwise the
web service returns empty and a Javascript exception is triggered.
2021-01-15 13:51:13 +00:00
Sara Arjona
f1333db578 NOBUG: Fixed file access permissions 2021-01-15 08:25:37 +01:00
Sara Arjona
c2f91dc03a NOBUG: Fixed SVG browser compatibility 2021-01-15 08:25:35 +01:00
Ferran Recio
6f8a3bc181 MDL-70308 libraries: upgrade videojs to 7.10.0 2020-12-23 11:04:17 +01:00
Eloy Lafuente (stronk7)
40de097e65 MDL-67673 phpunit: Remove deprecated assertContains() uses on strings
Both assertContains() and assertNotContains() are deprecated in PHPUnit 8
for operations on strings. Also the optional case parameter is. All uses
must be changed to one of:

- assertStringContainsString()
- assertStringContainsStringIgnoringCase()
- assertStringNotContainsString()
- assertStringNotContainsStringIgnoringCase()

More info: https://github.com/sebastianbergmann/phpunit/issues/3422

Regexp to find all uses:

ag 'assert(Not)?Contains\('
2020-10-21 12:46:00 +02:00
Eloy Lafuente (stronk7)
f6711bb394 MDL-67673 phpunit: Fix the return type of template methods
All the setup/teardown/pre/post/conditions template methods
now are required to return void. This was warned with phpunit 7
and now is enforced.

At the same time, fix a few wrong function names,
provider data and param types, return statements...
2020-10-21 12:45:59 +02:00
Andrew Nicols
5f581ce9eb MDL-57682 mediaplayer_videojs: Improve in-page caching of lang strings 2020-09-09 15:36:46 +08:00
Andrew Nicols
36f90b454c MDL-57682 mediaplayer_videojs: Login not required for lang fetch 2020-09-09 15:14:09 +08:00
Shamim Rezaie
f10ba30bbd MDL-57682 media_videojs: Cache videojs languages in the localstorage 2020-09-04 18:49:28 +10:00
Shamim Rezaie
375ca114e2 MDL-57682 media_videojs: webservice to get the language pack of videojs 2020-09-04 18:39:12 +10:00
Shamim Rezaie
e11cf31d53 MDL-57682 media_videojs: convert videojs loader to es6 2020-09-04 18:39:12 +10:00
Eloy Lafuente (stronk7)
fbb0767536 MDL-69475 versions: bump all versions and requires in master
version = 2021052500 release version
requires= 2021052500 same than version

Why 20210525? (25th May 2021) ?

Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:

- Moodle 3.10 to be released 9th November 2020. (2020110900)

  This version will be using versions from today to 2020110900
  (once it's released the YYYYMMDD part stops advancing).

- Moodle 3.11 to be released 10th May 2021. (2021051000)

  This version will be using versions from 3.10 release to 2021051000
  (once it's released the YYYYMMDD part stops advancing).

That means that all versions from today to 2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).

And we cannot use them in master, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).

So, get that 2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our 20210525.
2020-08-18 00:47:15 +02:00
Eloy Lafuente (stronk7)
115cc0214f MDL-68973 versions: bump all versions and requires near release
version = 2020061500 release version
requires= 2020060900 current rc1 (week7roll1) version
2020-06-09 16:23:09 +02:00
Andrew Nicols
f879cc518e MDL-66109 js: Build changes for NodeJS upgrade
This change includes a build to fix all minified file changes in Moodle
as a result of upgrades to our build process.
2020-05-11 10:55:54 +08:00
Eloy Lafuente (stronk7)
635ea71fb0 NOBUG: Fixed file access permissions 2020-05-08 13:32:22 +02:00
Eloy Lafuente (stronk7)
c6b75af51b NOBUG: Fixed SVG browser compatibility 2020-05-08 13:32:20 +02:00
Andrew Nicols
1ad79ecb18 Merge branch 'MDL-67383-master-1' of git://github.com/mihailges/moodle 2020-05-06 11:06:10 +08:00
Mihail Geshoski
5aca440471 MDL-67383 media_videojs: Update VideoJS versions in Moodle related files 2020-05-06 11:06:08 +08:00
Mihail Geshoski
9632fde77f MDL-67383 media_videojs: Upgrade VideoJS and plugins to latest version
Upgrade VideoJS (7.7.6), Youtube Playback for VideoJS (2.6.1), Flash Tech for VideoJS (2.2.1), Flash Player for VideoJS (5.4.2)
2020-05-06 11:06:08 +08:00
Andrew Nicols
9d67c34709 Merge branch 'MDL-63609' of https://github.com/paulholden/moodle 2020-05-06 08:50:00 +08:00
Mihail Geshoski
255a62ff88 MDL-68330 media_videojs: Fix videojs player rendering issue 2020-04-24 14:57:02 +08:00
Paul Holden
956f636d83 MDL-63609 media_videojs: support Youtube URL start time. 2020-04-21 14:46:05 +01:00
Eloy Lafuente (stronk7)
d5be859063 MDL-67199 versions: bump all versions and requires near release
version = 2019111800 release version
requires= 2019111200 current beta (week7roll1) version
2019-11-12 17:57:08 +01:00
Jake Dallimore
817dee3337 MDL-67086 css: Reverting MDL-66982, causing global RTL problems
Revert "Merge branch 'MDL-66982_master' of https://github.com/nadavkav/moodle"

This reverts commit 7ddf5ab75ef9d0a2f2935a0cbe34a3fc8d4a81e5, reversing
changes made to 32b625b6deb8f2ae793673bba8e80b58063e8a74.
2019-10-31 11:13:30 +01:00
Nadav Kavalerchik
96964edf0b MDL-66982 media_videojs: Fix RTL display issues (progress bar) 2019-10-23 01:34:24 +03:00
Ruslan Kabalin
12ce73a1a2 MDL-56549 media_html5video: Add test for native extensions support.
This is to verify that all files of html_video mime type extensions are
passing list_supported_urls method correctly.
2019-10-17 22:15:47 +01:00
Ruslan Kabalin
4d8b88fd63 MDL-56549 media_html5audio: Add test for native extensions support.
This is to verify that all files of html_audio mime type extensions are
passing list_supported_urls method correctly.
2019-10-17 22:15:47 +01:00
Eloy Lafuente (stronk7)
f7b87e1a79 NOBUG: Fixed file access permissions 2019-10-04 16:02:02 +02:00
Eloy Lafuente (stronk7)
2aa5e7e892 NOBUG: Fixed SVG browser compatibility 2019-10-04 16:01:57 +02:00
Ruslan Kabalin
a742b03d8c MDL-63453 media_videojs: Use media_source mimetype group in the player. 2019-09-27 00:13:29 +00:00
Matt Porritt
411bbe6ba0 MDL-63453 media_videojs: Upgrade Video.JS to 7.6.5.
Upgrade videojs media player to version 7.6.5 as well
as a general update this adds MPEG-DASH and HLS playlist
support to the Video.JS media player.
2019-09-25 05:52:38 +00:00
Tom Dickman
4487612c4a MDL-63453 media_videojs: Upgrade Video.JS to 7.5.5.
Upgrade Video.JS to 7.5.5
Upgrade videojs-youtube plugin to 2.6.0
Upgrade videojs-flash plugin to 2.2.2

Added additional AMD modules for bootstrapping the DOM
window and document objects to Video.JS in line with the
updates made to Video.JS.
2019-09-20 01:29:19 +00:00
Ryan Wyllie
195ea4480b MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
Sara Arjona
c2c5f08c09 MDL-57632 core_media: final deprecation core_media_manager::setup 2019-06-21 12:10:36 +02:00
Eloy Lafuente (stronk7)
c9a1a6341c MDL-65571 versions: bump all versions and requires near release
version = 2019052000 release version
requires= 2019051100 current beta (week6roll2) version
2019-05-12 23:46:34 +02:00
Juan Leyva
5c502bcd99 MDL-65255 vimeo: Do not require width and height for iframe
The script for embedding videos should work without forcing width and height.
This will simplify the way we embed videos in the app.
2019-04-03 15:16:05 +02:00
Helen Foster
65d70aa81b MDL-64509 lang: Import fixed English strings (en_fix)
Significant string change: enablerunnow_desc,tool_task - including
mention of pathtophp requirement
2019-01-07 14:40:34 +01:00
Eloy Lafuente (stronk7)
085353b315 MDL-64282 versions: bump all versions and requires near release
version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version
2018-11-29 18:24:08 +01:00
Víctor Déniz Falcón
02fda279ed MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Mihail Geshoski
d77b5db55f MDL-56712 media: Remove 3.2 deprecated functions and classes 2018-07-30 09:25:34 +08:00
Mark Nelson
273e0a822a MDL-62336 media_videojs: ensure videos have unique IDs 2018-05-28 16:43:57 +08:00
Eloy Lafuente (stronk7)
57ea6753d3 MDL-62361 versions: bump all versions and requires near release
version = 2018051400 release version
requires= 2018050800 current beta+ (week4roll1) version
2018-05-09 02:46:30 +02:00
Andrew Nicols
1144ae255f Revert "MDL-61876 admin: set default forceclean=1"
This reverts commit c182f060fa48f2266544056cfd03b95c0a2bcb64.
2018-05-08 13:28:12 +08:00
Andrew Nicols
67e2ee0b65 Merge branch 'wip-MDL-61876-master' of git://github.com/marinaglancy/moodle 2018-05-04 08:03:48 +08:00
Mihail Geshoski
f143179a66 MDL-61948 core_media: Implement null privacy provider 2018-04-18 13:44:13 +08:00
Marina Glancy
c182f060fa MDL-61876 admin: set default forceclean=1 2018-04-17 09:39:22 +08:00