Alexei Sorokin ebfc248ff6 Various fixes
Fix OAuth and Realtime issues introduced in 9a515b9234eeb2e500e88899fb31f64535b618cc

[DATABASE] Fix an empty default value mistake introduced in
fde929b151f2b286cb60d226c47570209199c9c5

[DATABASE][PostgreSQL] Avoid use of pg_constraint.consrc, which was removed in
PostgreSQL 12.

[DATABASE][MariaDB] Fix a typo introduced in aed2344bd4c512dae48d1a5bd2eda218f914ae11

[DAEMON] Wrap an assignment inside "switch":
a follow-up to adc689cb15d611c83ebb9c5aaeaa1008ec14da28
2021-07-16 19:44:41 +01:00
..
2021-07-16 19:44:41 +01:00
2021-07-16 19:44:38 +01:00

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