PLugin: Add reference about folder permissions

pull/4142/head^2
Angel Fernando Quiroz Campos 4 years ago
parent d3e0d14459
commit 1443c2fcfb
  1. 4
      plugin/coursehomenotify/README.md
  2. 8
      plugin/embedregistry/README.md
  3. 3
      plugin/ims_lti/README.md
  4. 3
      plugin/lti_provider/README.md
  5. 4
      plugin/studentfollowup/README.md
  6. 7
      plugin/whispeakauth/README.md
  7. 198
      src/Chamilo/PluginBundle/Entity/EmbedRegistry/Embed.php

@ -3,6 +3,10 @@
Show notifications when a user enter in course home page. Show notifications when a user enter in course home page.
## Set up ## Set up
*Prior to installing/uninstalling this plugin, you will need to make sure the src/Chamilo/PluginBundle/Entity folder is
temporarily writeable by the web server.*
* Install the plugin and enable. * Install the plugin and enable.
* Go to Settings tool in course base. * Go to Settings tool in course base.
* Display the _Notify in course home_ section. And set the notification. * Display the _Notify in course home_ section. And set the notification.

@ -0,0 +1,8 @@
# Embed Registry
Add a course tool to get a registry of embed content and track the students access to it.
## Set up
*Prior to installing/uninstalling this plugin, you will need to make sure the src/Chamilo/PluginBundle/Entity folder is
temporarily writeable by the web server.*

@ -70,6 +70,9 @@ external tool.
# Installation # Installation
*Prior to installing/uninstalling this plugin, you will need to make sure the src/Chamilo/PluginBundle/Entity folder is
temporarily writeable by the web server.*
1. Install the plugin from the Plugins page 1. Install the plugin from the Plugins page
2. Enable the plugin from the IMS/LTI Plugin Settings page 2. Enable the plugin from the IMS/LTI Plugin Settings page
3. Assign to the Administrator region (in the regions management page) 3. Assign to the Administrator region (in the regions management page)

@ -11,6 +11,9 @@ In this case, Chamilo is used as provider , and this plugin allows a student ins
# Installation # Installation
*Prior to installing/uninstalling this plugin, you will need to make sure the src/Chamilo/PluginBundle/Entity folder is
temporarily writeable by the web server.*
1. Install the plugin from the Plugins page 1. Install the plugin from the Plugins page
2. Enable the plugin from the Lti Provider Plugin Settings page 2. Enable the plugin from the Lti Provider Plugin Settings page
3. Assign to the Administrator region (will appear on the management page) 3. Assign to the Administrator region (will appear on the management page)

@ -11,5 +11,5 @@ has in studying some topics or some challenges they face that might affect their
This plugin is in an early stage of development and should later (once mainstreamed) be fully This plugin is in an early stage of development and should later (once mainstreamed) be fully
integrated into Chamilo. integrated into Chamilo.
The plugin installation requires the manual creation of a folder or a change in permissions. *Prior to installing/uninstalling this plugin, you will need to make sure the src/Chamilo/PluginBundle/Entity folder is
Please mind the installation instructions when enabling it. temporarily writeable by the web server.*

@ -7,11 +7,12 @@ This plugin requires the user to grant permission to use the microphone connecte
browsers are limiting this permission to be used only in a secure environment with HTTPS. browsers are limiting this permission to be used only in a secure environment with HTTPS.
**If your portal does not work with HTTPS, then Whispeak authentication may not work.** **If your portal does not work with HTTPS, then Whispeak authentication may not work.**
Instructions: Installation:
------------- -------------
> Make sure the directory `src/Chamilo\PluginBundle` is writable by the web server in order for the plugin is installed *Prior to installing/uninstalling this plugin, you will need to make sure the src/Chamilo/PluginBundle/Entity folder is
> properly. This might imply a manual change on your server (outside of the Chamilo interface). temporarily writeable by the web server. This might imply a manual change on your server (outside of the Chamilo
interface).*
1. Install plugin in Chamilo. 1. Install plugin in Chamilo.
2. Set the plugin configuration enabling the plugin and (optionally) set the max attempts. 2. Set the plugin configuration enabling the plugin and (optionally) set the max attempts.

@ -0,0 +1,198 @@
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\PluginBundle\Entity\EmbedRegistry;
use Chamilo\CoreBundle\Entity\Course;
use Chamilo\CoreBundle\Entity\Session;
use Doctrine\ORM\Mapping as ORM;
/**
* Class EmbedRegistry.
*
* @package Chamilo\PluginBundle\Entity\EmbedRegistry
*
* @ORM\Entity()
* @ORM\Table(name="plugin_embed_registry_embed")
*/
class Embed
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="title", type="text")
*/
private $title;
/**
* @var \DateTime
*
* @ORM\Column(name="display_start_date", type="datetime")
*/
private $displayStartDate;
/**
* @var \DateTime
*
* @ORM\Column(name="display_end_date", type="datetime")
*/
private $displayEndDate;
/**
* @var string
*
* @ORM\Column(name="html_code", type="text")
*/
private $htmlCode;
/**
* @var Course
*
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Course")
* @ORM\JoinColumn(name="c_id", referencedColumnName="id", nullable=false)
*/
private $course;
/**
* @var Session|null
*
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Session")
* @ORM\JoinColumn(name="session_id", referencedColumnName="id")
*/
private $session;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*
* @return Embed
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param $title
*
* @return Embed
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* @return \DateTime
*/
public function getDisplayStartDate()
{
return $this->displayStartDate;
}
/**
* @return Embed
*/
public function setDisplayStartDate(\DateTime $displayStartDate)
{
$this->displayStartDate = $displayStartDate;
return $this;
}
/**
* @return \DateTime
*/
public function getDisplayEndDate()
{
return $this->displayEndDate;
}
/**
* @return Embed
*/
public function setDisplayEndDate(\DateTime $displayEndDate)
{
$this->displayEndDate = $displayEndDate;
return $this;
}
/**
* @return string
*/
public function getHtmlCode()
{
return $this->htmlCode;
}
/**
* @param string $htmlCode
*
* @return Embed
*/
public function setHtmlCode($htmlCode)
{
$this->htmlCode = $htmlCode;
return $this;
}
/**
* @return Course
*/
public function getCourse()
{
return $this->course;
}
/**
* @return Embed
*/
public function setCourse(Course $course)
{
$this->course = $course;
return $this;
}
/**
* @return Session|null
*/
public function getSession()
{
return $this->session;
}
/**
* @return Embed
*/
public function setSession(Session $session = null)
{
$this->session = $session;
return $this;
}
}
Loading…
Cancel
Save