XPoll Application

Last modified by Thomas Mortagne on 2017/10/16 00:07

cogXWiki Simple Poll Application - Doodle like
Recommended
TypeXAR
Developed by

Ludovic Dubost, Andreea Popescu

Active Installs87
Rating
Rate!
10 Votes
LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

Description

This application is a very simple multiple choice poll similar to doodle. It supports voting without edit rights and is build as an App Within Minutes application (with a custom Sheet).

Poll Home

The poll home is showing the winning result(s)

XPollHome.png

Voting interface

XPollVote.png

Poll Template

Since v1.6.6 A Poll Template is displayed in the page creation wizard.

pollTemplate.png

Recent Polls Macro

This application provides also a macro that displays the most recent polls created.

  • You can use this macro, by writing in a page with wiki editor:
    {{pollsrecent limit=10 /}}
    Where the macro parameter limit is the maximum number of polls that you want to be displayed on your page. Its default value is 5.
  • Or, if you don't want to set a maximum number of entries, you just write:
    {{pollsrecent /}}

This is how it will look like before adding polls:

noPolls.png

And after adding them:

polls.png

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
1.5XWiki Enterprise 6.0.1, 6.2.4
1.6XWiki Enterprise 6.4-M1 (Colibri, Flamingo), 6.4
1.6.4XWiki Enterprise 6.4, 7.1.2
1.6.6XWiki Enterprise 9.1.2

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

The XPoll.XPollService needs to be saved with programming rights. Make sure you import with the "Add version" checked and "import as backup package" unchecked.

Set the language ressource (before v1.2)

If you are using XWiki 4.2 or a version below, you will have to set the right language ressource :
  • Click on the "administration" link at the top right corner
  • In the administration menu, click on "Localization"
  • Scroll in this menu until you see "Internationalization Document Bundles"
  • In that field, copy-paste the following text : "XPoll.Translation"
  • Save the page.

Setting the Recent Polls gadget

  • Go to your dashboard
  • Edit it in inline mode and click on "Add gadget"
  • Search for "Recent Polls"
  • Select it and edit the required parameters if needed
  • Click "Insert gadget"
  • You're done! :)

Release Notes

v1.6.6

v1.6.5

  • Closed XDOODLE-35 ERROR o.h.util.JDBCExceptionReporter - Duplicate entry for key 'PRIMARY' - at multiple clicks on Save button
  • Closed XDOODLE-31 Create a panel that contains the {{pollsrecent}} macro and set it for XPoll space
  • Closed XDOODLE-29 Not able to save vote when status active
  • Closed XDOODLE-28 Unrendered $voteCount for status Finished polls

v1.6.4

  • Closed XDOODLE-27 Replace deprecated "include document" call

v1.6.3

  • Closed XDOODLE-26 Change Recent Polls Macro visibility from 'Global' to 'Current Wiki'
  • Closed XDOODLE-25 Translate Recent Polls Macro (+parameters)
  • Closed XDOODLE-24 Lowercase the recent polls macro's title for French
  • Closed XDOODLE-23 Remove console warnings

v1.6.2

  • Closed XDOODLE-21 Display 'Add poll' message only if you have rights
  • Closed XDOODLE-20 Mark XPoll.RecentPollsMacro page as hidden
  • Closed XDOODLE-19 Uppercase the recent polls macro's title
  • Closed XDOODLE-18 In recent polls macro, display page title instead of page name

v1.6.1

  • Closed XDOODLE-17 Create a macro to display the N most recent polls
  • Closed XDOODLE-16 In the AppBar use "Polls" instead of "XPoll"
  • Closed XDOODLE-15 XPoll's livetable is missing .controlPagination icons
  • Closed XDOODLE-14 Change the homepage title from 'XPoll Home' to 'Polls'
  • Closed XDOODLE-12 Display the preparation hint only in view mode and when the meeting's status is In preparation
  • Closed XDOODLE-11 Mark the explanation from parenthesis as a hint

v1.6

  • Closed XDOODLE-13 Change the display of XPoll table on Flamingo
  • Closed XDOODLE-10 Change the icon from applications panel
  • Closed XDOODLE-9 Remove tabbed information (comments, attachments, etc) from the home page

v1.5

  • Closed XDOODLE-8 Display "name" property content as title

v1.4

This version includes the following fixes:
TypeKeyStatusSummaryAssignee
ImprovementXDOODLE-4ClosedXPoll.WebHome's parent should be Main.WebHome and not AppWithinMinutes.WebHomeManuel Smeria
ImprovementXDOODLE-5ClosedMark XPoll.XPollVoteClass as hiddenManuel Smeria
and a fix for the following bug: "The title of the document wasn't escaped causing FF to always ask for confirmation before submitting".

v1.3

This version includes the following fixes:
TypeKeyStatusSummaryAssignee
BugXDOODLE-2ClosedDisplayed Xpoll link in the panel of list of ApplicationsAnca Luca
BugXDOODLE-3ClosedThe XPoll app French translations are not completeAnca Luca
BugXDOODLE-6ClosedChange "Vainqueur" par "Résultat" in the XPoll livetableZoubir
BugXDOODLE-7ClosedCorrect the French translation of "Xpoll" should be "sondage"Zoubir

v1.2

XPOLL-1 Missing translation keys for livetable from Translations document

Dependencies

Dependencies for this extension (org.xwiki.contrib:application-xpoll-ui 1.6.6):

Tags:
Created by Andreea Popescu on 2013/12/11 15:52
    

Get Connected