decidim-conferences 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/admin/decidim_conferences_manifest.js +1 -0
  3. data/app/assets/images/decidim/conferences/conference.svg +2 -5
  4. data/app/cells/decidim/conferences/linked_participatory_spaces_cell.rb +3 -0
  5. data/app/cells/decidim/conferences/{join_conference_button/show.erb → registration_type/join_conference.erb} +6 -7
  6. data/app/cells/decidim/conferences/{join_conference_button → registration_type}/registration_confirm.erb +2 -2
  7. data/app/cells/decidim/conferences/registration_type/show.erb +16 -0
  8. data/app/cells/decidim/conferences/registration_type_cell.rb +51 -0
  9. data/app/commands/decidim/conferences/admin/confirm_conference_registration.rb +75 -0
  10. data/app/commands/decidim/conferences/admin/create_conference.rb +1 -1
  11. data/app/commands/decidim/conferences/admin/create_registration_type.rb +77 -0
  12. data/app/commands/decidim/conferences/admin/destroy_registration_type.rb +56 -0
  13. data/app/commands/decidim/conferences/admin/invite_user_to_join_conference.rb +3 -2
  14. data/app/commands/decidim/conferences/admin/publish_registration_type.rb +36 -0
  15. data/app/commands/decidim/conferences/admin/send_conference_diplomas.rb +48 -0
  16. data/app/commands/decidim/conferences/admin/unpublish_registration_type.rb +36 -0
  17. data/app/commands/decidim/conferences/admin/update_conference.rb +2 -2
  18. data/app/commands/decidim/conferences/admin/update_diploma.rb +47 -0
  19. data/app/commands/decidim/conferences/admin/update_partner.rb +1 -1
  20. data/app/commands/decidim/conferences/admin/update_registration_type.rb +74 -0
  21. data/app/commands/decidim/conferences/join_conference.rb +21 -9
  22. data/app/commands/decidim/conferences/leave_conference.rb +5 -3
  23. data/app/controllers/decidim/conferences/admin/conference_registrations_controller.rb +21 -0
  24. data/app/controllers/decidim/conferences/admin/conferences_controller.rb +0 -9
  25. data/app/controllers/decidim/conferences/admin/diplomas_controller.rb +62 -0
  26. data/app/controllers/decidim/conferences/admin/registration_type_publications_controller.rb +53 -0
  27. data/app/controllers/decidim/conferences/admin/registration_types_controller.rb +84 -0
  28. data/app/controllers/decidim/conferences/application_controller.rb +2 -0
  29. data/app/controllers/decidim/conferences/conference_registrations_controller.rb +6 -2
  30. data/app/controllers/decidim/conferences/conferences_controller.rb +4 -0
  31. data/app/controllers/decidim/conferences/registration_types_controller.rb +39 -0
  32. data/app/events/decidim/conferences/conference_registration_notification_event.rb +21 -0
  33. data/app/forms/decidim/conferences/admin/conference_form.rb +5 -2
  34. data/app/forms/decidim/conferences/admin/conference_registration_invite_form.rb +15 -0
  35. data/app/forms/decidim/conferences/admin/diploma_form.rb +24 -0
  36. data/app/forms/decidim/conferences/admin/registration_type_form.rb +44 -0
  37. data/app/helpers/decidim/conferences/conference_helper.rb +15 -0
  38. data/app/jobs/decidim/conferences/admin/send_conference_diploma_job.rb +20 -0
  39. data/app/jobs/decidim/conferences/upcoming_conference_notification_job.rb +1 -1
  40. data/app/mailers/decidim/conferences/admin/invite_join_conference_mailer.rb +2 -1
  41. data/app/mailers/decidim/conferences/admin/send_conference_diploma_mailer.rb +48 -0
  42. data/app/mailers/decidim/conferences/conference_registration_mailer.rb +16 -1
  43. data/app/models/decidim/conference.rb +12 -0
  44. data/app/models/decidim/conference_meeting.rb +2 -0
  45. data/app/models/decidim/conferences/conference_invite.rb +1 -0
  46. data/app/models/decidim/conferences/conference_meeting_registration_type.rb +10 -0
  47. data/app/models/decidim/conferences/conference_registration.rb +11 -0
  48. data/app/models/decidim/conferences/registration_type.rb +25 -0
  49. data/app/permissions/decidim/conferences/permissions.rb +19 -12
  50. data/app/presenters/decidim/conference_speaker_presenter.rb +4 -0
  51. data/app/presenters/decidim/conferences/admin_log/conference_registration_presenter.rb +43 -0
  52. data/app/presenters/decidim/conferences/admin_log/conferences_presenter.rb +4 -2
  53. data/app/presenters/decidim/conferences/admin_log/partner_presenter.rb +1 -1
  54. data/app/presenters/decidim/conferences/admin_log/registration_type_presenter.rb +45 -0
  55. data/app/serializers/decidim/conferences/conference_registration_serializer.rb +4 -0
  56. data/app/serializers/decidim/conferences/data_portability_conference_invite_serializer.rb +4 -0
  57. data/app/serializers/decidim/conferences/data_portability_conference_registration_serializer.rb +4 -0
  58. data/app/uploaders/decidim/conferences/diploma_uploader.rb +12 -0
  59. data/app/views/decidim/conferences/admin/conference_invites/_form.html.erb +8 -0
  60. data/app/views/decidim/conferences/admin/conference_invites/index.html.erb +4 -0
  61. data/app/views/decidim/conferences/admin/conference_registrations/index.html.erb +16 -0
  62. data/app/views/decidim/conferences/admin/conferences/edit.html.erb +0 -4
  63. data/app/views/decidim/conferences/admin/diplomas/_form.html.erb +31 -0
  64. data/app/views/decidim/conferences/admin/diplomas/edit.html.erb +7 -0
  65. data/app/views/decidim/conferences/admin/invite_join_conference_mailer/invite.html.erb +2 -2
  66. data/app/views/decidim/conferences/admin/registration_types/_form.html.erb +30 -0
  67. data/app/views/decidim/conferences/admin/registration_types/edit.html.erb +7 -0
  68. data/app/views/decidim/conferences/admin/registration_types/index.html.erb +65 -0
  69. data/app/views/decidim/conferences/admin/registration_types/new.html.erb +7 -0
  70. data/app/views/decidim/conferences/admin/send_conference_diploma_mailer/diploma.html.erb +1 -0
  71. data/app/views/decidim/conferences/admin/send_conference_diploma_mailer/diploma_user.html.erb +24 -0
  72. data/app/views/decidim/conferences/conference_program/_program_meeting.html.erb +1 -2
  73. data/app/views/decidim/conferences/conference_registration_mailer/confirmation.html.erb +9 -1
  74. data/app/views/decidim/conferences/conference_registration_mailer/pending_validation.html.erb +11 -0
  75. data/app/views/decidim/conferences/conferences/index.html.erb +2 -2
  76. data/app/views/decidim/conferences/conferences/show.html.erb +10 -24
  77. data/app/views/decidim/conferences/registration_types/index.html.erb +30 -0
  78. data/app/views/decidim/conferences/shared/_conference_user_login.html.erb +14 -0
  79. data/app/views/layouts/decidim/_conference_hero.html.erb +5 -3
  80. data/app/views/layouts/decidim/_conferences_nav.html.erb +45 -89
  81. data/app/views/layouts/decidim/admin/conference.html.erb +26 -8
  82. data/app/views/layouts/decidim/diploma.html.erb +11 -0
  83. data/config/initializers/wicked_pdf.rb +23 -0
  84. data/config/locales/ca.yml +125 -19
  85. data/config/locales/de.yml +127 -21
  86. data/config/locales/en.yml +127 -21
  87. data/config/locales/es-PY.yml +125 -19
  88. data/config/locales/es.yml +125 -19
  89. data/config/locales/eu.yml +127 -21
  90. data/config/locales/fi-pl.yml +128 -22
  91. data/config/locales/fi.yml +128 -22
  92. data/config/locales/fr.yml +127 -21
  93. data/config/locales/gl.yml +126 -20
  94. data/config/locales/hu.yml +127 -21
  95. data/config/locales/id-ID.yml +125 -20
  96. data/config/locales/it.yml +127 -21
  97. data/config/locales/nl.yml +126 -20
  98. data/config/locales/pl.yml +127 -24
  99. data/config/locales/pt-BR.yml +125 -19
  100. data/config/locales/pt.yml +126 -20
  101. data/config/locales/sv.yml +126 -20
  102. data/config/locales/tr-TR.yml +125 -22
  103. data/db/migrate/20181023142325_add_conference_registration_types.rb +21 -0
  104. data/db/migrate/20181030090202_add_reference_registration_type_to_conference_registration.rb +9 -0
  105. data/db/migrate/20181030153614_add_registration_type_to_conference_invite.rb +8 -0
  106. data/db/migrate/20181106092826_add_diploma_fields_to_conference.rb +11 -0
  107. data/db/migrate/20181123124424_make_price_optional_conference_registration_type.rb +7 -0
  108. data/lib/decidim/conferences/admin_engine.rb +16 -2
  109. data/lib/decidim/conferences/engine.rb +8 -4
  110. data/lib/decidim/conferences/participatory_space.rb +11 -0
  111. data/lib/decidim/conferences/test/factories.rb +36 -0
  112. data/lib/decidim/conferences/version.rb +1 -1
  113. metadata +92 -23
  114. data/app/cells/decidim/conferences/join_conference_button_cell.rb +0 -42
  115. data/app/views/decidim/conferences/conferences/_conferences_sidebar.html.erb +0 -11
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ class AddConferenceRegistrationTypes < ActiveRecord::Migration[5.2]
4
+ def change
5
+ create_table :decidim_conferences_registration_types do |t|
6
+ t.references :decidim_conference, index: { name: "idx_registration_types_on_decidim_conference_id" }
7
+ t.jsonb :title, null: false
8
+ t.jsonb :description, null: false
9
+ t.decimal :price, null: false, default: 0, precision: 8, scale: 2
10
+ t.integer :weight, null: false, default: 0
11
+ t.datetime :published_at, index: true
12
+
13
+ t.timestamps
14
+ end
15
+
16
+ create_table :decidim_conferences_conference_meeting_registration_types do |t|
17
+ t.belongs_to :registration_type, null: false, index: { name: "index_meetings_on_decidim_registration_type_id" }
18
+ t.belongs_to :conference_meeting, null: false, index: { name: "index_registrations_on_decidim_conference_meeting_id" }
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ class AddReferenceRegistrationTypeToConferenceRegistration < ActiveRecord::Migration[5.2]
4
+ def change
5
+ add_column :decidim_conferences_conference_registrations, :decidim_conference_registration_type_id,
6
+ :integer, index: { name: "idx_conference_registration_to_registration_type_id" }
7
+ add_column :decidim_conferences_conference_registrations, :confirmed_at, :datetime, index: true
8
+ end
9
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ class AddRegistrationTypeToConferenceInvite < ActiveRecord::Migration[5.2]
4
+ def change
5
+ add_column :decidim_conferences_conference_invites, :decidim_conference_registration_type_id,
6
+ :integer, index: { name: "idx_conference_invite_to_registration_type_id" }
7
+ end
8
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ class AddDiplomaFieldsToConference < ActiveRecord::Migration[5.2]
4
+ def change
5
+ add_column :decidim_conferences, :signature_name, :string
6
+ add_column :decidim_conferences, :signature, :string
7
+ add_column :decidim_conferences, :main_logo, :string
8
+ add_column :decidim_conferences, :sign_date, :date, index: true
9
+ add_column :decidim_conferences, :diploma_sent_at, :datetime, index: true
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class MakePriceOptionalConferenceRegistrationType < ActiveRecord::Migration[5.2]
4
+ def change
5
+ change_column_null(:decidim_conferences_registration_types, :price, true)
6
+ end
7
+ end
@@ -14,18 +14,32 @@ module Decidim
14
14
  paths["lib/tasks"] = nil
15
15
 
16
16
  routes do
17
- resources :conferences, param: :slug, except: :show do
17
+ resources :conferences, param: :slug, except: [:show, :destroy] do
18
18
  resource :publish, controller: "conference_publications", only: [:create, :destroy]
19
19
  resources :copies, controller: "conference_copies", only: [:new, :create]
20
20
  resources :speakers, controller: "conference_speakers"
21
21
  resources :partners, controller: "partners", except: [:show]
22
22
  resources :media_links, controller: "media_links"
23
+ resources :registration_types, controller: "registration_types" do
24
+ resource :publish, controller: "registration_type_publications", only: [:create, :destroy]
25
+ collection do
26
+ get :conference_meetings
27
+ end
28
+ end
23
29
  resources :conference_invites, only: [:index, :new, :create]
24
30
  resources :conference_registrations, only: :index do
31
+ member do
32
+ post :confirm
33
+ end
25
34
  collection do
26
35
  get :export
27
36
  end
28
37
  end
38
+ resource :diploma, only: [:edit, :update] do
39
+ member do
40
+ post :send, to: "diplomas#send_diplomas"
41
+ end
42
+ end
29
43
  resources :user_roles, controller: "conference_user_roles" do
30
44
  member do
31
45
  post :resend_invitation, to: "conference_user_roles#resend_invitation"
@@ -75,7 +89,7 @@ module Decidim
75
89
  Decidim.menu :admin_menu do |menu|
76
90
  menu.item I18n.t("menu.conferences", scope: "decidim.admin"),
77
91
  decidim_admin_conferences.conferences_path,
78
- icon_name: "dial",
92
+ icon_name: "microphone",
79
93
  position: 3.5,
80
94
  active: :inclusive,
81
95
  if: allowed_to?(:enter, :space_area, space_name: :conferences)
@@ -3,6 +3,7 @@
3
3
  require "rails"
4
4
  require "active_support/all"
5
5
  require "decidim/core"
6
+ require "wicked_pdf"
6
7
 
7
8
  module Decidim
8
9
  module Conferences
@@ -22,13 +23,16 @@ module Decidim
22
23
  }, constraints: { conference_id: /[0-9]+/ }
23
24
 
24
25
  resources :conferences, only: [:index, :show], param: :slug, path: "conferences" do
26
+ get :user, to: "conferences#user_diploma"
25
27
  resources :conference_speakers, only: :index, path: "speakers"
26
28
  resources :conference_program, only: :show, path: "program"
27
29
  resource :conference_widget, only: :show, path: "embed"
28
- resource :conference_registration, only: [:create, :destroy] do
29
- collection do
30
- get :create
31
- get :decline_invitation
30
+ resources :registration_types, only: :index, path: "registration" do
31
+ resource :conference_registration, only: [:create, :destroy] do
32
+ collection do
33
+ get :create
34
+ get :decline_invitation
35
+ end
32
36
  end
33
37
  end
34
38
  resources :media, only: :index
@@ -169,6 +169,17 @@ Decidim.register_participatory_space(:conferences) do |participatory_space|
169
169
  )
170
170
  end
171
171
 
172
+ 5.times do
173
+ Decidim::Conferences::RegistrationType.create!(
174
+ title: Decidim::Faker::Localized.sentence(2),
175
+ description: Decidim::Faker::Localized.sentence(5),
176
+ weight: Faker::Number.between(1, 10),
177
+ price: Faker::Number.between(1, 300),
178
+ published_at: 2.weeks.ago,
179
+ conference: conference
180
+ )
181
+ end
182
+
172
183
  Decidim.component_manifests.each do |manifest|
173
184
  manifest.seed!(conference.reload)
174
185
  end
@@ -35,6 +35,13 @@ FactoryBot.define do
35
35
  trait :published do
36
36
  published_at { Time.current }
37
37
  end
38
+
39
+ trait :diploma do
40
+ main_logo { Decidim::Dev.test_file("avatar.jpg", "image/jpeg") }
41
+ signature { Decidim::Dev.test_file("avatar.jpg", "image/jpeg") }
42
+ sign_date { 5.days.from_now }
43
+ signature_name { "Signature name" }
44
+ end
38
45
  end
39
46
 
40
47
  factory :conference_user_role, class: "Decidim::ConferenceUserRole" do
@@ -104,9 +111,37 @@ FactoryBot.define do
104
111
  end
105
112
  end
106
113
 
114
+ factory :registration_type, class: "Decidim::Conferences::RegistrationType" do
115
+ conference
116
+
117
+ title { generate_localized_title }
118
+ description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
119
+ published_at { Time.current }
120
+ price { Faker::Number.between(1, 300) }
121
+ weight { Faker::Number.between(1, 10) }
122
+
123
+ trait :unpublished do
124
+ published_at { nil }
125
+ end
126
+
127
+ trait :published do
128
+ published_at { Time.current }
129
+ end
130
+ end
131
+
107
132
  factory :conference_registration, class: "Decidim::Conferences::ConferenceRegistration" do
108
133
  conference
109
134
  user
135
+ registration_type
136
+ confirmed_at { Time.current }
137
+
138
+ trait :confirmed do
139
+ confirmed_at { Time.current }
140
+ end
141
+
142
+ trait :unconfirmed do
143
+ confirmed_at { nil }
144
+ end
110
145
  end
111
146
 
112
147
  factory :conference_invite, class: "Decidim::Conferences::ConferenceInvite" do
@@ -115,6 +150,7 @@ FactoryBot.define do
115
150
  sent_at { Time.current - 1.day }
116
151
  accepted_at { nil }
117
152
  rejected_at { nil }
153
+ registration_type
118
154
 
119
155
  trait :accepted do
120
156
  accepted_at { Time.current }
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-conferences version.
5
5
  module Conferences
6
6
  def self.version
7
- "0.15.2"
7
+ "0.16.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,71 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-conferences
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-08 00:00:00.000000000 Z
11
+ date: 2019-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.15.a
19
+ version: 0.16.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.15.a
26
+ version: 0.16.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-meetings
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.15.a
33
+ version: 0.16.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.15.a
40
+ version: 0.16.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: wicked_pdf
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: wkhtmltopdf-binary
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: decidim-admin
43
71
  requirement: !ruby/object:Gem::Requirement
44
72
  requirements:
45
- - - "~>"
73
+ - - '='
46
74
  - !ruby/object:Gem::Version
47
- version: 0.15.a
75
+ version: 0.16.0
48
76
  type: :development
49
77
  prerelease: false
50
78
  version_requirements: !ruby/object:Gem::Requirement
51
79
  requirements:
52
- - - "~>"
80
+ - - '='
53
81
  - !ruby/object:Gem::Version
54
- version: 0.15.a
82
+ version: 0.16.0
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: decidim-dev
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
- - - "~>"
87
+ - - '='
60
88
  - !ruby/object:Gem::Version
61
- version: 0.15.a
89
+ version: 0.16.0
62
90
  type: :development
63
91
  prerelease: false
64
92
  version_requirements: !ruby/object:Gem::Requirement
65
93
  requirements:
66
- - - "~>"
94
+ - - '='
67
95
  - !ruby/object:Gem::Version
68
- version: 0.15.a
96
+ version: 0.16.0
69
97
  description: Conferences component for decidim.
70
98
  email:
71
99
  - isaac.mg@coditramuntana.com
@@ -92,9 +120,6 @@ files:
92
120
  - app/cells/decidim/conferences/conference_speaker_cell.rb
93
121
  - app/cells/decidim/conferences/content_blocks/highlighted_conferences/show.erb
94
122
  - app/cells/decidim/conferences/content_blocks/highlighted_conferences_cell.rb
95
- - app/cells/decidim/conferences/join_conference_button/registration_confirm.erb
96
- - app/cells/decidim/conferences/join_conference_button/show.erb
97
- - app/cells/decidim/conferences/join_conference_button_cell.rb
98
123
  - app/cells/decidim/conferences/linked_participatory_spaces/show.erb
99
124
  - app/cells/decidim/conferences/linked_participatory_spaces_cell.rb
100
125
  - app/cells/decidim/conferences/media_link/show.erb
@@ -105,25 +130,37 @@ files:
105
130
  - app/cells/decidim/conferences/photo_cell.rb
106
131
  - app/cells/decidim/conferences/photos_list/show.erb
107
132
  - app/cells/decidim/conferences/photos_list_cell.rb
133
+ - app/cells/decidim/conferences/registration_type/join_conference.erb
134
+ - app/cells/decidim/conferences/registration_type/registration_confirm.erb
135
+ - app/cells/decidim/conferences/registration_type/show.erb
136
+ - app/cells/decidim/conferences/registration_type_cell.rb
137
+ - app/commands/decidim/conferences/admin/confirm_conference_registration.rb
108
138
  - app/commands/decidim/conferences/admin/copy_conference.rb
109
139
  - app/commands/decidim/conferences/admin/create_conference.rb
110
140
  - app/commands/decidim/conferences/admin/create_conference_admin.rb
111
141
  - app/commands/decidim/conferences/admin/create_conference_speaker.rb
112
142
  - app/commands/decidim/conferences/admin/create_media_link.rb
113
143
  - app/commands/decidim/conferences/admin/create_partner.rb
144
+ - app/commands/decidim/conferences/admin/create_registration_type.rb
114
145
  - app/commands/decidim/conferences/admin/destroy_conference_admin.rb
115
146
  - app/commands/decidim/conferences/admin/destroy_conference_speaker.rb
116
147
  - app/commands/decidim/conferences/admin/destroy_media_link.rb
117
148
  - app/commands/decidim/conferences/admin/destroy_partner.rb
149
+ - app/commands/decidim/conferences/admin/destroy_registration_type.rb
118
150
  - app/commands/decidim/conferences/admin/export_conference_registrations.rb
119
151
  - app/commands/decidim/conferences/admin/invite_user_to_join_conference.rb
120
152
  - app/commands/decidim/conferences/admin/publish_conference.rb
153
+ - app/commands/decidim/conferences/admin/publish_registration_type.rb
154
+ - app/commands/decidim/conferences/admin/send_conference_diplomas.rb
121
155
  - app/commands/decidim/conferences/admin/unpublish_conference.rb
156
+ - app/commands/decidim/conferences/admin/unpublish_registration_type.rb
122
157
  - app/commands/decidim/conferences/admin/update_conference.rb
123
158
  - app/commands/decidim/conferences/admin/update_conference_admin.rb
124
159
  - app/commands/decidim/conferences/admin/update_conference_speaker.rb
160
+ - app/commands/decidim/conferences/admin/update_diploma.rb
125
161
  - app/commands/decidim/conferences/admin/update_media_link.rb
126
162
  - app/commands/decidim/conferences/admin/update_partner.rb
163
+ - app/commands/decidim/conferences/admin/update_registration_type.rb
127
164
  - app/commands/decidim/conferences/decline_invitation.rb
128
165
  - app/commands/decidim/conferences/join_conference.rb
129
166
  - app/commands/decidim/conferences/leave_conference.rb
@@ -144,10 +181,13 @@ files:
144
181
  - app/controllers/decidim/conferences/admin/conference_speakers_controller.rb
145
182
  - app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
146
183
  - app/controllers/decidim/conferences/admin/conferences_controller.rb
184
+ - app/controllers/decidim/conferences/admin/diplomas_controller.rb
147
185
  - app/controllers/decidim/conferences/admin/exports_controller.rb
148
186
  - app/controllers/decidim/conferences/admin/media_links_controller.rb
149
187
  - app/controllers/decidim/conferences/admin/moderations_controller.rb
150
188
  - app/controllers/decidim/conferences/admin/partners_controller.rb
189
+ - app/controllers/decidim/conferences/admin/registration_type_publications_controller.rb
190
+ - app/controllers/decidim/conferences/admin/registration_types_controller.rb
151
191
  - app/controllers/decidim/conferences/application_controller.rb
152
192
  - app/controllers/decidim/conferences/conference_program_controller.rb
153
193
  - app/controllers/decidim/conferences/conference_registrations_controller.rb
@@ -155,6 +195,8 @@ files:
155
195
  - app/controllers/decidim/conferences/conference_widgets_controller.rb
156
196
  - app/controllers/decidim/conferences/conferences_controller.rb
157
197
  - app/controllers/decidim/conferences/media_controller.rb
198
+ - app/controllers/decidim/conferences/registration_types_controller.rb
199
+ - app/events/decidim/conferences/conference_registration_notification_event.rb
158
200
  - app/events/decidim/conferences/conference_registrations_enabled_event.rb
159
201
  - app/events/decidim/conferences/conference_registrations_over_percentage_event.rb
160
202
  - app/events/decidim/conferences/upcoming_conference_event.rb
@@ -164,15 +206,20 @@ files:
164
206
  - app/forms/decidim/conferences/admin/conference_registration_invite_form.rb
165
207
  - app/forms/decidim/conferences/admin/conference_speaker_form.rb
166
208
  - app/forms/decidim/conferences/admin/conference_user_role_form.rb
209
+ - app/forms/decidim/conferences/admin/diploma_form.rb
167
210
  - app/forms/decidim/conferences/admin/media_link_form.rb
168
211
  - app/forms/decidim/conferences/admin/partner_form.rb
212
+ - app/forms/decidim/conferences/admin/registration_type_form.rb
169
213
  - app/helpers/decidim/conferences/admin/conference_speakers_helper.rb
170
214
  - app/helpers/decidim/conferences/admin/conferences_helper.rb
215
+ - app/helpers/decidim/conferences/conference_helper.rb
171
216
  - app/helpers/decidim/conferences/conference_program_helper.rb
172
217
  - app/helpers/decidim/conferences/media_attachments_helper.rb
173
218
  - app/helpers/decidim/conferences/partners_helper.rb
219
+ - app/jobs/decidim/conferences/admin/send_conference_diploma_job.rb
174
220
  - app/jobs/decidim/conferences/upcoming_conference_notification_job.rb
175
221
  - app/mailers/decidim/conferences/admin/invite_join_conference_mailer.rb
222
+ - app/mailers/decidim/conferences/admin/send_conference_diploma_mailer.rb
176
223
  - app/mailers/decidim/conferences/conference_registration_mailer.rb
177
224
  - app/models/decidim/conference.rb
178
225
  - app/models/decidim/conference_meeting.rb
@@ -180,19 +227,23 @@ files:
180
227
  - app/models/decidim/conference_speaker_conference_meeting.rb
181
228
  - app/models/decidim/conference_user_role.rb
182
229
  - app/models/decidim/conferences/conference_invite.rb
230
+ - app/models/decidim/conferences/conference_meeting_registration_type.rb
183
231
  - app/models/decidim/conferences/conference_registration.rb
184
232
  - app/models/decidim/conferences/media_link.rb
185
233
  - app/models/decidim/conferences/partner.rb
234
+ - app/models/decidim/conferences/registration_type.rb
186
235
  - app/permissions/decidim/conferences/permissions.rb
187
236
  - app/presenters/decidim/admin/conference_speaker_presenter.rb
188
237
  - app/presenters/decidim/conference_meeting_presenter.rb
189
238
  - app/presenters/decidim/conference_speaker_presenter.rb
190
239
  - app/presenters/decidim/conferences/admin_log/conference_invite_presenter.rb
240
+ - app/presenters/decidim/conferences/admin_log/conference_registration_presenter.rb
191
241
  - app/presenters/decidim/conferences/admin_log/conference_speaker_presenter.rb
192
242
  - app/presenters/decidim/conferences/admin_log/conferences_presenter.rb
193
243
  - app/presenters/decidim/conferences/admin_log/conferences_user_role_presenter.rb
194
244
  - app/presenters/decidim/conferences/admin_log/media_link_presenter.rb
195
245
  - app/presenters/decidim/conferences/admin_log/partner_presenter.rb
246
+ - app/presenters/decidim/conferences/admin_log/registration_type_presenter.rb
196
247
  - app/presenters/decidim/conferences/admin_log/value_types/role_presenter.rb
197
248
  - app/presenters/decidim/conferences/conference_invite_presenter.rb
198
249
  - app/presenters/decidim/conferences/conference_stats_presenter.rb
@@ -213,6 +264,7 @@ files:
213
264
  - app/serializers/decidim/conferences/conference_registration_serializer.rb
214
265
  - app/serializers/decidim/conferences/data_portability_conference_invite_serializer.rb
215
266
  - app/serializers/decidim/conferences/data_portability_conference_registration_serializer.rb
267
+ - app/uploaders/decidim/conferences/diploma_uploader.rb
216
268
  - app/uploaders/decidim/conferences/partner_logo_uploader.rb
217
269
  - app/views/decidim/conference_speakers/_conference_speaker.html.erb
218
270
  - app/views/decidim/conferences/_conference.html.erb
@@ -235,6 +287,8 @@ files:
235
287
  - app/views/decidim/conferences/admin/conferences/edit.html.erb
236
288
  - app/views/decidim/conferences/admin/conferences/index.html.erb
237
289
  - app/views/decidim/conferences/admin/conferences/new.html.erb
290
+ - app/views/decidim/conferences/admin/diplomas/_form.html.erb
291
+ - app/views/decidim/conferences/admin/diplomas/edit.html.erb
238
292
  - app/views/decidim/conferences/admin/invite_join_conference_mailer/invite.html.erb
239
293
  - app/views/decidim/conferences/admin/media_links/_form.html.erb
240
294
  - app/views/decidim/conferences/admin/media_links/edit.html.erb
@@ -244,13 +298,19 @@ files:
244
298
  - app/views/decidim/conferences/admin/partners/edit.html.erb
245
299
  - app/views/decidim/conferences/admin/partners/index.html.erb
246
300
  - app/views/decidim/conferences/admin/partners/new.html.erb
301
+ - app/views/decidim/conferences/admin/registration_types/_form.html.erb
302
+ - app/views/decidim/conferences/admin/registration_types/edit.html.erb
303
+ - app/views/decidim/conferences/admin/registration_types/index.html.erb
304
+ - app/views/decidim/conferences/admin/registration_types/new.html.erb
305
+ - app/views/decidim/conferences/admin/send_conference_diploma_mailer/diploma.html.erb
306
+ - app/views/decidim/conferences/admin/send_conference_diploma_mailer/diploma_user.html.erb
247
307
  - app/views/decidim/conferences/conference_program/_program_item.html.erb
248
308
  - app/views/decidim/conferences/conference_program/_program_meeting.html.erb
249
309
  - app/views/decidim/conferences/conference_program/show.html.erb
250
310
  - app/views/decidim/conferences/conference_registration_mailer/confirmation.html.erb
311
+ - app/views/decidim/conferences/conference_registration_mailer/pending_validation.html.erb
251
312
  - app/views/decidim/conferences/conference_speakers/index.html.erb
252
313
  - app/views/decidim/conferences/conference_widgets/show.html.erb
253
- - app/views/decidim/conferences/conferences/_conferences_sidebar.html.erb
254
314
  - app/views/decidim/conferences/conferences/_partners.html.erb
255
315
  - app/views/decidim/conferences/conferences/_promoted_conference.html.erb
256
316
  - app/views/decidim/conferences/conferences/_statistics.html.erb
@@ -258,6 +318,8 @@ files:
258
318
  - app/views/decidim/conferences/conferences/show.html.erb
259
319
  - app/views/decidim/conferences/media/_attachments.html.erb
260
320
  - app/views/decidim/conferences/media/index.html.erb
321
+ - app/views/decidim/conferences/registration_types/index.html.erb
322
+ - app/views/decidim/conferences/shared/_conference_user_login.html.erb
261
323
  - app/views/devise/mailer/join_conference.html.erb
262
324
  - app/views/devise/mailer/join_conference.text.erb
263
325
  - app/views/layouts/decidim/_conference_hero.html.erb
@@ -265,6 +327,8 @@ files:
265
327
  - app/views/layouts/decidim/admin/conference.html.erb
266
328
  - app/views/layouts/decidim/admin/conferences.html.erb
267
329
  - app/views/layouts/decidim/conference.html.erb
330
+ - app/views/layouts/decidim/diploma.html.erb
331
+ - config/initializers/wicked_pdf.rb
268
332
  - config/locales/ca.yml
269
333
  - config/locales/de.yml
270
334
  - config/locales/en.yml
@@ -294,6 +358,11 @@ files:
294
358
  - db/migrate/20181004144411_add_conferences_partner.rb
295
359
  - db/migrate/20181010133930_add_relation_between_speaker_and_meeting.rb
296
360
  - db/migrate/20181015100301_add_conference_media_link.rb
361
+ - db/migrate/20181023142325_add_conference_registration_types.rb
362
+ - db/migrate/20181030090202_add_reference_registration_type_to_conference_registration.rb
363
+ - db/migrate/20181030153614_add_registration_type_to_conference_invite.rb
364
+ - db/migrate/20181106092826_add_diploma_fields_to_conference.rb
365
+ - db/migrate/20181123124424_make_price_optional_conference_registration_type.rb
297
366
  - db/seeds/Exampledocument.pdf
298
367
  - db/seeds/city.jpeg
299
368
  - db/seeds/city2.jpeg
@@ -326,7 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
395
  version: '0'
327
396
  requirements: []
328
397
  rubyforge_project:
329
- rubygems_version: 2.7.7
398
+ rubygems_version: 2.7.6
330
399
  signing_key:
331
400
  specification_version: 4
332
401
  summary: Decidim conferences module