decidim-initiatives 0.24.0 → 0.25.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/initiatives/content_blocks/highlighted_initiatives/show.erb +2 -0
  3. data/app/cells/decidim/initiatives/initiative_m_cell.rb +1 -3
  4. data/app/commands/decidim/initiatives/attachment_methods.rb +2 -1
  5. data/app/controllers/concerns/decidim/initiatives/admin/initiative_admin.rb +7 -0
  6. data/app/controllers/decidim/initiatives/admin/initiatives_controller.rb +7 -1
  7. data/app/controllers/decidim/initiatives/admin/initiatives_permissions_controller.rb +27 -0
  8. data/app/controllers/decidim/initiatives/admin/initiatives_types_controller.rb +0 -2
  9. data/app/controllers/decidim/initiatives/initiatives_controller.rb +4 -0
  10. data/app/controllers/decidim/initiatives/versions_controller.rb +6 -0
  11. data/app/forms/decidim/initiatives/admin/initiative_type_form.rb +5 -1
  12. data/app/forms/decidim/initiatives/initiative_form.rb +2 -1
  13. data/app/helpers/decidim/initiatives/admin/initiatives_helper.rb +25 -0
  14. data/app/jobs/decidim/initiatives/export_initiatives_job.rb +12 -5
  15. data/app/models/decidim/initiative.rb +21 -15
  16. data/app/models/decidim/initiatives_type.rb +3 -1
  17. data/app/packs/entrypoints/decidim_initiatives.js +6 -0
  18. data/app/packs/entrypoints/decidim_initiatives_admin.js +3 -0
  19. data/app/packs/entrypoints/decidim_initiatives_initiatives_votes.js +1 -0
  20. data/app/packs/entrypoints/decidim_initiatives_initiatives_votes.scss +1 -0
  21. data/app/packs/entrypoints/decidim_initiatives_print.js +1 -0
  22. data/app/packs/entrypoints/decidim_initiatives_print.scss +1 -0
  23. data/app/{assets/images/decidim/gamification/badges/initiatives.svg → packs/images/decidim/gamification/badges/decidim_gamification_badges_initiatives.svg} +0 -0
  24. data/app/{assets/images/decidim/initiatives/icon.svg → packs/images/decidim/initiatives/decidim_initiatives.svg} +0 -0
  25. data/app/{assets/javascripts/decidim/initiatives/admin/initiatives_types.js.es6 → packs/src/decidim/initiatives/admin/initiatives_types.js} +0 -0
  26. data/app/{assets/javascripts → packs/src}/decidim/initiatives/admin/invite_users.js +2 -2
  27. data/app/packs/src/decidim/initiatives/application.js +3 -0
  28. data/app/{assets/javascripts → packs/src}/decidim/initiatives/identity_selector_dialog.js +2 -2
  29. data/app/{assets/javascripts → packs/src}/decidim/initiatives/scoped_type.js +2 -2
  30. data/app/{assets/stylesheet/decidim/initiatives/admin.css.scss → packs/stylesheets/decidim/initiatives/admin.scss} +0 -0
  31. data/app/{assets/stylesheet/decidim/initiatives/initiatives-votes.css.scss → packs/stylesheets/decidim/initiatives/initiatives-votes.scss} +0 -0
  32. data/app/{assets/stylesheet → packs/stylesheets}/decidim/initiatives/initiatives.scss +3 -3
  33. data/app/{assets/stylesheet/decidim/initiatives/popularity_item.css.scss → packs/stylesheets/decidim/initiatives/popularity_item.scss} +0 -0
  34. data/app/{assets/stylesheet/decidim/initiatives/print-initiative.css.scss → packs/stylesheets/decidim/initiatives/print-initiative.scss} +0 -0
  35. data/app/{assets/stylesheet/decidim/initiatives/statistics.css.scss → packs/stylesheets/decidim/initiatives/statistics.scss} +0 -0
  36. data/app/permissions/decidim/initiatives/permissions.rb +22 -16
  37. data/app/queries/decidim/initiatives/admin/admin_users.rb +13 -8
  38. data/app/views/decidim/initiatives/admin/committee_requests/index.html.erb +1 -1
  39. data/app/views/decidim/initiatives/admin/exports/_dropdown.html.erb +19 -3
  40. data/app/views/decidim/initiatives/admin/initiatives/_form.html.erb +1 -1
  41. data/app/views/decidim/initiatives/admin/initiatives/index.html.erb +17 -14
  42. data/app/views/decidim/initiatives/admin/initiatives/show.html.erb +1 -1
  43. data/app/views/decidim/initiatives/admin/initiatives_types/_form.html.erb +1 -1
  44. data/app/views/decidim/initiatives/admin/initiatives_types/index.html.erb +1 -1
  45. data/app/views/decidim/initiatives/committee_requests/new.html.erb +2 -2
  46. data/app/views/decidim/initiatives/create_initiative/_share_committee_link.html.erb +1 -1
  47. data/app/views/decidim/initiatives/initiatives/_author.html.erb +4 -4
  48. data/app/views/decidim/initiatives/initiatives/_committee_members.html.erb +1 -1
  49. data/app/views/decidim/initiatives/initiatives/_filters.html.erb +1 -1
  50. data/app/views/decidim/initiatives/initiatives/_form.html.erb +2 -2
  51. data/app/views/decidim/initiatives/initiatives/index.html.erb +0 -3
  52. data/app/views/decidim/initiatives/initiatives/print.html.erb +1 -1
  53. data/app/views/decidim/initiatives/initiatives/show.html.erb +2 -2
  54. data/app/views/layouts/decidim/_initiative_header.html.erb +1 -1
  55. data/app/views/layouts/decidim/admin/initiative.html.erb +4 -51
  56. data/app/views/layouts/decidim/admin/initiatives.html.erb +1 -1
  57. data/app/views/layouts/decidim/admin/initiatives_votes.pdf.erb +1 -1
  58. data/app/views/layouts/decidim/initiative_creation.html.erb +1 -1
  59. data/app/views/layouts/decidim/initiative_signature_creation.html.erb +1 -1
  60. data/config/assets.rb +12 -0
  61. data/config/locales/ar.yml +2 -5
  62. data/config/locales/ca.yml +5 -6
  63. data/config/locales/cs.yml +29 -30
  64. data/config/locales/de.yml +5 -6
  65. data/config/locales/el.yml +2 -5
  66. data/config/locales/en.yml +8 -6
  67. data/config/locales/es-MX.yml +5 -6
  68. data/config/locales/es-PY.yml +5 -6
  69. data/config/locales/es.yml +5 -6
  70. data/config/locales/eu.yml +2 -5
  71. data/config/locales/fi-plain.yml +5 -6
  72. data/config/locales/fi.yml +5 -6
  73. data/config/locales/fr-CA.yml +2 -6
  74. data/config/locales/fr-LU.yml +613 -0
  75. data/config/locales/fr.yml +2 -6
  76. data/config/locales/gl.yml +5 -5
  77. data/config/locales/hu.yml +2 -6
  78. data/config/locales/id-ID.yml +2 -5
  79. data/config/locales/is-IS.yml +2 -5
  80. data/config/locales/it.yml +120 -5
  81. data/config/locales/ja.yml +112 -20
  82. data/config/locales/lb-LU.yml +1 -0
  83. data/config/locales/lv.yml +2 -5
  84. data/config/locales/nl.yml +5 -6
  85. data/config/locales/no.yml +2 -6
  86. data/config/locales/pl.yml +6 -7
  87. data/config/locales/pt-BR.yml +187 -5
  88. data/config/locales/pt.yml +2 -5
  89. data/config/locales/ro-RO.yml +117 -6
  90. data/config/locales/ru.yml +2 -5
  91. data/config/locales/sk.yml +2 -5
  92. data/config/locales/sv.yml +57 -6
  93. data/config/locales/tr-TR.yml +2 -6
  94. data/config/locales/uk.yml +2 -5
  95. data/config/locales/zh-CN.yml +2 -6
  96. data/db/migrate/20191002082220_move_signature_type_to_initative_type.rb +1 -1
  97. data/lib/decidim/api/initiative_api_type.rb +4 -0
  98. data/lib/decidim/initiatives/admin_engine.rb +70 -25
  99. data/lib/decidim/initiatives/engine.rb +5 -11
  100. data/lib/decidim/initiatives/participatory_space.rb +16 -3
  101. data/lib/decidim/initiatives/version.rb +1 -1
  102. metadata +41 -55
  103. data/app/assets/config/admin_decidim_initiatives_manifest.js +0 -4
  104. data/app/assets/config/decidim_initiatives_manifest.css +0 -3
  105. data/app/assets/config/decidim_initiatives_manifest.js +0 -5
  106. data/app/assets/javascripts/decidim/initiatives/application.js +0 -1
  107. data/app/helpers/decidim/initiatives/admin/initiative_admin_menu_helper.rb +0 -15
  108. data/config/locales/ja-JP.yml +0 -529
@@ -85,6 +85,8 @@ tr:
85
85
  search_placeholder:
86
86
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: '%{collection} ''ı başlık, açıklama, kimlik veya yazar adına göre arayın.'
87
87
  menu:
88
+ components: Bileşenler
89
+ information: Bilgi
88
90
  initiatives: Girişimler
89
91
  initiatives_types: Girişim türleri
90
92
  models:
@@ -554,12 +556,6 @@ tr:
554
556
  vote: İmza
555
557
  layouts:
556
558
  decidim:
557
- admin:
558
- initiative:
559
- attachments: Ekli Dosyalar
560
- committee_members: Komite üyeleri
561
- components: Bileşenler
562
- information: Bilgi
563
559
  initiative_creation_header:
564
560
  back: Geri
565
561
  fill_data: Oluştur
@@ -46,6 +46,8 @@ uk:
46
46
  actions:
47
47
  new_initiative_type: Додати різновид почину
48
48
  menu:
49
+ components: Складові
50
+ information: Відомості
49
51
  initiatives: Почини
50
52
  initiatives_types: Різновиди починів
51
53
  models:
@@ -304,11 +306,6 @@ uk:
304
306
  initiatives: Почини
305
307
  layouts:
306
308
  decidim:
307
- admin:
308
- initiative:
309
- committee_members: Члени робочого гурту
310
- components: Складові
311
- information: Відомості
312
309
  initiative_creation_header:
313
310
  fill_data: Внести
314
311
  finish: Завершити
@@ -82,6 +82,8 @@ zh-CN:
82
82
  search_placeholder:
83
83
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: 按标题、描述、ID或作者名称搜索 %{collection}。
84
84
  menu:
85
+ components: 组件
86
+ information: 信息
85
87
  initiatives: 倡议
86
88
  initiatives_types: 倡议类型
87
89
  models:
@@ -479,12 +481,6 @@ zh-CN:
479
481
  vote: 签名
480
482
  layouts:
481
483
  decidim:
482
- admin:
483
- initiative:
484
- attachments: 附件
485
- committee_members: 委员会成员
486
- components: 组件
487
- information: 信息
488
484
  initiative_creation_header:
489
485
  back: 后退
490
486
  fill_data: 创建
@@ -22,7 +22,7 @@ class MoveSignatureTypeToInitativeType < ActiveRecord::Migration[5.2]
22
22
 
23
23
  InitiativesType.reset_column_information
24
24
 
25
- Decidim::Initiatives::InitiativesType.find_each do |type|
25
+ InitiativesType.find_each do |type|
26
26
  type.signature_type = if type.online_signature_enabled && face_to_face_voting_allowed
27
27
  :any
28
28
  elsif type.online_signature_enabled && !face_to_face_voting_allowed
@@ -21,6 +21,10 @@ module Decidim
21
21
  field :signature_type, GraphQL::Types::String, "Signature type of the initiative", null: true
22
22
 
23
23
  field :initiatives, [Decidim::Initiatives::InitiativeType, { null: true }], "The initiatives that have this type", null: false
24
+
25
+ def banner_image
26
+ object.attached_uploader(:banner_image).path
27
+ end
24
28
  end
25
29
  end
26
30
  end
@@ -44,6 +44,8 @@ module Decidim
44
44
  end
45
45
  end
46
46
 
47
+ resource :permissions, controller: "initiatives_permissions"
48
+
47
49
  resource :answer, only: [:edit, :update]
48
50
  end
49
51
 
@@ -79,41 +81,84 @@ module Decidim
79
81
  end
80
82
  end
81
83
 
82
- initializer "admin_decidim_initiatives.assets" do |app|
83
- app.config.assets.precompile += %w(
84
- admin_decidim_initiatives_manifest.js
85
- )
84
+ initializer "decidim_initiaves.admin_menu" do
85
+ Decidim.menu :admin_menu do |menu|
86
+ menu.add_item :initiatives,
87
+ I18n.t("menu.initiatives", scope: "decidim.admin"),
88
+ decidim_admin_initiatives.initiatives_path,
89
+ icon_name: "chat",
90
+ position: 2.4,
91
+ active: :inclusive,
92
+ if: allowed_to?(:enter, :space_area, space_name: :initiatives)
93
+ end
86
94
  end
87
95
 
88
- initializer "admin_decidim_initiatives.action_controller" do |_app|
89
- ActiveSupport.on_load :action_controller do
90
- helper Decidim::Initiatives::Admin::InitiativeAdminMenuHelper if respond_to?(:helper)
96
+ initializer "admin_decidim_initiatives.admin_components_menu" do
97
+ Decidim.menu :admin_initiatives_components_menu do |menu|
98
+ current_participatory_space.components.each do |component|
99
+ caption = translated_attribute(component.name)
100
+ if component.primary_stat.present?
101
+ caption += content_tag(:span, component.primary_stat, class: component.primary_stat.zero? ? "component-counter component-counter--off" : "component-counter")
102
+ end
103
+
104
+ menu.add_item [component.manifest_name, component.id].join("_"),
105
+ caption.html_safe,
106
+ manage_component_path(component),
107
+ active: is_active_link?(manage_component_path(component)),
108
+ if: component.manifest.admin_engine # && user_role_config.component_is_accessible?(component.manifest_name)
109
+ end
91
110
  end
92
111
  end
93
112
 
94
- initializer "decidim_initiaves.admin_menu" do
95
- Decidim.menu :admin_menu do |menu|
96
- menu.item I18n.t("menu.initiatives", scope: "decidim.admin"),
97
- decidim_admin_initiatives.initiatives_path,
98
- icon_name: "chat",
99
- position: 2.4,
100
- active: :inclusive,
101
- if: allowed_to?(:enter, :space_area, space_name: :initiatives)
113
+ initializer "admin_decidim_initiative.admin_menu" do
114
+ Decidim.menu :admin_initiative_menu do |menu|
115
+ menu.add_item :edit_initiative,
116
+ I18n.t("menu.information", scope: "decidim.admin"),
117
+ decidim_admin_initiatives.edit_initiative_path(current_participatory_space),
118
+ active: is_active_link?(decidim_admin_initiatives.edit_initiative_path(current_participatory_space)),
119
+ if: allowed_to?(:edit, :initiative, initiative: current_participatory_space)
120
+
121
+ menu.add_item :initiative_committee_requests,
122
+ I18n.t("menu.committee_members", scope: "decidim.admin"),
123
+ decidim_admin_initiatives.initiative_committee_requests_path(current_participatory_space),
124
+ active: is_active_link?(decidim_admin_initiatives.initiative_committee_requests_path(current_participatory_space)),
125
+ if: current_participatory_space.promoting_committee_enabled? && allowed_to?(:manage_membership, :initiative, initiative: current_participatory_space)
126
+
127
+ menu.add_item :components,
128
+ I18n.t("menu.components", scope: "decidim.admin"),
129
+ decidim_admin_initiatives.components_path(current_participatory_space),
130
+ active: is_active_link?(decidim_admin_initiatives.components_path(current_participatory_space)),
131
+ if: allowed_to?(:read, :component, initiative: current_participatory_space),
132
+ submenu: { target_menu: :admin_initiatives_components_menu, options: { container_options: { id: "components-list" } } }
133
+
134
+ menu.add_item :initiative_attachments,
135
+ I18n.t("menu.attachments", scope: "decidim.admin"),
136
+ decidim_admin_initiatives.initiative_attachments_path(current_participatory_space),
137
+ active: is_active_link?(decidim_admin_initiatives.initiative_attachments_path(current_participatory_space)),
138
+ if: allowed_to?(:read, :attachment, initiative: current_participatory_space)
139
+
140
+ menu.add_item :moderations,
141
+ I18n.t("menu.moderations", scope: "decidim.admin"),
142
+ decidim_admin_initiatives.moderations_path(current_participatory_space),
143
+ active: is_active_link?(decidim_admin_initiatives.moderations_path(current_participatory_space)),
144
+ if: allowed_to?(:read, :moderation)
102
145
  end
103
146
  end
104
147
 
105
148
  initializer "admin_decidim_initiatives.admin_menu" do
106
149
  Decidim.menu :admin_initiatives_menu do |menu|
107
- menu.item I18n.t("menu.initiatives", scope: "decidim.admin"),
108
- decidim_admin_initiatives.initiatives_path,
109
- position: 1.0,
110
- active: is_active_link?(decidim_admin_initiatives.initiatives_path),
111
- if: allowed_to?(:index, :initiative)
112
-
113
- menu.item I18n.t("menu.initiatives_types", scope: "decidim.admin"),
114
- decidim_admin_initiatives.initiatives_types_path,
115
- active: is_active_link?(decidim_admin_initiatives.initiatives_types_path),
116
- if: allowed_to?(:manage, :initiative_type)
150
+ menu.add_item :initiatives,
151
+ I18n.t("menu.initiatives", scope: "decidim.admin"),
152
+ decidim_admin_initiatives.initiatives_path,
153
+ position: 1.0,
154
+ active: is_active_link?(decidim_admin_initiatives.initiatives_path),
155
+ if: allowed_to?(:index, :initiative)
156
+
157
+ menu.add_item :initiatives_types,
158
+ I18n.t("menu.initiatives_types", scope: "decidim.admin"),
159
+ decidim_admin_initiatives.initiatives_types_path,
160
+ active: is_active_link?(decidim_admin_initiatives.initiatives_types_path),
161
+ if: allowed_to?(:manage, :initiative_type)
117
162
  end
118
163
  end
119
164
  end
@@ -65,13 +65,6 @@ module Decidim
65
65
  end
66
66
  end
67
67
 
68
- initializer "decidim_initiatives.assets" do |app|
69
- app.config.assets.precompile += %w(
70
- decidim_initiatives_manifest.js
71
- decidim_initiatives_manifest.css
72
- )
73
- end
74
-
75
68
  initializer "decidim_initiatives.content_blocks" do
76
69
  Decidim.content_blocks.register(:homepage, :highlighted_initiatives) do |content_block|
77
70
  content_block.cell = "decidim/initiatives/content_blocks/highlighted_initiatives"
@@ -92,10 +85,11 @@ module Decidim
92
85
 
93
86
  initializer "decidim_initiatives.menu" do
94
87
  Decidim.menu :menu do |menu|
95
- menu.item I18n.t("menu.initiatives", scope: "decidim"),
96
- decidim_initiatives.initiatives_path,
97
- position: 2.4,
98
- active: :inclusive
88
+ menu.add_item :initiatives,
89
+ I18n.t("menu.initiatives", scope: "decidim"),
90
+ decidim_initiatives.initiatives_path,
91
+ position: 2.4,
92
+ active: :inclusive
99
93
  end
100
94
  end
101
95
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  Decidim.register_participatory_space(:initiatives) do |participatory_space|
4
- participatory_space.icon = "decidim/initiatives/icon.svg"
4
+ participatory_space.icon = "media/images/decidim_initiatives.svg"
5
5
  participatory_space.stylesheet = "decidim/initiatives/initiatives"
6
6
 
7
7
  participatory_space.context(:public) do |context|
@@ -21,6 +21,8 @@ Decidim.register_participatory_space(:initiatives) do |participatory_space|
21
21
  participatory_space.query_type = "Decidim::Initiatives::InitiativeType"
22
22
 
23
23
  participatory_space.register_resource(:initiative) do |resource|
24
+ resource.actions = %w(comment)
25
+ resource.permissions_class_name = "Decidim::Initiatives::Permissions"
24
26
  resource.model_class_name = "Decidim::Initiative"
25
27
  resource.card = "decidim/initiatives/initiative"
26
28
  resource.searchable = true
@@ -59,7 +61,12 @@ Decidim.register_participatory_space(:initiatives) do |participatory_space|
59
61
  title: Decidim::Faker::Localized.sentence(word_count: 5),
60
62
  description: Decidim::Faker::Localized.sentence(word_count: 25),
61
63
  organization: organization,
62
- banner_image: File.new(File.join(seeds_root, "city2.jpeg"))
64
+ banner_image: ActiveStorage::Blob.create_after_upload!(
65
+ io: File.open(File.join(seeds_root, "city2.jpeg")),
66
+ filename: "banner_image.jpeg",
67
+ content_type: "image/jpeg",
68
+ metadata: nil
69
+ )
63
70
  )
64
71
 
65
72
  organization.top_scopes.each do |scope|
@@ -104,7 +111,13 @@ Decidim.register_participatory_space(:initiatives) do |participatory_space|
104
111
  title: Decidim::Faker::Localized.sentence(word_count: 2),
105
112
  description: Decidim::Faker::Localized.sentence(word_count: 5),
106
113
  attached_to: initiative,
107
- file: File.new(File.join(seeds_root, "city.jpeg"))
114
+ content_type: "image/jpeg",
115
+ file: ActiveStorage::Blob.create_after_upload!(
116
+ io: File.open(File.join(seeds_root, "city.jpeg")),
117
+ filename: "city.jpeg",
118
+ content_type: "image/jpeg",
119
+ metadata: nil
120
+ )
108
121
  )
109
122
 
110
123
  Decidim::Initiatives.default_components.each do |component_name|
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-initiatives version.
5
5
  module Initiatives
6
6
  def self.version
7
- "0.24.0"
7
+ "0.25.0.rc1"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-initiatives
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-26 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,76 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.24.0
19
+ version: 0.25.0.rc1
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.24.0
26
+ version: 0.25.0.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.24.0
33
+ version: 0.25.0.rc1
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.24.0
40
+ version: 0.25.0.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.24.0
47
+ version: 0.25.0.rc1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.24.0
54
+ version: 0.25.0.rc1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-verifications
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.24.0
61
+ version: 0.25.0.rc1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.24.0
69
- - !ruby/object:Gem::Dependency
70
- name: kaminari
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.2'
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: 1.2.1
79
- type: :runtime
80
- prerelease: false
81
- version_requirements: !ruby/object:Gem::Requirement
82
- requirements:
83
- - - "~>"
84
- - !ruby/object:Gem::Version
85
- version: '1.2'
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: 1.2.1
68
+ version: 0.25.0.rc1
89
69
  - !ruby/object:Gem::Dependency
90
70
  name: origami
91
71
  requirement: !ruby/object:Gem::Requirement
@@ -134,14 +114,14 @@ dependencies:
134
114
  requirements:
135
115
  - - "~>"
136
116
  - !ruby/object:Gem::Version
137
- version: '1.4'
117
+ version: '2.1'
138
118
  type: :runtime
139
119
  prerelease: false
140
120
  version_requirements: !ruby/object:Gem::Requirement
141
121
  requirements:
142
122
  - - "~>"
143
123
  - !ruby/object:Gem::Version
144
- version: '1.4'
124
+ version: '2.1'
145
125
  - !ruby/object:Gem::Dependency
146
126
  name: wkhtmltopdf-binary
147
127
  requirement: !ruby/object:Gem::Requirement
@@ -162,14 +142,14 @@ dependencies:
162
142
  requirements:
163
143
  - - '='
164
144
  - !ruby/object:Gem::Version
165
- version: 0.24.0
145
+ version: 0.25.0.rc1
166
146
  type: :development
167
147
  prerelease: false
168
148
  version_requirements: !ruby/object:Gem::Requirement
169
149
  requirements:
170
150
  - - '='
171
151
  - !ruby/object:Gem::Version
172
- version: 0.24.0
152
+ version: 0.25.0.rc1
173
153
  description: Citizen initiatives plugin for decidim.
174
154
  email:
175
155
  - jsperezg@gmail.com
@@ -179,22 +159,6 @@ extra_rdoc_files: []
179
159
  files:
180
160
  - README.md
181
161
  - Rakefile
182
- - app/assets/config/admin_decidim_initiatives_manifest.js
183
- - app/assets/config/decidim_initiatives_manifest.css
184
- - app/assets/config/decidim_initiatives_manifest.js
185
- - app/assets/images/decidim/gamification/badges/initiatives.svg
186
- - app/assets/images/decidim/initiatives/icon.svg
187
- - app/assets/javascripts/decidim/initiatives/admin/initiatives_types.js.es6
188
- - app/assets/javascripts/decidim/initiatives/admin/invite_users.js
189
- - app/assets/javascripts/decidim/initiatives/application.js
190
- - app/assets/javascripts/decidim/initiatives/identity_selector_dialog.js
191
- - app/assets/javascripts/decidim/initiatives/scoped_type.js
192
- - app/assets/stylesheet/decidim/initiatives/admin.css.scss
193
- - app/assets/stylesheet/decidim/initiatives/initiatives-votes.css.scss
194
- - app/assets/stylesheet/decidim/initiatives/initiatives.scss
195
- - app/assets/stylesheet/decidim/initiatives/popularity_item.css.scss
196
- - app/assets/stylesheet/decidim/initiatives/print-initiative.css.scss
197
- - app/assets/stylesheet/decidim/initiatives/statistics.css.scss
198
162
  - app/cells/decidim/initiative_activity_cell.rb
199
163
  - app/cells/decidim/initiatives/content_blocks/highlighted_initiatives/show.erb
200
164
  - app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_cell.rb
@@ -242,6 +206,7 @@ files:
242
206
  - app/controllers/decidim/initiatives/admin/components_controller.rb
243
207
  - app/controllers/decidim/initiatives/admin/initiative_attachments_controller.rb
244
208
  - app/controllers/decidim/initiatives/admin/initiatives_controller.rb
209
+ - app/controllers/decidim/initiatives/admin/initiatives_permissions_controller.rb
245
210
  - app/controllers/decidim/initiatives/admin/initiatives_type_scopes_controller.rb
246
211
  - app/controllers/decidim/initiatives/admin/initiatives_types_controller.rb
247
212
  - app/controllers/decidim/initiatives/admin/initiatives_types_permissions_controller.rb
@@ -278,7 +243,7 @@ files:
278
243
  - app/forms/decidim/initiatives/previous_form.rb
279
244
  - app/forms/decidim/initiatives/select_initiative_type_form.rb
280
245
  - app/forms/decidim/initiatives/vote_form.rb
281
- - app/helpers/decidim/initiatives/admin/initiative_admin_menu_helper.rb
246
+ - app/helpers/decidim/initiatives/admin/initiatives_helper.rb
282
247
  - app/helpers/decidim/initiatives/application_helper.rb
283
248
  - app/helpers/decidim/initiatives/create_initiative_helper.rb
284
249
  - app/helpers/decidim/initiatives/initiative_helper.rb
@@ -291,6 +256,25 @@ files:
291
256
  - app/models/decidim/initiatives_type.rb
292
257
  - app/models/decidim/initiatives_type_scope.rb
293
258
  - app/models/decidim/initiatives_vote.rb
259
+ - app/packs/entrypoints/decidim_initiatives.js
260
+ - app/packs/entrypoints/decidim_initiatives_admin.js
261
+ - app/packs/entrypoints/decidim_initiatives_initiatives_votes.js
262
+ - app/packs/entrypoints/decidim_initiatives_initiatives_votes.scss
263
+ - app/packs/entrypoints/decidim_initiatives_print.js
264
+ - app/packs/entrypoints/decidim_initiatives_print.scss
265
+ - app/packs/images/decidim/gamification/badges/decidim_gamification_badges_initiatives.svg
266
+ - app/packs/images/decidim/initiatives/decidim_initiatives.svg
267
+ - app/packs/src/decidim/initiatives/admin/initiatives_types.js
268
+ - app/packs/src/decidim/initiatives/admin/invite_users.js
269
+ - app/packs/src/decidim/initiatives/application.js
270
+ - app/packs/src/decidim/initiatives/identity_selector_dialog.js
271
+ - app/packs/src/decidim/initiatives/scoped_type.js
272
+ - app/packs/stylesheets/decidim/initiatives/admin.scss
273
+ - app/packs/stylesheets/decidim/initiatives/initiatives-votes.scss
274
+ - app/packs/stylesheets/decidim/initiatives/initiatives.scss
275
+ - app/packs/stylesheets/decidim/initiatives/popularity_item.scss
276
+ - app/packs/stylesheets/decidim/initiatives/print-initiative.scss
277
+ - app/packs/stylesheets/decidim/initiatives/statistics.scss
294
278
  - app/permissions/decidim/initiatives/admin/permissions.rb
295
279
  - app/permissions/decidim/initiatives/permissions.rb
296
280
  - app/presenters/decidim/initiative_presenter.rb
@@ -392,6 +376,7 @@ files:
392
376
  - app/views/layouts/decidim/initiative.html.erb
393
377
  - app/views/layouts/decidim/initiative_creation.html.erb
394
378
  - app/views/layouts/decidim/initiative_signature_creation.html.erb
379
+ - config/assets.rb
395
380
  - config/initializers/mail_previews.rb
396
381
  - config/initializers/wicked_pdf.rb
397
382
  - config/locales/am-ET.yml
@@ -420,6 +405,7 @@ files:
420
405
  - config/locales/fi-plain.yml
421
406
  - config/locales/fi.yml
422
407
  - config/locales/fr-CA.yml
408
+ - config/locales/fr-LU.yml
423
409
  - config/locales/fr.yml
424
410
  - config/locales/ga-IE.yml
425
411
  - config/locales/gl.yml
@@ -430,10 +416,10 @@ files:
430
416
  - config/locales/is-IS.yml
431
417
  - config/locales/is.yml
432
418
  - config/locales/it.yml
433
- - config/locales/ja-JP.yml
434
419
  - config/locales/ja.yml
435
420
  - config/locales/ko-KR.yml
436
421
  - config/locales/ko.yml
422
+ - config/locales/lb-LU.yml
437
423
  - config/locales/lt-LT.yml
438
424
  - config/locales/lt.yml
439
425
  - config/locales/lv.yml
@@ -553,11 +539,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
553
539
  version: '2.7'
554
540
  required_rubygems_version: !ruby/object:Gem::Requirement
555
541
  requirements:
556
- - - ">="
542
+ - - ">"
557
543
  - !ruby/object:Gem::Version
558
- version: '0'
544
+ version: 1.3.1
559
545
  requirements: []
560
- rubygems_version: 3.1.2
546
+ rubygems_version: 3.1.4
561
547
  signing_key:
562
548
  specification_version: 4
563
549
  summary: Decidim initiatives module