Skip to content

Commit

Permalink
fix: Budget booth (#662)
Browse files Browse the repository at this point in the history
* fix: Allow to get verification code

* fix: Add task to clear users

* fix: Bump Gemfile
  • Loading branch information
Quentinchampenois authored Jan 20, 2025
1 parent fe1fd06 commit 175d151
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ gem "decidim-extended_socio_demographic_authorization_handler", git: "https://gi
gem "decidim-extra_user_fields", git: "https://github.com/OpenSourcePolitics/decidim-module-extra_user_fields.git", branch: "temp/twilio-compatibility-0.27"
gem "decidim-friendly_signup", git: "https://github.com/OpenSourcePolitics/decidim-module-friendly_signup.git"
gem "decidim-gallery", git: "https://github.com/OpenSourcePolitics/decidim-module-gallery.git", branch: "fix/nokogiri_deps"
gem "decidim-half_signup", git: "https://github.com/OpenSourcePolitics/decidim-module-half_sign_up.git", branch: "feature/half_signup_and_budgets_booth"
gem "decidim-half_signup", git: "https://github.com/OpenSourcePolitics/decidim-module-half_sign_up.git", branch: "refactor/half_signup_budgets_booth"
gem "decidim-homepage_interactive_map", git: "https://github.com/OpenSourcePolitics/decidim-module-homepage_interactive_map.git", branch: DECIDIM_BRANCH
gem "decidim-phone_authorization_handler", git: "https://github.com/OpenSourcePolitics/decidim-module_phone_authorization_handler", branch: "release/0.27-stable"
gem "decidim-simple_proposal", git: "https://github.com/OpenSourcePolitics/decidim-module-simple_proposal", branch: DECIDIM_BRANCH
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ GIT

GIT
remote: https://github.com/OpenSourcePolitics/decidim-module-half_sign_up.git
revision: 5bee2b5422e4131f933ad854ab872e049dcf7b54
branch: feature/half_signup_and_budgets_booth
revision: 03b2b148762131802f878f2e6e08b6fc917776f5
branch: refactor/half_signup_budgets_booth
specs:
decidim-half_signup (0.27.0)
countries (~> 5.1, >= 5.1.2)
Expand Down Expand Up @@ -1235,4 +1235,4 @@ RUBY VERSION
ruby 3.0.6p216

BUNDLED WITH
2.5.10
2.5.22
1 change: 1 addition & 0 deletions config/initializers/half_signup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
config.default_countries = ENV.fetch("AVAILABLE_LOCALES", "fr").split(",").map(&:to_sym)

config.skip_csrf = ENV.fetch("HALF_SIGNUP_SKIP_CSRF", "false") == "true"
config.show_sms_verification_code = ENV.fetch("HALF_SIGNUP_SHOW_SMS_VERIFICATION_CODE", "false") == "true"
end
5 changes: 5 additions & 0 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,8 @@
cron: '0 0 3 * * *'
class: Decidim::PapertrailVersionJob
queue: default
ArchiveUsersPhone:
cron: '0 <%= Random.rand(0..59) %> <%= Random.rand(6..8) %> * * *' # Run randomly between 06:00 and 08:59
class: ArchiveUsersPhoneJob
queue: default
enabled: false

0 comments on commit 175d151

Please sign in to comment.