-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add guest_meeting_registration gem and execute install steps #297
Open
Robin481
wants to merge
2
commits into
master
Choose a base branch
from
feature/anonymous_event_registration
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
...22104747_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/20241022104748_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
...0241022104750_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/20241022104751_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
...0241022104752_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
...241022104753_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
...754_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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Rubocop] reported by reviewdog 🐶
[Correctable] Layout/LineLength: Line is too long. [123/120]