Skip to content

Commit

Permalink
MDL-60848 atto_recordrtc: Add recordrtc to core
Browse files Browse the repository at this point in the history
Thanks also goes to Jacob Prud'homme from Blindside
Networks who contributed a vast portion of this code.
  • Loading branch information
jfederico authored and mdjnelson committed Apr 6, 2018
1 parent 2bd2660 commit b4bbf31
Show file tree
Hide file tree
Showing 38 changed files with 9,452 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/editor/atto/plugins/recordrtc/.eslintignore
@@ -0,0 +1,2 @@
amd/src/adapter.js
amd/src/bowser.js
2 changes: 2 additions & 0 deletions lib/editor/atto/plugins/recordrtc/.stylelintignore
@@ -0,0 +1,2 @@
amd/src/adapter.js
amd/src/bowser.js
101 changes: 101 additions & 0 deletions lib/editor/atto/plugins/recordrtc/.travis.yml
@@ -0,0 +1,101 @@
language: php

# Workaround for fixing that Selenium server is not running and therefore Behat tests not working
sudo: required

addons:
firefox: "47.0.1"
postgresql: "9.3"
apt:
packages:
- oracle-java9-installer
- oracle-java9-set-default

cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm

php:
- 7.0
- 7.1

env:
global:
- COVERAGE=false
matrix:
- MOODLE_BRANCH=MOODLE_32_STABLE DB=mysqli MOODLE_PLUGIN_CI=2
- MOODLE_BRANCH=MOODLE_32_STABLE DB=pgsql MOODLE_PLUGIN_CI=2
- MOODLE_BRANCH=MOODLE_33_STABLE DB=mysqli MOODLE_PLUGIN_CI=2
- MOODLE_BRANCH=MOODLE_33_STABLE DB=pgsql MOODLE_PLUGIN_CI=2
- MOODLE_BRANCH=MOODLE_34_STABLE DB=mysqli MOODLE_PLUGIN_CI=2
- MOODLE_BRANCH=MOODLE_34_STABLE DB=pgsql MOODLE_PLUGIN_CI=2
- MOODLE_BRANCH=master DB=mysqli MOODLE_PLUGIN_CI=2
- MOODLE_BRANCH=master DB=pgsql MOODLE_PLUGIN_CI=2

matrix:
include:
- php: 5.4
env: MOODLE_BRANCH=MOODLE_29_STABLE DB=mysqli MOODLE_PLUGIN_CI=1
- php: 5.4
env: MOODLE_BRANCH=MOODLE_29_STABLE DB=pgsql MOODLE_PLUGIN_CI=1
- php: 5.5
env: MOODLE_BRANCH=MOODLE_29_STABLE DB=mysqli MOODLE_PLUGIN_CI=1
- php: 5.5
env: MOODLE_BRANCH=MOODLE_29_STABLE DB=pgsql MOODLE_PLUGIN_CI=1
- php: 5.4
env: MOODLE_BRANCH=MOODLE_30_STABLE DB=mysqli MOODLE_PLUGIN_CI=1
- php: 5.4
env: MOODLE_BRANCH=MOODLE_30_STABLE DB=pgsql MOODLE_PLUGIN_CI=1
- php: 5.5
env: MOODLE_BRANCH=MOODLE_30_STABLE DB=mysqli MOODLE_PLUGIN_CI=1
- php: 5.5
env: MOODLE_BRANCH=MOODLE_30_STABLE DB=pgsql MOODLE_PLUGIN_CI=1
- php: 5.6
env: MOODLE_BRANCH=MOODLE_30_STABLE DB=mysqli MOODLE_PLUGIN_CI=1
- php: 5.6
env: MOODLE_BRANCH=MOODLE_30_STABLE DB=pgsql MOODLE_PLUGIN_CI=1
- php: 5.4
env: MOODLE_BRANCH=MOODLE_31_STABLE DB=mysqli MOODLE_PLUGIN_CI=1
- php: 5.4
env: MOODLE_BRANCH=MOODLE_31_STABLE DB=pgsql MOODLE_PLUGIN_CI=1
- php: 5.5
env: MOODLE_BRANCH=MOODLE_31_STABLE DB=mysqli MOODLE_PLUGIN_CI=1
- php: 5.5
env: MOODLE_BRANCH=MOODLE_31_STABLE DB=pgsql MOODLE_PLUGIN_CI=1
- php: 5.6
env: MOODLE_BRANCH=MOODLE_31_STABLE DB=mysqli MOODLE_PLUGIN_CI=1
- php: 5.6
env: MOODLE_BRANCH=MOODLE_31_STABLE DB=pgsql MOODLE_PLUGIN_CI=1

before_install:
- phpenv config-rm xdebug.ini
- nvm install 8.9.0
- nvm use default
- cd ../..
- composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^${MOODLE_PLUGIN_CI}
# Specific for version 1
- if [ ${MOODLE_PLUGIN_CI} = "1" ]; then
sudo sed -i "s/ignoreNewlines = false/ignoreNewlines = true/g" "$(find ./ci/vendor -name 'OperatorSpacingSniff.php' )";
fi
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"

install:
- moodle-plugin-ci install

script:
- moodle-plugin-ci phplint
- moodle-plugin-ci phpcpd
- moodle-plugin-ci phpmd
- moodle-plugin-ci codechecker
- moodle-plugin-ci validate
- moodle-plugin-ci phpunit
# Specific for version 1
- if [ ${MOODLE_PLUGIN_CI} = "1" ]; then moodle-plugin-ci csslint; fi
- if [ ${MOODLE_PLUGIN_CI} = "1" ]; then moodle-plugin-ci shifter; fi
- if [ ${MOODLE_PLUGIN_CI} = "1" ]; then moodle-plugin-ci jshint; fi
# Specific for version 2
- if [ ${MOODLE_PLUGIN_CI} = "2" ]; then moodle-plugin-ci savepoints; fi
- if [ ${MOODLE_PLUGIN_CI} = "2" ]; then moodle-plugin-ci mustache; fi
- if [ ${MOODLE_PLUGIN_CI} = "2" ]; then moodle-plugin-ci grunt; fi
- if [ ${MOODLE_PLUGIN_CI} = "2" ]; then moodle-plugin-ci behat --dump; fi
1 change: 1 addition & 0 deletions lib/editor/atto/plugins/recordrtc/CHANGES
@@ -0,0 +1 @@
Bug: Fixed issue UI not properly rendered in mobiles

0 comments on commit b4bbf31

Please sign in to comment.