Skip to content

Bump 0.31#46

Draft
Stef-Rousset wants to merge 12 commits intobump/0.29from
bump/0.31
Draft

Bump 0.31#46
Stef-Rousset wants to merge 12 commits intobump/0.29from
bump/0.31

Conversation

@Stef-Rousset
Copy link

@Stef-Rousset Stef-Rousset commented Jan 8, 2026

🎩 Description

This PR updates the module to 0.31 version of decidim.

Testing

Testing inactive users

  1. as a user, create a new account, and after confirming your account, log out.
  2. as an admin, go to settings in BO, click on "Data cleaner", check the checkbox "Enable inactive users deletion", set "Send email to inactive users before deletion" to 1 and "Delete inactive users x days after the mail" to 1
  3. in the terminal, in development_app folder, go to rails console with bundle exec rails c
  4. modify the current_sign_in_at for the user you created with these commands
user= Decidim::User.last
user.update!(current_sign_in_at: user.current_sign_in_at - 4.days)
  1. exit the rails console with command exit, and execute in development_app bundle exec rake decidim_cleaner:clean_inactive_users
  2. check in letter_opener that you have received an email for inactivity
  3. log in again in the application as the user you created, and then log out.
    In terminal execute bundle exec rake decidim_cleaner:clean_inactive_users
  4. check that the user hasn't been deleted by log in again in the app, and then log out.
  5. go to the rails console again and modify the user with these commands
user= Decidim::User.last
user.update!(current_sign_in_at: user.current_sign_in_at - 4.days, warning_date: user.warning_date - 2.days)
  1. exit the rails console, and execute again bundle exec rake decidim_cleaner:clean_inactive_users
  2. check in letter_opener that you have received an email informing you of the deletion of your account
  3. check in application that you can't log in anymore with the user you created

Testing deletion of admin logs

  1. as an admin, go to settings in BO, click on "Data cleaner", check the checkbox "Enable admin logs deletion", and set "Delete admin logs after" to 1
  2. in the terminal, in development_app folder, execute the command bundle exec rake decidim_cleaner:clean_admin_logs
  3. in the BO, go to Admin activity log and see that you don't have logs older than one day

📌 Related Issues

@Stef-Rousset Stef-Rousset changed the base branch from main to bump/0.29 January 13, 2026 13:19
@Stef-Rousset Stef-Rousset marked this pull request as ready for review January 13, 2026 13:20
@Stef-Rousset Stef-Rousset marked this pull request as draft January 14, 2026 08:46
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.

3 participants