Code Monkey home page Code Monkey logo

livevoting's Introduction

LiveVoting

###Features

  • multiple/single choice vote
  • anonymous voting
  • live updates
  • pin acces via http://iliasdomain.tdl/vote
  • vote and unvote
  • show/hide live results
  • Freeze Voting
  • Fullscreen
  • SMS Voting (needs a PhoneNumber and Account from studer + raimann ag)

###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/studer-raimann/LiveVoting.git  

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

###Contact studer + raimann ag
Waldeggstrasse 72
3097 Liebefeld
Switzerland

[email protected]
www.studer-raimann.ch

livevoting's People

Contributors

chfsx avatar amstutz avatar okaufman avatar

Watchers

James Cloos avatar  avatar  avatar

livevoting's Issues

LV auf ILIAS-Next: Klick auf Button "Erstellen" führt nicht zurück auf die Listenansicht der LV-Fragen

Describe the bug
Im Tab "Verwalten" können neue LV-Fragen hinzugefügt werden.
Wenn ich einen beliebigen Fragetypus wähle und die Frage-Einstellungen ausfülle, kann ich die Frage mit einem Klick auf den Button "Erstellen" sichern.
Bug: Der User verbleibt aber in der Editier-Ansicht. Wenn der User nochmals auf "Erstellen" klickt, werden weitere (gleichnamige) LV-Fragen erstellt.

Expected behavior
Wie in der ILIAS-7 Pluginversion:
Nach Klick auf "Erstellen" soll das Plugin immer zurück auf die Listenansicht mit den bereits erstellen LV-Fragen führen (Untertab "Verwalten")

Screenshots

2024-07-17_18-35-39.mp4

Missing warning message for LV w/o questions

Describe the bug
If a LV does not have any questions, there should be a warning message shown in the "contents" > "show" tab. Currently however, there's no such message.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577286.html
  2. See missing warning message

Expected behavior
Warning message for admin (in tab "content" > "show") (red):

  • The LiveVoting cannot be started because there are no questions yet.

Screenshots
Bildschirmfoto 2023-11-27 um 10 48 38

Desktop (please complete the following information):

  • OS: [e.g. iOS Sonoms 14.1]
  • Browser [chrome, safari]
  • Version [Safari 17.1, Chrome 119.0.6045.105]

Additional context
Add any other context about the problem here.

Adding "Zahlen schäzen" question leads to error

Describe the bug
Trying to add a question of the type "Zahlen schätzen" produces an error message (coding window).

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Click on "Add question", select "Zahlen schätzen" and click "Select type"
  3. See error

Expected behavior
A window should open where title, question etc. can be entered and question added.

Screenshots
Bildschirmfoto 2023-11-27 um 13 01 09

Desktop (please complete the following information):
OS: [e.g. iOS Sonoms 14.1]
Browser [chrome, safari]
Version [Safari 17.1, Chrome 119.0.6045.105]

ILIAS 8 Livevoting: Whoops, wenn ich in einem laufenden LV bei einer Prioritäten-Frage die Browserseite neu lade

Describe the bug
Ich habe als Kursadmin bei einem laufenden Livevoting bei einer Frage des Typs "Prioritäten" die Resultate eingeblendet.
Wenn ich dann - bei eingeblendeten Resultaten - die Seite des Browsers neu lade, wird mir dieser Woops anzeigt: "Unsupported Operand types: array + int"

Getestet hier: https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2578265.html
Jetzt scheint irgendetwas defekt/freezed zu sein bei der Frage. Wenn ich das LV nochmals aufrufe, das LV starte und zur Frage navigiere, werden mir keine Resultate angezeigt bzw. der Bereich ist eingefroren, siehe Link oben.

Screenshots
grafik

2024-06-19_18-14-38.mp4

Coded error message when accessing LV w/o questions as user

Describe the bug
When a course member tries to access a LV without questions, a coding screen appears rather than an error message.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_crs_2577281.html as course member (teststudent2)
  2. Click on LiveVoting empty
  3. See error

Expected behavior
User can access the LV but receives error message ""Voting stopped. Live voting has been stopped".

Screenshots
Bildschirmfoto 2023-11-27 um 10 54 05

Desktop (please complete the following information):
OS: [e.g. iOS Sonoms 14.1]
Browser [chrome, safari]
Version [Safari 17.1, Chrome 119.0.6045.105]

Additional context
Add any other context about the problem here.

ILIAS Produktiv: Kein Zugriff auf Livevoting über einzelne Wepns

Fehlermeldung auf Webpn6:

The voting is currently unavailable.

back
#0 /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/src/Pin/xlvoPin.php(101): LiveVoting\Pin\xlvoPin::checkPinAndGetObjIdWithCache('.G28I', true) #1 /var/www/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/pin.php(31): LiveVoting\Pin\xlvoPin::checkPinAndGetObjId('.G28I') #2 {main}

Zugriff offline LiveVoting

Describe the bug
When a live voting is offline and a user is trying to access it via the link, a system error in the browser occurs. There is no error message within ILIAS that says "Keinen Zugriff auf das Live Voting mehr." or "Abstimmung gestoppt. Das LiveVoting wurde gestoppt."

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html and make sure the LiveVoting is offline
  2. Try to access https://ilias-next.unibe.ch/Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/pin.php?xlvo_pin=OI1O as a logged in user
  3. Try to access https://ilias-next.unibe.ch/Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/pin.php?xlvo_pin=OI1O when not logged in to ILIAS

Expected behavior
logged in: Keinen Zugriff auf das Live Voting mehr.
not logged in: "Abstimmung gestoppt. Das LiveVoting wurde gestoppt."

Screenshots
If applicable, add screenshots to help explain your problem.
You can drag and drop images into this field.

Desktop (please complete the following information):

  • OS: [e.g. iOS 14.1.1 ]
  • Browser [e.g. chrome]
  • Version [e.g. 119.0.6045.159]

Additional context
Add any other context about the problem here.

Missing up/down buttons for answer options in SC/MC question

Describe the bug
When setting up answer options in a SC/MC question, there are no buttons to move individual answer options up or down.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Click on 'Verwalten' and SC/MC question
  3. Scroll down to answer options
  4. Note missing buttons

Expected behavior
There should be buttons to move answer options up and down.

Screenshots
Bildschirmfoto 2023-11-27 um 12 34 18

Desktop (please complete the following information):
OS: [e.g. iOS Sonoms 14.1]
Browser [chrome, safari]
Version [Safari 17.1, Chrome 119.0.6045.105]

Can't start live voting

Describe the bug
Trying to start a live voting as an admin produces an error (coding screen)

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Click on 'LiveVoting beginnen"
  3. See error

Expected behavior
Question 1 is displayed with the buttons "Vote", "Show results", Reset (deactivated), "Questions", "Back" (deactivated) / "Forward", Fullscreen

Screenshots
Bildschirmfoto 2023-11-27 um 13 51 59

Desktop (please complete the following information):
OS: [e.g. iOS Sonoms 14.1]
Browser [chrome, safari]
Version [Safari 17.1, Chrome 119.0.6045.105]

No acces to live voting for logged in user when it hasn't been started

Describe the bug
When a logged in course member tries to open a live voting that hasn't been started, an error message (coding screen) appears.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_crs_2577281.html as a logged in course member (test 2 student)
  2. Click on "LiveVoting ILIAS8 mit Beschreibung"
  3. See error

Expected behavior
The course member should be directed to the LV's landing page with the unibe logo (top right) and the message ""Abstimmung noch nicht freigegeben. Die Frage ist noch nicht aktiv, bisst warten. "

Screenshots
Bildschirmfoto 2023-11-27 um 13 43 43

Desktop (please complete the following information):
OS: [e.g. iOS Sonoms 14.1]
Browser [chrome]
Version [Chrome 119.0.6045.105]

Submitting response leads to error

Describe the bug
When a user tries to submit a question, a coding screen appears.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Start LV and allow votes.
  3. As a user, participate in LV and click "submit" button to submit answer.
  4. See error

Expected behavior
Some kind of confirmation message.

Screenshots
Bildschirmfoto 2023-12-01 um 13 12 05

Desktop (please complete the following information):
OS: [e.g. iOS Sonoma 14.1]
Browser [chrome]
Version [Chrome 119.0.6045.105]

Zugriff als eingeloggter User mit Einstellung "Abstimmung ohne Login" deaktiviert

Describe the bug
Wenn "Abstimmung ohne Login" deaktiviert ist, kann ein eingeloggter User nicht via Kurs-Objekt auf das LiveVoting zugreifen, bzw. der Zugriff produziert ein Code-Fenster

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Abstimmung ohne Login deaktivieren
  3. Als teststudent2 auf ilias-next einloggen
  4. Zum Kursraum gehen: https://ilias-next.unibe.ch/goto_ilias3_unibe_crs_2577281.html und auf LiveVoting zugreifen

Expected behavior
via Kurs-Objekt kann abgestimmt werden. Die User werden gehasht (Code).

Screenshots
If applicable, add screenshots to help explain your problem.
You can drag and drop images into this field.
Bildschirmfoto 2023-11-24 um 15 53 21

Desktop (please complete the following information):

  • OS: [e.g. iOS 14.1.1 ]
  • Browser [e.g. chrome]
  • Version [e.g. 119.0.6045.159]

Additional context
Add any other context about the problem here.

Entering PIN doesn't redirect to LV

Describe the bug
When entering the LV's PIN into the PIN field on https://ilias-next.unibe.ch/Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/pin.php and clicking "submit", the pin disappears from the box and there's no redirect to the LV.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/Customizing/global/plugins/Services/Repository/RepositoryObject/LiveVoting/pin.php
  2. Enter pin OI1O (copy/paste)
  3. Click "Abschicken"/"Submit"
  4. See error

Expected behavior
The submission should redirect to the LV

Desktop (please complete the following information):
OS: [e.g. iOS Sonoma 14.1]
Browser [chrome]
Version [Chrome 119.0.6045.105]

Answer options not included in a duplicated question

Describe the bug
When duplicating a question (regardless of the question type), the duplicate does not contain the answer options that have been set up in the original.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Duplicate the SC/MC question (contains 4 answer options)
  3. Open the duplicate
  4. Note missing answer options (same is true for other question types as well)

Expected behavior
Answer options from the original should be included in the duplicate.

Desktop (please complete the following information):
OS: [e.g. iOS Sonoms 14.1]
Browser [chrome, safari]
Version [Safari 17.1, Chrome 119.0.6045.105]

Missing randomization option

Describe the bug
In the correct order question type, the option to randomize answer options is missing.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Click on question "Korrekte Reihenfolge" in manage tabe
  3. Note missing option to randomize answers

Expected behavior
There should be a checkbox to activate the randomization option

Screenshots
Bildschirmfoto 2023-11-27 um 12 50 03

Desktop (please complete the following information):
OS: [e.g. iOS Sonoms 14.1]
Browser [chrome, safari]
Version [Safari 17.1, Chrome 119.0.6045.105]

Page dropdown incorrect after switching pages

Describe the bug
When you switch to the second page in the list of questions and then close the browser tab and then return to the LV, the dropdown menu in the "Inhalt" > "Verwalten" tab shows the wrong page. It's still on page 2 (as shown by the questions and the question numbers, e.g. 11-16), but the dropdown menu shows "1".

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Click on "Inhalt" > "Verwalten" and go to page 2
  3. Close the browser tab
  4. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  5. Click on "Inhalt" > "Verwalten" notice wrong page in dropdown

Expected behavior
Returning to the LV, it should either show questions 1-10 in the list and "1" in the dropdown or questions n-n and "n" in the dropdown.

Screenshots
Bildschirmfoto 2023-12-01 um 11 46 41

Desktop (please complete the following information):
OS: [e.g. iOS Sonoma 14.1]
Browser [safari]
Version [Safari 17.1]

LiveVoting kann nur von Besitzer kopiert werden

Describe the bug
LiveVoting kann nicht kopiert werden, wenn jemand anders Besitzer dieses Objekts ist. User ist Kurs- bzw. Gruppenadministrator und hat alle verfügbaren Rechte des LiveVotings.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias.unibe.ch/goto_ilias3_unibe_fold_3056033.html
  2. Click on "Actions": sichtbar ist "Verknüpfen" und "Verschieben" aber nicht kopieren
  3. Click on "Title Livevoting > Rechte > Besitzer"
  4. Insert your Username > Besitzer ändern
  5. Go back to Folder and open Actions-Dropdown again

Expected behavior
Unabhängig, ob ich Besitzer bin oder nicht, sollten die Rechte des Kursadministrators oder des Gruppenadministrators ermöglichen, ein LiveVoting zu kopieren.

=> Hinweis: Aktuell gibt es kein explizites "Kopieren" Recht in der Rechte-Tabelle eines LiveVotings (nur "Einstellungen bearbeiten").

Screenshots
LiveVoting als Besitzer
LiveVoting als nicht Besitzer

Additional context
Support Ticket: https://serviceportal.unibe.ch/nav_to.do?uri=u_id_task.do?sys_id=461fa13447214e90f2869ffb736d434f
-> Stefan Tschanz wurde nun manuell zu Besitzer hinzugefügt

No input field for "Freitext" questions with possible multiple answers

Describe the bug
For "Freitext" questions for which the option "Mehrfache Eingaben" is activated, the participants don't see a field to input their answer(s). Only when they reload the screen does there appear a little + button which, when clicked, opens an input box.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ilias-next.unibe.ch/goto_ilias3_unibe_xlvo_2577282.html
  2. Start LV, select question "Freitext mehrfach/einzeilig"
  3. Participate in LV
  4. See error
  5. Reload screen as participant
  6. See + appear

Expected behavior
The + button that appears after reload should always be visible

Screenshots
Bildschirmfoto 2023-12-01 um 13 29 11

Desktop (please complete the following information):
OS: [e.g. iOS Sonoma 14.1]
Browser [chrome]
Version [Chrome 119.0.6045.105]

LV ILIAS 8: Logo in Studi-Ansicht ist kein Uni-Logo

Describe the bug
Siehe Screenshot. Rechts: Auf ILIAS-Next wird ein anderes Logo angezeigt. Links: auf ilias.unibe.ch wird hingegen das Uni-Bern Logo angezeigt.
Wünschenswert ist das Unibe-Logo.

Screenshots
grafik

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.