-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from MFreakNL/moodle35
Moodle35
- Loading branch information
Showing
490 changed files
with
33,422 additions
and
234 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
language: php | ||
|
||
# Workaround for fixing that Selenium server is not running and therefore javascript Behat tests are not working: | ||
# https://github.com/moodlerooms/moodle-plugin-ci/issues/70 | ||
sudo: required | ||
|
||
addons: | ||
firefox: "47.0.1" | ||
postgresql: "9.4" | ||
apt: | ||
packages: | ||
- openjdk-8-jre-headless | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
- $HOME/.npm | ||
|
||
php: | ||
# PHP 5.6 gives errors because of the provider.php needs to be PHP7 | ||
- 7.0 | ||
- 7.1 | ||
|
||
env: | ||
global: | ||
- MOODLE_BRANCH=MOODLE_32_STABLE | ||
- MOODLE_BRANCH=MOODLE_35_STABLE | ||
- MOODLE_BRANCH=MOODLE_36_STABLE | ||
- MOODLE_BRANCH=MOODLE_37_STABLE | ||
- MOODLE_BRANCH=MASTER | ||
|
||
matrix: | ||
- DB=pgsql | ||
- DB=mysqli | ||
|
||
before_install: | ||
- phpenv config-rm xdebug.ini | ||
- nvm install 8.9 | ||
- nvm use 8.9 | ||
- cd ../.. | ||
- composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^2 | ||
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" | ||
|
||
install: | ||
- moodle-plugin-ci add-plugin moodlehq/moodle-local_moodlecheck | ||
- moodle-plugin-ci install | ||
|
||
script: | ||
- php moodle/local/moodlecheck/cli/moodlecheck.php --path=blocks/mfavatar --format=text | ||
- moodle-plugin-ci phplint | ||
- moodle-plugin-ci phpcpd | ||
- moodle-plugin-ci phpmd | ||
- moodle-plugin-ci codechecker | ||
- moodle-plugin-ci validate | ||
- moodle-plugin-ci savepoints | ||
- moodle-plugin-ci mustache | ||
- moodle-plugin-ci grunt | ||
- moodle-plugin-ci phpunit | ||
- moodle-plugin-ci behat |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## Moodle MFavatar Snapshot/Webcam tool for user profile picture | ||
|
||
In brief, the Mfreak Plugin Avatar gives the user the possibility to take a snapshot with a live webcam. The user can then upload the picture and modify his profile picture at any time. | ||
Besides this, there is also the facility to customize texts within the plugin. | ||
|
||
## Author | ||
![MFreak.nl](https://MFreak.nl/logo_small.png) | ||
|
||
* Author: Luuk Verhoeven, [MFreak.nl](https://www.MFreak.nl/) | ||
* Min. required: Moodle 3.5.x | ||
* Supports PHP: 7.0 | 7.1 | 7.2 | ||
|
||
[![Build Status](https://travis-ci.org/MFreakNL/moodle-block_mfavatar.svg?branch=moodle35)](https://travis-ci.org/MFreakNL/moodle-block_mfavatar) | ||
|
||
## List of features | ||
- WebRTC, make snapshot with webcam. | ||
- Flash, make snapshot with webcam. | ||
- Feature for making automatically user avatars. Thanks to `laravolt/avatar` | ||
<!-- copy and paste. Modify height and width if desired. --> <a href="https://content.screencast.com/users/LuukVerhoeven/folders/Default/media/3cab1cd8-f5f0-448e-955d-ab8f3bc4cbb2/06.07.2018-18.36.png"><img class="embeddedObject" src="https://content.screencast.com/users/LuukVerhoeven/folders/Default/media/3cab1cd8-f5f0-448e-955d-ab8f3bc4cbb2/06.07.2018-18.36.png" width="500" border="0" /></a> | ||
|
||
## Installation | ||
1. Copy this plugin to the `block\mfavatar` folder on the server | ||
2. Login as administrator | ||
3. Go to Site Administrator > Notification | ||
4. Install the plugin | ||
5. You will need to fill out the settings. | ||
|
||
## Security | ||
|
||
If you discover any security related issues, please email [[email protected]](mailto:[email protected]) instead of using the issue tracker. | ||
|
||
## License | ||
|
||
The GNU GENERAL PUBLIC LICENSE. Please see [License File](LICENSE) for more information. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on Github. | ||
|
||
- 2018092600 Thanks for updating WEBRTC @[eglescout](https://github.com/eglescout) | ||
- 2019051400 Thanks for solving issue in image override @[matasarei](https://github.com/matasarei) |
This file was deleted.
Oops, something went wrong.
This file contains 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 contains 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
Oops, something went wrong.