GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

  • Brion Vibber's avatar
    Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. · 3438a78c
    Brion Vibber authored
    This version is fairly basic; votes do not (yet) show a reply, they just got in the table. No pretty graphs for the results yet, just text.
    The ActivityStream output is temporary and probably should be replaced; the current structures for adding custom data aren't really ready yet (especially since we need to cover JSON and Atom formats, probably pretty differently)
    
    Uses similar system as Bookmark for attaching to notices -- saves a custom URI for an alternate action, which we can then pass in and hook back up to our poll object. This can probably do with a little more simplification in the parent MicroAppPlugin class.
    
    Currently adds two tables:
    - poll holds the main poll info: id and URI to associate with the notice, then the question and a text blob with the options.
    - poll_response records the selections picked by our nice fellows.
    
    Hopefully no off-by-one bugs left in the selection, but I give no guarantees. ;)
    Some todo notes in the README and in doc comments.
    3438a78c
Name
Last commit
Last update
actions Loading commit data...
avatar Loading commit data...
background Loading commit data...
classes Loading commit data...
db Loading commit data...
doc-src Loading commit data...
extlib Loading commit data...
file Loading commit data...
js Loading commit data...
lib Loading commit data...
local Loading commit data...
locale Loading commit data...
plugins Loading commit data...
scripts Loading commit data...
tests Loading commit data...
theme Loading commit data...
tpl Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
EVENTS.txt Loading commit data...
Makefile Loading commit data...
README Loading commit data...
apple-touch-icon.png Loading commit data...
config.php.sample Loading commit data...
favicon.ico Loading commit data...
htaccess.sample Loading commit data...
index.php Loading commit data...
install.php Loading commit data...
lighttpd.conf.example Loading commit data...