-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a module for ephemeral participation and a integrated Censu…
…s+SMS verification (#368) * ignore capistrano files * add letter opener to production * Update to latest revision and add locales * PB05 (#1) * Use custom fork of decidim and feature branch * Change branch to PB05 * Update to latest revision * Update and add locales * Upate to latest revision * Update revision * Update to alt branch * Update to latest revision * Update to latest revision (focus mode compatible with banners) * Reorganize information for budget summary + back link * Merge PB03 * Fix progress bar text for mobile * Point decidim to main dev branch * Remove locales that should come from decidim repo * Update to AjuntamentdeBarcelona/decidim#6 * Change budgets progress bar color (#5) * Add translations * Chnage progress bar color * Hide follow button for projects * PB01 - Introduce a new module to enable ephemeral participation in Decidim (#3) * Introduce a new module to enable ephemeral participation in Decidim - System configuration for verification handlers - Component global flag for ephemeral verification - Budgets tweaks to allow ephemeral verification - User after-registration journey * Update unauthorized_ephemeral_participant_message * Fix decidim/budgets/projects/project_budget_button partial (2) * Ephemeral participation part 3 (#3) * Add some commands * Forbid ephemeral users with verification conflicts to complete registration * Fix bug * Update README * Ephemeral participation part 4 (#4) * Change progress bar color * add a default nickname when creating a ephemeral user * fit i18n copies scopes. fix newly creating organizations without authorizations * fix 2020 budget workflow * Bad commit message Co-authored-by: Vera Rojman <[email protected]> * Census + SMS verification workflow (#4) * Stub census + sms verification * Fix rubocop offenses * Initialize workflow when sms_gateway variables present * Remove 'byebug' * Prevent error with date_of_birth * Add options for districts in verification * Don't require scope in verification * Send sms code after successful census verification * Fix district keys * Update translations * Comment sms code delivery for testing purposes * Add custom ActionAuthorizer for verification scope (district) * Simplify redirection on successful verification * Move form fields into view * Add styles * Improve locales * Improve design * Improve layout * Allow users to reset verification code * Sanitize document number * Add help link for postal code * Add system spec for authorization * some copies. new budget workflow. fix test * config secrets for test Co-authored-by: Ivan Vergés <[email protected]> * Fix PB01 Details (#7) * Fix typo * Update gemfile * Fix available_authorizations when stored as array * Hide radio button for worfklows not available for ephemeral * Fix class name * enable new verificator for ephemeral participation Co-authored-by: Vera Rojman <[email protected]> Co-authored-by: Vera Rojman <[email protected]>
- Loading branch information
1 parent
ba8e4e2
commit a6d8790
Showing
90 changed files
with
2,990 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,5 @@ | |
/imports | ||
|
||
.rspec-failures | ||
Capfile | ||
config/deploy* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.budget-progress { | ||
.progress-meter { | ||
&:not(&--minimum) { | ||
background-color: $red-light; | ||
} | ||
} | ||
} | ||
|
||
#project .card.extra .button_to { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
require "budgets_workflow_pam2020" | ||
require "budgets_workflow_pam2021" | ||
Decidim::Budgets.workflows[:pam2020] = BudgetsWorkflowPam2020 | ||
Decidim::Budgets.workflows[:pam2021] = BudgetsWorkflowPam2021 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ca: | ||
decidim: | ||
components: | ||
budgets: | ||
settings: | ||
global: | ||
ephemerous_census_data_verification: Ephemerous Census Data Verification | ||
workflow_choices: | ||
pam2020: "PAM 2020: allows to Vote in the participant's district and in another of free choice." | ||
pam2021: "PAM 2021: allows to Vote in the participant's district and in another of free choice." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
es: | ||
decidim: | ||
components: | ||
budgets: | ||
settings: | ||
global: | ||
ephemerous_census_data_verification: Ephemerous Census Data Verification | ||
workflow_choices: | ||
pam2020: "PAM 2020: allows to Vote in the participant's district and in another of free choice." | ||
pam2021: "PAM 2021: allows to Vote in the participant's district and in another of free choice." | ||
|
Oops, something went wrong.