gnu-social/plugins/Poll
Brion Vibber 90f1cfcfc0 Poll plugin: make the polling response form submit via AJAX and return the results.
Now, any form marked with 'ajax' class will get the simple FormXHR treatment. Should help cut down on code that just adds that into individual forms.
2011-03-08 13:45:51 -08:00
..
Poll.php Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. 2011-03-07 21:28:36 -08:00
PollPlugin.php Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. 2011-03-07 21:28:36 -08:00
Poll_response.php Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. 2011-03-07 21:28:36 -08:00
README Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. 2011-03-07 21:28:36 -08:00
newpoll.php Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. 2011-03-07 21:28:36 -08:00
newpollform.php Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. 2011-03-07 21:28:36 -08:00
pollresponseform.php Poll plugin: make the polling response form submit via AJAX and return the results. 2011-03-08 13:45:51 -08:00
pollresultform.php Poll plugin: make the polling response form submit via AJAX and return the results. 2011-03-08 13:45:51 -08:00
respondpoll.php Poll plugin: make the polling response form submit via AJAX and return the results. 2011-03-08 13:45:51 -08:00
showpoll.php Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. 2011-03-07 21:28:36 -08:00

README

Unfinished basic stuff:
* make pretty graphs for response counts
* ActivityStreams output of poll data is temporary; the interfaces need more flexibility
* ActivityStreams input not done yet
* need link -> show results in addition to showing results if you already voted
* way to change/cancel your vote

Known issues:
* HTTP caching needs fixing on show-poll; may show you old data if you voted after

Things todo:
* should we allow anonymous responses? or ways for remote profiles to respond locally?

Fancier things todo:
* make sure backup/restore work
* make sure ostatus transfer works
* a way to do poll responses over ostatus directly?
* allow links, tags, @-references in poll question & answers? or not?

Storage todo:
* probably separate the options into a table instead of squishing them in a text blob