Code Monkey home page Code Monkey logo

livevoting's Introduction

LiveVoting

GitHub release (latest SemVer) GitHub closed issues GitHub issues GitHub closed pull requests GitHub pull requests GitHub forks GitHub stars GitHub license

Features

  • multiple/single/correct order/priorisation choice vote
  • anonymous voting
  • live updates
  • pin acces via http://iliasdomain.tdl/vote
  • vote and unvote
  • show/hide live results
  • Freeze Voting
  • Fullscreen
  • Presenter link
  • Export PowerPoint with slides for each questions with presenter link
  • Presentation of Number range

Documentation

https://github.com/fluxapps/LiveVoting/blob/master/doc/Documentation.pdf

Installation

Start at your ILIAS root directory

mkdir -p Customizing/global/plugins/Services/Repository/RepositoryObject
cd Customizing/global/plugins/Services/Repository/RepositoryObject
git clone https://github.com/fluxapps/LiveVoting.git LiveVoting

As ILIAS administrator go to "Administration->Plugins" and install/activate the plugin.

Shortlink-Config

Config Rewrite Rule in .htaccess or Apache-Config:

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteRule ^/?vote(/\w*)? /Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/pin.php?xlvo_pin=$1 [L]
	RewriteRule ^/?presenter(/\w*)(/\w*)(/\w*)?(/\w*)? /Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/presenter.php?xlvo_pin=$1&xlvo_puk=$2&xlvo_voting=$3&xlvo_ppt=$4 [L]
</IfModule>

PowerPoint export

For display the exported PowerPoint files you need to install the WebViewer-AddIn in PowerPoint: https://appsource.microsoft.com/en-us/product/office/WA104295828?tab=Overview You need also to configure your website as HTTPS and allow that your website can be displayed in frames.

Rebuild & Maintenance

fluxlabs ag, [email protected]

This project needs a proof of concept

Would you like to participate? Take advantage of the crowdfunding opportunity under discussions.

About fluxlabs plugins

Please also have a look at our other key projects and their MAINTENANCE.

The plugins that require a rebuild and the costs are listed here: REBUILDS

livevoting's People

Contributors

aluethii avatar bogenschlag avatar chfsx avatar corro avatar danielaemmer avatar fluxdw avatar fluxfw avatar hufschmidt avatar iljalukin avatar jixaw avatar kissdanigh avatar lzehnder avatar mhilbert avatar mstuder avatar otruffer avatar rfcmaxi avatar wanze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

livevoting's Issues

Free input question: Clicking on "Hide/Show Results" deletes not yet sent answers & multiple inputs do not work properly &

ILIAS-Version: v7.11 2022-06-29
Plugin-Version: 5.2.0

a) When "Multiple Inputs" is deactivated: When clicking on "Hide/Show Results" not yet sent answers get erased (see first part of screencast).

b) When "Multiple Inputs" is activated (see second part of screencast):

  1. After starting the LiveVoting by clicking on "Vote" students can't write an answer because the "+"-Button is not shown. It does appear only when students reload their browser
  2. When clicking on "Hide/Show Results" not yet sent answers get erased (see first part of screencast) and students can't write an answer the "+"-Button is not shown.
Bug.ILIAS7_LiveVoting.Freitext-Frage.1.mp4

Error message when opening live voting survey

Dear live-voting-supportteam,
we have installed the live voting plugin in our Ilias learning platform
because we would like to use it.
Creating the questions and issuing the QR code works well. However, you
cannot access the survey with this code - not even after it has been
started. Here comes the error message:
Class 'ILIAS\GlobalScreen\Provider\PluginProviderCollection' not found

0029292: High database load caused by a LiveVoting select query

@kzimmermannfhms (aus Mantis verschoben)

Since about 1 hour, we are observing a unusually high server load on the Mariadb machine. The general response times of ILIAS is satisfactory, but a bit slower than usual. Not many users are logged in.

An investigation with Jet Profiler indicates that the server is busy with a lot of these queries (see attached screenshot):
SELECT rep_robj_xlvo_config_n.* FROM rep_robj_xlvo_config_n WHERE rep_robj_xlvo_config_n.pin = 'ILVM'

Is it possible to optimize the query and thus improve the performance?
dbserver_livevoting_30 11 2020

Additional info: today we have same behaviour again.
There are many slow queries, all of them like this:
SELECT rep_robj_xlvo_config_n.* FROM rep_robj_xlvo_config_n WHERE rep_robj_xlvo_config_n.pin = 'UCKV'

Default RewriteRule does not work

The default RewriteRule, as stated in the README and documentation, does not work. First, the URL should be relative to the base URL:

RewriteRule ^/vote([|/|/0-9]*)$ /Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/pin.php?pin=$1 [L]

Notice the extra slashes before "vote" and "Customizing". Second, the Rule does not handle links with "pin" as GET parameter, but that's what the links in the QR fields contain. So a correct RewriteRule would look like this:

RewriteRule ^/vote(\?pin=[0-9]*)?$ /Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/pin.php$1 [L]

DatabaseDetector.php raises Exception in ILIAS 7-26 & v2023.01.26

When creating a new LiveVoting object an ilias error messages is thrown. The content of the exception is as follows:

Whoops\Exception\ErrorException thrown with message "Class srag\DIC\LiveVoting\Database\DatabaseDetector contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (ilDBInterface::primaryExistsByFields)"

Stacktrace:
#2 Whoops\Exception\ErrorException in /[...]/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/vendor/srag/dic/src/Database/DatabaseDetector.php:19
#1 Whoops\Run:handleError in /[...]/ilias/libs/composer/vendor/filp/whoops/src/Whoops/Run.php:514
#0 Whoops\Run:handleShutdown in [internal]:0


-- GET Data --

ref_id                   : 432545
cmd                      : content
cmdClass                 : xlvovotinggui
cmdNode                  : rt:qv:1bi
baseClass                : ilobjplugindispatchgui
lang                     : de
limit                    : 9999

We're using ILIAS v7.26 and the LiveVoting Release v2023.01.26.

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.