Giter VIP home page Giter VIP logo

citizensfoundation / open-active-democracy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jgilliam/nb-deprecated

54.0 54.0 19.0 77.04 MB

Open Active Democracy is now called Your Priorities. https://github.com/rbjarnason/your-priorities It's the same codebase but has been cleaned up and a new simpler UI added.

Home Page: https://yrpri.org/

Ruby 28.05% Shell 0.01% JavaScript 71.95%

open-active-democracy's People

Contributors

aldavigdis avatar gunnargrimsson avatar hinrik avatar jgilliam avatar rbjarnason avatar rifa-mukhlisa avatar simmix1 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-active-democracy's Issues

railtie_name is deprecated and has no effect

hello ,
i'm trying to setup this awesome script on my server .. i did what's written here in the readme file but stacked at

rake db:create

it keeps giving me this error : ( DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from class:Engine at /usr/local/rvm/gems/ruby-1.9.2-p180/bundler/gems/twitter-auth-1b3f4e753cb7/lib/twitter_auth/engine.rb:5)
WARNING: Global access to Rake DSL methods is deprecated. Please include
... Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method OpenActiveDemocracy::Application#task called at /usr/local/rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/application.rb:215:in initialize_tasks' rake aborted! syntax error on line 29, col 2: host: localhost'

Tasks: TOP => db:create => db:load_config
(See full trace by running task with --trace) ).

i'm new to rails and i strongly need to use this awesome open active democracy.

thanks,

Several problems: Captcha, which branch, internationalization and languages

Dear Robert,
we are trying to install open active democracy, but we are having several problems.

We have several communities in Italy that are interested in it. Some
parties want to have it as a system to decide what people want to do.
Then once we know how to install it we want to use it on other places
as well. I also would like to apply to it some of my ideas on
e-democracy, and the research I did in the last years.

I hope some of the development we do might merge back with your
versions (if you are interested).

Unfortunately right now we seem to be unable to even install the basic
version. For this I have several questions:

  1. what branch should we be using?

It looks like there are several branches that are being developed in parallel.

And at least 3 of them seem to be active:
master, better reykiavik, shadow.
I assume better reykiavik is the code for http://betrireykjavik.is/,

(By the way, this: http://betrireykjavik.is/tr8n/settings gives an
error page not found.)

and shadow might be the code for the website do decide the priorities
for the whole iceland. Am I right?

So does this mean that the master branch is for:
http://www.yrpri.org/welcome

Because then we probably should use the Shadow branch.

Then we have several problems which I would like to bring to your attention:

first of all,
in the instructions you seem not to mention the file relic.yml

second,
we kept on having problems because of internationalization, and we discovered we had to add the line
# encoding: utf-8
on the top of seeds.rb file in db/seeds.rb

But then the real sticking point, the element that are seem to be unable to surpass are the captcha.

When we finally succeed in running the servers, we go to the first page /install then from there to the second page /create_admin_user and in this page there is a captcha that should appear for us to "show our humanity".
But the image never appears. Also the system seem to crash. This is what the Terminal says:

/Users/pietro/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.0.11/lib/action_controller/metal/implicit_render.rb:4:in
`send_action'
/Users/pietro/Desktop/active-democracy/shadow/rbjarnason-open-active-democracy-a30977e/vendor/plugins/simple_captcha/app/controllers/simple_captcha_controller.rb:13:in
`show'
/Users/pietro/Desktop/active-democracy/shadow/rbjarnason-open-active-democracy-a30977e/vendor/plugins/simple_captcha/lib/simple_captcha/image_helpers.rb:13:in
`generate_simple_captcha_image'
/Users/pietro/Desktop/active-democracy/shadow/rbjarnason-open-active-democracy-a30977e/vendor/plugins/simple_captcha/lib/simple_captcha/r_magick_backend.rb:11:in
`generate_simple_captcha_image'
/Users/pietro/Desktop/active-democracy/shadow/rbjarnason-open-active-democracy-a30977e/vendor/plugins/simple_captcha/lib/simple_captcha/r_magick_backend.rb:11:in
`new'
/Users/pietro/Desktop/active-democracy/shadow/rbjarnason-open-active-democracy-a30977e/vendor/plugins/simple_captcha/lib/simple_captcha/r_magick_backend.rb:11:in
`initialize'

-- C level backtrace information -------------------------------------------

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap

Now the line 11 of r_magick_backend.rb is:
image = Magick::Image.new(width.to_i, height.to_i)
so there might be some problem with the Magick library that maybe is not correctly installed. Both me and my collaborator are having the same problem. We both have a mac, mine is Mac OS X Snow Leopard, and my collaborator is a Mac OS X Lion.

Also we do not understand why you are using such a complicated Captcha
system. Usually people just use a small piece of javascript. Is it for
security? Because you do not want to depend on an external company for
the access to a website which is part of the Icelandic institutions?

In any case we are trying to make this system work, or at least to cut
it off, and we seem to be unable to do either. Could you, or your
programmer tell us what to do?

And then there is the problem of the language. When I start the
server, I reach the /install page. But the list of available languages
seem to be empty.

No reference to all this is in the readme file.

Any help would be greatly appreciated.
Pietro

Categories Page Not Loading

Navigating to the categories page after a succesful fresh install results in the following error:

"undefined method `required_tags' for nil:NilClass"

Admin settings menu display problem - unusable

On the latest version of Master.

When you select the site settings option in the admin menu the extra options in the popup window appears, but then disappears immediately you remove the pointer from the menu link, so that the options window disappears before you have a chance to reach them with the pointer, making them unselectable.

Happens on current browsers: firefox 9.0.1, chrome 16.0.912.77 and Safari 5.1.2

Not sure yet whether you are using css or javascript for the drop down.

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.