Skip to content
Decidim verifications via uploaded whitelist
Ruby HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
app
bin
config/locales
db/migrate
examples
lib/decidim/verifications
spec
.gitignore
.rubocop.yml
.ruby-version
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
decidim-verifications-csv_email.gemspec

README.md

Decidim Verifications CsvEmail

Allows to upload a CSV file to perform verifications against real users parameterised.

Usage

This module provides a model Decidim::Verifications::CsvEmail to store users informations (email).

It has an admin controller to upload CSV files with the information. When importing files all records are inserted and the duplicates are removed in a background job for performance reasons.

Installation

Add this line to your application's Gemfile:

gem 'decidim-verifications-csv_email', git: 'git@github.com:CodiTramuntana/decidim-verifications-csv_emails.git'

And then execute:

bundle
bin/rails decidim_verifications_csv_email:install:migrations
bin/rails db:migrate

Run tests

Create a dummy app in your application (if not present):

bin/rails decidim:generate_external_test_app

Copy migration into spec/decidim_dummy_app/db/migrate.

And run tests:

rspec spec

License

AGPLv3 (same as Decidim)

You can’t perform that action at this time.