Commit Graph

11 Commits

Author SHA1 Message Date
Jordie
63b3699cdd MySQL Execute error handling (#24738)
* wip commit

* mysql execute proc now handles errors itself

* adds log_sql()

* implements log_sql()
2017-03-07 10:55:42 +01:00
Jordie0608
97733d8dcf fixes poll_question 2017-02-27 23:58:18 +11:00
Kyle Spier-Swenson
f8e4304d95 Instant Runoff Voting! (#19153)
* Instant Runoff Voting!

This adds the game code required for voting IRV style

* Fixes votes not working for non-admins

* spans and databases

* this is a silly commit, you should never go here again.

* That explains why some people couldn't drag until they re-opened the page.

* Prevent window focus fuckary with voting.
2016-07-06 16:03:43 +12:00
Jordie0608
c7f567e65a adds dontshow column to poll creation and schema 2016-07-03 17:25:26 +10:00
Firecage
332bde0f4f Does the rest of the if()'s/ else's 2016-01-17 19:03:12 +02:00
Jordie0608
477b389954 fixes adminonly evaluating as true always 2015-10-08 18:09:43 +11:00
Jordie0608
398a3ea1d1 unmagics polltypes into defines 2015-10-05 17:44:37 +11:00
Jordie0608
2b58c2ff6f adds logging, auto-deletion of questions without options 2015-10-04 23:34:05 +11:00
Jordie0608
a190ae6c5c adds cancel to inputs, fixes extracting only date 2015-10-04 17:56:06 +11:00
Jordie0608
d26be7dc4d removes debug 2015-09-21 16:40:28 +10:00
Jordie0608
895c52b649 in game interface for creating server polls 2015-09-21 16:37:21 +10:00