Skip to content

release: half sign up, multiple answers and translations #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Apr 29, 2025

Conversation

luciegrau
Copy link
Contributor

No description provided.

Quentinchampenois and others added 26 commits November 7, 2024 11:10
* test: Add specs for user presenter

* fix: Set has_tooltip to false for user presenter
* fix: Deactivate vote_weigth in decidim awesome

* fix: enhance logs in dev mode

* fix: Allow to configure feat using env var
* fix: Export proposals rake task

* fix: Export attachments url in proposal serializer

* revert: Remove dummy rake task

* spec: Ensure attachments_urls key is serialized
* fix: Remove public true in active storage

* fix: Change separator in CSV
* feat: Addition of Half Signup

* fix: Normalize french locales

* fix: Fix the failing account specs (mixing decidim & half_signup)

* fix: Ignore missing locales

* fix: Update the user model overrided on Half Signup that broke the test
* Backport: fix Half sign up

* Change actions/upload-artifact version and add rake task

* Add clear duplicated users rake task

* add rake task

* chore: Fix tests & lint

* feat: add Logging utils
* fix: override private_body partial to add condition to show private body

* test: add system test

* test: update missing keys in i18n tasks file

* ci: update upload-artifact action

* ci: add imagemagick for tests

* ci: update ci again

* ci: add chrome version

* ci: update ci

* ci: updating again
…ltiple-answers

Add survey multiple answers module
This reverts commit 7a978c9.
feat: Add static locales to avoid decidim-awesome issues
@luciegrau luciegrau marked this pull request as ready for review April 29, 2025 07:43
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a half sign-up feature with multiple answer options and translations while also adding SMS verification support for phone numbers. Key changes include new database tables and migrations for half sign-up settings and phone attributes, updates to configuration files (secrets, locales, Sidekiq, and initializers), and new service and view components for SMS notifications.

Reviewed Changes

Copilot reviewed 25 out of 26 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
db/schema.rb Updates schema version, adds a new table for half signup auth settings, and phone number columns in users table.
db/migrate/* New migrations to add phone number attributes and create the auth settings table.
config/sidekiq.yml Adds a new scheduled job for archiving users’ phone numbers with a dynamic cron expression.
config/secrets.yml, locales, initializers New configuration for half signup and SMS gateway services and additional locale translations.
app/* New view components and service classes supporting SMS verification and user phone number archiving.
Gemfile Updates gem dependencies and branches for compatibility with half signup features.
.github/workflows/ci_cd.yml Updates CI/CD configuration to install a specific Chrome version and related dependencies.
Files not reviewed (1)
  • .env-example: Language not supported
Comments suppressed due to low confidence (1)

Gemfile:24

  • [nitpick] Please confirm that using a temporary branch name for 'decidim-extra_user_fields' is intentional and consistent with your versioning strategy.
gem "decidim-extra_user_fields", git: "https://github.com/OpenSourcePolitics/decidim-module-extra_user_fields.git", branch: "temp/twilio-compatibility-0.27"

Copy link
Contributor

@Quentinchampenois Quentinchampenois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

However there is a lot of missing tests compared to code and overrides added to the codebase

  • SMSGatewayService
  • User Extend
  • Archive User Job
  • Account show page

@Quentinchampenois Quentinchampenois merged commit 2e8a0ed into master Apr 29, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants