Skip to content

Commit

Permalink
feat: remove decidim-ludens module (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef-Rousset authored Sep 18, 2024
1 parent d183a2e commit 3373514
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 20 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 0 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class DeleteDecidimParticipativeActionsCompletedTable < ActiveRecord::Migration[6.1]
def change
drop_table :participative_actions_completed
end
end
10 changes: 1 addition & 9 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 3373514

Please sign in to comment.