diff --git a/Gemfile b/Gemfile index f926a6ee62..b47924a6d5 100644 --- a/Gemfile +++ b/Gemfile @@ -31,7 +31,6 @@ gem "decidim-friendly_signup", git: "https://github.com/OpenSourcePolitics/decid 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-homepage_interactive_map", git: "https://github.com/OpenSourcePolitics/decidim-module-homepage_interactive_map.git", branch: DECIDIM_BRANCH -gem "decidim-ludens", git: "https://github.com/OpenSourcePolitics/decidim-ludens.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 gem "decidim-spam_detection" diff --git a/Gemfile.lock b/Gemfile.lock index 7ad7136e18..342b261276 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,11 +1,3 @@ -GIT - remote: https://github.com/OpenSourcePolitics/decidim-ludens.git - revision: ca4c3266f64d8414030be63e2824c4d23c1f8d9c - branch: release/0.27-stable - specs: - decidim-ludens (1.0.0) - decidim-core (~> 0.27.0) - GIT remote: https://github.com/OpenSourcePolitics/decidim-module-extended_socio_demographic_authorization_handler.git revision: adec5e66cd07b5e5fdce5562453a7e8d6de88013 @@ -1183,7 +1175,6 @@ DEPENDENCIES decidim-half_signup! decidim-homepage_interactive_map! decidim-initiatives (~> 0.27.0) - decidim-ludens! decidim-phone_authorization_handler! decidim-simple_proposal! decidim-spam_detection diff --git a/README.md b/README.md index 723ad4ddf3..e7be32ef5f 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,6 @@ Here's the revised and improved formatting of the table: | [decidim-decidim_awesome](https://github.com/decidim-ice/decidim-module-decidim_awesome) | ✅ | An awesome module that includes: adding extra fields for proposals creation, fullscreen iframe component, image in rich text editor, custom redirections, etc. | | [decidim-friendly_signup](https://github.com/OpenSourcePolitics/decidim-module-friendly_signup) | ✅ | Drastically simplifies the user registration process by removing some fields. | | [decidim-homepage_interactive_map](https://github.com/OpenSourcePolitics/decidim-module-homepage_interactive_map) | ✅ | Adds an interactive map content block on the homepage to display a map of assemblies for geo-located participation. | -| [decidim-ludens](https://github.com/OpenSourcePolitics/decidim-ludens) | ✅ | Gamified tutorial in the admin back-office to help admins understand Decidim. | | [decidim-phone_authorization_handler](https://github.com/OpenSourcePolitics/decidim-module-phone_authorization_handler) | ✅ | Gathers phone numbers on specific participant actions. | | [decidim-spam_detection](https://github.com/OpenSourcePolitics/decidim-spam_detection) | ✅ | Adds a spam detection algorithm that periodically detects spam accounts. | | [decidim-term_customizer](https://github.com/mainio/decidim-module-term_customizer) | ✅ | Allows customization of translated strings. | diff --git a/db/migrate/20240916142540_delete_ludens_enabled_from_decidim_users.rb b/db/migrate/20240916142540_delete_ludens_enabled_from_decidim_users.rb new file mode 100644 index 0000000000..9b5368d1bf --- /dev/null +++ b/db/migrate/20240916142540_delete_ludens_enabled_from_decidim_users.rb @@ -0,0 +1,9 @@ +class DeleteLudensEnabledFromDecidimUsers < ActiveRecord::Migration[6.1] + def up + remove_column :decidim_users, :enable_ludens + end + + def down + add_column :decidim_users, :enable_ludens, :boolean + end +end diff --git a/db/migrate/20240916143432_delete_decidim_participative_actions_completed_table.rb b/db/migrate/20240916143432_delete_decidim_participative_actions_completed_table.rb new file mode 100644 index 0000000000..f907ff830d --- /dev/null +++ b/db/migrate/20240916143432_delete_decidim_participative_actions_completed_table.rb @@ -0,0 +1,5 @@ +class DeleteDecidimParticipativeActionsCompletedTable < ActiveRecord::Migration[6.1] + def change + drop_table :participative_actions_completed + end +end diff --git a/db/schema.rb b/db/schema.rb index 30d04b9f96..324b3627c7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2024_09_04_084430) do +ActiveRecord::Schema.define(version: 2024_09_16_143432) do # These are extensions that must be enabled in order to support this database enable_extension "ltree" @@ -1992,7 +1992,6 @@ t.integer "block_id" t.boolean "email_on_moderations", default: true t.integer "follows_count", default: 0, null: false - t.boolean "enable_ludens" t.jsonb "notification_settings", default: {} t.string "notifications_sending_frequency", default: "daily" t.datetime "digest_sent_at" @@ -2083,12 +2082,6 @@ t.index ["uid"], name: "index_oauth_applications_on_uid", unique: true end - create_table "participative_actions_completed", force: :cascade do |t| - t.string "decidim_participative_action", null: false - t.bigint "decidim_user_id", null: false - t.index ["decidim_user_id"], name: "index_participative_actions_completed_on_decidim_user_id" - end - create_table "request_environment_rules", id: :serial, force: :cascade do |t| t.integer "redirect_rule_id", null: false t.string "environment_key_name", null: false @@ -2177,5 +2170,4 @@ add_foreign_key "oauth_access_tokens", "decidim_users", column: "resource_owner_id" add_foreign_key "oauth_access_tokens", "oauth_applications", column: "application_id" add_foreign_key "oauth_applications", "decidim_organizations" - add_foreign_key "participative_actions_completed", "decidim_users" end