Skip to content

Instantly share code, notes, and snippets.

View andreslucena's full-sized avatar
🎧

Andrés Pereira de Lucena andreslucena

🎧
View GitHub Profile
@andreslucena
andreslucena / README.md
Last active September 9, 2024 12:33
Import and exports explanation for Decidim.org

What is Decidim

Decidim is a digital platform for citizen participation

It’s a free/libre and open-source web-based software, maintained by an extense and active community. It can be used in a public or private organisation, with hundreds or thousands of potential participants, such as a city council, an association, a university, an NGO, a trade union, a neighbourhood association or a cooperative.

Currently it's being used by the city of Barcelona, NYC, European Commission, Helsinki, the French Congress and Senate, and the Brazilian federal government among others.

2024-07-01T14:16:08.9584858Z Current runner version: '2.317.0'
2024-07-01T14:16:08.9608309Z ##[group]Operating System
2024-07-01T14:16:08.9608934Z Ubuntu
2024-07-01T14:16:08.9609453Z 22.04.4
2024-07-01T14:16:08.9609752Z LTS
2024-07-01T14:16:08.9610082Z ##[endgroup]
2024-07-01T14:16:08.9610540Z ##[group]Runner Image
2024-07-01T14:16:08.9610935Z Image: ubuntu-22.04
2024-07-01T14:16:08.9611332Z Version: 20240624.1.0
2024-07-01T14:16:08.9612417Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240624.1/images/ubuntu/Ubuntu2204-Readme.md
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
@andreslucena
andreslucena / Decidim Release Notes v0.25.0 (rc1-rc4).md
Last active September 27, 2021 06:25
Release Notes for the last candidate of the v0.25, with the rc1, rc2, rc3 and rc4 notes consolidated in a single document

Upgrade notes

As prerequisites, you'll need:

  • Node.js version 16.9.x (this version is mandatory)
  • Npm version 7.21.x (it works with other versions, but this is the recommended)

We strongly recommend that you have a database and static files backup as this is a huge release. It's the biggest release from the beginning, as we're updating to Rails 6, migrating to Webpacker and ActiveStorage.

To update, follow these steps:

@andreslucena
andreslucena / README.md
Last active March 10, 2021 14:42
A Decidim hack for having videoconferences on Meetings

This is a quick hack for having videoconferences support on Decidim. Supported services:

  1. YouTube
  2. Jitsi We've been using this on Barcelona (decidim.barcelona and multitenant organization) and also on Meta (meta.decidim.org)

How it works:

  1. You need to add this as a HTML snippet option (config.enable_html_header_snippets on config/initializers/decidim.rb) or as a javascript file on your application (app/assets/javascripts/videoconference.js for instance).
  2. You can configure a Meeting with two services, through the address detail field (see screenshots). You'll need to configure a real address if having geocoding enabled. On this case then you can put the whole city (ie "Barcelona").
@andreslucena
andreslucena / install-decidim.bash
Last active February 21, 2019 14:31
Decidim One Command Magick Installer v0.2
#!/usr/bin/env bash
#
# Decidim installation script on Ubuntu 18.04 LTS
# It should also work on other Operating Systems that supports docker / docker-compose
#
# This is a BETA and as such you should be aware that this could break your environment (if you have any)
# This will use the docker image from Docker Hub and set-up a docker-compose environment for you to try Decidim
# It'll take 15 minutes depending on your network connection
#
# This is also proposal to merge to upstream, to fix the docker-compose/Dockerfile/README

EPIC Support System

As an user, there are moments where I need support for an administrator of the platform. Most of the deployments resolve this by two ways:

  • A contact email
  • A contact form on an external system

The problem is that all this requests for information will be outside the platform, and there are some questions that could be answer by the community itself or that they were already asked (and answered).

The solution proposed would have a dynamic similar to questions-and-answers (Q&A) websites, like StackOverflow, but for the moment we don't want to have votes. The module name could be "decidim-support".

EPIC: GDPR

These are multiple feature proposals to have a better compliance with GDPR (General Data Protection Regulation).

  1. Right of Data Portability
  2. Right to be Forgotten
  3. Unmark "receive information" by default on user creation
  4. Pages version control
  5. TOS accepted at field for users
@andreslucena
andreslucena / to-monorepo-or-not-to-monorepo.md
Created January 19, 2018 12:52
Monorepo or mutiple repositories?

With our current architecture we're facing a crossroad, where we need to talk about how could be the best approach to handling all the git repositories and all the problems that we're having right now and the problems to come.

Starting point

On one hand, this is the picture right now:

Official modules on decidim/decidim

  • decidim-accountability
  • decidim-admin
@andreslucena
andreslucena / install_decidim.bash
Last active January 18, 2018 09:14
Magic installation script for Decidim on Ubuntu 16.04 LTS and macos sierra 10.2
#!/usr/bin/env bash
#
# Decidim installation script on Ubuntu 16.04 LTS and macos sierra 10.2
#
# This is a BETA and as such you should be aware that this could break your environment (if you have any)
# This will install rbenv, postgresql, nodejs and install decidim on this directory
# It'll take 15 minutes depending on your network connection
#
set -e