Skip to content

neuromat/extendRemoteControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

extendRemoteControl

Extends LimeSurvey Remote Control API with new methods Based in demo plugin from Denis Chenu (credits at the bottom)

Installation

Via GIT

  • Go to your LimeSurvey Directory (version up to 2.06)
  • Clone in plugins/extendRemoteControl directory

Via ZIP dowload

  • Get the file and uncompress it
  • Move the file included to plugins/extendRemoteControl directory

LimeSurvey configuration

With LimeSurvey 2.06lts or lesser

To allow plugin to be called via RPC POST routine, you need to disable CsrfValidation for plugins/direct'. This can be done in application/config/config.php.

	'components' => array(
		'db' => array(
			[...]
		),
		'request' => array(
			'class'=>'LSHttpRequest',
			'noCsrfValidationRoutes'=>array(
				'remotecontrol',
				'plugins/direct'
		),
	[...]
	),

With LimeSurvey 2.50 after build 160330 or 2.06_sp_1.0.9

The plugin can be used with newUnsecureRequest event

Usage

You can call the new function with the link shown in plugin settings. If you publish API in LimeSurvey core config : another url is show where you can see all availablke function (the new one and the other from LimeSurvey core).

Since authentification and get_session_key is the same function, you can create the session key with the core remote control url and use it in the plugin remote control url. This allow different plugin with different function. Using same control key.

Home page & Copyright of the author and Neuromat Time

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages