GithubHelp home page GithubHelp logo

digidemlab / decidim-sweden Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 3.23 MB

Swedish implementation of decidim

License: GNU Affero General Public License v3.0

Ruby 94.88% JavaScript 4.06% HTML 0.58% Dockerfile 0.01% SCSS 0.44% Procfile 0.03%
decidim

decidim-sweden's People

Contributors

pierremesure avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dinriksdag

decidim-sweden's Issues

Integrate SPAR API to verify the address of an individual

This is a pretty big task. SPAR is the national census and enables to get a person's name and address (structured with information on the commune and the region) through a SOAP API.

I will keep updating the subtasks here:

  • ask for access to the test environment - Done and gotten
  • ...
  • buy a server certificate. The documentation mentions that only this provider is accepted so the price will be 3500SEK (how do you say racket in Swedish?). There is a test certificate here though...

No support for a login/sign up with a personnummer

Right now, the website just uses the e-mail address as an identifier.

In Sweden, it is usual to use your personnummer. This would make it easier to check people's identity and would be a good first step if the platform is to support SPAR and BankID as an authentication/e-voting method in the future.

This task can actually be divided in the following actions:

  • add a new column to the User model
  • add a field during the sign up process.
  • add a field in the profile page
  • allow users to login with their personnummer.
  • fix all the tests!

The changes to the verification process are a bit heavier and will be done in another task (probably related to SPAR)

Support BankID as a way to prove identity

More info here.

BankID would be really interesting to automatically verify that an individual is the one behind the personnummer they're using to get verified. Alternatives are to use an ID picture as other cities do and that possibility will remain for people that don't have BankID.
For those that have it, voting through BankID would provide an additional (but not critical) layer of security.

Fix an Ansible script to install Decidim

TO-DO:

Server

  • Provision a VPS

External services

  • Request a token from Sentry
  • Request a token from Matomo
  • Request specific STMP credentials (optional)

Linux

  • apt-upgrade
  • Set timezone
  • Create Linux user

Database

  • Install Postgres
  • Install Redis

Dependencies

  • Install Rbenv
  • Install Ruby
  • Install Bundler
  • Install NodeJS
  • Install Nginx
  • Install Sidekiq

Decidim

  • Checkout Decidim app from repo
  • Install gems
  • Install Figaro
  • Import env variables with Figaro
  • Precompile assets
  • Create database for Decidim
  • Create table structure for database
  • Create Decidim system admin
  • Create organisation with SMTP settings

Security

  • Set up SSL certificate (with Let's encrypt or private key)

Other

  • Install antivirus ClamAV
  • Schedule file and DB backups
  • Set up Matomo for analytics

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.