-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #458 from alecslupu-pfa/feature/add-guest-registra…
…tion Install decidim-guest_meeting_registration
- Loading branch information
Showing
13 changed files
with
305 additions
and
675 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
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
...17075023_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/20240917075024_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
...0240917075026_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/20240917075027_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
...0240917075028_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
...240917075029_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
...030_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 |
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.