Git Product home page Git Product logo

moodle-mod_etherpadlite's Introduction

About

This is a module, which integrates etherpad-lite in Moodle 2.5 - 2.x

Features:

  • Add / View / Delete Pads
  • Users have the same name & writing color in all pads
  • Moodle Import / Export support
  • optional guest allowance
  • It supports etherpad-lite servers, which can only be accessed through the API (access only through Moodle)
  • It can check the HTTPS certificate of the ep-lite server for full security (man in the middle attacks)

Prerequirement

You need an etherpad-lite server, which is running on at least the same 2nd-level-domain as your moodle server.

On the github page you'll find all information you need, to install the server: https://github.com/ether/etherpad-lite

We recommend to use the etherpad-lite version 1.3.0

It's also recommended to use the latest stable release of nodejs (http://nodejs.org/)

we are using nodejs 0.8.26. But we test new ep-lite versions always with this node version, before updating productive

When you want, that the server is only accessible via Moodle, then I recommend to install ep_remove_embed over the ep-lite admin interface. This removes the embed link.
To access the admin area, uncomment the user section in settings.json

Working ep-lite installation

  • Ubuntu 12.04
  • apt-get git, nginx, abiword, make, g++
  • donwload nodejs from nodejs.org and compile it (you can use 'n' to switch between versions https://www.npmjs.org/package/n)
  • etherpad-lite from git
  • ep-lite settings.json:
    • "requireSession":true
    • "editOnly":true
    • "abiword": "/usr/bin/abiword"
  • ep-lite plugin: ep_remove_embed via admin interface
  • upstart script
  • logrotate
  • nginx as reverse proxy with https

INSTALLATION

  1. Copy this repository to the moodle subfolder: mod/etherpadlite

  2. open your admin/index.php page and follow the instructions

Configuration

  1. Server Url from your etherpadlite server Make sure, that your moodle server can access this URL
  2. ApiKey: this is stored in the file: APIKEY.txt on your etherpadlite server
  3. Padname: this is optional and maybe just for debugging the databse
  4. Cookie Domain: Enter the domain as described
  5. Session elapse time: How long should one session be valid?
  6. Https Redirect: This redirects moodle to https, so that the user feels secure
    (later this should be used to delete sessions on the etherpadlite server)
  7. Verify HTTPS cert: This lets curl check, if the https cert of the etherpadlite server is valid, to prevent man in the middle attacks
  8. Guests allowed to write?: As described

moodle-mod_etherpadlite's People

Contributors

tjwelde avatar eberhardt avatar benidroe avatar alendit avatar johnmclear avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.