Skip to content
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

Feat: remove decidim-ludens module #592

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading