-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install GuestMeetingRegistration module (#615)
* Install GuestMeetingRegistration module * Update registration module
- Loading branch information
Showing
15 changed files
with
944 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...18101341_create_guest_meeting_registration_settings.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240820021907) | ||
|
||
class CreateGuestMeetingRegistrationSettings < ActiveRecord::Migration[6.0] | ||
def change | ||
create_table :decidim_guest_meeting_registration_settings do |t| | ||
t.boolean :enable_guest_registration, default: false | ||
t.references :decidim_organization, foreign_key: true, index: { name: :index_guest_meeting_registration_settings_on_organization_id } | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
8 changes: 8 additions & 0 deletions
8
db/migrate/20241018101342_add_confirmation_settings.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240820021908) | ||
|
||
class AddConfirmationSettings < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :decidim_guest_meeting_registration_settings, :enable_registration_confirmation, :boolean, default: false, after: :enable_guest_registration | ||
end | ||
end |
18 changes: 18 additions & 0 deletions
18
...te_guest_meeting_registration_registration_requests.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240820021909) | ||
|
||
class CreateGuestMeetingRegistrationRegistrationRequests < ActiveRecord::Migration[6.0] | ||
def change | ||
create_table :decidim_guest_meeting_registration_registration_requests do |t| | ||
t.references :decidim_organization, foreign_key: true, index: { name: :index_guest_meeting_registration_rr_on_organization_id } | ||
t.references :decidim_meetings_meetings, foreign_key: true, index: { name: :index_guest_meeting_registration_mm_on_organization_id } | ||
t.integer :decidim_user_id, index: { name: :index_guest_meeting_registration_uid_on_organization_id } | ||
|
||
t.jsonb :form_data | ||
t.string :email, null: false | ||
t.string :name | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
9 changes: 9 additions & 0 deletions
9
...0241018101344_add_confirmation_to_register_requests.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240820021910) | ||
|
||
class AddConfirmationToRegisterRequests < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :decidim_guest_meeting_registration_registration_requests, :confirmation_token, :string, after: :name | ||
add_column :decidim_guest_meeting_registration_registration_requests, :confirmed_at, :datetime, after: :confirmation_token | ||
end | ||
end |
8 changes: 8 additions & 0 deletions
8
db/migrate/20241018101345_add_cancellation_settings.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240820021911) | ||
|
||
class AddCancellationSettings < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :decidim_guest_meeting_registration_settings, :enable_cancellation, :boolean, default: false, after: :enable_guest_registration | ||
end | ||
end |
8 changes: 8 additions & 0 deletions
8
...0241018101346_add_cancellation_to_register_requests.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240820021912) | ||
|
||
class AddCancellationToRegisterRequests < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :decidim_guest_meeting_registration_registration_requests, :cancellation_token, :string, after: :name | ||
end | ||
end |
8 changes: 8 additions & 0 deletions
8
...241018101347_add_session_token_to_register_requests.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240820021913) | ||
|
||
class AddSessionTokenToRegisterRequests < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :decidim_guest_meeting_registration_registration_requests, :session_token, :string, after: :name, unique: true | ||
end | ||
end |
8 changes: 8 additions & 0 deletions
8
...348_add_disable_normal_account_to_register_settings.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240820021914) | ||
|
||
class AddDisableNormalAccountToRegisterSettings < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :decidim_guest_meeting_registration_settings, :disable_account_confirmation, :boolean, default: false | ||
end | ||
end |
11 changes: 11 additions & 0 deletions
11
db/migrate/20241028094242_add_fields_to_meetings.decidim_guest_meeting_registration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
# This migration comes from decidim_guest_meeting_registration (originally 20240926224810) | ||
|
||
class AddFieldsToMeetings < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :decidim_meetings_meetings, :enable_guest_registration, :boolean, default: false | ||
add_column :decidim_meetings_meetings, :enable_registration_confirmation, :boolean, default: false | ||
add_column :decidim_meetings_meetings, :enable_cancellation, :boolean, default: false | ||
add_column :decidim_meetings_meetings, :disable_account_confirmation, :boolean, default: false | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.