Skip to content
The participatory democracy framework. A generator and multiple gems made with Ruby on Rails
Ruby HTML CSS JavaScript TypeScript
Branch: master
Clone or download
decidim-bot and oriolgual New Crowdin translations (#5436)
* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Hungarian)

* New translations en.yml (Hungarian)

* New translations en.yml (Hungarian)

* New translations en.yml (Dutch)

* New translations en.yml (Dutch)

* New translations en.yml (Dutch)
Latest commit 8584fd7 Oct 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Lock sprockets version until we upgrade the manifests (#5418) Oct 15, 2019
.github Reenables new issues creation on GitHub (#4954) Apr 30, 2019
bin Update rubocop (#5199) Jun 18, 2019
config Add: amendments wizard (#5244) Jul 3, 2019
d More consistent circle ci env (#3732) Jul 3, 2018
decidim-accountability Bump version Oct 21, 2019
decidim-admin New Crowdin translations (#5436) Oct 22, 2019
decidim-api Bump version Oct 21, 2019
decidim-assemblies New Crowdin translations (#5436) Oct 22, 2019
decidim-blogs Bump version Oct 21, 2019
decidim-budgets Bump version Oct 21, 2019
decidim-comments Bump version Oct 21, 2019
decidim-conferences Bump version Oct 21, 2019
decidim-consultations New Crowdin translations (#5436) Oct 22, 2019
decidim-core New Crowdin translations (#5436) Oct 22, 2019
decidim-debates Bump version Oct 21, 2019
decidim-dev Bump version Oct 21, 2019
decidim-forms New Crowdin translations (#5436) Oct 22, 2019
decidim-generators Bump version Oct 21, 2019
decidim-initiatives Initiatives UX improvements (#5369) Oct 21, 2019
decidim-meetings Surveys for unregistered users (#4996) Oct 21, 2019
decidim-pages Bump version Oct 21, 2019
decidim-participatory_processes Bump version Oct 21, 2019
decidim-proposals New Crowdin translations (#5436) Oct 22, 2019
decidim-sortitions Don't include drafts in sortitions (#5434) Oct 21, 2019
decidim-surveys New Crowdin translations (#5436) Oct 22, 2019
decidim-system Bump version Oct 21, 2019
decidim-verifications Bump version Oct 21, 2019
decidim_app-design Bump version Oct 21, 2019
docs Update release documentation Oct 21, 2019
lib Bump version Oct 21, 2019
spec Readd i18n normalization spec (#4975) Mar 15, 2019
.babelrc Update js dependencies (another take) (#2156) Nov 13, 2017
.codeclimate.yml New Crowdin translations (#5160) May 31, 2019
.csslintrc Add CodeClimate config Sep 14, 2016
.decidim-version Bump version Oct 21, 2019
.editorconfig Normalizing final new lines (#1744) Aug 16, 2017
.erb-lint.yml Fix dynamic fields elements for IE11 (#5052) Apr 5, 2019
.eslintignore Extract a component manager class (#2427) Jan 12, 2018
.eslintrc.json Enforce double quotes on JS (#3092) Mar 23, 2018
.gitattributes Teach git how to merge our CHANGELOG (#3242) Apr 17, 2018
.gitignore Add Sublime Text 3 .tags file to gitignore. (#4704) Dec 20, 2018
.inch.yml Add inch CI for tracking inline code docs (#472) Jan 10, 2017
.mdl_style.rb Lint markdown (#2158) Nov 6, 2017
.mdlrc Lint markdown (#2158) Nov 6, 2017
.prettierrc Update dependencies (#2909) Mar 6, 2018
.rubocop.yml Fix duplicate process bug #5379 (#5391) Oct 18, 2019
.rubocop_rails.yml Update rubocop (#5199) Jun 18, 2019
.ruby-version Update dependencies (#5206) Jun 22, 2019
.simplecov Revert "Use `capybara-screenshot` again (#3782)" (#3788) Jul 6, 2018
.yardopts Normalizing final new lines (#1744) Aug 16, 2017
CHANGELOG.md Initiatives UX improvements (#5369) Oct 21, 2019
CODE_OF_CONDUCT.md Update project maintainer email to hola [at] decidim (#5017) Mar 27, 2019
CONTRIBUTING.md Adds SECURITY.md file with instructions (#5181) Jun 14, 2019
Dockerfile.design Fix decidim design (#2766) Feb 19, 2018
Gemfile Update dependencies (#5206) Jun 22, 2019
Gemfile.lock Bump version Oct 21, 2019
LICENSE-AGPLv3.txt Improve and rename license (#200) Nov 11, 2016
README.md Update README about MPASSid and Suomi.fi modules (#5403) Oct 8, 2019
Rakefile Fix generators issue (#3684) Jul 4, 2018
SECURITY.md Bump version Oct 21, 2019
crowdin.yaml Adds new language: norwegian (#5335) Sep 16, 2019
decidim.gemspec Bump Ruby version to 2.5.3 (#4927) Mar 5, 2019
docker-compose.yml Docker dev setup (#2849) Mar 15, 2018
heroku.yml Fix design app deployment (#3969) Aug 6, 2018
jsconfig.json Normalizing final new lines (#1744) Aug 16, 2017
logo.svg README: updates logo and removes unused waffle.io shields (#4957) Mar 11, 2019
package-lock.json Bump version Oct 21, 2019
package.json Bump version Oct 21, 2019
tsconfig.json Autocomplete field (#3301) May 9, 2018
tslint.json Update dependencies (#2909) Mar 6, 2018
webpack.config.js Fix comments for IE11 (#4946) Mar 7, 2019
webpack.d.ts Autocomplete field (#3301) May 9, 2018

README.md

Decidim Logo

The participatory democracy framework.

Free Open-Source participatory democracy, citizen participation and open government for cities and organizations

Decidim is a participatory democracy framework, written in Ruby on Rails, originally developed for the Barcelona City government online and offline participation website. Installing these libraries will provide you a generator and gems to help you develop web applications like the ones found on example applications or like our demo application.

All members of the Decidim community agree with Decidim Social Contract or Code of Democratic Guarantees.


Gem Gem GitHub contributors Yard Docs Gitter

Code quality

Build Status Maintainability Crowdin Inline docs Accessibility issues HTML issues


What do you need to do?


Getting started with Decidim

TLDR: install gem, generate a Ruby on Rails app, enjoy.

gem install decidim
decidim decidim_application

We've set up a guide on how to install, set up and upgrade Decidim. See the Getting started guide.

How to contribute

See Contributing.

Browse Decidim

After you create a development app (bundle exec rake development_app), you have to switch to it and boot the rails server with cd development_app && bundle exec rails s.

After that, you can:

  • Browse the main interface at http://localhost:3000, and log in as: user@example.org | decidim123456
  • Browse the admin interface at http://localhost:3000/admin, and log in as: admin@example.org | decidim123456
  • Browse the system interface at http://localhost:3000/system, and log in as: system@example.org | decidim123456

Also, if you want to verify yourself against the default authorization handler use a document number ended with "X".

Modules

Official (stable)

Module Description
API Exposes a GraphQL API to programatically interact with the Decidim platform via HTTP.
Accountability Adds an accountability section to any participatory space so users can follow along the state of the accepted proposals.
Admin Adds an administration dashboard so users can manage their organization and all other entities.
Assemblies Permanent participatory spaces.
Blogs This component makes possible to add posts ordered by publication time to spaces.
Budgets Adds a participatory budgets system to any participatory space.
Comments The Comments module adds the ability to include comments to any resource which can be commentable by users.
Conferences This module will be a configurator and generator of Conference pages, understood as a collection of Meetings, with program, inscriptions and categories
Consultations This module creates a new space for decidim to host consultations: debates around critical questions and a proxy for eVoting
Core The basics of Decidim: users, organizations, etc. This is the only required engine to run Decidim, all the others are optional.
Debates The Debates module adds debate to any participatory process. It adds a CRUD engine to the admin and public view scoped inside the participatory process.
Dev Aids the local development of Decidim's components.
Generators It helps you with generating decidim applications & new components. It provides the decidim executable.
Initiatives Initiatives is the place on Decidim's where citizens can promote a civic initiative. Unlike participatory processes that must be created by an administrator, Civic initiatives can be created by any user of the platform.
Meetings The Meeting module adds meeting to any participatory space. It adds a CRUD engine to the admin and public view scoped inside the participatory space.
Pages The Pages module adds static page capabilities to any participatory space. It basically provides an interface to include arbitrary HTML content to any step.
Participatory Processes The main concept of a Decidim installation: participatory processes.
Proposals The Proposals module adds one of the main components of Decidim: allows users to contribute to a participatory space by creating proposals.
Sortitions This component makes possible to select randomly a number of proposals among a set of proposals (or a category of proposals within a set) maximizing guarantees of randomness and avoiding manipulation of results by the administrator.
Surveys Adds the ability for admins to create arbitrary surveys.
System Multitenant Admin to manage multiple organizations in a single installation.
Verifications Offers several methods for allowing participants to get authorization to perform certain privileged actions. This module implements several of those methods and also offers a way for installation to implement their custom verification methods.

Community

If you need to have some features that we don't have yet, we recommend that you make a module. This is a Ruby on Rails engine with some APIs specific to Decidim (for registering with the menus, integration with spaces like Participatory Processes or Assemblies, with /admin or /api, etc).

As a base you can use these modules, although check first that the version is compatible with your current Decidim version. Also you should know that until v1.0.0 We're under development and these internal APIs can change. We recommend that you extensively test your module.

Module Version Description
Age Action Authorization 0.9.3 A Decidim based action authorization to check user's age inside actions.
Antivirus 0.15.x-0.17.x Virus scanning validation for uploaded attachments based on ClamAV.
Calendar 0.13.1, 0.16.1-0.18.x Adds a calendar, gantt graph and ICAL download for all the Meetings, Participatory Processes, Debates, Consultations and external events in the scope of a multitenant organization.
Crowdfunding 0.14.1 This rails engine implements a Decidim component that allows to the administrators to configure crowfunding campaigns for a participatory space.
DataViz 0.13.1 The Dataviz module adds the PAM data visualizations to any participatory process but it is intended to be used just for the PAM participatory process.
Gravity Forms 0.14.1 A gravity forms component for Decidim.
LDAP 0.9.3 User authentication via LDAP
News 0.14.1 This will add an admin dashboard to manage news posts and front-end views for posts.
Members 0.13.1 Members list and search plugin for Decidim
MPASSid 0.18.x User authentication and automatic authorization through the MPASSid national identification service for comprehensive school and secondary education students in Finland.
Personal Number 0.11.0.pre This module allows users to register with a personal number and to log in with it.
Plans 0.15.x-0.17.x Collaborative planning phase for the participatory budgeting projects based on the proposals submitted by people. People can participate on creating the actual plans and collaborate on them before the budgeting voting starts.
Pol.is 0.7.1 Pol.is integration on Decidim
Questions 0.12.2 Questions / Views / Inputs based on decidim-proposals.
Riksdagen 0.11.0.pre A Decidim module to integrate some of the open data produced by the Swedish parliament
Suomi.fi 0.18.x User authentication and automatic strong authorization through the Suomi.fi e-Identification service in Finland.
Term Customizer 0.16.x-0.17.x Module that allows customizing the translatable terms in the system. The admins can also limit where these customizations apply, e.g. in the whole organization, a specific participatory space or a specific component.
User Export 0.8.3 Allow user export
Votings 0.14.1 An administrator can add one or more votings to a participatory process or assambly

Authorizations Strategies

One specific thing regarding these kind of applications is the authorization/verification logic. Here are some examples:

Other special verifications:

Following our license

If you plan to release your application you'll need to publish it using the same license: GPL Affero 3. We recommend doing that on GitHub before publishing, you can read more on "Being Open Source From Day One is Especially Important for Government Projects". If you have any trouble you can contact us on Gitter.

Example applications

Since Decidim is a ruby gem, you can check out the dependent repositories to see how many applications are on the wild or tests that other developers have made. Here's a partial list with some of the projects that have used Decidim:

Security

Security is very important to us. If you have any issue regarding security, please disclose the information responsibly by sending an email to security [at] decidim [dot] org and not by creating a github/metadecidim issue. We appreciate your effort to make Decidim more secure. See full security policy.

You can’t perform that action at this time.