Git Product home page Git Product logo

allourideas.org's People

Contributors

chap avatar daniel-mietchen avatar dkapadia avatar dmitrig avatar jboonstra avatar jedidiah avatar lukebaker avatar msalganik avatar pius avatar pld avatar tubergen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

allourideas.org's Issues

ArgumentError in actionpack-2.3.18/lib/action_controller/session/cookie_store.rb

Hi all, I'm seeing this error when deploying to Heroku:

2017-07-27T20:31:51.485945+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actionpack-
2.3.18/lib/action_controller/session/cookie_store.rb:194:in `ensure_secret_secure': A secret is 
required to generate an integrity hash for cookie session data. Use config.action_controller.session 
= { :key => "_myapp_session", :secret => "some secret phrase of at least 30 characters" } in 
config/environment.rb (ArgumentError)

But it seems like I have set up config/environment.rb correctly:

# Be sure to restart your server when you modify this file
Encoding.default_external = Encoding.default_internal = Encoding::UTF_8 if defined? Encoding

# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.18' unless defined? RAILS_GEM_VERSION

# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run do |config|
  # Settings in config/environments/* take precedence over those specified here.

  config.active_record.default_timezone = :utc

  config.action_mailer.delivery_method = :smtp
  config.action_controller.session = { :key => "_myapp_session", :secret => "somesecretphraseofatleast30characters" }
end
ActionController::Base.cache_store = :file_store, "#{Rails.root}/tmp/cache"

Any suggestions? Thank you!

Feature Request: Sort Admin Survey View

Awesome product! I've built about 10 surveys now, and I'd love if I could sort by columns in this Control Panel view. Particularly I'd like to sort by Votes (Today) and Created.

screen shot 2017-06-29 at 10 06 59 am

Thanks! Let me now if you'd like more information.

allourideas.org is down

Hello,

Came to check out what allourideas.org is about, found the site was down. (Checked the site on archive.org, found links here.)

Domain resolves, title appears, but the page never appears, sits with the progress indicator spinning.

Tx

Ability to assign labels/categories to ideas

As the administrator of an question I want to be able to assign labels or categories to ideas. I want to be able to see scores per category in the results so it helps me to identify key areas for opportunities.

Mobile interface

Just tried allourideas on Android 2.2, and it is not very small screen or mobile browser friendly.

All Our Ideas could work very well on mobile phones because you are not required to write or choose anything to vote. I was considering to use it for a mobile app project. I wanted to use it in the field testing of the app, where the user would be led to a survey after using the app.

Prevent wiki survey names from having a period

Rails routing does not capture a period ('.') when a route is setup like /:id. This is how our wiki survey routes are setup, currently. We should not allow a period to be used for the wiki survey name to prevent the creation of these inaccessible wiki surveys.

There should be a way to redact a particular wiki survey

We should have a way to redact a particular wiki survey by overwriting the question text and all ideas with some message about being deleted or redacted.

Initially, this can be a script that we run manually when requested by the creators of a wiki survey.

infinite polling

For some reason, one can continue clicking left or right choice ad infinitum, thereby slowly changing the weights of the choices.

  1. a kind of user driven bubble sort could be implemented, so that choice pairs are presented once only. This might have the inconvenience that the user might not always be happy with the end result, because pair-wise comparisons might not always use the same set of criteria - in other words, the logic of transitivity might not apply between each pair of choices presented to the user. So maybe a simple drag-and-drop ordering of all choices would be better than the current way of letting the user decide.
  2. there should be some kind of progress/feedback. After a while, I grew impatient, started playing by just clicking the left choice to see what would happen (while keeping an eye on the Results to see what was happening), and finally bailed out of boredom.
  3. Also, the first time the user sees the interface, with just two buttons, is a bit disorienting: my first impression was that I would only be able to vote for two options, that's it... (maybe turn this into a separate feature)

note: the actually installed version (tag) should be shown on the web site. One has to assume that http://www.allourideas.org/ is always running the latest published tag.

ECONNRESET in Photocracy MungeAndNotifyJob

Hi,

A client is not able to request and receive results and image list emails from a Photocracy installation I set up for them.

The application is up and working as expected otherwise. When requests are made for results emails, the job is enqueued, however, it always fails with the following error and stacktrace:

Errno::ECONNRESET: Connection reset by peer - Connection lost
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:483:in `read_reply'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:455:in `process_command'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:453:in `map'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:453:in `process_command'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:442:in `raw_call_command'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:463:in `call'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:463:in `maybe_lock'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:439:in `raw_call_command'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:346:in `call_command'
/usr/lib/ruby/gems/1.8/gems/redis-1.0.7/lib/redis/client.rb:392:in `method_missing'
/home/dylan/rails/allourideas.org/lib/munge_and_notify_job.rb:19:in `perform'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/backend/base.rb:74:in `invoke_job'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:122:in `run'
/usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:122:in `run'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:121:in `run'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:173:in `reserve_and_run_one_job'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:106:in `work_off'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:105:in `times'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:105:in `work_off'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:80:in `start'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:79:in `start'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:76:in `loop'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/worker.rb:76:in `start'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/command.rb:100:in `run'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/command.rb:79:in `run_process'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/application.rb:249:in `call'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/application.rb:249:in `start_proc'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/daemonize.rb:200:in `call'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/daemonize.rb:200:in `call_as_daemon'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/application.rb:253:in `start_proc'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/application.rb:293:in `start'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/controller.rb:70:in `run'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons.rb:197:in `run_proc'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/cmdline.rb:109:in `call'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons/cmdline.rb:109:in `catch_exceptions'
/usr/lib/ruby/gems/1.8/gems/daemons-1.1.6/lib/daemons.rb:196:in `run_proc'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/command.rb:78:in `run_process'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/command.rb:72:in `daemonize'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/command.rb:70:in `times'
/usr/lib/ruby/gems/1.8/gems/delayed_job-2.0.6/lib/delayed/command.rb:70:in `daemonize'

I've confirmed that mail is working properly as configured. The problem comes in the MungeAndNotifyJob call:

   thekey, zlibcsv = r.blpop(redis_key, (60*10).to_s) # Timeout - 10 minutes 

Playing around in the console, I've found that a call to Redis.blpop works as expected. The expected Redis key is not in the database.

I'm stumped. This may be a configuration problem, but I've not been able to solve it. I thought that perhaps the problem lay on the pairwise side, but I've rechecked the applications' configurations and everything appears to be in order.

Thanks.

Doug

Uninformative (and therefore confusing) error during page creation

When there is an error in a page name during page creation, the error should point up good behavior by saying which characters are il/legal. It took me too long to realize that capital letters are forbidden, and it made things confusing and brought attention to other problems.

Info parameter disappears from URL when locale parameter is used

The info URL parameter and the locale parameter conflict.

When I set up a survey as German language, a URL like allourideas.org/survey?info=value is transformed into allourideas.org/survey?locale=de and the info parameter is lost.

It works if I use both info and locale parameters: allourideas.org/survey?info=value&locale=de

Feature Request: Flag items

It would be helpful if a user can flag items as inappropriate (to the survey admin).

Sure, the survey admin chooses the items himself or accept user contributions, but he might not pick good choices for his own surves.

That was the case with a survey i voted on where many items are very similar and not met the requirements the admin has.

Vote is lost after skipping

When I cast a "can't decide" vote (i.e. when I skip a vote), and then I cast a regular vote, the regular vote seems to be counted, but isn't. I can see that by either opening the results or reloading the page and noticing the counter goes back.

If I cast another regular vote after the one that isn't counted, that one gets counted. I can see that by checking the evolution of the results.

Nothing abnormal seems to show up in the logs for allourideas and pairwise. In each case, the log output for both the vote that does not get counted and the following one only differ only where I'd expect them to, like timestamps and ids. The output for the skip also looks fine, nothing unusual.

Apache's log shows nothing.

Running in production mode

I have installed pairwise and allourideas code on an ubuntu 12.04 box. both sites work and I can login to pairwise api. but when I want to create a new user or new question I get an Unknown server error. In my local computer both sites work perfect in development mode.
I found that two other people trying to run allouridea in production mode have the same problem (see google group). I have also posted in google group. Is there anything missing from documentations for production mode?

logs from allourideas production.log:

Processing QuestionsController#create (for 89.184.194.3 at 2013-07-13 17:28:34) [POST]
Parameters: {"authenticity_token"=>"drXJam0gE+8lSeELpTcrMHIPoCX5Gh/1ij1RE731PeI=", "question"=>{"name"=>"Qw", "url"=>"Qwqq", "ideas"=>"", "email"=>"", "password"=>"", "information"=>""}, "default_text"=>"For example, "Which do you want more from the student government?"", "default_text2"=>"studentgovernment", "default_text3"=>"Add your own ideas here...\r\n\r\nFor example:\r\nMore hammocks on campus\r\nImprove student advising\r\nMore outdoor tables and benches\r\nVideo game tournaments\r\nStart late dinner at 8PM\r\nLower textbook prices\r\nBring back parking for sophomores"}
CLICKSTREAM: questions#create by Session 758c2f7c008dcafc01475005606c4053 (not logged in)

NoMethodError (undefined method []' for nil:NilClass): vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:414:inprefix'
vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:423:in prefix_source' vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:687:inprefix_parameters'
vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:702:in block in split_options' vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:700:ineach'
vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:700:in split_options' vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:1150:insplit_options'
vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:1026:in load' vendor/ruby/1.9.1/gems/activeresource-2.3.18/lib/active_resource/base.rb:726:ininitialize'
app/controllers/questions_controller.rb:1070:in new' app/controllers/questions_controller.rb:1070:increate'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:1333:in perform_action' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:617:incall_filters'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:610:in perform_action_with_filters' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:inblock in perform_action_with_benchmark'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in perform_action_with_benchmark' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/rescue.rb:160:inperform_action_with_rescue'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/flash.rb:151:in perform_action_with_flash' vendor/ruby/1.9.1/gems/newrelic_rpm-3.5.5.38/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:270:inblock in perform_action_with_newrelic_trace'
vendor/ruby/1.9.1/gems/newrelic_rpm-3.5.5.38/lib/new_relic/agent/method_tracer.rb:240:in trace_execution_scoped' vendor/ruby/1.9.1/gems/newrelic_rpm-3.5.5.38/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:263:inperform_action_with_newrelic_trace'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in process' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:606:inprocess_with_filters'
vendor/ruby/1.9.1/gems/compass-rails-1.0.3/lib/compass-rails/railties/2_3.rb:9:in process_with_compass' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:391:inprocess'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:386:in call' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/routing/route_set.rb:438:incall'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:87:in dispatch' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:121:in_call'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:130:in block in build_middleware_stack' vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:incall'
vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in block in call' vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/query_cache.rb:34:incache'
vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:9:in cache' vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:28:incall'
vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call' vendor/ruby/1.9.1/gems/newrelic_rpm-3.5.5.38/lib/new_relic/rack/browser_monitoring.rb:12:incall'
vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/rack.rb:54:in call' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:incall'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in call' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/session/cookie_store.rb:99:incall'
vendor/ruby/1.9.1/gems/airbrake-3.1.4/lib/airbrake/rack.rb:41:in call' vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:incall'
vendor/ruby/1.9.1/gems/airbrake-3.1.4/lib/airbrake/user_informer.rb:12:in call' <internal:prelude>:10:insynchronize'
vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:106:in call' /home/bmn/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/passenger-4.0.8/lib/phusion_passenger/rack/thread_handler_extension.rb:77:inprocess_request'
/home/bmn/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/passenger-4.0.8/lib/phusion_passenger/request_handler/thread_handler.rb:140:in accept_and_process_next_request' /home/bmn/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/passenger-4.0.8/lib/phusion_passenger/request_handler/thread_handler.rb:108:inmain_loop'
/home/bmn/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/gems/passenger-4.0.8/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'

Rendering template within layouts/application
Rendering errors/500.html.haml (500)

@lukebaker

New ideas are never shown despite being auto-approved

We really can't tell what's going on, but any idea we submit to https://www.allourideas.org/wmde-technical-leadership/results?all=true (as users) never show up to be voted for. It's like nothing ever gets approved. It appears like there is nothing the owner of that page can do to change that. The checkbox to auto-approve new submissions was always enabled. We tried everything – e.g. disabling the checkbox – but nothing makes a difference. What's broken?

Incorrect absolute paths in style sheets

The files:

public/stylesheets/screen.css
public/stylesheets/styles.css

Have references to "/images/..." that break when the app is not installed at the root level of the webserver.

Thus, I see in apache's error log:

[Fri Sep 20 13:43:21 2013] [error] [client XXXXXXXX] File does not exist: /var/www/images, referer: https://XXXXXXXX/ideias/stylesheets/styles.css?1379687521
[Fri Sep 20 13:43:21 2013] [error] [client XXXXXXXX] File does not exist: /var/www/images, referer: https://XXXXXXXX/ideias/stylesheets/screen.css?1376607507
[Fri Sep 20 13:43:21 2013] [error] [client XXXXXXXX] File does not exist: /var/www/images, referer: https://XXXXXXXX/ideias/stylesheets/styles.css?1379687521

Can't get the tests to pass

Hi,

I've been trying to run the tests, but couldn't get them to pass. After looking into the code, it seems that some failures are real.

For example:

15)
ActionController::UnknownAction in 'QuestionsController GET show assigns the requested question as @question'
No action responded to show. Actions: about, add_idea, add_photos, admin, admin_only, authenticate, auto_link, choices_by_creation_date, color_for_score, concat, create, 
current_cycle, current_user=, cycle, default_url_options, delete_logo, density_graph, deny_access, earl_owner_or_admin_only, excerpt, export, highlight, index, initialize
_session, intro, markdown, new, photocracy_view_path, photocracy_view_path=, pluralize, question_creation_validates?, question_params_valid, record_action, render_error, 
render_not_found, reset_cycle, results, scale, scatter_plot_user_vs_seed_ideas, scatter_score_vs_votes, scatter_votes_by_session, scatter_votes_vs_skips, set_locale, set_
p3p_header, set_pairwise_credentials, set_session_timestamp, sign_in, sign_out, signed_in_as_admin?, simple_format, textilize, textilize_without_paragraph, timeline_graph
, toggle, toggle_autoactivate, truncate, update, update_name, upload_photos, users_only, view_filter, visitor_voting_history, voter_map, white_label_request?, widget_view
_path, widget_view_path=, wikipedia?, word_cloud, and word_wrap
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in `call_filters'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in `perform_action'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `send'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `process_without_filters'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in `process'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/test_process.rb:567:in `process_with_test'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/test_process.rb:447:in `process'
/home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/test_process.rb:398:in `get'
./spec/controllers/questions_controller_spec.rb:20:

Looking into QuestionsController, the show method is commented out.

Is the test suite passing in your machine? Do you recognize some of the errors? The full output is in https://gist.github.com/3319411

Cheers!
Vítor.

Feature Request: Rich Text in ideas

Hi,
For me it would be great if I could add some kind of rich text in ideas, for example links or images.

For example, in order to use this solution as the best way to create a photo competition where put the link to photos uploaded in other service previously and ask users for select the best photo.

Some of HTML Code could be a great solution.

I find a lot of useful utilities of this tool with this feature.

I will be happy to help as contributor in order to get this feature if you consider this feature interesting

Regards

Widget shows cookies blocked message

We have some code in place that attempts to detect if cookies are blocked. However, it's possible that the detection code is showing false positives because it's attempts to read / write cookies are blocked but that the site will operate successfully despite that. Without researching too much, I believe some browsers like Safari may have stricter cookie restrictions in place for third-party JavaScript code than server responses that set cookies. I believe we use the former for detection and the latter for proper functioning of the site.

Feature Request: votes left

As a user i would like to see how many votes are left until it is complete.

Sure this number grows exponentially with more pairs and can be demotivating, but it's stated clearly that you don't have to vote on all combinations.

Just a small text:

votes left: 74

Feature Request: Docker image

I would like to evaluate the software, and having a Dockerfile here or an image in the Docker repository would save me time.

Permission error on first run

I installed and configured allourideas.org on Apache, but I got a "500 Internal Server Error" error and the messages below in my log file the first time I opened the site.

In subsequent attempts the site loaded fine, but this happens again every time Apache is restarted.

/!\ FAILSAFE /!\  2013-08-16 01:56:18 -0300
  Status: 500 Internal Server Error
  Permission denied - /var/websites/allourideas.org/public/stylesheets/styles.css
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/compiler.rb:356:in `initialize'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/compiler.rb:356:in `open'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/compiler.rb:356:in `write_file'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/compiler.rb:349:in `update_stylesheet'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/compiler.rb:202:in `block in update_stylesheets'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/compiler.rb:200:in `each'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/compiler.rb:200:in `update_stylesheets'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin.rb:81:in `update_stylesheets'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin.rb:54:in `check_for_updates'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/sass-3.2.1/lib/sass/plugin/rack.rb:51:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/rack-1.1.6/lib/rack/head.rb:9:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/rack-1.1.6/lib/rack/methodoverride.rb:24:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/session/cookie_store.rb:99:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/airbrake-3.1.4/lib/airbrake/rack.rb:41:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/airbrake-3.1.4/lib/airbrake/user_informer.rb:12:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/rack-1.1.6/lib/rack/lock.rb:11:in `block in call'
    <internal:prelude>:10:in `synchronize'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/rack-1.1.6/lib/rack/lock.rb:11:in `call'
    /var/websites/allourideas.org/vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:106:in `call'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/request_handler.rb:96:in `process_request'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:275:in `block in handle_spawn_application'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:479:in `safe_fork'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:180:in `start'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:219:in `block (2 levels) in spawn_rails_application'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:214:in `block in spawn_rails_application'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
    <internal:prelude>:10:in `synchronize'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
    /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99:in `<main>'

Here are that file's permissions

# ls -l /var/websites/allourideas.org/public/stylesheets/styles.css
-rw-r--r-- 1 root root 117447 Aug 15 19:58 /var/websites/allourideas.org/public/stylesheets/styles.css

Thanks

Issues with absolute paths

Hi!

I've set everything up, but the site does not seem to be able to register votes.

It kind of hangs when a vote is attempted.

The control panel also doesn't show anything.

I see no errors on the apps logs, but apache's logs show me this:

[Tue Sep 24 17:35:09 2013] [error] [client XXX] File does not exist: /var/www/teste-mundomelhor, referer: http://XXX/ideias/teste-mundomelhor?just_created=true
[Tue Sep 24 17:35:15 2013] [error] [client XXX] File does not exist: /var/www/teste-mundomelhor, referer: http://XXX/ideias/teste-mundomelhor?just_created=true
[Tue Sep 24 17:35:17 2013] [error] [client XXX] File does not exist: /var/www/teste-mundomelhor, referer: http://XXX/ideias/teste-mundomelhor?just_created=true
[Tue Sep 24 17:35:23 2013] [error] [client XXX] File does not exist: /var/www/teste-mundomelhor, referer: http://XXX/ideias/teste-mundomelhor?just_created=true
[Tue Sep 24 17:35:24 2013] [error] [client XXX] File does not exist: /var/www/teste-mundomelhor, referer: http://XXX/ideias/teste-mundomelhor?just_created=true
[Tue Sep 24 17:35:30 2013] [error] [client XXX] File does not exist: /var/www/teste-mundomelhor, referer: http://XXX/ideias/teste-mundomelhor?just_created=true
[Tue Sep 24 17:35:43 2013] [error] [client XXX] File does not exist: /var/www/questions, referer: http://XXX/ideias/testeXXXmundomelhor?just_created=true
[Tue Sep 24 17:36:07 2013] [error] [client XXX] File does not exist: /var/www/questions, referer: http://XXX/ideias/teste-mundomelhor

It seems that the app is calling its methods on urls/paths that assume an installation on the webserver's root directory, while in my case it's installed under "/ideias/".

Do you think that makes sense, or have I somehow messed up my install?

Thanks again!

Widget does not work due to lack of access to third-party cookies

Due to browser changes in the past years to improve users' security, third-party cookies are now blocked by default in some browsers and others have added new standards that require changes to applications for continued working of third-party cookies.

Content within an iframe is considered third-party and this is the typical way to embed functionality on a site that's powered by another site. This is the mechanism that the All Our Ideas site has used for years with great success. However, due to the restrictions on third-party cookies the widget no longer works in the majority of browsers.

All Our Ideas uses these cookies to track voting sessions. In order to support the widget in an iframe, we'd need to create an alternate mechanism for tracking these sessions without cookies. The best option that should have continued browser support would be to replicate the job of these cookies with session data that gets included with any form submission (vote, skip, or submission of new idea) within the widget. In other words, instead of setting the cookies in the header of responses, these session identifiers would be hidden inputs in these HTML forms.

Multiple votes allowed for same person for same options

I just tested this app which i think is very useful. I created 2 ideas as seed and started the wiki survey. The problem was that it was allowing me to keep voting on the same pair many times although they were basically the same 2 options that were available. Can we prevent the same pair from coming up again and again (which leads to completely erroneous result). The point is that while each permutation, there should be only one vote per person. Please advise

Install issue

Hi,
i am trying to install this app v4.0.0 but when i ran the db migrate command i am getting some errors

image

I tried following versions of ROR, but not working

Ruby 2.4.4
Ruby 2.3.7
Ruby 2.2.10
Ruby 2.1.10
Ruby 2.0.0

& Can you let me know which version of ROR is Compatible for this app?

Looking Forward to Hear from you soon

Thanks

Secure the website using https

Background

The website currently offers a login feature, which requires a password.
However, the site is delivered via http, which is less secure than https.

Acceptance Criteria

Visiting allourideas.org renders using https protocol, instead of http.

Widget should have a text on the top that reads...

Choose an option or create a new one:
imagen

(Because the space to create the question is so small)
Just to explain what is going on in a few words, right?

Great idea! I do not understand why it is not a great success!

Ability to rank ideas against two questions

I want to be able to rank the same set of ideas against two questions. E.g. "Which is more unique?" and "Which is most valuable for our customers?". In the results view I can view the ideas in a two-dimensional grid. Most promising ideas will show up in the top-right corner (most unique and most valuable to our customers).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.