This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PendingPromise from 'core/pending'; | |
export default (...args) => { | |
const pendingPromise = new PendingPromise('core/promise'); | |
return Promise.resolve.apply(this, args) | |
.then(result => { | |
pendingPromise.resolve(); | |
return new Promise().resolve.apply(this, result); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all, | |
After discussion with others in the Integration team, and careful consideration, the decision has been made to close this issue as "Will not fix". | |
Adding additional database engines to the list of supported engines is an extremely large undertaking. Even if the initial support level appears trivial, it is highly that this will introduce severe limitations to the product, and potential new features. | |
Whilst SQLite has many benefits, we do not feel that it has the featureset required to support the entire of Moodle LMS product in either its current form, nor potential future features that we introduce int he future. Therefore we cannot entertain adding full SQLite support in this, or any future version of Moodle. | |
That said, we will of course continue to support SQLite in locations where it is already supported. Notably areas such as the database enrolment, and database authentication plugins. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Facebook\WebDriver; | |
use Facebook\WebDriver\Chrome\ChromeOptions; | |
use Facebook\WebDriver\Remote\DesiredCapabilities; | |
use Facebook\WebDriver\Remote\RemoteWebDriver; | |
require_once('vendor/autoload.php'); | |
// start Chrome with 5 second timeout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Facebook\WebDriver; | |
use Facebook\WebDriver\Remote\DesiredCapabilities; | |
use Facebook\WebDriver\Remote\RemoteWebDriver; | |
require_once('vendor/autoload.php'); | |
// start Chrome with 5 second timeout | |
$host = 'http://localhost:4444/wd/hub'; // this is the default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Facebook\WebDriver; | |
use Facebook\WebDriver\Remote\DesiredCapabilities; | |
use Facebook\WebDriver\Remote\RemoteWebDriver; | |
require_once('vendor/autoload.php'); | |
// start Chrome with 5 second timeout | |
$host = 'http://localhost:4444/wd/hub'; // this is the default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WDURL="http://localhost:9515"; | |
#RESPONSE=`curl -s -d '{"capabilities": {"firstMatch": [{"acceptInsecureCerts": false, "browserName": "chrome"}]}}' "${WDURL}/session"` | |
RESPONSE=`curl -s -d '{"capabilities": {"firstMatch": [{"acceptInsecureCerts": false, "browserName": "chrome", "goog:chromeOptions": {"args": ["-headless"]}}]}}' "${WDURL}/session"` | |
SESSIONID=`echo "${RESPONSE}" | python3 -c "import sys, json; print(json.load(sys.stdin)['value']['sessionId'])"` | |
echo "Setting URL:" | |
curl -d '{"url":"http:\/\/localhost\/date.html"}' "${WDURL}/session/${SESSIONID}/url" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#~/bin/bash | |
set -e | |
docker run \ | |
--rm \ | |
-d \ | |
--name selenium \ | |
-p 4444:4444 \ | |
-e START_XVFB=false \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Interactive Video", | |
"description": "Put texts, tasks and other medias on top of your video.", | |
"license": "MIT", | |
"contentType": "Media", | |
"majorVersion": 1, | |
"minorVersion": 20, | |
"patchVersion": 4, | |
"machineName": "H5P.InteractiveVideo", | |
"author": "Joubel", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Interactive Video", | |
"description": "Put texts, tasks and other medias on top of your video.", | |
"license": "MIT", | |
"contentType": "Media", | |
"majorVersion": 1, | |
"minorVersion": 20, | |
"patchVersion": 4, | |
"machineName": "H5P.InteractiveVideo", | |
"author": "Joubel", |