d-cent / enquesta Goto Github PK
View Code? Open in Web Editor NEWFor just-in-time distributed decision making.
Home Page: http://dcentproject.eu/
For just-in-time distributed decision making.
Home Page: http://dcentproject.eu/
Requested from datanalysis15m group: Check box to show results after a user has voted.
/home/travis/build/d-cent/enquesta/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:891:in `rescue in connect': FATAL: database "enquesta_test" does not exist (ActiveRecord::NoDatabaseError)
It looks like something's changed on TravisCI's side and the db isn't being created automagically.
In Finnish, for example http://enquesta-fi.herokuapp.com/q/357561ec6af496398811720105e9459d3627ea21, the polling page adds an "s" at the end of the word "ääniä" and the word "tunnissa". There is no need for singular & plural in this case, if it just has "ääntä" and "tunnissa".
Options are currently ordered alphabetically. This isn't ideal. The BCN pilot users want to the order to be maintained from the form.
One request from Finland was the ability to embed polls in other sites.
Trying a deploy on heroku right after git push and before rake run this error appears in the logs:
2014-07-12T10:13:50.495828+00:00 app[web.1]: LINE 5: WHERE a.attrelid = '"polls"'::regclass
2014-07-12T10:13:50.428955+00:00 app[web.1]: Processing by PollsController#new as */*
2014-07-12T10:13:50.495827+00:00 app[web.1]: ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "polls" does not exist
2014-07-12T10:13:50.495821+00:00 app[web.1]: F, [2014-07-12T10:13:50.495702 #11] FATAL -- :
2014-07-12T10:13:50.495834+00:00 app[web.1]: FROM pg_attribute a LEFT JOIN pg_attrdef d
2014-07-12T10:13:50.495829+00:00 app[web.1]: ^
2014-07-12T10:13:50.495832+00:00 app[web.1]: pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
2014-07-12T10:13:50.495831+00:00 app[web.1]: : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
2014-07-12T10:13:50.495843+00:00 app[web.1]:
2014-07-12T10:13:50.495835+00:00 app[web.1]: ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2014-07-12T10:13:50.495838+00:00 app[web.1]: ORDER BY a.attnum
2014-07-12T10:13:50.495841+00:00 app[web.1]: app/controllers/polls_controller.rb:15:in `new'
2014-07-12T10:13:50.495837+00:00 app[web.1]: AND a.attnum > 0 AND NOT a.attisdropped
2014-07-12T10:13:50.495840+00:00 app[web.1]: ):
2014-07-12T10:13:50.495836+00:00 app[web.1]: WHERE a.attrelid = '"polls"'::regclass
2014-07-12T10:13:50.495842+00:00 app[web.1]:
2014-07-12T10:13:50.489129+00:00 app[web.1]: FROM pg_attribute a LEFT JOIN pg_attrdef d
2014-07-12T10:13:50.489130+00:00 app[web.1]: ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2014-07-12T10:13:50.489135+00:00 app[web.1]:
2014-07-12T10:13:50.489117+00:00 app[web.1]: PG::UndefinedTable: ERROR: relation "polls" does not exist
2014-07-12T10:13:50.489123+00:00 app[web.1]: LINE 5: WHERE a.attrelid = '"polls"'::regclass
2014-07-12T10:13:50.489124+00:00 app[web.1]: ^
2014-07-12T10:13:50.489126+00:00 app[web.1]: : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
2014-07-12T10:13:50.489127+00:00 app[web.1]: pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
2014-07-12T10:13:50.489132+00:00 app[web.1]: AND a.attnum > 0 AND NOT a.attisdropped
2014-07-12T10:13:50.489134+00:00 app[web.1]: ORDER BY a.attnum
2014-07-12T10:13:50.489723+00:00 app[web.1]: Completed 500 Internal Server Error in 59ms
2014-07-12T10:13:50.489131+00:00 app[web.1]: WHERE a.attrelid = '"polls"'::regclass
This is not blocking, going on it all works
Use case: selecting available meeting times for a group.
BCN pilot wants a way of notifying users of: 1) requests to vote; 2) reminders to vote; 3) finished polls & results.
I'm going to set up i18n in the Rails app and localise it first for English. At present, the language is just going to be set as an environmental variable.
Is it worth having the UI localised if most of the content (the poll questions & answers) will presumably be in a single language per installation?
Or should UI locale be set at the poll level?
I was thinking of integrating the ends_in field on the polls#new form with Chronic to make entry of that datum easier.
At the moment, Enquesta defaults to UTC. And it uses primarily relative language (2 hours from now) to get around the fact that we don't know folks' time zones. Is there an elegant-er solution?
BCN folks want to be able to link to etherpads in poll questions.
Right now it's currently set at 3. The BCN users want to be able to control the options manually.
Remote typeface provider should be optional.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.